select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-04-21 11:05:59 [659.95ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-04-21 11:05:58') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%BA316%' or `vin` like '%BA316%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-04-21 11:06:00 [956.51ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-04-21 11:05:58') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%BA316%' or `vin` like '%BA316%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 7 - 2025-04-21 11:06:00 [1.66ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 94544 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 8 - 2025-04-21 11:06:00 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 94544 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 9 - 2025-04-21 11:06:00 [0.4ms] */
select * from `party` where `party`.`id` = 61233 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 10 - 2025-04-21 11:06:00 [0.27ms] */
select * from `person` where `person`.`id` = 58725 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 11 - 2025-04-21 11:06:00 [0.3ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 12 - 2025-04-21 11:06:00 [0.43ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 13 - 2025-04-21 11:06:00 [0.34ms] */
select * from `model` where `model`.`id` = 1287 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 14 - 2025-04-21 11:06:00 [0.36ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 15 - 2025-04-21 11:06:00 [0.4ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 14 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 16 - 2025-04-21 11:06:00 [1.03ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 94544 and `term`.`first_date_of_quarter` <= '2025-04-21 11:06:00' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 17 - 2025-04-21 11:06:00 [0.26ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 18 - 2025-04-21 11:06:00 [0.24ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 19 - 2025-04-21 11:06:00 [0.26ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-04-21 11:06:01 [2.01ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-04-21 11:06:01 [0.75ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2025-04-21 11:06:01 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2025-04-21 11:06:01 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 1 - 2025-04-21 11:06:01 [1.3ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 2 - 2025-04-21 11:06:01 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 3 - 2025-04-21 11:06:01 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 4 - 2025-04-21 11:06:01 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 5 - 2025-04-21 11:06:01 [1.87ms] */
select * from `party_vehicle` where `vehicle_id` = 94544 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 6 - 2025-04-21 11:06:01 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 94544 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 7 - 2025-04-21 11:06:01 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 94544 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 8 - 2025-04-21 11:06:01 [0.68ms] */
select * from `transaction` where `transaction`.`id` = 262617 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 9 - 2025-04-21 11:06:01 [0.44ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 10 - 2025-04-21 11:06:01 [0.6ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 11 - 2025-04-21 11:06:01 [0.44ms] */
select * from `party` where `party`.`id` = 61233 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 12 - 2025-04-21 11:06:01 [0.82ms] */
select * from `vehicle` where `vehicle`.`id` = 94544 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 13 - 2025-04-21 11:06:01 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 14 - 2025-04-21 11:06:01 [2.56ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 94544 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 15 - 2025-04-21 11:06:02 [207.04ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 16 - 2025-04-21 11:06:02 [0.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 94544 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 17 - 2025-04-21 11:06:02 [0.13ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 18 - 2025-04-21 11:06:02 [0.45ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 94544 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 19 - 2025-04-21 11:06:02 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 20 - 2025-04-21 11:06:02 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 94544 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 21 - 2025-04-21 11:06:02 [0.14ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 22 - 2025-04-21 11:06:02 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 94544 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 23 - 2025-04-21 11:06:02 [0.13ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 24 - 2025-04-21 11:06:02 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 94544 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 25 - 2025-04-21 11:06:02 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 26 - 2025-04-21 11:06:02 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 94544 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 27 - 2025-04-21 11:06:02 [0.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 28 - 2025-04-21 11:06:02 [0.21ms] */
select `id` from `term` where `year` < 2025 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 29 - 2025-04-21 11:06:02 [6.92ms] */
select * from `vehicle_tax` where `party_vehicle_id` = 94352 and `status` = 'OPEN' and `term_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 30 - 2025-04-21 11:06:02 [0.47ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 212492 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 31 - 2025-04-21 11:06:02 [3.48ms] */
update `vehicle_tax` set `exempt` = 'Y', `updated_by` = 1, `vehicle_tax`.`updated_at` = '2025-04-21 11:06:02' where `id` = 212492;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 32 - 2025-04-21 11:06:02 [0.38ms] */
select * from `vehicle_tax` where `id` = 212492 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 33 - 2025-04-21 11:06:02 [4.64ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 1, 'App\Models\User', 212492, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-21 11:06:02', '2025-04-21 11:06:02');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 34 - 2025-04-21 11:06:02 [1.71ms] */
select * from `invoice` where `transaction_id` = 262743 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 35 - 2025-04-21 11:06:02 [3.02ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 1, `invoice`.`updated_at` = '2025-04-21 11:06:02' where `id` = 245623;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 36 - 2025-04-21 11:06:02 [0.41ms] */
select * from `invoice` where `id` = 245623 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 37 - 2025-04-21 11:06:02 [3.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 1, 'App\Models\User', 245623, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-21 11:06:02', '2025-04-21 11:06:02');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 38 - 2025-04-21 11:06:02 [14.86ms] */
select * from `discount` where `vehicle_tax` = 212492 and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 39 - 2025-04-21 11:06:02 [3.19ms] */
insert into `discount` (`description`, `service_id`, `vehicle_tax`, `vehicle_id`, `party_id`, `expiry_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Exempt Before 2025 Taxes', 2, '[212492]', 94544, 61233, '2025-09-01 11:06:02', 1, 1, '2025-04-21 11:06:02', '2025-04-21 11:06:02');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 40 - 2025-04-21 11:06:02 [0.2ms] */
select * from `discount` where `id` = 6331 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 41 - 2025-04-21 11:06:02 [3.94ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('discount', '{"attributes":{"description":"Exempt Before 2025 Taxes","percentage":null,"vehicle_id":94544,"amount":null,"expiry_date":"2025-09-01 11:06:02","party_id":61233,"service_id":2,"vehicle_tax":[212492],"party_vehicle_id":null}}', 1, 'App\Models\User', 6331, 'Modules\Transaction\Entities\Discount', 'created', '2025-04-21 11:06:02', '2025-04-21 11:06:02');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 42 - 2025-04-21 11:06:02 [0.63ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 94544 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 43 - 2025-04-21 11:06:02 [0.4ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 94544 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 44 - 2025-04-21 11:06:02 [0.43ms] */
select * from `party_vehicle` where `vehicle_id` = 94544 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 45 - 2025-04-21 11:06:02 [0.24ms] */
select * from `party` where `party`.`id` = 61233 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 46 - 2025-04-21 11:06:02 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 94544 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 47 - 2025-04-21 11:06:02 [0.64ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 94544 and `term`.`first_date_of_quarter` <= '2025-04-21 11:06:02' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 48 - 2025-04-21 11:06:02 [0.31ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 94544 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 49 - 2025-04-21 11:06:02 [0.48ms] */
select sum(`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (212492, 453020, 453022) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 50 - 2025-04-21 11:06:02 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 94544 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 51 - 2025-04-21 11:06:02 [0.21ms] */
select * from `model` where `model`.`id` = 1287 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 52 - 2025-04-21 11:06:02 [0.2ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 53 - 2025-04-21 11:06:02 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 54 - 2025-04-21 11:06:02 [0.34ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 94544 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 55 - 2025-04-21 11:06:02 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 56 - 2025-04-21 11:06:02 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 14 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 57 - 2025-04-21 11:06:02 [0.33ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 58 - 2025-04-21 11:06:02 [0.32ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 59 - 2025-04-21 11:06:02 [0.15ms] */
select * from `party` where `party`.`id` = 61233 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 60 - 2025-04-21 11:06:02 [0.17ms] */
select * from `person` where `person`.`id` = 58725 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 61 - 2025-04-21 11:06:02 [34.95ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 58725 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 62 - 2025-04-21 11:06:02 [0.35ms] */
select * from `address` where `address`.`id` = 61233 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 63 - 2025-04-21 11:06:02 [0.25ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 64 - 2025-04-21 11:06:02 [0.22ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 65 - 2025-04-21 11:06:02 [0.23ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 66 - 2025-04-21 11:06:02 [0.15ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 67 - 2025-04-21 11:06:02 [0.16ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 68 - 2025-04-21 11:06:02 [0.17ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 69 - 2025-04-21 11:06:02 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 70 - 2025-04-21 11:06:02 [0.13ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 71 - 2025-04-21 11:06:02 [0.11ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 72 - 2025-04-21 11:06:02 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 73 - 2025-04-21 11:06:02 [0.11ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 74 - 2025-04-21 11:06:02 [0.13ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 75 - 2025-04-21 11:06:02 [0.11ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 76 - 2025-04-21 11:06:02 [0.11ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 77 - 2025-04-21 11:06:02 [0.11ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 78 - 2025-04-21 11:06:02 [0.14ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 79 - 2025-04-21 11:06:02 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 80 - 2025-04-21 11:06:02 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 81 - 2025-04-21 11:06:02 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 538546 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 82 - 2025-04-21 11:06:02 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 83 - 2025-04-21 11:06:02 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 562881 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 84 - 2025-04-21 11:06:02 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 538549 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 85 - 2025-04-21 11:06:02 [0.23ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 86 - 2025-04-21 11:06:02 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 562883 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 87 - 2025-04-21 11:06:02 [0.27ms] */
select * from `invoice` where `invoice`.`id` = 538551 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 88 - 2025-04-21 11:06:02 [0.19ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 89 - 2025-04-21 11:06:02 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 562884 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 90 - 2025-04-21 11:06:02 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 538552 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 91 - 2025-04-21 11:06:02 [0.55ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 92 - 2025-04-21 11:06:02 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 93 - 2025-04-21 11:06:02 [0.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 94 - 2025-04-21 11:06:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 95 - 2025-04-21 11:06:02 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 96 - 2025-04-21 11:06:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 97 - 2025-04-21 11:06:02 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 98 - 2025-04-21 11:06:02 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 99 - 2025-04-21 11:06:02 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 100 - 2025-04-21 11:06:02 [0.28ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/94544
   Query 101 - 2025-04-21 11:06:02 [0.21ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-21 11:06:05 [2.31ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-21 11:06:05 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-21 11:06:05 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-21 11:06:05 [0.33ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-21 11:06:05 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-21 11:06:05 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-21 11:06:05 [0.34ms] */
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` = 'BA316' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-21 11:06:05 [0.15ms] */
select * from `party` where `party`.`id` = 61233 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-21 11:06:05 [0.15ms] */
select * from `vehicle` where `id` = 94544 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-21 11:06:05 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 94544 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-21 11:06:06 [1.67ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-21 11:06:06 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-21 11:06:06 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-21 11:06:06 [0.32ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-04-21 11:06:06 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-21 11:06:06 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-21 11:06:06 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 94544 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-21 11:06:06 [0.14ms] */
select * from `vehicle` where `id` = 94544 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-21 11:06:06 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 94544 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-04-21 11:06:06 [5.41ms] */
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` = 94544 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://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-04-21 11:06:07 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-21 11:06:07 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-21 11:06:07 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-21 11:06:07 [0.17ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-04-21 11:06:07 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-21 11:06:07 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-21 11:06:07 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-21 11:06:07 [1.41ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-21 11:06:07 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-21 11:06:07 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-21 11:06:07 [0.28ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-21 11:06:07 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-21 11:06:07 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-21 11:06:07 [0.28ms] */
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://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-21 11:06:10 [1.98ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-21 11:06:10 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-21 11:06:10 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-21 11:06:10 [0.24ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-21 11:06:10 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-21 11:06:10 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-21 11:06:10 [0.96ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-21 11:06:10 [1.19ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-21 11:06:10 [0.71ms] */
select `parent_id` from `transaction` where `id` in (562879, 562881) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-21 11:06:10 [0.24ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-21 11:06:10 [0.33ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-21 11:06:10 [0.4ms] */
select * from `transaction` where `id` in (562879, 562881) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-21 11:06:10 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 538546 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-21 11:06:10 [8.42ms] */
update `invoice` set `updated_by` = 155, `invoice`.`updated_at` = '2025-04-21 11:06:10' where `id` = 538546;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-21 11:06:10 [0.26ms] */
select * from `invoice` where `id` = 538546 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-21 11:06:10 [5.8ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 155, 'App\Models\User', 538546, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-21 11:06:10 [0.96ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-21 11:06:10 [0.7ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-21 11:06:10 [4.14ms] */
update `transaction` set `updated_by` = 155, `transaction`.`updated_at` = '2025-04-21 11:06:10' where `id` = 562879;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-21 11:06:10 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 538549 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-04-21 11:06:10 [4.17ms] */
update `invoice` set `updated_by` = 155, `invoice`.`updated_at` = '2025-04-21 11:06:10' where `id` = 538549;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-04-21 11:06:10 [0.31ms] */
select * from `invoice` where `id` = 538549 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-04-21 11:06:10 [3.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 155, 'App\Models\User', 538549, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-04-21 11:06:10 [0.2ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-04-21 11:06:10 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2025-04-21 11:06:10 [3.04ms] */
update `transaction` set `updated_by` = 155, `transaction`.`updated_at` = '2025-04-21 11:06:10' where `id` = 562881;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2025-04-21 11:06:10 [3.34ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-04-21 11:06:10' where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-04-21 11:06:10 [1.24ms] */
select * from `vehicle` where `vehicle`.`id` = 94544 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-04-21 11:06:10 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-04-21 11:06:10 [1.94ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 94544 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-04-21 11:06:10 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 94544 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-04-21 11:06:10 [0.14ms] */
select * from `party` where `party`.`id` = 61233 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2025-04-21 11:06:10 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 94544 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2025-04-21 11:06:10 [0.21ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-04-21 11:06:10 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-04-21 11:06:10 [0.72ms] */
select * from `branches` where `branches`.`id` = 15 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-04-21 11:06:10 [3.97ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (61233, 2, 94544, null, 2, 6, 15, 37, 37, 'OPEN', 38, null, 155, 155, '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-04-21 11:06:10 [2.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574480, 'INITIATED', '2025-04-21 11:06:10', 5, 155, 155, 155, '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-04-21 11:06:10 [0.2ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 94352, `transaction`.`updated_at` = '2025-04-21 11:06:10' where `id` = 574480;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-04-21 11:06:10 [0.54ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (453020, 453022) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-04-21 11:06:10 [0.22ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (453020, 453022) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-04-21 11:06:10 [2.02ms] */
insert into `invoice` (`transaction_id`, `party_id`, `invoice_date`, `due_date`, `invoice_amount`, `discounts`, `total_invoice_amount`, `outstanding_balance`, `taxes`, `status`, `grouped`, `parent`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574480, 61233, '2025-04-21 11:06:10', '2025-04-21 11:06:10', 95.00, 0, 95.00, 95.00, 0, 'OPEN', 'N', 'Y', 155, 155, '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-04-21 11:06:10 [0.18ms] */
select * from `invoice` where `id` = 550140 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-04-21 11:06:10 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":574480,"party_id":61233,"invoice_amount":"95.00","invoice_date":"2025-04-21 11:06:10","due_date":"2025-04-21 11:06:10","outstanding_balance":"95.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"95.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 155, 'App\Models\User', 550140, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-04-21 11:06:10 [0.27ms] */
select `invoice`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (453020, 453022) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-04-21 11:06:10 [0.61ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Quarterly Tax Fees', 2, 64.00, 95, 550140, 155, 155, '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-04-21 11:06:10 [0.16ms] */
select * from `invoice_item` where `id` = 999415 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-04-21 11:06:10 [0.59ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Quarterly Tax Fees","unit_price":"64.00","quantity":2,"total_price":"95.00","invoice_id":550140}}', 155, 'App\Models\User', 999415, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2025-04-21 11:06:10 [0.4ms] */
update `invoice` set `invoice_number` = 'INV-776-550140231', `invoice`.`updated_at` = '2025-04-21 11:06:10' where `id` = 550140;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-04-21 11:06:10 [0.17ms] */
select * from `invoice` where `id` = 550140 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-04-21 11:06:10 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_number":"INV-776-550140231"},"old":{"invoice_number":null}}', 155, 'App\Models\User', 550140, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-04-21 11:06:10 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 453020 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-04-21 11:06:10 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 155, `vehicle_tax`.`updated_at` = '2025-04-21 11:06:10' where `id` = 453020;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-04-21 11:06:10 [0.16ms] */
select * from `vehicle_tax` where `id` = 453020 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-04-21 11:06:10 [0.42ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 155, 'App\Models\User', 453020, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2025-04-21 11:06:10 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2025-04-21 11:06:10 [0.93ms] */
update `transaction` set `tax_collection_point_id` = 38, `parent_id` = 574480, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-21 11:06:10' where `id` = 562879;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2025-04-21 11:06:10 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 538546 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-04-21 11:06:10 [0.66ms] */
update `invoice` set `parent_id` = 550140, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-21 11:06:10' where `id` = 538546;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-04-21 11:06:10 [0.17ms] */
select * from `invoice` where `id` = 538546 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-04-21 11:06:10 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":550140,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 155, 'App\Models\User', 538546, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-04-21 11:06:10 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-04-21 11:06:10 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2025-04-21 11:06:10 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 65 - 2025-04-21 11:06:10 [0.16ms] */
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): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2025-04-21 11:06:10 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-04-21 11:06:10 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-04-21 11:06:10 [1.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (562879, 'APPROVED', '2025-04-21 11:06:10', 5, 155, null, 155, 155, '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 69 - 2025-04-21 11:06:10 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 70 - 2025-04-21 11:06:10 [0.26ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-21 11:06:10' where `id` = 562879;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 71 - 2025-04-21 11:06:10 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2025-04-21 11:06:10 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 538546 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-04-21 11:06:10 [0.17ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 453022 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-04-21 11:06:10 [0.14ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 155, `vehicle_tax`.`updated_at` = '2025-04-21 11:06:10' where `id` = 453022;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 75 - 2025-04-21 11:06:10 [0.16ms] */
select * from `vehicle_tax` where `id` = 453022 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-04-21 11:06:10 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 155, 'App\Models\User', 453022, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-04-21 11:06:10 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 562881 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-04-21 11:06:10 [0.24ms] */
update `transaction` set `tax_collection_point_id` = 38, `parent_id` = 574480, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-21 11:06:10' where `id` = 562881;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 79 - 2025-04-21 11:06:10 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 538549 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-04-21 11:06:10 [0.19ms] */
update `invoice` set `parent_id` = 550140, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-21 11:06:10' where `id` = 538549;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-04-21 11:06:10 [0.17ms] */
select * from `invoice` where `id` = 538549 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2025-04-21 11:06:10 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":550140,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 155, 'App\Models\User', 538549, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2025-04-21 11:06:10 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 562881 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 84 - 2025-04-21 11:06:10 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 85 - 2025-04-21 11:06:10 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 86 - 2025-04-21 11:06:10 [0.17ms] */
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): POST https://testtra.puntlandgov.org/api/make_payment
   Query 87 - 2025-04-21 11:06:10 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2025-04-21 11:06:10 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (562881, 'APPROVED', '2025-04-21 11:06:10', 5, 155, null, 155, 155, '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 89 - 2025-04-21 11:06:10 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 90 - 2025-04-21 11:06:10 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-21 11:06:10' where `id` = 562881;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 91 - 2025-04-21 11:06:10 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 92 - 2025-04-21 11:06:10 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 538549 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 93 - 2025-04-21 11:06:10 [0.17ms] */
update `transaction` set `invoice_id` = 550140, `transaction`.`updated_at` = '2025-04-21 11:06:10' where `id` = 574480;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 94 - 2025-04-21 11:06:10 [0.33ms] */
update `vehicle` set `updated_by` = 155, `vehicle`.`updated_at` = '2025-04-21 11:06:10' where `id` = 94544;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 95 - 2025-04-21 11:06:10 [0.18ms] */
select * from `vehicle` where `id` = 94544 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 96 - 2025-04-21 11:06:10 [0.82ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 155, 'App\Models\User', 94544, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 97 - 2025-04-21 11:06:10 [1.51ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":18}', '{"updated_by":155}', 'updated', 94544, 'Modules\Vehicle\Entities\Vehicle', 155, 'App\Models\User', null, '27.61.61.45', 'Dart/3.4 (dart:io)', 'https://testtra.puntlandgov.org/api/make_payment', '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 98 - 2025-04-21 11:06:10 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 574480 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 99 - 2025-04-21 11:06:10 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 100 - 2025-04-21 11:06:10 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 101 - 2025-04-21 11:06:10 [0.17ms] */
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): POST https://testtra.puntlandgov.org/api/make_payment
   Query 102 - 2025-04-21 11:06:10 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574480, 'APPROVED', '2025-04-21 11:06:10', 5, 155, null, 155, 155, '2025-04-21 11:06:10', '2025-04-21 11:06:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 103 - 2025-04-21 11:06:10 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 104 - 2025-04-21 11:06:10 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-21 11:06:10' where `id` = 574480;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 105 - 2025-04-21 11:06:10 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 106 - 2025-04-21 11:06:10 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 550140 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 107 - 2025-04-21 11:06:10 [0.25ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 108 - 2025-04-21 11:06:10 [0.74ms] */
select * from `invoice` where `transaction_id` = 562879 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 109 - 2025-04-21 11:06:10 [0.9ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538546 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 110 - 2025-04-21 11:06:10 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 111 - 2025-04-21 11:06:10 [3.5ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-04-21 11:06:10' where `id` = 562879;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 112 - 2025-04-21 11:06:10 [1.41ms] */
select * from `invoice` where `transaction_id` = 562881 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 113 - 2025-04-21 11:06:10 [1.03ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538549 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 114 - 2025-04-21 11:06:10 [0.52ms] */
select * from `transaction` where `transaction`.`id` = 562881 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 115 - 2025-04-21 11:06:10 [3.48ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-04-21 11:06:10' where `id` = 562881;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 116 - 2025-04-21 11:06:10 [0.63ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 117 - 2025-04-21 11:06:10 [0.68ms] */
select * from `user_accounts` where `user_id` = 155 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 118 - 2025-04-21 11:06:10 [0.31ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 119 - 2025-04-21 11:06:10 [0.28ms] */
select * from `user_accounts` where `user_id` = 155 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-21 11:06:11 [2.28ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-21 11:06:11 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-21 11:06:11 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-21 11:06:11 [0.25ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-21 11:06:11 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-21 11:06:11 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-21 11:06:11 [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://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-04-21 11:06:13 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-21 11:06:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-21 11:06:13 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-04-21 11:06:13 [0.17ms] */
select * from `users` where `id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-21 11:06:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0cd342828dbe825b79d31f6cf677e02920324baf54c05dd41ec5c08f0db0b09deda0f592e3a34055' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-21 11:06:13 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-21 11:06:13 [2.15ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 155 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-04-21 11:06:13 [1.62ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 155 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 1 - 2025-04-21 11:06:18 [1.33ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 2 - 2025-04-21 11:06:18 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 3 - 2025-04-21 11:06:18 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 4 - 2025-04-21 11:06:18 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 5 - 2025-04-21 11:06:18 [0.29ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 6 - 2025-04-21 11:06:18 [0.26ms] */
select `name`, `id` from `permissions`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 7 - 2025-04-21 11:06:18 [0.51ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 2;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 8 - 2025-04-21 11:06:18 [0.28ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 3;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 9 - 2025-04-21 11:06:18 [0.3ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 4;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 10 - 2025-04-21 11:06:18 [0.34ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 5;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 11 - 2025-04-21 11:06:18 [0.26ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 6;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 12 - 2025-04-21 11:06:18 [0.26ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 7;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 13 - 2025-04-21 11:06:18 [0.27ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 8;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 14 - 2025-04-21 11:06:18 [0.25ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 9;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 15 - 2025-04-21 11:06:18 [0.26ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 10;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 16 - 2025-04-21 11:06:18 [0.26ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 11;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 17 - 2025-04-21 11:06:18 [0.26ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 12;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 18 - 2025-04-21 11:06:18 [0.38ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 13;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 19 - 2025-04-21 11:06:18 [0.33ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 14;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 20 - 2025-04-21 11:06:18 [0.34ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 15;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 21 - 2025-04-21 11:06:18 [0.31ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 16;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 22 - 2025-04-21 11:06:18 [0.31ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 17;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 23 - 2025-04-21 11:06:18 [0.3ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 18;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 24 - 2025-04-21 11:06:18 [0.3ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 19;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 25 - 2025-04-21 11:06:18 [0.3ms] */
select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` = 20;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 26 - 2025-04-21 11:06:18 [0.23ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/create
   Query 27 - 2025-04-21 11:06:18 [0.16ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 1 - 2025-04-21 11:08:04 [1.46ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 2 - 2025-04-21 11:08:04 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 3 - 2025-04-21 11:08:04 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 4 - 2025-04-21 11:08:04 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 5 - 2025-04-21 11:08:04 [0.38ms] */
select count(*) as aggregate from `users` where `email` = 'teller@field-officer.com';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 6 - 2025-04-21 11:08:04 [7.7ms] */
insert into `users` (`first_name`, `last_name`, `username`, `email`, `password`, `status`, `name`, `email_verified_at`, `updated_at`, `created_at`) values ('Tax', 'Teller', 'Field Officer', 'teller@field-officer.com', 'y$KznB2ZPpjf6FJtbaiG88MuAYd.fBvuNxPOlLgsAeL/wbXzqNB0M1S', 1, 'Tax Teller', '2025-04-21 11:08:04', '2025-04-21 11:08:04', '2025-04-21 11:08:04');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 7 - 2025-04-21 11:08:04 [3.08ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('[]', '{"first_name":"Tax","last_name":"Teller","username":"Field Officer","email":"teller@field-officer.com","password":"y$KznB2ZPpjf6FJtbaiG88MuAYd.fBvuNxPOlLgsAeL\/wbXzqNB0M1S","status":"1","name":"Tax Teller","email_verified_at":"2025-04-21 11:08:04","id":161}', 'created', 161, 'App\Models\User', 1, 'App\Models\User', null, '49.47.219.130', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/users', '2025-04-21 11:08:04', '2025-04-21 11:08:04');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 8 - 2025-04-21 11:08:04 [0.82ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 9 - 2025-04-21 11:08:04 [0.68ms] */
delete from `model_has_roles` where `model_has_roles`.`model_id` = 161 and `model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 10 - 2025-04-21 11:08:04 [0.81ms] */
select * from `roles` where `name` = 'teller' and `guard_name` = 'web' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 11 - 2025-04-21 11:08:04 [0.6ms] */
select * from `model_has_roles` where `model_has_roles`.`model_id` = 161 and `model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 12 - 2025-04-21 11:08:04 [3.58ms] */
insert into `model_has_roles` (`model_id`, `model_type`, `role_id`) values (161, 'App\Models\User', 5);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 13 - 2025-04-21 11:08:04 [0.43ms] */
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` in (161) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 14 - 2025-04-21 11:08:04 [0.43ms] */
delete from `model_has_permissions` where `model_has_permissions`.`model_id` = 161 and `model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 15 - 2025-04-21 11:08:04 [0.92ms] */
select * from `model_has_permissions` where `model_has_permissions`.`model_id` = 161 and `model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 16 - 2025-04-21 11:08:04 [0.67ms] */
select `permissions`.*, `model_has_permissions`.`model_id` as `pivot_model_id`, `model_has_permissions`.`permission_id` as `pivot_permission_id`, `model_has_permissions`.`model_type` as `pivot_model_type` from `permissions` inner join `model_has_permissions` on `permissions`.`id` = `model_has_permissions`.`permission_id` where `model_has_permissions`.`model_id` in (161) and `model_has_permissions`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 17 - 2025-04-21 11:08:04 [0.46ms] */
select * from `users` where `users`.`id` = 161 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 18 - 2025-04-21 11:08:04 [0.16ms] */
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` in (161) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 19 - 2025-04-21 11:08:04 [0.15ms] */
select `permissions`.*, `model_has_permissions`.`model_id` as `pivot_model_id`, `model_has_permissions`.`permission_id` as `pivot_permission_id`, `model_has_permissions`.`model_type` as `pivot_model_type` from `permissions` inner join `model_has_permissions` on `permissions`.`id` = `model_has_permissions`.`permission_id` where `model_has_permissions`.`model_id` in (161) and `model_has_permissions`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 20 - 2025-04-21 11:08:04 [7.39ms] */
insert into `userprofiles` (`user_id`, `name`, `first_name`, `last_name`, `username`, `email`, `mobile`, `gender`, `date_of_birth`, `avatar`, `status`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (161, 'Tax Teller', 'Tax', 'Teller', 'Field Officer', 'teller@field-officer.com', null, null, null, 'img/default-avatar.jpg', 1, 1, 1, '2025-04-21 11:08:04', '2025-04-21 11:08:04');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 21 - 2025-04-21 11:08:04 [0.34ms] */
select * from `users` where `users`.`id` = 161 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 22 - 2025-04-21 11:08:04 [0.25ms] */
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` in (161) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/users
   Query 23 - 2025-04-21 11:08:04 [0.16ms] */
select `permissions`.*, `model_has_permissions`.`model_id` as `pivot_model_id`, `model_has_permissions`.`permission_id` as `pivot_permission_id`, `model_has_permissions`.`model_type` as `pivot_model_type` from `permissions` inner join `model_has_permissions` on `permissions`.`id` = `model_has_permissions`.`permission_id` where `model_has_permissions`.`model_id` in (161) and `model_has_permissions`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/en/users
   Query 1 - 2025-04-21 11:08:04 [1.84ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/en/users
   Query 2 - 2025-04-21 11:08:04 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/en/users
   Query 3 - 2025-04-21 11:08:04 [1ms] */
select `roles`.*, `model_has_roles`.* from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 1 - 2025-04-21 11:08:04 [2.16ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 2 - 2025-04-21 11:08:04 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 3 - 2025-04-21 11:08:04 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 4 - 2025-04-21 11:08:04 [0.2ms] */
select * from `permissions`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 5 - 2025-04-21 11:08:04 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 6 - 2025-04-21 11:08:04 [0.39ms] */
select `roles`.*, `role_has_permissions`.`permission_id` as `pivot_permission_id`, `role_has_permissions`.`role_id` as `pivot_role_id` from `roles` inner join `role_has_permissions` on `roles`.`id` = `role_has_permissions`.`role_id` where `role_has_permissions`.`permission_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 7 - 2025-04-21 11:08:04 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 8 - 2025-04-21 11:08:04 [0.61ms] */
select `permissions`.*, `model_has_permissions`.* from `permissions` inner join `model_has_permissions` on `permissions`.`id` = `model_has_permissions`.`permission_id`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 9 - 2025-04-21 11:08:04 [0.55ms] */
select count(*) as aggregate from `users` where `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 10 - 2025-04-21 11:08:04 [0.74ms] */
select * from `users` where `users`.`deleted_at` is null limit 15 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 11 - 2025-04-21 11:08:04 [0.26ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 12 - 2025-04-21 11:08:04 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users
   Query 13 - 2025-04-21 11:08:04 [0.78ms] */
select * from `settings` where `settings`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 1 - 2025-04-21 11:08:05 [1.38ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 2 - 2025-04-21 11:08:05 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 3 - 2025-04-21 11:08:05 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 4 - 2025-04-21 11:08:05 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 5 - 2025-04-21 11:08:05 [0.14ms] */
select count(*) as aggregate from `users` where `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 6 - 2025-04-21 11:08:05 [0.34ms] */
select `id`, `name`, `username`, `email`, `email_verified_at`, `updated_at`, `status`, `district_id` from `users` where `users`.`deleted_at` is null order by -id asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 7 - 2025-04-21 11:08:05 [0.29ms] */
select * from `district` where `id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 8 - 2025-04-21 11:08:05 [0.14ms] */
select * from `district` where `id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 9 - 2025-04-21 11:08:05 [0.22ms] */
select * from `district` where `id` = 35 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 10 - 2025-04-21 11:08:05 [0.14ms] */
select * from `district` where `id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 11 - 2025-04-21 11:08:05 [0.14ms] */
select * from `district` where `id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 12 - 2025-04-21 11:08:05 [0.2ms] */
select * from `district` where `id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 13 - 2025-04-21 11:08:05 [0.14ms] */
select * from `district` where `id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/users/index_data?_=1745222884807&columns%5B0%5D%5Bdata%5D=id&columns%5B0%5D%5Bname%5D=id&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=true&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=name&columns%5B1%5D%5Bname%5D=name&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%5D%5Bdata%5D=username&columns%5B2%5D%5Bname%5D=username&columns%5B2%5D%5Bsearchable%5D=true&columns%5B2%5D%5Borderable%5D=true&columns%5B2%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B2%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B3%5D%5Bdata%5D=email&columns%5B3%5D%5Bname%5D=email&columns%5B3%5D%5Bsearchable%5D=true&columns%5B3%5D%5Borderable%5D=true&columns%5B3%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B3%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B4%5D%5Bdata%5D=status&columns%5B4%5D%5Bname%5D=status&columns%5B4%5D%5Bsearchable%5D=true&columns%5B4%5D%5Borderable%5D=true&columns%5B4%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B4%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B5%5D%5Bdata%5D=user_roles&columns%5B5%5D%5Bname%5D=user_roles&columns%5B5%5D%5Bsearchable%5D=true&columns%5B5%5D%5Borderable%5D=true&columns%5B5%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B5%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B6%5D%5Bdata%5D=district&columns%5B6%5D%5Bname%5D=district_id&columns%5B6%5D%5Bsearchable%5D=true&columns%5B6%5D%5Borderable%5D=true&columns%5B6%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B6%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B7%5D%5Bdata%5D=action&columns%5B7%5D%5Bname%5D=action&columns%5B7%5D%5Bsearchable%5D=false&columns%5B7%5D%5Borderable%5D=false&columns%5B7%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B7%5D%5Bsearch%5D%5Bregex%5D=false&draw=1&length=10&order%5B0%5D%5Bcolumn%5D=0&order%5B0%5D%5Bdir%5D=asc&search%5Bvalue%5D=&search%5Bregex%5D=false&start=0
   Query 14 - 2025-04-21 11:08:05 [0.17ms] */
select * from `district` where `id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-04-21 11:08:41 [3.99ms] */
select * from `users` where `email` = 'teller@field-officer.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-04-21 11:08:41 [0.4ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-04-21 11:08:41 [1.23ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 161 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-04-21 11:08:41 [17.19ms] */
update `userprofiles` set `last_ip` = '27.61.61.45', `login_count` = 1, `last_login` = '2025-04-21 11:08:41', `updated_by` = 161, `userprofiles`.`updated_at` = '2025-04-21 11:08:41' where `id` = 161;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-04-21 11:08:41 [6.44ms] */
select * from `users` where `email` = 'teller@field-officer.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-04-21 11:08:41 [7.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-04-21 11:08:41 [12.22ms] */
select `id`, `name`, `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` in (161) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-04-21 11:08:41 [1.62ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-04-21 11:08:41 [1.2ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-04-21 11:08:41 [1.11ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-04-21 11:08:41 [0.53ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-04-21 11:08:41 [0.55ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-04-21 11:08:41 [5.22ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521', 161, 5, '[]', 0, '2025-04-21 11:08:41', '2025-04-21 11:08:41', '2026-04-21 11:08:41');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-04-21 11:08:41 [0.35ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-04-21 11:08:41 [3.03ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-21 11:08:48 [1.86ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-21 11:08:48 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-21 11:08:48 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-21 11:08:48 [0.55ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-21 11:08:48 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-21 11:08:48 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-21 11:08:48 [5.45ms] */
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` = 'BW316' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-21 11:08:48 [0.43ms] */
select * from `party` where `party`.`id` = 45198 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-21 11:08:48 [0.36ms] */
select * from `vehicle` where `id` = 63995 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-21 11:08:48 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 63995 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-21 11:08:49 [2.28ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-21 11:08:49 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-21 11:08:49 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-21 11:08:49 [0.34ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-04-21 11:08:49 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-21 11:08:49 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-21 11:08:49 [1.24ms] */
select * from `vehicle` where `vehicle`.`id` = 63995 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-21 11:08:49 [0.25ms] */
select * from `vehicle` where `id` = 63995 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-21 11:08:49 [1.1ms] */
select * from `party_vehicle` where `vehicle_id` = 63995 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-04-21 11:08:49 [5.87ms] */
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` = 63995 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://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-04-21 11:08:50 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-21 11:08:50 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-21 11:08:50 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-21 11:08:50 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-04-21 11:08:50 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-21 11:08:50 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-21 11:08:50 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-21 11:08:50 [6.87ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-21 11:08:50 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-21 11:08:50 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-21 11:08:50 [0.18ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-21 11:08:50 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-21 11:08:50 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-21 11:08:50 [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://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-21 11:09:00 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-21 11:09:00 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-21 11:09:00 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-21 11:09:00 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-21 11:09:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-21 11:09:00 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-21 11:09:00 [0.79ms] */
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` = 'BM316' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-21 11:09:00 [0.3ms] */
select * from `vehicle` where `license_plate` = 'BM316' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-21 11:09:06 [1.47ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-21 11:09:06 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-21 11:09:06 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-21 11:09:06 [0.19ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-21 11:09:06 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-21 11:09:06 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-21 11:09:06 [4.77ms] */
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` = 'BA316' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-21 11:09:06 [0.23ms] */
select * from `party` where `party`.`id` = 61233 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-21 11:09:06 [0.61ms] */
select * from `vehicle` where `id` = 94544 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-21 11:09:06 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 94544 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-21 11:09:06 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-21 11:09:06 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-21 11:09:06 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-21 11:09:06 [0.2ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-04-21 11:09:06 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-21 11:09:06 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-21 11:09:06 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 94544 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-21 11:09:06 [0.18ms] */
select * from `vehicle` where `id` = 94544 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-21 11:09:06 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 94544 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-04-21 11:09:06 [0.85ms] */
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` = 94544 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://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-04-21 11:09:07 [1.22ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-21 11:09:07 [0.12ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-21 11:09:07 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-21 11:09:07 [0.14ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-04-21 11:09:07 [0.12ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-21 11:09:07 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-21 11:09:07 [0.12ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-21 11:09:07 [1.19ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-21 11:09:07 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-21 11:09:07 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-21 11:09:07 [0.16ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-21 11:09:07 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-21 11:09:07 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-21 11:09:07 [0.2ms] */
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://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-21 11:09:09 [1.46ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-21 11:09:09 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-21 11:09:09 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-21 11:09:09 [0.19ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-21 11:09:09 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-21 11:09:09 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-21 11:09:09 [0.19ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-21 11:09:09 [0.17ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-21 11:09:09 [0.43ms] */
select `parent_id` from `transaction` where `id` in (562879, 562881) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-21 11:09:09 [283.09ms] */
select `id` from `transaction` where `parent_id` in (574480) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-21 11:09:09 [0.56ms] */
select * from `transaction` where `id` in (574480) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-21 11:09:09 [0.21ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-21 11:09:09 [0.23ms] */
select * from `invoice` where `transaction_id` = 562879 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-21 11:09:09 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538546 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-21 11:09:09 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-21 11:09:09 [6.35ms] */
update `transaction` set `tax_collection_point_id` = null, `deliver_district_id` = null, `updated_by` = 161, `transaction`.`updated_at` = '2025-04-21 11:09:09' where `id` = 562879;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-21 11:09:09 [0.25ms] */
select * from `invoice` where `transaction_id` = 562881 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-21 11:09:09 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538549 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-21 11:09:09 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 562881 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-21 11:09:09 [4.1ms] */
update `transaction` set `tax_collection_point_id` = null, `deliver_district_id` = null, `updated_by` = 161, `transaction`.`updated_at` = '2025-04-21 11:09:09' where `id` = 562881;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-04-21 11:09:09 [0.29ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-04-21 11:09:09 [0.68ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-21 11:09:10 [2.86ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-21 11:09:10 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-21 11:09:10 [0.32ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-21 11:09:10 [0.33ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-21 11:09:10 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-21 11:09:10 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-21 11:09:10 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-21 11:09:10 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-21 11:09:10 [0.32ms] */
select `parent_id` from `transaction` where `id` in (562879, 562881) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-21 11:09:10 [174.04ms] */
select `id` from `transaction` where `parent_id` in (574480) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-21 11:09:10 [0.56ms] */
select * from `transaction` where `id` in (574480) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-21 11:09:10 [0.18ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-21 11:09:10 [0.19ms] */
select * from `invoice` where `transaction_id` = 562879 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-21 11:09:10 [0.17ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538546 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-21 11:09:10 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-21 11:09:10 [0.33ms] */
select * from `invoice` where `transaction_id` = 562881 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-21 11:09:10 [0.3ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538549 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-21 11:09:10 [0.55ms] */
select * from `transaction` where `transaction`.`id` = 562881 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-21 11:09:10 [0.24ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-21 11:09:10 [0.23ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-21 11:09:16 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-21 11:09:16 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-21 11:09:16 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-21 11:09:16 [0.18ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-21 11:09:16 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-21 11:09:16 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-21 11:09:16 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-21 11:09:16 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-21 11:09:16 [0.13ms] */
select `parent_id` from `transaction` where `id` in (562879, 562881) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-21 11:09:16 [0.13ms] */
select `id` from `transaction` where `parent_id` in (574480) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-21 11:09:16 [0.15ms] */
select * from `transaction` where `id` in (574480) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-21 11:09:16 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-21 11:09:16 [0.16ms] */
select * from `invoice` where `transaction_id` = 562879 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-21 11:09:16 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538546 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-21 11:09:16 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-21 11:09:16 [0.14ms] */
select * from `invoice` where `transaction_id` = 562881 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-21 11:09:16 [0.16ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538549 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-21 11:09:16 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 562881 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-21 11:09:16 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-21 11:09:16 [0.13ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-21 11:09:16 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-21 11:09:16 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-21 11:09:16 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-21 11:09:16 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-21 11:09:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-21 11:09:16 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-21 11:09:16 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-21 11:09:16 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-21 11:09:16 [0.14ms] */
select `parent_id` from `transaction` where `id` in (562879, 562881) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-21 11:09:16 [0.12ms] */
select `id` from `transaction` where `parent_id` in (574480) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-21 11:09:16 [0.16ms] */
select * from `transaction` where `id` in (574480) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-21 11:09:16 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-21 11:09:16 [0.16ms] */
select * from `invoice` where `transaction_id` = 562879 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-21 11:09:16 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538546 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-21 11:09:16 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-21 11:09:16 [0.14ms] */
select * from `invoice` where `transaction_id` = 562881 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-21 11:09:16 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538549 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-21 11:09:16 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 562881 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-21 11:09:16 [0.15ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-21 11:09:16 [0.14ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:09:21 [2.17ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:09:21 [0.98ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:09:21 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:09:21 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:09:21 [0.5ms] */
select * from `receipts` where `receipts`.`id` = 5920 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:09:21 [0.89ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:09:21 [0.51ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:09:21 [0.69ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:09:21 [0.59ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:09:21 [0.61ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:09:21 [0.6ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:09:21 [0.24ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:09:21 [0.24ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:09:21 [0.24ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:09:21 [0.24ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:09:21 [0.59ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:09:21 [0.5ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-04-21 11:09:21 [0.55ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:09:26 [1.37ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:09:26 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:09:26 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:09:26 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:09:26 [0.19ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:09:26 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:09:26 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:09:26 [0.16ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:09:26 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:09:26 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:09:26 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:09:26 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:09:26 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:09:26 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:09:26 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:09:26 [0.15ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:09:26 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:09:29 [1.41ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:09:29 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:09:29 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:09:29 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:09:29 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:09:29 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:09:29 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:09:29 [0.16ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:09:29 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:09:29 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:09:29 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:09:29 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:09:29 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:09:29 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:09:29 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:09:29 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:09:29 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:09:30 [1.48ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:09:30 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:09:30 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:09:30 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:09:30 [0.5ms] */
select * from `user_receipts` where `user_receipts`.`id` = 83 and `user_receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:09:30 [8.21ms] */
select * from `receipts` where `user_receipt_id` = 83 and `used` = 'Yes' and `receipts`.`deleted_at` is null order by `updated_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:09:30 [0.2ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:09:30 [0.14ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:09:30 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:09:30 [0.23ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:09:30 [0.18ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:09:30 [0.18ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:09:30 [0.18ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:09:30 [0.17ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:09:30 [0.17ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:09:30 [0.17ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:09:30 [0.19ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-04-21 11:09:30 [0.17ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 19 - 2025-04-21 11:09:30 [0.17ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:09:44 [1.42ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:09:44 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:09:44 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:09:44 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:09:44 [0.41ms] */
select * from `receipts` where `receipts`.`id` = 6275 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:09:44 [12.26ms] */
update `receipts` set `deleted_at` = '2025-04-21 11:09:44', `receipts`.`updated_at` = '2025-04-21 11:09:44' where `user_receipt_id` = 83 and `used` = 'No' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:09:44 [0.37ms] */
select * from `user_receipts` where `user_receipts`.`id` = 83 and `user_receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:09:44 [3.5ms] */
update `user_receipts` set `end` = 2310213, `updated_by` = 1, `user_receipts`.`updated_at` = '2025-04-21 11:09:44' where `id` = 83;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:09:44 [0.53ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:09:44 [0.54ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:09:44 [0.44ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:09:44 [0.28ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:09:44 [0.23ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:09:44 [0.21ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:09:44 [0.21ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:09:44 [0.2ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:09:44 [0.2ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-04-21 11:09:44 [0.21ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 19 - 2025-04-21 11:09:44 [0.2ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 20 - 2025-04-21 11:09:44 [0.2ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 21 - 2025-04-21 11:09:44 [0.2ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:09:53 [1.3ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:09:53 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:09:53 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:09:53 [1.1ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:09:53 [0.29ms] */
select * from `receipts` where `receipts`.`id` = 6275 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:09:53 [0.22ms] */
select * from `user_receipts` where `user_receipts`.`id` = 83 and `user_receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:09:53 [2.45ms] */
select * from `receipts` where `user_receipt_id` = 83 and `used` = 'Yes' and `receipts`.`deleted_at` is null order by `updated_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:09:53 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:09:53 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:09:53 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:09:53 [0.17ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:09:53 [0.16ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:09:53 [0.16ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:09:53 [0.16ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:09:53 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:09:53 [0.19ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:09:53 [0.16ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-04-21 11:09:53 [0.16ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 19 - 2025-04-21 11:09:53 [0.16ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 20 - 2025-04-21 11:09:53 [0.16ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:09:57 [2.37ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:09:57 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:09:57 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:09:57 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:09:57 [0.17ms] */
select * from `receipts` where `receipts`.`id` = 6275 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:09:57 [0.17ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:09: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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:09: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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:09:57 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:09:57 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:09:57 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:09:57 [0.16ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:09:57 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:09:57 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:09:57 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:09:57 [0.17ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:09:57 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-04-21 11:09:57 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:09:59 [1.64ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:09:59 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:09:59 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:09:59 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:09:59 [0.28ms] */
select * from `receipts` where `receipts`.`id` = 6275 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:09:59 [0.41ms] */
select * from `user_receipts` where `user_receipts`.`id` = 82 and `user_receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:09:59 [4.85ms] */
select * from `receipts` where `user_receipt_id` = 82 and `used` = 'Yes' and `receipts`.`deleted_at` is null order by `updated_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:09:59 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:09:59 [0.3ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:09:59 [0.31ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:09:59 [0.32ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:09:59 [0.3ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:09:59 [0.22ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:09:59 [0.21ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:09:59 [0.2ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:09:59 [0.2ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:09:59 [0.2ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-04-21 11:09:59 [0.21ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 19 - 2025-04-21 11:09:59 [0.21ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 20 - 2025-04-21 11:09:59 [0.16ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:10:06 [1.35ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:10:06 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:10:06 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:10:06 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:10:06 [0.2ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:10:06 [0.38ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `user_id` = 155 and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:10:06 [0.39ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `user_id` = 155 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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:10:06 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:10:06 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:10:06 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:10:09 [1.28ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:10:09 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:10:09 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:10:09 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:10:09 [0.32ms] */
select * from `user_receipts` where `user_receipts`.`id` = 68 and `user_receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:10:09 [2.12ms] */
select * from `receipts` where `user_receipt_id` = 68 and `used` = 'Yes' and `receipts`.`deleted_at` is null order by `updated_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:10:09 [0.16ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:10:09 [0.15ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `user_id` = 155 and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:10:09 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `user_id` = 155 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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:10:09 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:10:09 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:10:09 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:10:18 [2.28ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:10:18 [0.65ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:10:18 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:10:18 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:10:18 [0.25ms] */
select * from `receipts` where `receipts`.`id` = 5930 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:10:18 [14.07ms] */
update `receipts` set `deleted_at` = '2025-04-21 11:10:18', `receipts`.`updated_at` = '2025-04-21 11:10:18' where `user_receipt_id` = 68 and `used` = 'No' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:10:18 [0.47ms] */
select * from `user_receipts` where `user_receipts`.`id` = 68 and `user_receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:10:18 [3.39ms] */
update `user_receipts` set `end` = 2310310, `updated_by` = 1, `user_receipts`.`updated_at` = '2025-04-21 11:10:18' where `id` = 68;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:10:18 [0.31ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:10:18 [0.73ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `user_id` = 155 and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:10:18 [0.74ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `user_id` = 155 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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:10:18 [0.25ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:10:18 [0.22ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:10:18 [0.21ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 1 - 2025-04-21 11:15:18 [3.88ms] */
select * from `users` where `email` = 'admin@admin.com' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 2 - 2025-04-21 11:15:18 [0.3ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 3 - 2025-04-21 11:15:18 [0.64ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 2 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 4 - 2025-04-21 11:15:18 [6.13ms] */
update `userprofiles` set `login_count` = 595, `last_login` = '2025-04-21 11:15:18', `userprofiles`.`updated_at` = '2025-04-21 11:15:18' where `id` = 2;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 5 - 2025-04-21 11:15:18 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 6 - 2025-04-21 11:15:18 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/login
   Query 7 - 2025-04-21 11:15:18 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2025-04-21 11:15:19 [1.37ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2025-04-21 11:15:19 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 3 - 2025-04-21 11:15:19 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 4 - 2025-04-21 11:15:19 [0.53ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 5 - 2025-04-21 11:15:19 [91.32ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2025-04-21 11:15:19 [18.58ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-04-21' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2025-04-21 11:15:19 [131.67ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2025-04-21 11:15:19 [29.91ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-04-21' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-04-21 11:15:19 [77.83ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-04-20' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-04-21 11:15:19 [61.92ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-04-20' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-04-21 11:15:19 [319.01ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-04-21' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-04-21 11:15:21 [1225.58ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-04-21' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 1 - 2025-04-21 11:15:28 [1.36ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 2 - 2025-04-21 11:15:28 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 3 - 2025-04-21 11:15:28 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 4 - 2025-04-21 11:15:28 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 5 - 2025-04-21 11:15:28 [0.31ms] */
select count(*) as aggregate from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 6 - 2025-04-21 11:15:28 [0.2ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 7 - 2025-04-21 11:15:28 [0.47ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 1 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 8 - 2025-04-21 11:15:28 [0.15ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 9 - 2025-04-21 11:15:28 [0.23ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 1 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 10 - 2025-04-21 11:15:28 [0.15ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 11 - 2025-04-21 11:15:28 [0.27ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 2 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 12 - 2025-04-21 11:15:28 [0.22ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 13 - 2025-04-21 11:15:28 [0.27ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 2 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 14 - 2025-04-21 11:15:28 [0.26ms] */
select * from `merchants` where `merchants`.`id` = 4 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 15 - 2025-04-21 11:15:28 [0.21ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 3 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 16 - 2025-04-21 11:15:28 [0.2ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 3 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 17 - 2025-04-21 11:15:28 [0.24ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 4 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 18 - 2025-04-21 11:15:28 [0.2ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 4 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 19 - 2025-04-21 11:15:28 [0.2ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 5 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 20 - 2025-04-21 11:15:28 [0.24ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 5 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 21 - 2025-04-21 11:15:28 [0.2ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 6 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 22 - 2025-04-21 11:15:28 [0.2ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 6 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 23 - 2025-04-21 11:15:28 [0.2ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 7 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 24 - 2025-04-21 11:15:28 [0.2ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 7 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 25 - 2025-04-21 11:15:28 [0.2ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 8 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 26 - 2025-04-21 11:15:28 [0.19ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 8 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 27 - 2025-04-21 11:15:28 [0.2ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 9 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 28 - 2025-04-21 11:15:28 [0.2ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 9 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 1 - 2025-04-21 11:15:58 [2ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 2 - 2025-04-21 11:15:58 [0.78ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 3 - 2025-04-21 11:15:58 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 4 - 2025-04-21 11:15:58 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 5 - 2025-04-21 11:15:58 [0.26ms] */
select count(*) as aggregate from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 6 - 2025-04-21 11:15:58 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 7 - 2025-04-21 11:15:58 [0.17ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 1 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 8 - 2025-04-21 11:15:58 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 9 - 2025-04-21 11:15:58 [0.14ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 1 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 10 - 2025-04-21 11:15:58 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 11 - 2025-04-21 11:15:58 [0.15ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 2 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 12 - 2025-04-21 11:15:58 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 13 - 2025-04-21 11:15:58 [0.14ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 2 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 14 - 2025-04-21 11:15:58 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 4 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 15 - 2025-04-21 11:15:58 [0.14ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 3 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 16 - 2025-04-21 11:15:58 [0.13ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 3 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 17 - 2025-04-21 11:15:58 [0.16ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 4 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 18 - 2025-04-21 11:15:58 [0.13ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 4 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 19 - 2025-04-21 11:15:58 [0.14ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 5 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 20 - 2025-04-21 11:15:58 [0.13ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 5 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 21 - 2025-04-21 11:15:58 [0.14ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 6 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 22 - 2025-04-21 11:15:58 [0.13ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 6 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 23 - 2025-04-21 11:15:58 [0.14ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 7 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 24 - 2025-04-21 11:15:58 [0.13ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 7 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 25 - 2025-04-21 11:15:58 [0.14ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 8 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 26 - 2025-04-21 11:15:58 [0.13ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 8 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 27 - 2025-04-21 11:15:58 [0.16ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 9 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/payment-providers
   Query 28 - 2025-04-21 11:15:58 [0.13ms] */
select * from `payment_configurations` where `payment_configurations`.`provider_id` = 9 and `payment_configurations`.`provider_id` is not null and `fee_type` = 'Service' and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-21 11:15:59 [2.13ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-21 11:15:59 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-21 11:15:59 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-21 11:15:59 [0.25ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-21 11:15:59 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-21 11:15:59 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-21 11:15:59 [0.24ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-21 11:15:59 [0.21ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-21 11:15:59 [0.23ms] */
select `parent_id` from `transaction` where `id` in (562879, 562881) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-21 11:15:59 [0.18ms] */
select `id` from `transaction` where `parent_id` in (574480) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-21 11:15:59 [0.16ms] */
select * from `transaction` where `id` in (574480) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-21 11:15:59 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-21 11:15:59 [0.15ms] */
select * from `invoice` where `transaction_id` = 562879 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-21 11:15:59 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538546 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-21 11:15:59 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-21 11:15:59 [0.14ms] */
select * from `invoice` where `transaction_id` = 562881 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-21 11:15:59 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538549 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-21 11:15:59 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 562881 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-21 11:15:59 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-21 11:15:59 [0.26ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-21 11:16:00 [2.02ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-21 11:16:00 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-21 11:16:00 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-21 11:16:00 [0.35ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-21 11:16:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-21 11:16:00 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-21 11:16:00 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-21 11:16:00 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-21 11:16:00 [0.13ms] */
select `parent_id` from `transaction` where `id` in (562879, 562881) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-21 11:16:00 [0.12ms] */
select `id` from `transaction` where `parent_id` in (574480) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-21 11:16:00 [0.15ms] */
select * from `transaction` where `id` in (574480) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-21 11:16:00 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-21 11:16:00 [0.15ms] */
select * from `invoice` where `transaction_id` = 562879 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-21 11:16:00 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538546 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-21 11:16:00 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-21 11:16:00 [0.14ms] */
select * from `invoice` where `transaction_id` = 562881 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-21 11:16:00 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538549 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-21 11:16:00 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 562881 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-21 11:16:00 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-21 11:16:00 [0.14ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:16:14 [1.38ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:16:14 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:16:14 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:16:14 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:16:14 [0.36ms] */
select * from `receipts` where `receipts`.`id` = 5930 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:16:14 [0.17ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:16:14 [0.36ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:16:14 [0.29ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:16:14 [0.16ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:16:14 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:16:14 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:16:14 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:16:14 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:16:14 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:16:14 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:16:14 [0.16ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:16:14 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-04-21 11:16:14 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:16:18 [1.28ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:16:18 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:16:18 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:16:18 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:16:18 [0.19ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:16:18 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:16:18 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:16:18 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:16:18 [0.16ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:16:18 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:16:18 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:16:18 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:16:18 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:16:18 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:16:18 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:16:18 [0.15ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:16:18 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:16:19 [2.03ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:16:19 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:16:19 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:16:19 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:16:19 [0.19ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:16:19 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:16:19 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:16:19 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:16:19 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:16:19 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:16:19 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:16:19 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:16:19 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:16:19 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:16:19 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:16:19 [0.15ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:16:19 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:16:31 [2.35ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:16:31 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:16:31 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:16:31 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:16:31 [0.19ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:16:31 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:16:31 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:16:31 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:16:31 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:16:31 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:16:31 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:16:31 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:16:31 [0.28ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:16:31 [0.34ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:16:31 [0.27ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:16:31 [0.26ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:16:31 [0.27ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:16:34 [2ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:16:34 [0.8ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:16:34 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:16:34 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:16:34 [0.19ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:16:34 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:16:34 [0.31ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:16:34 [0.29ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:16:34 [0.28ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:16:34 [0.27ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:16:34 [0.27ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:16:34 [0.27ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:16:34 [0.31ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:16:34 [0.3ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:16:34 [0.24ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:16:34 [0.24ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:16:34 [0.23ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:16:34 [1.98ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:16:34 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:16:34 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:16:34 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:16:34 [0.19ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:16:34 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:16:34 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:16:34 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:16:34 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:16:34 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:16:34 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:16:34 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:16:34 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:16:34 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:16:34 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:16:34 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:16:34 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:16:35 [1.39ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:16:35 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:16:35 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:16:35 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:16:35 [0.19ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:16:35 [0.18ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:16:35 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:16:35 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:16:35 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:16:35 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:16:35 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:16:35 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:16:35 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:16:35 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:16:35 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:16:35 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:16:35 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:16:37 [2.02ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:16:37 [0.8ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:16:37 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:16:37 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:16: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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:16: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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:16:37 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:16:37 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:16:37 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:16:37 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:16:37 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:16:37 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:16:37 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:16:37 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:16:37 [0.15ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:16:37 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:16:37 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:16:38 [2.03ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:16:38 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:16:38 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:16:38 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:16:38 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:16: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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:16: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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:16:38 [0.16ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:16:38 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:16:38 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:16:38 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:16:38 [0.51ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:16:38 [0.29ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:16:38 [0.28ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:16:38 [0.3ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:16:38 [0.34ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:16:38 [0.3ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:16:39 [2.12ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:16:39 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:16:39 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:16:39 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:16:39 [0.19ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:16: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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:16:39 [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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:16:39 [0.16ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:16:39 [0.15ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:16:39 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:16:39 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:16:39 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:16:39 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:16:39 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:16:39 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:16:39 [0.17ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:16:39 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-21 11:16:40 [1.34ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-21 11:16:40 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-21 11:16:40 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-21 11:16:40 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-21 11:16:40 [6.84ms] */
select count(*) as aggregate from `user_receipts` where `book_number` = 'B-001' and `deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-21 11:16:40 [9.15ms] */
select count(*) as aggregate from `receipts` where `receipt_number` between 1 and 100 and `type` = 'GOV_RECEIPT_NUMBER' and `deleted_at` is null and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-21 11:16:40 [0.78ms] */
insert into `user_receipts` (`user_id`, `book_number`, `type`, `start`, `end`) values (161, 'B-001', 'GOV_RECEIPT_NUMBER', 1, 100);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-21 11:16:40 [0.19ms] */
select * from `user_receipts` where `user_receipts`.`deleted_at` is null order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-21 11:16:40 [2.07ms] */
insert into `receipts` (`created_at`, `receipt_number`, `type`, `updated_at`, `user_id`, `user_receipt_id`) values ('2025-04-21 11:16:40', 1, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 2, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 3, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 4, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 5, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 6, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 7, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 8, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 9, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 10, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 11, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 12, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 13, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 14, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 15, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 16, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 17, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 18, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 19, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 20, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 21, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 22, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 23, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 24, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 25, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 26, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 27, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 28, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 29, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 30, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 31, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 32, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 33, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 34, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 35, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 36, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 37, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 38, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 39, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 40, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 41, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 42, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 43, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 44, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 45, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 46, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 47, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 48, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 49, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 50, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 51, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 52, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 53, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 54, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 55, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 56, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 57, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 58, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 59, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 60, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 61, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 62, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 63, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 64, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 65, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 66, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 67, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 68, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 69, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 70, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 71, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 72, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 73, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 74, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 75, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 76, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 77, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 78, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 79, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 80, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 81, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 82, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 83, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 84, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 85, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 86, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 87, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 88, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 89, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 90, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 91, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 92, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 93, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 94, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 95, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 96, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 97, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 98, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 99, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84), ('2025-04-21 11:16:40', 100, 'GOV_RECEIPT_NUMBER', '2025-04-21 11:16:40', 161, 84);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-21 11:16:40 [0.32ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-21 11:16:40 [3.82ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-21 11:16:40 [0.28ms] */
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://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-21 11:16:40 [0.27ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-21 11:16:40 [0.36ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-21 11:16:40 [0.14ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-21 11:16:40 [0.25ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-21 11:16:40 [0.24ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-04-21 11:16:40 [0.19ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 19 - 2025-04-21 11:16:40 [0.17ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 20 - 2025-04-21 11:16:40 [0.16ms] */
select * from `users` where `users`.`id` = 160 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 21 - 2025-04-21 11:16:40 [0.17ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 22 - 2025-04-21 11:16:40 [0.36ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-21 11:16:45 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-21 11:16:45 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-21 11:16:45 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-21 11:16:45 [0.16ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-21 11:16:45 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-21 11:16:45 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-21 11:16:45 [0.17ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-21 11:16:45 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-21 11:16:45 [0.14ms] */
select `parent_id` from `transaction` where `id` in (562879, 562881) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-21 11:16:45 [0.12ms] */
select `id` from `transaction` where `parent_id` in (574480) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-21 11:16:45 [0.16ms] */
select * from `transaction` where `id` in (574480) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-21 11:16:45 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-21 11:16:45 [0.15ms] */
select * from `invoice` where `transaction_id` = 562879 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-21 11:16:45 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538546 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-21 11:16:45 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-21 11:16:45 [0.14ms] */
select * from `invoice` where `transaction_id` = 562881 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-21 11:16:45 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538549 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-21 11:16:45 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 562881 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-21 11:16:45 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-21 11:16:45 [0.14ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-21 11:16:46 [1.59ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-21 11:16:46 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-21 11:16:46 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-21 11:16:46 [0.16ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-21 11:16:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '915d18bf237ad3da431a30d48bf964f8f91d1f41bf902dde186bdd362fa2f1d82a83a27badad5521' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-21 11:16:46 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-21 11:16:46 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-21 11:16:46 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-21 11:16:46 [0.13ms] */
select `parent_id` from `transaction` where `id` in (562879, 562881) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-21 11:16:46 [0.12ms] */
select `id` from `transaction` where `parent_id` in (574480) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-21 11:16:46 [0.18ms] */
select * from `transaction` where `id` in (574480) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-21 11:16:46 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (453020, 453022) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-21 11:16:46 [0.16ms] */
select * from `invoice` where `transaction_id` = 562879 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-21 11:16:46 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538546 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-21 11:16:46 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 562879 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-21 11:16:46 [0.14ms] */
select * from `invoice` where `transaction_id` = 562881 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-21 11:16:46 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 538549 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-21 11:16:46 [0.16ms] */
