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 18 - 2025-03-07 13:32:22 [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 1 - 2025-03-07 13:32:25 [1.34ms] */
select * from `users` where `id` = 149 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-03-07 13:32:25 [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-03-07 13:32:25 [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-03-07 13:32:25 [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-03-07 13:32:25 [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 6 - 2025-03-07 13:32:25 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:32:25 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:32:25 [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 9 - 2025-03-07 13:32:25 [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 10 - 2025-03-07 13:32:25 [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-03-07 13:32:25 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:32:25 [0.15ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:32:25 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:32:25 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:32:25 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:32:25 [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 17 - 2025-03-07 13:32:25 [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 1 - 2025-03-07 13:32:25 [2.22ms] */
select * from `users` where `id` = 149 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-03-07 13:32:25 [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/config.manage-a-receipts-component
   Query 3 - 2025-03-07 13:32:26 [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-03-07 13:32:26 [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-03-07 13:32:26 [0.18ms] */
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-03-07 13:32:26 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:32:26 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:32:26 [0.17ms] */
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 9 - 2025-03-07 13:32: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 10 - 2025-03-07 13:32:26 [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-03-07 13:32:26 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:32:26 [0.14ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:32:26 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:32:26 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:32:26 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:32: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 17 - 2025-03-07 13:32:26 [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 1 - 2025-03-07 13:32:26 [2.2ms] */
select * from `users` where `id` = 149 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-03-07 13:32:26 [0.77ms] */
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-03-07 13:32:26 [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 4 - 2025-03-07 13:32: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-03-07 13:32:26 [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-03-07 13:32:26 [0.14ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:32:26 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:32:26 [0.17ms] */
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 9 - 2025-03-07 13:32:26 [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 10 - 2025-03-07 13:32: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-03-07 13:32:26 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:32:26 [0.15ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:32:26 [0.15ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:32:26 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:32:26 [0.15ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:32:26 [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 17 - 2025-03-07 13:32:26 [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 1 - 2025-03-07 13:32:27 [1.7ms] */
select * from `users` where `id` = 149 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-03-07 13:32:27 [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-03-07 13:32:27 [0.61ms] */
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-03-07 13:32:27 [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-03-07 13:32:27 [0.48ms] */
select count(*) as aggregate from `user_receipts` where `book_number` = 1335;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-03-07 13:32:27 [1.65ms] */
select count(*) as aggregate from `receipts` where `receipt_number` >= 2498300 and `receipt_number` <= 2498400 and `type` = 'GOV_RECEIPT_NUMBER' and `deleted_at` is not null and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:32:27 [0.38ms] */
insert into `user_receipts` (`user_id`, `book_number`, `type`, `start`, `end`) values (5, 1335, 'GOV_RECEIPT_NUMBER', 2498300, 2498400);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-03-07 13:32:27 [15.25ms] */
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-03-07 13:32:27 [2.38ms] */
insert into `receipts` (`created_at`, `receipt_number`, `type`, `updated_at`, `user_id`, `user_receipt_id`) values ('2025-03-07 13:32:27', 2498300, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498301, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498302, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498303, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498304, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498305, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498306, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498307, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498308, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498309, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498310, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498311, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498312, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498313, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498314, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498315, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498316, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498317, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498318, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498319, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498320, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498321, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498322, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498323, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498324, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498325, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498326, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498327, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498328, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498329, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498330, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498331, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498332, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498333, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498334, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498335, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498336, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498337, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498338, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498339, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498340, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498341, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498342, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498343, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498344, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498345, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498346, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498347, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498348, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498349, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498350, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498351, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498352, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498353, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498354, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498355, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498356, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498357, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498358, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498359, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498360, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498361, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498362, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498363, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498364, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498365, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498366, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498367, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498368, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498369, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498370, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498371, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498372, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498373, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498374, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498375, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498376, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498377, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498378, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498379, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498380, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498381, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498382, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498383, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498384, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498385, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498386, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498387, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498388, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498389, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498390, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498391, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498392, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498393, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498394, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498395, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498396, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498397, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498398, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498399, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18), ('2025-03-07 13:32:27', 2498400, 'GOV_RECEIPT_NUMBER', '2025-03-07 13:32:27', 5, 18);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-03-07 13:32:27 [0.38ms] */
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-03-07 13:32:27 [0.47ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-03-07 13:32:27 [0.48ms] */
select * from `user_receipts` where `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-03-07 13:32:27 [0.34ms] */
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-03-07 13:32:27 [0.35ms] */
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-03-07 13:32:27 [0.36ms] */
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 16 - 2025-03-07 13:32:27 [0.24ms] */
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-03-07 13:32:27 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:32:27 [0.14ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:32:27 [0.13ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:32:27 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:32:27 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:32:27 [0.13ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-07 13:32:42 [3.53ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-07 13:32:42 [0.31ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-07 13:32:42 [0.44ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 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-03-07 13:32:42 [13.62ms] */
update `userprofiles` set `login_count` = 5206, `last_login` = '2025-03-07 13:32:42', `userprofiles`.`updated_at` = '2025-03-07 13:32:42' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-07 13:32:42 [0.34ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-07 13:32:42 [0.62ms] */
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-03-07 13:32:42 [0.24ms] */
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 (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-07 13:32:42 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-07 13:32:42 [0.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-03-07 13:32:42 [0.21ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-07 13:32:42 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-07 13:32:42 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-07 13:32:42 [3.25ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302', 149, 5, '[]', 0, '2025-03-07 13:32:42', '2025-03-07 13:32:42', '2026-03-07 13:32:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-07 13:32:42 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-07 13:32:42 [3.99ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:32:42 [1.47ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:32:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:32:42 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:32:42 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:32:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:32:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:32:42 [1.02ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'GI870' 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-03-07 13:32:42 [0.22ms] */
select * from `vehicle` where `id` = 8216 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:32:42 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 8216 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:32:42 [1.92ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:32:42 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:32:42 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:32:42 [0.29ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:32:42 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:32:42 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:32:42 [1.72ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'SM218' 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-03-07 13:32:42 [1.08ms] */
select * from `vehicle` where `id` = 82069 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:32:42 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 82069 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:32:42 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:32:42 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:32:42 [0.31ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:32:42 [0.36ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:32:42 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:32:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:32:42 [1.66ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'E4612' 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-03-07 13:32:42 [1.06ms] */
select * from `vehicle` where `id` = 97768 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:32:42 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 97768 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:32:43 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:32:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:32:43 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:32:43 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:32:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:32:43 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:32:43 [0.81ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'CI457' 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-03-07 13:32:43 [0.23ms] */
select * from `vehicle` where `id` = 88376 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:32:43 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 88376 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:32:43 [1.95ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:32:43 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:32:43 [0.34ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:32:43 [0.35ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:32:43 [0.33ms] */
select * from `oauth_access_tokens` where `id` = '45d303cd32d40328d64f3d7b92263dc4d790a241772be66895c53244e1f86e1738707fdfde8d2302' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:32:43 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:32:43 [0.78ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'M3584' 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-03-07 13:32:43 [0.24ms] */
select * from `vehicle` where `id` = 90219 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:32:43 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 90219 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-07 13:32:43 [1.67ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-07 13:32:43 [1.11ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-07 13:32:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-07 13:32:43 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-07 13:32:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-07 13:32:43 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-07 13:32:43 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-07 13:32:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-07 13:32:43 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-07 13:32:43 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-07 13:32:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-07 13:32:43 [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-03-07 13:32:43 [5.44ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-07 13:32:43 [6.09ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-07 13:32:45 [1.38ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-07 13:32:45 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-07 13:32:45 [0.39ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 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-03-07 13:32:45 [3.13ms] */
update `userprofiles` set `login_count` = 5207, `last_login` = '2025-03-07 13:32:45', `userprofiles`.`updated_at` = '2025-03-07 13:32:45' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-07 13:32:45 [0.16ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-07 13:32:45 [0.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-03-07 13:32:45 [0.24ms] */
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 (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-07 13:32:45 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-07 13:32:45 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-07 13:32:45 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-07 13:32:45 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-07 13:32:45 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-07 13:32:45 [3.17ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('71e216b6f86885abf94100e5ae0dc1c553a1513e9be244d555768a16be0ccf2b69afaad66c9c72e4', 149, 5, '[]', 0, '2025-03-07 13:32:45', '2025-03-07 13:32:45', '2026-03-07 13:32:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-07 13:32:45 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '71e216b6f86885abf94100e5ae0dc1c553a1513e9be244d555768a16be0ccf2b69afaad66c9c72e4' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-07 13:32:45 [2.92ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '71e216b6f86885abf94100e5ae0dc1c553a1513e9be244d555768a16be0ccf2b69afaad66c9c72e4';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:33:03 [2.21ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:33:03 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:33:03 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:33:03 [0.27ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:33:03 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:33:03 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:33:03 [0.49ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'JK333' 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-03-07 13:33:03 [0.24ms] */
select * from `vehicle` where `id` = 85513 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:33:03 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 85513 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-03-07 13:33:04 [1.96ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-03-07 13:33:04 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-03-07 13:33:04 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-03-07 13:33:04 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-03-07 13:33:04 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-03-07 13:33:04 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-03-07 13:33:04 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 85513 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-03-07 13:33:04 [0.22ms] */
select * from `vehicle` where `id` = 85513 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-03-07 13:33:04 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 85513 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-03-07 13:33:04 [0.99ms] */
select `vehicle_tax`.`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` = 85513 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-03-07 13:33:06 [2.02ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-03-07 13:33:06 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-03-07 13:33:06 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-03-07 13:33:06 [0.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-03-07 13:33:06 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-03-07 13:33:06 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-03-07 13:33:06 [0.21ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-07 13:33:06 [2.01ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-07 13:33:06 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-07 13:33:06 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-07 13:33:06 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-07 13:33:06 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-07 13:33:06 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-07 13:33:06 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-03-07 13:33:09 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-03-07 13:33:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-03-07 13:33:09 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-03-07 13:33:09 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-03-07 13:33:09 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-03-07 13:33:09 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-03-07 13:33:09 [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-03-07 13:33:09 [0.3ms] */
select `transaction_id` from `vehicle_tax` where `id` in (123298, 386441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-03-07 13:33:09 [0.23ms] */
select `parent_id` from `transaction` where `id` in (126957, 484570) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-07 13:33:09 [107.48ms] */
select `id` from `transaction` where `parent_id` in (510448) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-03-07 13:33:09 [0.45ms] */
select * from `transaction` where `id` in (510448) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-03-07 13:33:09 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (123298, 386441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-03-07 13:33:09 [0.31ms] */
select * from `invoice` where `transaction_id` = 126957 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-03-07 13:33:09 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 125004 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-03-07 13:33:09 [0.27ms] */
select * from `invoice` where `transaction_id` = 484570 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-03-07 13:33:09 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 462083 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 17 - 2025-03-07 13:33:09 [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 18 - 2025-03-07 13:33:09 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-07 13:33:10 [2.07ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-07 13:33:10 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-07 13:33:10 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-07 13:33:10 [0.33ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-07 13:33:10 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-07 13:33:10 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-07 13:33:10 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-03-07 13:33:38 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-03-07 13:33:38 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-03-07 13:33:38 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-03-07 13:33:38 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-03-07 13:33:38 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-03-07 13:33:38 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-03-07 13:33:38 [11.54ms] */
delete from `payment_documents` where `transaction_id` = 510448 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-03-07 13:33:38 [7.21ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2498102;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-03-07 13:33:38 [3.06ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (510448, 'GOV_RECEIPT_IMAGE', 2498102, 1, '2025-03-07 13:33:38', '2025-03-07 13:33:38');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-07 13:35:17 [1.4ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-07 13:35:17 [1.41ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-07 13:35:17 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-07 13:35:17 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-07 13:35:17 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-07 13:35:17 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-07 13:35:17 [0.19ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-07 13:35:17 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-07 13:35:17 [0.47ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-07 13:35:17 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-07 13:35:17 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-07 13:35:17 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-07 13:35:17 [1.73ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-07 13:35:17 [1.98ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2025-03-07 13:35:39 [2.05ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2025-03-07 13:35:39 [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
   Query 3 - 2025-03-07 13:35:39 [0.73ms] */
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-03-07 13:35:39 [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
   Query 5 - 2025-03-07 13:35:39 [0.17ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2025-03-07 13:35:39 [0.14ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-03-07' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2025-03-07 13:35:39 [21.93ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2025-03-07 13:35:39 [29.46ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-03-07' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-03-07 13:35:39 [49.42ms] */
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-03-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-03-07 13:35:39 [43.68ms] */
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-03-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-03-07 13:35:40 [256.18ms] */
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-03-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2025-03-07 13:35:40 [1.8ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2025-03-07 13:35:40 [0.7ms] */
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-03-07 13:35:40 [0.54ms] */
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-03-07 13:35:40 [0.49ms] */
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-03-07 13:35:40 [0.24ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2025-03-07 13:35:40 [0.14ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-03-07' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2025-03-07 13:35:40 [0.13ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2025-03-07 13:35:40 [0.12ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-03-07' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-03-07 13:35:40 [0.19ms] */
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-03-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-03-07 13:35:40 [0.15ms] */
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-03-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-03-07 13:35:40 [0.15ms] */
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-03-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-07 13:35:41 [852.25ms] */
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-03-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 13 - 2025-03-07 13:35:41 [0.3ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 14 - 2025-03-07 13:35:41 [0.17ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-07 13:35:41 [973.94ms] */
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-03-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 13 - 2025-03-07 13:35:41 [0.27ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 14 - 2025-03-07 13:35:41 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 1 - 2025-03-07 13:36:09 [1.37ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 2 - 2025-03-07 13:36:09 [0.44ms] */
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/list
   Query 3 - 2025-03-07 13:36:09 [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/m/service/tax/list
   Query 4 - 2025-03-07 13:36:09 [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/m/service/tax/list
   Query 5 - 2025-03-07 13:36:10 [556.23ms] */
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-03-07 13:36:09') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-03-07 13:36:10 [410.05ms] */
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-03-07 13:36:09') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 7 - 2025-03-07 13:36:10 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 50971 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 8 - 2025-03-07 13:36:10 [0.2ms] */
select * from `party_vehicle` where `vehicle_id` = 50971 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 9 - 2025-03-07 13:36:10 [0.21ms] */
select * from `party` where `party`.`id` = 39735 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 10 - 2025-03-07 13:36:10 [0.24ms] */
select * from `person` where `person`.`id` = 39735 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 11 - 2025-03-07 13:36:10 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 12 - 2025-03-07 13:36:10 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 13 - 2025-03-07 13:36:10 [0.12ms] */
select * from `model` where `model`.`id` = 1381 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 14 - 2025-03-07 13:36:10 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 15 - 2025-03-07 13:36:10 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 16 - 2025-03-07 13:36:10 [0.93ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 50971 and `term`.`first_date_of_quarter` <= '2025-03-07 13:36:10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 17 - 2025-03-07 13:36:10 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 18 - 2025-03-07 13:36:10 [0.1ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 19 - 2025-03-07 13:36:10 [0.1ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 20 - 2025-03-07 13:36:10 [0.1ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 21 - 2025-03-07 13:36:10 [0.1ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 22 - 2025-03-07 13:36:10 [0.1ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 23 - 2025-03-07 13:36:10 [0.11ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 94907 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 24 - 2025-03-07 13:36:10 [0.12ms] */
select * from `party_vehicle` where `vehicle_id` = 94907 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 25 - 2025-03-07 13:36:10 [0.12ms] */
select * from `party` where `party`.`id` = 58472 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 26 - 2025-03-07 13:36:10 [0.13ms] */
select * from `person` where `person`.`id` = 56062 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 27 - 2025-03-07 13:36:10 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 28 - 2025-03-07 13:36:10 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 29 - 2025-03-07 13:36:10 [0.1ms] */
select * from `model` where `model`.`id` = 1531 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 30 - 2025-03-07 13:36:10 [0.1ms] */
select * from `make` where `make`.`id` = 78 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 31 - 2025-03-07 13:36:10 [0.1ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 32 - 2025-03-07 13:36:10 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 94907 and `term`.`first_date_of_quarter` <= '2025-03-07 13:36:10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 33 - 2025-03-07 13:36:10 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 34 - 2025-03-07 13:36:10 [0.11ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 10270 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 35 - 2025-03-07 13:36:10 [0.12ms] */
select * from `party_vehicle` where `vehicle_id` = 10270 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 36 - 2025-03-07 13:36:10 [0.11ms] */
select * from `party` where `party`.`id` = 6359 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 37 - 2025-03-07 13:36:10 [0.12ms] */
select * from `person` where `person`.`id` = 6359 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 38 - 2025-03-07 13:36:10 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 39 - 2025-03-07 13:36:10 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 40 - 2025-03-07 13:36:10 [0.1ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 41 - 2025-03-07 13:36:10 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 42 - 2025-03-07 13:36:10 [0.1ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 43 - 2025-03-07 13:36:10 [0.53ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 10270 and `term`.`first_date_of_quarter` <= '2025-03-07 13:36:10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 44 - 2025-03-07 13:36:10 [0.12ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 45 - 2025-03-07 13:36:10 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 99461 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 46 - 2025-03-07 13:36:10 [0.33ms] */
select * from `party_vehicle` where `vehicle_id` = 99461 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 47 - 2025-03-07 13:36:10 [0.27ms] */
select * from `party` where `party`.`id` = 64943 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 48 - 2025-03-07 13:36:10 [0.29ms] */
select * from `person` where `person`.`id` = 62319 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 49 - 2025-03-07 13:36:10 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 50 - 2025-03-07 13:36:10 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 51 - 2025-03-07 13:36:10 [0.26ms] */
select * from `model` where `model`.`id` = 134 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 52 - 2025-03-07 13:36:10 [0.26ms] */
select * from `make` where `make`.`id` = 8 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 53 - 2025-03-07 13:36:10 [0.27ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 34 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 54 - 2025-03-07 13:36:10 [0.7ms] */
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` = 99461 and `term`.`first_date_of_quarter` <= '2025-03-07 13:36:10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 55 - 2025-03-07 13:36:10 [0.26ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 56 - 2025-03-07 13:36:10 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 99460 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 57 - 2025-03-07 13:36:10 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 99460 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 58 - 2025-03-07 13:36:10 [0.28ms] */
select * from `party` where `party`.`id` = 64942 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 59 - 2025-03-07 13:36:10 [0.23ms] */
select * from `person` where `person`.`id` = 62318 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 60 - 2025-03-07 13:36:10 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 61 - 2025-03-07 13:36:10 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 62 - 2025-03-07 13:36:10 [0.15ms] */
select * from `model` where `model`.`id` = 1609 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 63 - 2025-03-07 13:36:10 [0.14ms] */
select * from `make` where `make`.`id` = 92 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 64 - 2025-03-07 13:36:10 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 4 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 65 - 2025-03-07 13:36:10 [0.4ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 99460 and `term`.`first_date_of_quarter` <= '2025-03-07 13:36:10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 66 - 2025-03-07 13:36:10 [0.2ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 67 - 2025-03-07 13:36:10 [0.19ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 99458 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 68 - 2025-03-07 13:36:10 [0.21ms] */
select * from `party_vehicle` where `vehicle_id` = 99458 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 69 - 2025-03-07 13:36:10 [0.21ms] */
select * from `party` where `party`.`id` = 64940 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 70 - 2025-03-07 13:36:10 [0.22ms] */
select * from `person` where `person`.`id` = 62316 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 71 - 2025-03-07 13:36:10 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 72 - 2025-03-07 13:36:10 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 73 - 2025-03-07 13:36:10 [0.25ms] */
select * from `model` where `model`.`id` = 1610 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 74 - 2025-03-07 13:36:10 [0.23ms] */
select * from `make` where `make`.`id` = 92 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 75 - 2025-03-07 13:36:10 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 9 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 76 - 2025-03-07 13:36:10 [0.73ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 99458 and `term`.`first_date_of_quarter` <= '2025-03-07 13:36:10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 77 - 2025-03-07 13:36:10 [0.23ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 78 - 2025-03-07 13:36:10 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 232 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 79 - 2025-03-07 13:36:10 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 232 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 80 - 2025-03-07 13:36:10 [0.14ms] */
select * from `party` where `party`.`id` = 55809 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 81 - 2025-03-07 13:36:10 [0.15ms] */
select * from `company` where `company`.`id` = 96 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 82 - 2025-03-07 13:36:10 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 83 - 2025-03-07 13:36:10 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 84 - 2025-03-07 13:36:10 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 85 - 2025-03-07 13:36:10 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 86 - 2025-03-07 13:36:10 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 87 - 2025-03-07 13:36:10 [0.44ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 232 and `term`.`first_date_of_quarter` <= '2025-03-07 13:36:10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 88 - 2025-03-07 13:36:10 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88590 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 89 - 2025-03-07 13:36:10 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 88590 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 90 - 2025-03-07 13:36:10 [0.15ms] */
select * from `party` where `party`.`id` = 52372 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 91 - 2025-03-07 13:36:10 [0.15ms] */
select * from `person` where `person`.`id` = 52372 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 92 - 2025-03-07 13:36:10 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 93 - 2025-03-07 13:36:10 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 94 - 2025-03-07 13:36:10 [0.13ms] */
select * from `model` where `model`.`id` = 1307 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 95 - 2025-03-07 13:36:10 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 96 - 2025-03-07 13:36:10 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 97 - 2025-03-07 13:36:10 [0.62ms] */
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` = 88590 and `term`.`first_date_of_quarter` <= '2025-03-07 13:36:10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 98 - 2025-03-07 13:36:10 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89870 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 99 - 2025-03-07 13:36:10 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89870 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 100 - 2025-03-07 13:36:10 [0.14ms] */
select * from `party` where `party`.`id` = 58525 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 101 - 2025-03-07 13:36:10 [0.15ms] */
select * from `person` where `person`.`id` = 56108 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 102 - 2025-03-07 13:36:10 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 103 - 2025-03-07 13:36:10 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 104 - 2025-03-07 13:36:10 [0.13ms] */
select * from `model` where `model`.`id` = 1562 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 105 - 2025-03-07 13:36:10 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 106 - 2025-03-07 13:36:10 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 107 - 2025-03-07 13:36:10 [0.47ms] */
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` = 89870 and `term`.`first_date_of_quarter` <= '2025-03-07 13:36:10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 108 - 2025-03-07 13:36:10 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89630 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 109 - 2025-03-07 13:36:10 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 89630 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 110 - 2025-03-07 13:36:10 [0.43ms] */
select * from `party` where `party`.`id` = 58386 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 111 - 2025-03-07 13:36:10 [0.37ms] */
select * from `person` where `person`.`id` = 55981 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 112 - 2025-03-07 13:36:10 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 113 - 2025-03-07 13:36:10 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 114 - 2025-03-07 13:36:10 [0.37ms] */
select * from `model` where `model`.`id` = 1330 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 115 - 2025-03-07 13:36:10 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 116 - 2025-03-07 13:36:10 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 117 - 2025-03-07 13:36:10 [0.41ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89630 and `term`.`first_date_of_quarter` <= '2025-03-07 13:36:10' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 118 - 2025-03-07 13:36:11 [0.19ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 119 - 2025-03-07 13:36:11 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 1 - 2025-03-07 13:36:21 [2.42ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 2 - 2025-03-07 13:36:21 [0.6ms] */
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/vehicle/10270
   Query 3 - 2025-03-07 13:36:21 [0.51ms] */
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/vehicle/10270
   Query 4 - 2025-03-07 13:36:21 [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/m/vehicle/10270
   Query 5 - 2025-03-07 13:36:21 [0.31ms] */
select * from `vehicle` where `id` = 10270 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 6 - 2025-03-07 13:36:21 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 10270 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 7 - 2025-03-07 13:36:21 [0.15ms] */
select * from `vehicle` where `id` = 10270 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 8 - 2025-03-07 13:36:21 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 10270 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 9 - 2025-03-07 13:36:21 [0.23ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 10 - 2025-03-07 13:36:21 [0.13ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 11 - 2025-03-07 13:36:21 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 12 - 2025-03-07 13:36:21 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 13 - 2025-03-07 13:36:21 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 14 - 2025-03-07 13:36:21 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 10270 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 15 - 2025-03-07 13:36:21 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 16 - 2025-03-07 13:36:21 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 17 - 2025-03-07 13:36:21 [0.24ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 18 - 2025-03-07 13:36:21 [0.22ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 19 - 2025-03-07 13:36:21 [0.48ms] */
select * from `party_vehicle` where `vehicle_id` = 10270 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 20 - 2025-03-07 13:36:21 [0.46ms] */
select * from `vehicle` where `vehicle`.`id` = 10270 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 21 - 2025-03-07 13:36:21 [0.27ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 22 - 2025-03-07 13:36:21 [0.33ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 23 - 2025-03-07 13:36:21 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 24 - 2025-03-07 13:36:21 [0.45ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 25 - 2025-03-07 13:36:21 [0.28ms] */
select * from `party` where `party`.`id` = 6359 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 26 - 2025-03-07 13:36:21 [0.33ms] */
select * from `person` where `person`.`id` = 6359 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 27 - 2025-03-07 13:36:21 [0.77ms] */
select * from `transaction` where `transaction`.`id` = 72619 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 28 - 2025-03-07 13:36:21 [0.29ms] */
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/vehicle/10270
   Query 29 - 2025-03-07 13:36:21 [0.27ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 30 - 2025-03-07 13:36:21 [0.26ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 31 - 2025-03-07 13:36:21 [0.2ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 32 - 2025-03-07 13:36:21 [0.75ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 10270 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 33 - 2025-03-07 13:36:21 [0.22ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 34 - 2025-03-07 13:36:21 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 10270 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 35 - 2025-03-07 13:36:21 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 36 - 2025-03-07 13:36:21 [0.53ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 72619 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 37 - 2025-03-07 13:36:21 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 38 - 2025-03-07 13:36:21 [0.52ms] */
select * from `transaction` where `transaction`.`id` = 510184 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 39 - 2025-03-07 13:36:21 [0.26ms] */
select * from `party` where `party`.`id` = 6359 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 40 - 2025-03-07 13:36:21 [0.15ms] */
select * from `person` where `person`.`id` = 6359 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 41 - 2025-03-07 13:36:21 [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/vehicle/10270
   Query 42 - 2025-03-07 13:36:21 [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/vehicle/10270
   Query 43 - 2025-03-07 13:36:21 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 44 - 2025-03-07 13:36:21 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 45 - 2025-03-07 13:36:21 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 46 - 2025-03-07 13:36:21 [0.4ms] */
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/vehicle/10270
   Query 47 - 2025-03-07 13:36:21 [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` = 5 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 48 - 2025-03-07 13:36:21 [0.15ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 5 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 49 - 2025-03-07 13:36:21 [1.41ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`vehicle_id` = 10270 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 50 - 2025-03-07 13:36:21 [0.47ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`vehicle_id` = 10270 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 51 - 2025-03-07 13:36:21 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 52 - 2025-03-07 13:36:21 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 53 - 2025-03-07 13:36:21 [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/vehicle/10270
   Query 54 - 2025-03-07 13:36:21 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 55 - 2025-03-07 13:36:21 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 10270 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 56 - 2025-03-07 13:36:21 [0.14ms] */
select * from `party` where `party`.`id` = 6359 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 57 - 2025-03-07 13:36:21 [0.15ms] */
select * from `person` where `person`.`id` = 6359 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 58 - 2025-03-07 13:36:21 [0.36ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 72619 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 59 - 2025-03-07 13:36:21 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 60 - 2025-03-07 13:36:21 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 61 - 2025-03-07 13:36:21 [0.69ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 510184 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 62 - 2025-03-07 13:36:21 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 63 - 2025-03-07 13:36:21 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 64 - 2025-03-07 13:36:21 [0.49ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 10270 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 65 - 2025-03-07 13:36:21 [0.41ms] */
select * from `title_reprint_history` where `vehicle_id` = 10270 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 66 - 2025-03-07 13:36:21 [0.19ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/10270
   Query 67 - 2025-03-07 13:36:21 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=10270&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-03-07 13:36:22 [1.99ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=10270&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-03-07 13:36:22 [0.73ms] */
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/audit-details?audit_ids=10270&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-03-07 13:36:22 [0.61ms] */
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/audit-details?audit_ids=10270&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-03-07 13:36:22 [0.4ms] */
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/audit-details?audit_ids=10270&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-03-07 13:36:22 [1.3ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 10270 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-07 13:37:09 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-07 13:37:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-07 13:37:09 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-07 13:37:09 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-07 13:37:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-07 13:37:09 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-07 13:37:09 [1.22ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-07 13:37:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-07 13:37:09 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-07 13:37:09 [1.35ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-07 13:37:09 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-07 13:37:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-07 13:37:09 [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-03-07 13:37:09 [1.67ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-07 13:38:02 [1.46ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-07 13:38:02 [0.29ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-07 13:38:02 [0.52ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 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-03-07 13:38:02 [9.07ms] */
update `userprofiles` set `login_count` = 5208, `last_login` = '2025-03-07 13:38:02', `userprofiles`.`updated_at` = '2025-03-07 13:38:02' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-07 13:38:02 [0.3ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-07 13:38:02 [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/api/login
   Query 7 - 2025-03-07 13:38:02 [0.3ms] */
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 (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-07 13:38:02 [0.15ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-07 13:38:02 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-07 13:38:02 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-07 13:38:02 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-07 13:38:02 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-07 13:38:02 [3.24ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca', 149, 5, '[]', 0, '2025-03-07 13:38:02', '2025-03-07 13:38:02', '2026-03-07 13:38:02');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-07 13:38:03 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-07 13:38:03 [2.94ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:38:03 [1.49ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:38:03 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:38:03 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:38:03 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:38:03 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:38:03 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:38:03 [0.34ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'GI870' 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-03-07 13:38:03 [0.16ms] */
select * from `vehicle` where `id` = 8216 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:38:03 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 8216 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:38:03 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:38:03 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:38:03 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:38:03 [0.3ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:38:03 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:38:03 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:38:03 [0.34ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'SM218' 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-03-07 13:38:03 [0.15ms] */
select * from `vehicle` where `id` = 82069 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:38:03 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 82069 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:38:03 [2.06ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:38:03 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:38:03 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:38:03 [0.24ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:38:03 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:38:03 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:38:03 [0.47ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'E4612' 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-03-07 13:38:03 [0.23ms] */
select * from `vehicle` where `id` = 97768 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:38:03 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 97768 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:38:03 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:38:03 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:38:03 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:38:03 [0.26ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:38:03 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:38:03 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:38:03 [0.47ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'CI457' 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-03-07 13:38:03 [0.24ms] */
select * from `vehicle` where `id` = 88376 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:38:03 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 88376 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:38:03 [1.99ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:38:03 [0.34ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:38:03 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:38:03 [0.25ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:38:03 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '12c624ef120aac2c03218a6089f9d871972c03773b1b62941c33a80172b120095dec9fb50e81e9ca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:38:03 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:38:03 [0.47ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'M3584' 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-03-07 13:38:03 [0.24ms] */
select * from `vehicle` where `id` = 90219 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:38:03 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 90219 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-07 13:38:05 [1.45ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-07 13:38:05 [8.3ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-07 13:38:05 [3.12ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-07 13:38:05 [0.29ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-07 13:38:05 [0.49ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 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-03-07 13:38:05 [17.89ms] */
update `userprofiles` set `login_count` = 5209, `last_login` = '2025-03-07 13:38:05', `userprofiles`.`updated_at` = '2025-03-07 13:38:05' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-07 13:38:05 [0.25ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-07 13:38:05 [0.6ms] */
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-03-07 13:38:05 [0.27ms] */
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 (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-07 13:38:05 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-07 13:38:05 [0.19ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-07 13:38:05 [0.17ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-07 13:38:05 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-07 13:38:05 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-07 13:38:05 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-07 13:38:05 [0.41ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 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 13 - 2025-03-07 13:38:05 [3.24ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('c27426b9ed5ac4525590391551e896c01b4fe8903344127a1ac2814eb952be49be7894fe1b0d2c94', 149, 5, '[]', 0, '2025-03-07 13:38:05', '2025-03-07 13:38:05', '2026-03-07 13:38:05');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-07 13:38:05 [1.63ms] */
update `userprofiles` set `login_count` = 5210, `userprofiles`.`updated_at` = '2025-03-07 13:38:05' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-07 13:38:05 [0.18ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-07 13:38:05 [0.16ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-07 13:38:05 [0.34ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 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 6 - 2025-03-07 13:38:05 [0.4ms] */
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-03-07 13:38:05 [0.18ms] */
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 (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-07 13:38:05 [2.93ms] */
update `userprofiles` set `login_count` = 5211, `userprofiles`.`updated_at` = '2025-03-07 13:38:05' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-07 13:38:05 [0.32ms] */
select * from `oauth_access_tokens` where `id` = 'c27426b9ed5ac4525590391551e896c01b4fe8903344127a1ac2814eb952be49be7894fe1b0d2c94' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-07 13:38:05 [0.17ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-07 13:38:05 [0.39ms] */
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-03-07 13:38:05 [0.15ms] */
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 (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-07 13:38:05 [0.22ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-07 13:38:05 [0.19ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-07 13:38:05 [0.23ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-07 13:38:05 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-07 13:38:05 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-07 13:38:05 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-07 13:38:05 [6.51ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'c27426b9ed5ac4525590391551e896c01b4fe8903344127a1ac2814eb952be49be7894fe1b0d2c94';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-07 13:38:05 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-07 13:38:05 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-07 13:38:05 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-07 13:38:05 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-07 13:38:05 [3.15ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('1d182060ff8d78dc9e8d8de5d876c89049799f1e14e607ee874bebfde8d86549d4c79dcf62bd9f42', 149, 5, '[]', 0, '2025-03-07 13:38:05', '2025-03-07 13:38:05', '2026-03-07 13:38:05');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-07 13:38:05 [7.2ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('ae48775e9579c7ffe3830a6ffbcbed4f31ad88ba01cb839084078a276e37135373f5ec9f7460db4a', 149, 5, '[]', 0, '2025-03-07 13:38:05', '2025-03-07 13:38:05', '2026-03-07 13:38:05');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-07 13:38:05 [0.41ms] */
select * from `oauth_access_tokens` where `id` = '1d182060ff8d78dc9e8d8de5d876c89049799f1e14e607ee874bebfde8d86549d4c79dcf62bd9f42' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-07 13:38:05 [0.2ms] */
select * from `oauth_access_tokens` where `id` = 'ae48775e9579c7ffe3830a6ffbcbed4f31ad88ba01cb839084078a276e37135373f5ec9f7460db4a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-07 13:38:05 [2.97ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '1d182060ff8d78dc9e8d8de5d876c89049799f1e14e607ee874bebfde8d86549d4c79dcf62bd9f42';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-07 13:38:05 [4.1ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'ae48775e9579c7ffe3830a6ffbcbed4f31ad88ba01cb839084078a276e37135373f5ec9f7460db4a';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 1 - 2025-03-07 13:38:05 [1.68ms] */
select * from `oauth_access_tokens` where `id` = '1d182060ff8d78dc9e8d8de5d876c89049799f1e14e607ee874bebfde8d86549d4c79dcf62bd9f42' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:38:05 [2.2ms] */
select * from `oauth_access_tokens` where `id` = 'ae48775e9579c7ffe3830a6ffbcbed4f31ad88ba01cb839084078a276e37135373f5ec9f7460db4a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 2 - 2025-03-07 13:38:05 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '1d182060ff8d78dc9e8d8de5d876c89049799f1e14e607ee874bebfde8d86549d4c79dcf62bd9f42' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 3 - 2025-03-07 13:38:05 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:38:05 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'ae48775e9579c7ffe3830a6ffbcbed4f31ad88ba01cb839084078a276e37135373f5ec9f7460db4a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:38:05 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 4 - 2025-03-07 13:38:05 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 5 - 2025-03-07 13:38:05 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1d182060ff8d78dc9e8d8de5d876c89049799f1e14e607ee874bebfde8d86549d4c79dcf62bd9f42' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 6 - 2025-03-07 13:38:05 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 1 - 2025-03-07 13:38:05 [1.32ms] */
select * from `oauth_access_tokens` where `id` = 'c27426b9ed5ac4525590391551e896c01b4fe8903344127a1ac2814eb952be49be7894fe1b0d2c94' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 2 - 2025-03-07 13:38:05 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'c27426b9ed5ac4525590391551e896c01b4fe8903344127a1ac2814eb952be49be7894fe1b0d2c94' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:38:05 [0.25ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 7 - 2025-03-07 13:38:05 [1.19ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter`, `invoice`.`transaction_id`, `party`.`id` as `customer_id`, 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 customer_name, CASE
                WHEN party.phone_number_2 IS NOT NULL THEN CONCAT(party.phone_number_1," / ",party.phone_number_2)
                ELSE party.phone_number_1 END as mobile_number, `vehicle`.`license_plate`, `service`.`name` as `service_name`, `invoice`.`due_date`, `invoice`.`total_invoice_amount` as `invoice_amount`, `invoice`.`status`, `invoice`.`parent`, `invoice`.`created_at`, `invoice`.`updated_at`, CASE WHEN invoice_payment.id IS NULL THEN "Y" ELSE "N" END as make_payment from `invoice` left join `party` on `invoice`.`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' left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `vehicle` on `transaction`.`vehicle_id` = `vehicle`.`id` left join `service` on `transaction`.`service_id` = `service`.`id` left join `invoice_payment` on `invoice_payment`.`invoice_id` = `invoice`.`id` where `invoice`.`total_invoice_amount` > 0 and `service`.`name` = 'Tax' and `transaction`.`vehicle_tax_id` is not null and `invoice`.`parent` = 'N' and `invoice`.`party_id` = 12999 and `license_plate` = 'GI870' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 3 - 2025-03-07 13:38:05 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:38:05 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'ae48775e9579c7ffe3830a6ffbcbed4f31ad88ba01cb839084078a276e37135373f5ec9f7460db4a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:38:05 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:38:05 [0.47ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'GI870' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 4 - 2025-03-07 13:38:05 [0.3ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-03-07 13:38:05 [0.39ms] */
select * from `vehicle` where `id` = 8216 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:38:05 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 8216 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 5 - 2025-03-07 13:38:05 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'c27426b9ed5ac4525590391551e896c01b4fe8903344127a1ac2814eb952be49be7894fe1b0d2c94' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 6 - 2025-03-07 13:38:05 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 7 - 2025-03-07 13:38:05 [1.96ms] */
select `party`.`id` as `customer_id`, 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 customer_name, `vehicle`.`license_plate`, `payment`.`id` as `payment_id`, `payment`.`payment_amount`, `external_payment_reference_no` as `payment_reference_number`, `payment`.`payment_date`, `payment_method`.`name` as `payment_method`, `payment`.`paid_by`, `payment`.`paid_by_mobile` from `payment` left join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` left join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` and `invoice`.`parent` = 'N' left join `transaction` on `transaction`.`invoice_id` = `invoice`.`id` left join `service` on `transaction`.`service_id` = `service`.`id` left join `vehicle` on `transaction`.`vehicle_id` = `vehicle`.`id` left join `party` on `transaction`.`party_id` = `party`.`id` left join `payment_method` on `payment`.`payment_method_id` = `payment_method`.`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 `service`.`name` = 'Tax' and `transaction`.`party_id` = 12999 and `vehicle`.`license_plate` = 'GI870' and `payment`.`deleted_at` is null order by `payment`.`payment_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 8 - 2025-03-07 13:38:05 [0.73ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter` from `invoice` left join `invoice_payment` on `invoice`.`id` = `invoice_payment`.`invoice_id` left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` where `invoice_payment`.`payment_id` = 177485;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 9 - 2025-03-07 13:38:05 [0.15ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter` from `invoice` left join `invoice_payment` on `invoice`.`id` = `invoice_payment`.`invoice_id` left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` where `invoice_payment`.`payment_id` = 177485;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 10 - 2025-03-07 13:38:05 [0.15ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter` from `invoice` left join `invoice_payment` on `invoice`.`id` = `invoice_payment`.`invoice_id` left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` where `invoice_payment`.`payment_id` = 177485;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 11 - 2025-03-07 13:38:05 [0.33ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter` from `invoice` left join `invoice_payment` on `invoice`.`id` = `invoice_payment`.`invoice_id` left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` where `invoice_payment`.`payment_id` = 177476;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 12 - 2025-03-07 13:38:05 [0.15ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter` from `invoice` left join `invoice_payment` on `invoice`.`id` = `invoice_payment`.`invoice_id` left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` where `invoice_payment`.`payment_id` = 177476;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 13 - 2025-03-07 13:38:05 [0.15ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter` from `invoice` left join `invoice_payment` on `invoice`.`id` = `invoice_payment`.`invoice_id` left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` where `invoice_payment`.`payment_id` = 177476;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 14 - 2025-03-07 13:38:05 [0.28ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter` from `invoice` left join `invoice_payment` on `invoice`.`id` = `invoice_payment`.`invoice_id` left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` where `invoice_payment`.`payment_id` = 177439;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 15 - 2025-03-07 13:38:05 [0.15ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter` from `invoice` left join `invoice_payment` on `invoice`.`id` = `invoice_payment`.`invoice_id` left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` where `invoice_payment`.`payment_id` = 177439;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 16 - 2025-03-07 13:38:05 [0.16ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter` from `invoice` left join `invoice_payment` on `invoice`.`id` = `invoice_payment`.`invoice_id` left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` where `invoice_payment`.`payment_id` = 177439;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 17 - 2025-03-07 13:38:05 [0.35ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter` from `invoice` left join `invoice_payment` on `invoice`.`id` = `invoice_payment`.`invoice_id` left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` where `invoice_payment`.`payment_id` = 5085;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-07 13:38:34 [2.54ms] */
select * from `oauth_access_tokens` where `id` = '7cb75700e453fda57eda78d22fe1541c2c9f45761fa837578fea749b23d902a9a8b0b92324d1fd77' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-07 13:38:34 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '7cb75700e453fda57eda78d22fe1541c2c9f45761fa837578fea749b23d902a9a8b0b92324d1fd77' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-07 13:38:34 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-07 13:38:34 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-07 13:38:34 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '7cb75700e453fda57eda78d22fe1541c2c9f45761fa837578fea749b23d902a9a8b0b92324d1fd77' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-07 13:38:34 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-07 13:38:34 [3.09ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 1 - 2025-03-07 13:39:02 [2.25ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 2 - 2025-03-07 13:39:02 [0.62ms] */
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/a-receipts
   Query 3 - 2025-03-07 13:39:02 [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/a-receipts
   Query 4 - 2025-03-07 13:39:02 [0.42ms] */
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/a-receipts
   Query 5 - 2025-03-07 13:39:02 [0.18ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 6 - 2025-03-07 13:39:02 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 7 - 2025-03-07 13:39:02 [0.13ms] */
select * from `user_receipts` where `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 8 - 2025-03-07 13:39:02 [0.16ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 9 - 2025-03-07 13:39:02 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 10 - 2025-03-07 13:39:02 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 11 - 2025-03-07 13:39:02 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 12 - 2025-03-07 13:39:02 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 13 - 2025-03-07 13:39:02 [0.14ms] */
select * from `users` where `users`.`id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 14 - 2025-03-07 13:39:02 [0.16ms] */
select * from `users` where `users`.`id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 15 - 2025-03-07 13:39:02 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 16 - 2025-03-07 13:39:02 [0.14ms] */
select * from `users` where `users`.`id` = 9 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 17 - 2025-03-07 13:39:02 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 18 - 2025-03-07 13:39:02 [0.18ms] */
select * from `district` where `district`.`id` = 11 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/config/m/a-receipts
   Query 19 - 2025-03-07 13:39:02 [0.14ms] */
select * from `region` where `region`.`id` = 3 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-03-07 13:39:06 [2.03ms] */
select * from `users` where `id` = 149 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-03-07 13:39:06 [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/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-03-07 13:39:06 [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 4 - 2025-03-07 13:39:06 [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-03-07 13:39:06 [0.18ms] */
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-03-07 13:39:06 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:06 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:06 [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 9 - 2025-03-07 13:39:06 [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 10 - 2025-03-07 13:39:06 [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-03-07 13:39:06 [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-03-07 13:39:06 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:06 [0.14ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:06 [0.16ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:06 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:06 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:06 [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 1 - 2025-03-07 13:39:08 [2.36ms] */
select * from `users` where `id` = 149 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-03-07 13:39:08 [0.78ms] */
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-03-07 13:39:08 [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-03-07 13:39:08 [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-03-07 13:39:08 [0.18ms] */
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-03-07 13:39:08 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:08 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:08 [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 9 - 2025-03-07 13:39:08 [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 10 - 2025-03-07 13:39:08 [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-03-07 13:39:08 [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-03-07 13:39:08 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:08 [0.15ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:08 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:08 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:08 [0.16ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:08 [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 1 - 2025-03-07 13:39:10 [1.87ms] */
select * from `users` where `id` = 149 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-03-07 13:39:10 [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-03-07 13:39:10 [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 4 - 2025-03-07 13:39:10 [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-03-07 13:39:10 [0.18ms] */
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-03-07 13:39:10 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:10 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:10 [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 9 - 2025-03-07 13:39:10 [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 10 - 2025-03-07 13:39:10 [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-03-07 13:39:10 [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-03-07 13:39:10 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:10 [0.15ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:10 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:10 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:10 [0.15ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:10 [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 1 - 2025-03-07 13:39:11 [1.81ms] */
select * from `users` where `id` = 149 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-03-07 13:39:11 [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-03-07 13:39:12 [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-03-07 13:39:12 [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-03-07 13:39:12 [0.18ms] */
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-03-07 13:39:12 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:12 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:12 [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 9 - 2025-03-07 13:39:12 [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 10 - 2025-03-07 13:39:12 [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-03-07 13:39:12 [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-03-07 13:39:12 [0.16ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:12 [0.15ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:12 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:12 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:12 [0.15ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:12 [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 1 - 2025-03-07 13:39:12 [1.98ms] */
select * from `users` where `id` = 149 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-03-07 13:39:12 [0.87ms] */
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-03-07 13:39:12 [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-03-07 13:39:12 [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-03-07 13:39:12 [0.18ms] */
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-03-07 13:39:12 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:12 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:12 [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 9 - 2025-03-07 13:39:12 [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 10 - 2025-03-07 13:39:12 [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-03-07 13:39:12 [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-03-07 13:39:12 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:12 [0.14ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:12 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:12 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:12 [0.15ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:12 [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 1 - 2025-03-07 13:39:13 [1.33ms] */
select * from `users` where `id` = 149 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-03-07 13:39:13 [0.44ms] */
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-03-07 13:39:13 [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-03-07 13:39:13 [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-03-07 13:39:13 [0.18ms] */
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-03-07 13:39:13 [0.15ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:13 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:13 [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 9 - 2025-03-07 13:39:13 [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 10 - 2025-03-07 13:39:13 [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-03-07 13:39:13 [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-03-07 13:39:13 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:13 [0.15ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:13 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:13 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:13 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:13 [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 1 - 2025-03-07 13:39:13 [2.23ms] */
select * from `users` where `id` = 149 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-03-07 13:39:13 [0.76ms] */
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-03-07 13:39:13 [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-03-07 13:39:13 [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-03-07 13:39:13 [0.18ms] */
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-03-07 13:39:13 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:13 [0.16ms] */
select * from `user_receipts` where `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-03-07 13:39:13 [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 9 - 2025-03-07 13:39:13 [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 10 - 2025-03-07 13:39:13 [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-03-07 13:39:13 [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-03-07 13:39:13 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:13 [0.14ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:13 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:13 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:13 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:13 [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 1 - 2025-03-07 13:39:15 [2.44ms] */
select * from `users` where `id` = 149 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-03-07 13:39:15 [0.61ms] */
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-03-07 13:39:16 [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-03-07 13:39:16 [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-03-07 13:39:16 [0.18ms] */
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-03-07 13:39:16 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:16 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:16 [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 9 - 2025-03-07 13:39:16 [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 10 - 2025-03-07 13:39:16 [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-03-07 13:39:16 [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-03-07 13:39:16 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:16 [0.14ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:16 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:16 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:16 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:16 [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 1 - 2025-03-07 13:39:16 [2.21ms] */
select * from `users` where `id` = 149 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-03-07 13:39:16 [0.76ms] */
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-03-07 13:39:16 [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-03-07 13:39:16 [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-03-07 13:39:16 [0.18ms] */
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-03-07 13:39:16 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:16 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:16 [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 9 - 2025-03-07 13:39:16 [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 10 - 2025-03-07 13:39:16 [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-03-07 13:39:16 [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-03-07 13:39:16 [0.17ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:16 [0.15ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:16 [0.15ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:16 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:16 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:16 [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 1 - 2025-03-07 13:39:16 [2.2ms] */
select * from `users` where `id` = 149 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-03-07 13:39:16 [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-03-07 13:39:16 [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-03-07 13:39:16 [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-03-07 13:39:16 [0.18ms] */
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-03-07 13:39:16 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:16 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:16 [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 9 - 2025-03-07 13:39:16 [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 10 - 2025-03-07 13:39:16 [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-03-07 13:39:16 [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-03-07 13:39:16 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:16 [0.16ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:16 [0.15ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:16 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:16 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:16 [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 1 - 2025-03-07 13:39:18 [1.31ms] */
select * from `users` where `id` = 149 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-03-07 13:39:18 [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-03-07 13:39: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 4 - 2025-03-07 13:39: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-03-07 13:39:18 [0.18ms] */
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-03-07 13:39:18 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:18 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:18 [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 9 - 2025-03-07 13:39:18 [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 10 - 2025-03-07 13:39: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-03-07 13:39: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 12 - 2025-03-07 13:39:18 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:18 [0.14ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:18 [0.15ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:18 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:18 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39: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 1 - 2025-03-07 13:39:19 [2.3ms] */
select * from `users` where `id` = 149 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-03-07 13:39:19 [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-03-07 13:39: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): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-03-07 13:39: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-03-07 13:39:19 [0.18ms] */
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-03-07 13:39:19 [0.14ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:19 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:19 [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 9 - 2025-03-07 13:39:19 [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 10 - 2025-03-07 13:39:19 [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-03-07 13:39: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 12 - 2025-03-07 13:39:19 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:19 [0.14ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:19 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:19 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:19 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39: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 1 - 2025-03-07 13:39:20 [2.33ms] */
select * from `users` where `id` = 149 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-03-07 13:39:20 [0.61ms] */
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-03-07 13:39:20 [0.52ms] */
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-03-07 13:39:20 [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 5 - 2025-03-07 13:39:20 [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 6 - 2025-03-07 13:39:20 [0.14ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:20 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:20 [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 9 - 2025-03-07 13:39:20 [0.17ms] */
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 10 - 2025-03-07 13:39:20 [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-03-07 13:39:20 [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-03-07 13:39:20 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:20 [0.15ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:20 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:20 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:20 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:20 [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 1 - 2025-03-07 13:39:21 [2.23ms] */
select * from `users` where `id` = 149 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-03-07 13:39:21 [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-03-07 13:39:21 [0.32ms] */
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-03-07 13:39:21 [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-03-07 13:39:21 [0.18ms] */
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-03-07 13:39:21 [0.12ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:21 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:21 [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 9 - 2025-03-07 13:39:21 [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 10 - 2025-03-07 13:39:21 [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-03-07 13:39:21 [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-03-07 13:39:21 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:21 [0.14ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:21 [0.17ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:21 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:21 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:21 [0.13ms] */
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 1 - 2025-03-07 13:39:22 [2.11ms] */
select * from `users` where `id` = 149 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-03-07 13:39:22 [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-03-07 13:39:22 [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-03-07 13:39:22 [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-03-07 13:39:22 [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 6 - 2025-03-07 13:39:22 [0.14ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:22 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:22 [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 9 - 2025-03-07 13:39:22 [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 10 - 2025-03-07 13:39:22 [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-03-07 13:39:22 [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-03-07 13:39:22 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:22 [0.14ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:22 [0.14ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:22 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:22 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:22 [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 1 - 2025-03-07 13:39:22 [1.8ms] */
select * from `users` where `id` = 149 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-03-07 13:39:22 [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-03-07 13:39:22 [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-03-07 13:39:22 [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 5 - 2025-03-07 13:39:22 [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-03-07 13:39:22 [0.26ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:22 [0.25ms] */
select * from `user_receipts` where `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-03-07 13:39:22 [13.55ms] */
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 9 - 2025-03-07 13:39:22 [0.29ms] */
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 10 - 2025-03-07 13:39:22 [0.28ms] */
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-03-07 13:39:22 [0.2ms] */
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-03-07 13:39:22 [0.19ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:22 [0.2ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:22 [5.43ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:22 [0.28ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:22 [0.28ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:22 [0.29ms] */
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 1 - 2025-03-07 13:39:23 [1.33ms] */
select * from `users` where `id` = 149 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-03-07 13:39:23 [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-03-07 13:39:23 [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-03-07 13:39:23 [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-03-07 13:39:23 [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-03-07 13:39:23 [0.13ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:23 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:23 [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 9 - 2025-03-07 13:39:23 [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 10 - 2025-03-07 13:39:23 [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-03-07 13:39:23 [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-03-07 13:39:23 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:23 [0.16ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:23 [0.15ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:23 [0.17ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:23 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:23 [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 1 - 2025-03-07 13:39:24 [1.63ms] */
select * from `users` where `id` = 149 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-03-07 13:39:24 [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-03-07 13:39:24 [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-03-07 13:39:24 [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 5 - 2025-03-07 13:39:24 [0.47ms] */
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-03-07 13:39:24 [0.33ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:24 [0.4ms] */
select * from `user_receipts` where `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-03-07 13:39:24 [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 9 - 2025-03-07 13:39:24 [0.24ms] */
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 10 - 2025-03-07 13:39:24 [0.23ms] */
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-03-07 13:39:24 [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 12 - 2025-03-07 13:39:24 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:24 [0.15ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:24 [0.15ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:24 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:24 [0.15ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:24 [0.23ms] */
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 1 - 2025-03-07 13:39:24 [1.3ms] */
select * from `users` where `id` = 149 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-03-07 13:39:24 [0.44ms] */
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-03-07 13:39:24 [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-03-07 13:39:24 [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-03-07 13:39:24 [0.18ms] */
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-03-07 13:39:24 [0.15ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:24 [0.13ms] */
select * from `user_receipts` where `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-03-07 13:39:24 [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 9 - 2025-03-07 13:39:24 [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 10 - 2025-03-07 13:39:24 [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-03-07 13:39:24 [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 12 - 2025-03-07 13:39:24 [0.14ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:24 [0.14ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:24 [0.15ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:24 [0.15ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:24 [0.14ms] */
select * from `users` where `users`.`id` = 9 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-03-07 13:39:24 [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 1 - 2025-03-07 13:39:26 [1.78ms] */
select * from `users` where `id` = 149 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-03-07 13:39:26 [0.71ms] */
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-03-07 13:39:26 [0.65ms] */
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-03-07 13:39:26 [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-03-07 13:39:26 [0.51ms] */
select count(*) as aggregate from `user_receipts` where `book_number` = 1123;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-03-07 13:39:26 [1.39ms] */
select count(*) as aggregate from `receipts` where `receipt_number` >= 2499100 and `receipt_number` <= 2499200 and `type` = 'SERVICE_RECEIPT_NUMBER' and `deleted_at` is not null and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-03-07 13:39:26 [0.34ms] */
insert into `user_receipts` (`user_id`, `book_number`, `type`, `start`, `end`) values (5, 1123, 'SERVICE_RECEIPT_NUMBER', 2499100, 2499200);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-03-07 13:39:26 [0.32ms] */
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-03-07 13:39:26 [2.12ms] */
insert into `receipts` (`created_at`, `receipt_number`, `type`, `updated_at`, `user_id`, `user_receipt_id`) values ('2025-03-07 13:39:26', 2499100, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499101, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499102, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499103, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499104, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499105, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499106, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499107, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499108, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499109, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499110, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499111, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499112, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499113, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499114, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499115, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499116, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499117, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499118, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499119, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499120, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499121, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499122, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499123, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499124, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499125, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499126, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499127, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499128, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499129, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499130, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499131, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499132, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499133, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499134, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499135, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499136, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499137, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499138, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499139, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499140, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499141, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499142, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499143, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499144, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499145, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499146, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499147, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499148, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499149, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499150, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499151, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499152, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499153, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499154, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499155, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499156, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499157, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499158, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499159, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499160, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499161, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499162, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499163, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499164, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499165, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499166, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499167, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499168, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499169, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499170, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499171, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499172, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499173, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499174, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499175, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499176, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499177, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499178, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499179, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499180, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499181, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499182, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499183, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499184, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499185, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499186, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499187, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499188, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499189, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499190, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499191, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499192, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499193, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499194, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499195, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499196, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499197, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499198, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499199, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19), ('2025-03-07 13:39:26', 2499200, 'SERVICE_RECEIPT_NUMBER', '2025-03-07 13:39:26', 5, 19);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-03-07 13:39:26 [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 11 - 2025-03-07 13:39:26 [1.44ms] */
select count(*) as aggregate from `user_receipts` where `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-03-07 13:39:26 [0.3ms] */
select * from `user_receipts` where `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-03-07 13:39:26 [0.23ms] */
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-03-07 13:39:26 [0.24ms] */
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-03-07 13:39:26 [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 16 - 2025-03-07 13:39:26 [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 17 - 2025-03-07 13:39:26 [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 18 - 2025-03-07 13:39:26 [0.27ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:26 [0.21ms] */
select * from `users` where `users`.`id` = 152 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-03-07 13:39:26 [0.21ms] */
select * from `users` where `users`.`id` = 151 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-03-07 13:39:26 [0.21ms] */
select * from `users` where `users`.`id` = 150 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-03-07 13:39:26 [0.21ms] */
select * from `users` where `users`.`id` = 9 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-07 13:39:31 [2.16ms] */
select * from `oauth_access_tokens` where `id` = '7cb75700e453fda57eda78d22fe1541c2c9f45761fa837578fea749b23d902a9a8b0b92324d1fd77' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-07 13:39:31 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '7cb75700e453fda57eda78d22fe1541c2c9f45761fa837578fea749b23d902a9a8b0b92324d1fd77' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-07 13:39:31 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-07 13:39:31 [0.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-07 13:39:31 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '7cb75700e453fda57eda78d22fe1541c2c9f45761fa837578fea749b23d902a9a8b0b92324d1fd77' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-07 13:39:31 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-07 13:39:31 [3.08ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-07 13:39:55 [5.44ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-07 13:39:55 [1.97ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-07 13:39:55 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-07 13:39:55 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-07 13:39:55 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-07 13:39:55 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-07 13:39:55 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-07 13:39:55 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-07 13:39:55 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-07 13:39:55 [0.33ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-07 13:39:55 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-07 13:39:55 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-07 13:39:55 [3.66ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-07 13:39:55 [3.21ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-07 13:40:10 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-07 13:40:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-07 13:40:10 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-07 13:40:10 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-07 13:40:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-07 13:40:10 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-07 13:40:10 [0.33ms] */
select `vehicle`.`id` as `vehicle_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`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `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` = 'JK333' 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-03-07 13:40:10 [0.16ms] */
select * from `vehicle` where `id` = 85513 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-07 13:40:10 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 85513 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-03-07 13:40:11 [2.07ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-03-07 13:40:11 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-03-07 13:40:11 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-03-07 13:40:11 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-03-07 13:40:11 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-03-07 13:40:11 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-03-07 13:40:11 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 85513 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-03-07 13:40:11 [0.15ms] */
select * from `vehicle` where `id` = 85513 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-03-07 13:40:11 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 85513 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-03-07 13:40:11 [0.24ms] */
select `vehicle_tax`.`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` = 85513 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-03-07 13:40:12 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-03-07 13:40:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-03-07 13:40:12 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-03-07 13:40:12 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-03-07 13:40:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-03-07 13:40:12 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-03-07 13:40:12 [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-03-07 13:40:12 [1.97ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-07 13:40:12 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-07 13:40:12 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-07 13:40:12 [0.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-07 13:40:12 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-07 13:40:12 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-07 13:40:12 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-03-07 13:40:14 [2.06ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-03-07 13:40:14 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-03-07 13:40:14 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-03-07 13:40:14 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-03-07 13:40:14 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-03-07 13:40:14 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-03-07 13:40:14 [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-03-07 13:40:14 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (123298, 386441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-03-07 13:40:14 [0.14ms] */
select `parent_id` from `transaction` where `id` in (126957, 484570) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-07 13:40:14 [0.2ms] */
select `id` from `transaction` where `parent_id` in (510448) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-03-07 13:40:14 [0.3ms] */
select * from `transaction` where `id` in (510448) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-03-07 13:40:14 [0.23ms] */
select `transaction_id` from `vehicle_tax` where `id` in (123298, 386441) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-03-07 13:40:14 [0.29ms] */
select * from `invoice` where `transaction_id` = 126957 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-03-07 13:40:14 [0.24ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 125004 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-03-07 13:40:14 [0.31ms] */
select * from `invoice` where `transaction_id` = 484570 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-03-07 13:40:14 [0.22ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 462083 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 17 - 2025-03-07 13:40:14 [0.22ms] */
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 18 - 2025-03-07 13:40:14 [0.21ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-07 13:40:14 [2.29ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-07 13:40:14 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-07 13:40:14 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-07 13:40:14 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-07 13:40:14 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-07 13:40:14 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-07 13:40:14 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-03-07 13:40:35 [2.44ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-03-07 13:40:35 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-03-07 13:40:35 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-03-07 13:40:35 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-03-07 13:40:35 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-03-07 13:40:35 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-03-07 13:40:35 [11.13ms] */
delete from `payment_documents` where `transaction_id` = 510448 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-03-07 13:40:35 [0.35ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2498301;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-03-07 13:40:35 [3.38ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (510448, 'GOV_RECEIPT_IMAGE', 2498301, 1, '2025-03-07 13:40:35', '2025-03-07 13:40:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-03-07 13:40:48 [2.46ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-03-07 13:40:48 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-03-07 13:40:48 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-03-07 13:40:48 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-03-07 13:40:48 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-03-07 13:40:48 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-03-07 13:40:48 [6.06ms] */
delete from `payment_documents` where `transaction_id` = 510448 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-03-07 13:40:48 [0.35ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2499101;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-03-07 13:40:49 [3.17ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (510448, 'GOV_RECEIPT_IMAGE', 2499101, 1, '2025-03-07 13:40:48', '2025-03-07 13:40:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-03-07 13:40:49 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-03-07 13:40:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-03-07 13:40:49 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-03-07 13:40:49 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-03-07 13:40:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '91e6e147ecfb8a9600685be23b5e296b84e6e2cc49da201ec32bd979e221a36d219b32186a4b288a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-03-07 13:40:49 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-03-07 13:40:49 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 510448 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-03-07 13:40:49 [0.24ms] */
select * from `invoice_payment` where `invoice_id` = 486134 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-03-07 13:40:49 [104.93ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 510448 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-03-07 13:40:49 [98.08ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 510448 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-03-07 13:40:49 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 510448 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-03-07 13:40:49 [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): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-03-07 13:40:49 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 14 - 2025-03-07 13:40:49 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 15 - 2025-03-07 13:40:49 [115.79ms] */
select sum(`invoice`.`invoice_amount`) as aggregate 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 `transaction`.`parent_id` = 510448 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-03-07 13:40:49 [0.34ms] */
select * from `party` where `party`.`id` = 64341 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-03-07 13:40:49 [0.71ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-03-07 13:40:49', '#67CACD31911CD', 2499101, 1, 32.00, 'ajith', 9876543220, null, 37, 5, 5, 5, '2025-03-07 13:40:49', '2025-03-07 13:40:49');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-03-07 13:40:49 [0.36ms] */
select * from `Payment` where `id` = 177487 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-03-07 13:40:49 [0.73ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":1,"payment_amount":"32.00","payment_date":"2025-03-07 13:40:49","external_payment_reference_no":"#67CACD31911CD","payment_receipt_number":"2499101","siinpay_payref_number":null,"paid_by":"ajith","paid_by_mobile":"9876543220","district_id":37,"migration_id":null,"payment_collected_by":5}}', 5, 'App\Models\User', 177487, 'Modules\Transaction\Entities\Payment', 'created', '2025-03-07 13:40:49', '2025-03-07 13:40:49');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-03-07 13:40:49 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 510448 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-03-07 13:40:49 [0.25ms] */
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/confirm_payment
   Query 22 - 2025-03-07 13:40:49 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 23 - 2025-03-07 13:40:49 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 125004 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 24 - 2025-03-07 13:40:49 [0.42ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-03-07 13:40:49', 125004, 177487, '2025-03-07 13:40:49');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-03-07 13:40:49 [0.49ms] */
select * from `invoice` where `invoice`.`id` = 125004 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-03-07 13:40:49 [0.53ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 125004 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-03-07 13:40:49 [0.53ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 125004 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-03-07 13:40:49 [0.44ms] */
update `invoice` set `invoice_amount` = 24, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 24, `status` = 'PAID', `invoice`.`updated_at` = '2025-03-07 13:40:49' where `id` = 125004;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 29 - 2025-03-07 13:40:49 [0.31ms] */
select * from `invoice` where `id` = 125004 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-03-07 13:40:49 [0.38ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"24.00","status":"OPEN"}}', 5, 'App\Models\User', 125004, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-07 13:40:49', '2025-03-07 13:40:49');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-03-07 13:40:49 [0.41ms] */
