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-04-28 15:12:39 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-28 15:12:39 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-28 15:12:39 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-28 15:12:39 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-28 15:12:39 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-28 15:12:39 [0.15ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-28 15:12:39 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-28 15:12:39 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-28 15:12:39 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-28 15:12:40 [1.28ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-28 15:12:40 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-28 15:12:40 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-28 15:12:40 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-28 15:12:40 [0.19ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-28 15:12:40 [0.15ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-28 15:12:40 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-28 15:12:40 [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-04-28 15:12:40 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-28 15:12:40 [0.15ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-28 15:12:40 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-28 15:12:40 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-28 15:12:40 [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 14 - 2025-04-28 15:12:40 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-28 15:12:40 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-28 15:12:40 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-28 15:12:40 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-28 15:12:41 [1.44ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-28 15:12:41 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-28 15:12:41 [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-04-28 15:12:41 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-28 15:12:41 [0.23ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-28 15:12:41 [0.18ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-28 15:12:41 [0.23ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-28 15:12:41 [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 9 - 2025-04-28 15:12:41 [0.17ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-28 15:12:41 [0.17ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-28 15:12:41 [0.15ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-28 15:12:41 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-28 15:12:41 [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 14 - 2025-04-28 15:12:41 [0.15ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-28 15:12:41 [0.17ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-28 15:12:41 [0.24ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-28 15:12:41 [0.26ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-28 15:12:43 [1.35ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-28 15:12:43 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-28 15:12:43 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-28 15:12:43 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-28 15:12:43 [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-04-28 15:12:43 [0.2ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-28 15:12:43 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-28 15:12:43 [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-04-28 15:12:43 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-28 15:12:43 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-28 15:12:43 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-28 15:12:43 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-28 15:12:43 [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 14 - 2025-04-28 15:12:43 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-28 15:12:43 [0.15ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-28 15:12:43 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-28 15:12:43 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-28 15:12:44 [2.09ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-28 15:12:44 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-28 15:12:44 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-28 15:12:44 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-28 15:12:44 [0.19ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-28 15:12:44 [0.15ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-28 15:12:44 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-28 15:12:44 [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-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-28 15:12:44 [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 14 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-28 15:12:44 [1.79ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-28 15:12:44 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-28 15:12:44 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-28 15:12:44 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-28 15:12:44 [0.19ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-28 15:12:44 [0.18ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-28 15:12:44 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-28 15:12:44 [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-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-28 15:12:44 [0.15ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-28 15:12:44 [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 14 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-28 15:12:44 [0.13ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-28 15:12:44 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-28 15:12:45 [1.96ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-28 15:12:45 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-28 15:12:45 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-28 15:12:45 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-28 15:12:45 [0.19ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-28 15:12:45 [0.15ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-28 15:12:45 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-28 15:12:45 [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-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-28 15:12:45 [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 14 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-28 15:12:45 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-28 15:12:45 [1.33ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-28 15:12:45 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-28 15:12:45 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-28 15:12:45 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-28 15:12:45 [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-04-28 15:12:45 [0.15ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-28 15:12:45 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-28 15:12:45 [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-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-28 15:12:45 [0.15ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-28 15:12:45 [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 14 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-28 15:12:45 [0.15ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-28 15:12:45 [1.97ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-28 15:12:45 [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-04-28 15:12:45 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-28 15:12:45 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-28 15:12:45 [0.19ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-28 15:12:45 [0.15ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-28 15:12:45 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-28 15:12:45 [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-04-28 15:12:45 [0.15ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-28 15:12:45 [0.15ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-28 15:12:45 [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 14 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-28 15:12:45 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-28 15:12:46 [1.34ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-28 15:12:46 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-28 15:12:46 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-28 15:12:46 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-28 15:12:46 [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-04-28 15:12:46 [0.15ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-28 15:12:46 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-28 15:12:46 [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-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-28 15:12:46 [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 14 - 2025-04-28 15:12:46 [0.15ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-04-28 15:12:46 [1.36ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-04-28 15:12:46 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-04-28 15:12:46 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-04-28 15:12:46 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-04-28 15:12:46 [0.28ms] */
select count(*) as aggregate from `user_receipts` where `book_number` = 'C-31' and `deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-04-28 15:12:46 [1.67ms] */
select count(*) as aggregate from `receipts` where `receipt_number` between 77811 and 77900 and `type` = 'GOV_RECEIPT_NUMBER' and `deleted_at` is null and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-04-28 15:12:46 [0.2ms] */
insert into `user_receipts` (`user_id`, `book_number`, `type`, `start`, `end`) values (161, 'C-31', 'GOV_RECEIPT_NUMBER', 77811, 77900);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-04-28 15:12:46 [0.17ms] */
select * from `user_receipts` where `user_receipts`.`deleted_at` is null order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-04-28 15:12:46 [0.92ms] */
insert into `receipts` (`created_at`, `receipt_number`, `type`, `updated_at`, `user_id`, `user_receipt_id`) values ('2025-04-28 15:12:46', 77811, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77812, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77813, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77814, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77815, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77816, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77817, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77818, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77819, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77820, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77821, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77822, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77823, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77824, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77825, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77826, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77827, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77828, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77829, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77830, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77831, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77832, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77833, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77834, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77835, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77836, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77837, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77838, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77839, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77840, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77841, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77842, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77843, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77844, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77845, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77846, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77847, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77848, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77849, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77850, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77851, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77852, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77853, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77854, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77855, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77856, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77857, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77858, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77859, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77860, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77861, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77862, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77863, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77864, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77865, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77866, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77867, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77868, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77869, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77870, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77871, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77872, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77873, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77874, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77875, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77876, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77877, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77878, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77879, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77880, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77881, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77882, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77883, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77884, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77885, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77886, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77887, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77888, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77889, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77890, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77891, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77892, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77893, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77894, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77895, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77896, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77897, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77898, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77899, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93), ('2025-04-28 15:12:46', 77900, 'GOV_RECEIPT_NUMBER', '2025-04-28 15:12:46', 161, 93);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-04-28 15:12:46 [0.31ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-04-28 15:12:46 [0.7ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-04-28 15:12:46 [0.74ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-04-28 15:12:46 [0.3ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-04-28 15:12:46 [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 15 - 2025-04-28 15:12:46 [0.34ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-04-28 15:12:46 [0.27ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 19 - 2025-04-28 15:12:46 [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 20 - 2025-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 21 - 2025-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 22 - 2025-04-28 15:12:46 [0.14ms] */
select * from `users` where `users`.`id` = 155 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-28 15:12:50 [2.05ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-28 15:12:50 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-28 15:12:50 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-28 15:12:50 [0.25ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-28 15:12:50 [0.21ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-28 15:12:50 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-28 15:12:50 [0.48ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RTA103' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-28 15:12:50 [0.23ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-28 15:12:50 [0.26ms] */
select * from `vehicle` where `id` = 99520 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-28 15:12:50 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 99520 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-28 15:12:51 [1.37ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-28 15:12:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-28 15:12:51 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-28 15:12:51 [0.18ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-04-28 15:12:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-28 15:12:51 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-28 15:12:51 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-28 15:12:51 [0.15ms] */
select * from `vehicle` where `id` = 99520 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-28 15:12:51 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 99520 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-04-28 15:12:51 [0.28ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 99520 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-04-28 15:12:52 [2.11ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-28 15:12:52 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-28 15:12:52 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-28 15:12:52 [0.29ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-04-28 15:12:52 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-28 15:12:52 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-28 15:12:52 [0.2ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-28 15:12:52 [1.24ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-28 15:12:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-28 15:12:52 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-28 15:12:52 [0.18ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-28 15:12:52 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-28 15:12:52 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-28 15:12:52 [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/get_receipt_number
   Query 1 - 2025-04-28 15:12:53 [2.06ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-28 15:12:53 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-28 15:12:53 [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-04-28 15:12:53 [0.32ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-28 15:12:53 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-28 15:12:53 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-28 15:12:53 [1.65ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 161 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-04-28 15:12:53 [1.47ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 161 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-28 15:12:54 [1.27ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-28 15:12:54 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-28 15:12:54 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-28 15:12:54 [0.16ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-28 15:12:54 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-28 15:12:54 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-28 15:12:54 [0.2ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-28 15:12:54 [0.36ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-28 15:12:54 [0.3ms] */
select `parent_id` from `transaction` where `id` in (574535) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-28 15:12:54 [140.05ms] */
select `id` from `transaction` where `parent_id` in (574542) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-28 15:12:54 [0.54ms] */
select * from `transaction` where `id` in (574542) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-28 15:12:54 [0.18ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-28 15:12:54 [0.53ms] */
select * from `invoice` where `transaction_id` = 574535 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-28 15:12:54 [0.53ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550192 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-28 15:12:54 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-28 15:12:54 [3.97ms] */
update `transaction` set `tax_collection_point_id` = 26, `deliver_district_id` = 37, `updated_by` = 161, `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-04-28 15:12:54' where `id` = 574535;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-28 15:12:54 [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-04-28 15:12:54 [0.19ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-28 15:12:54 [0.17ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-28 15:12:54 [0.18ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-28 15:12:54 [1.96ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-28 15:12:54 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-28 15:12:54 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-28 15:12:54 [0.25ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-28 15:12:54 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-28 15:12:54 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-28 15:12:54 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-28 15:12:54 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-28 15:12:54 [0.28ms] */
select `parent_id` from `transaction` where `id` in (574535) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-28 15:12:54 [123.62ms] */
select `id` from `transaction` where `parent_id` in (574542) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-28 15:12:54 [0.36ms] */
select * from `transaction` where `id` in (574542) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-28 15:12:54 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-28 15:12:54 [0.15ms] */
select * from `invoice` where `transaction_id` = 574535 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-28 15:12:54 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550192 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-28 15:12:54 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-28 15:12:54 [0.13ms] */
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 17 - 2025-04-28 15:12:54 [0.13ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-28 15:12:54 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-28 15:12:54 [0.12ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 1 - 2025-04-28 15:12:55 [2.17ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 2 - 2025-04-28 15:12:55 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 3 - 2025-04-28 15:12:55 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 4 - 2025-04-28 15:12:55 [0.33ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 5 - 2025-04-28 15:12:55 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 6 - 2025-04-28 15:12:55 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 7 - 2025-04-28 15:12:55 [0.33ms] */
select * from `transaction` where `id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 8 - 2025-04-28 15:12:55 [0.88ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574535 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 9 - 2025-04-28 15:12:55 [0.65ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574535 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 10 - 2025-04-28 15:12:55 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 11 - 2025-04-28 15:12:55 [0.28ms] */
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` = 550192 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-28 15:12:56 [1.6ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-28 15:12:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-28 15:12:56 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-28 15:12:56 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-28 15:12:56 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-28 15:12:56 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-28 15:12:56 [0.27ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-04-28 15:12:57 [1.95ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-28 15:12:57 [0.25ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-28 15:12:57 [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-04-28 15:12:57 [0.3ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-28 15:12:58 [0.3ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-28 15:12:58 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-28 15:12:58 [0.15ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 161 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-04-28 15:12:58 [0.13ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 161 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 1 - 2025-04-28 15:13:05 [2.22ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 2 - 2025-04-28 15:13:05 [0.75ms] */
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/w/wkflw/574544
   Query 3 - 2025-04-28 15:13:05 [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/w/wkflw/574544
   Query 4 - 2025-04-28 15:13:05 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 5 - 2025-04-28 15:13:05 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 574544 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 6 - 2025-04-28 15:13:05 [0.38ms] */
select * from `transaction_workflow` where `transaction_id` = 574544 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 7 - 2025-04-28 15:13:05 [0.34ms] */
select * from `invoice` where `transaction_id` = 574544 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 8 - 2025-04-28 15:13:05 [0.26ms] */
select * from `invoice_payment` where `invoice_id` = 550201;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 9 - 2025-04-28 15:13:05 [0.61ms] */
select * from `payment_documents` where `transaction_id` = 574544;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 10 - 2025-04-28 15:13:05 [0.28ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574544 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 11 - 2025-04-28 15:13:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 12 - 2025-04-28 15:13:05 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 13 - 2025-04-28 15:13:05 [0.23ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 14 - 2025-04-28 15:13:05 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 15 - 2025-04-28 15:13:05 [0.19ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 16 - 2025-04-28 15:13:05 [0.31ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 17 - 2025-04-28 15:13:05 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 574544 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 18 - 2025-04-28 15:13:06 [642.66ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 574544 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-04-28 15:13:06 [1.32ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-04-28 15:13:06 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-04-28 15:13:06 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-04-28 15:13:06 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-04-28 15:13:06 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-04-28 15:13:06 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-04-28 15:13:06 [0.94ms] */
delete from `payment_documents` where `transaction_id` = 574535 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-04-28 15:13:06 [0.99ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 77811;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-04-28 15:13:06 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 19 - 2025-04-28 15:13:06 [578.88ms] */
select sum(`invoice`.`total_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` = 574544 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 20 - 2025-04-28 15:13:06 [0.55ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 21 - 2025-04-28 15:13:06 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 574511 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 22 - 2025-04-28 15:13:06 [0.4ms] */
select * from `invoice` where `invoice`.`id` = 550168 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 23 - 2025-04-28 15:13:06 [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/w/wkflw/574544
   Query 24 - 2025-04-28 15:13:06 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 25 - 2025-04-28 15:13:06 [0.48ms] */
select * from `transaction_workflow` where `transaction_id` = 574544 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-04-28 15:13:07 [432.59ms] */
select * from `transaction` where `parent_id` = 574542 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 26 - 2025-04-28 15:13:07 [297.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 27 - 2025-04-28 15:13:07 [0.4ms] */
select * from `vehicle` where `vehicle`.`id` = 99519 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 28 - 2025-04-28 15:13:07 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 99519 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 29 - 2025-04-28 15:13:07 [0.23ms] */
select * from `model` where `model`.`id` = 1302 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 30 - 2025-04-28 15:13:07 [0.21ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 31 - 2025-04-28 15:13:07 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 32 - 2025-04-28 15:13:07 [0.38ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99519 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 33 - 2025-04-28 15:13:07 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 34 - 2025-04-28 15:13:07 [0.2ms] */
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/w/wkflw/574544
   Query 35 - 2025-04-28 15:13:07 [0.2ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 16 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 36 - 2025-04-28 15:13:07 [0.19ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 37 - 2025-04-28 15:13:07 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 574544 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 38 - 2025-04-28 15:13:07 [0.16ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 39 - 2025-04-28 15:13:07 [0.23ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 40 - 2025-04-28 15:13:07 [0.19ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-04-28 15:13:07 [12.26ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (574535, 'GOV_RECEIPT_IMAGE', 77811, 1, '2025-04-28 15:13:07', '2025-04-28 15:13:07');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 41 - 2025-04-28 15:13:07 [0.76ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-04-28 15:13:07 [3.24ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (574542, 'GOV_RECEIPT_IMAGE', 77811, 1, '2025-04-28 15:13:07', '2025-04-28 15:13:07');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-04-28 15:13:07 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-04-28 15:13:07 [3.57ms] */
update `transaction` set `paid_by` = 'test', `paid_by_mobile` = 2500, `transaction`.`updated_at` = '2025-04-28 15:13:07' where `id` = 574535;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-04-28 15:13:07 [7.85ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-04-28 15:13:07' where `receipt_number` = 77811 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 42 - 2025-04-28 15:13:07 [35.34ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62332 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 43 - 2025-04-28 15:13:07 [0.36ms] */
select * from `address` where `address`.`id` = 64958 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 44 - 2025-04-28 15:13:07 [0.25ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 45 - 2025-04-28 15:13:07 [0.22ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 46 - 2025-04-28 15:13:07 [0.41ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 47 - 2025-04-28 15:13:07 [0.25ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 48 - 2025-04-28 15:13:07 [0.24ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 49 - 2025-04-28 15:13:07 [0.26ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 50 - 2025-04-28 15:13:07 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 574544 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 51 - 2025-04-28 15:13:07 [0.16ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 52 - 2025-04-28 15:13:07 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99882 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 53 - 2025-04-28 15:13:07 [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/w/wkflw/574544
   Query 54 - 2025-04-28 15:13:07 [0.32ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 55 - 2025-04-28 15:13:07 [0.17ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 56 - 2025-04-28 15:13:07 [0.47ms] */
select * from `transaction_workflow` where `transaction_id` = 574544 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 57 - 2025-04-28 15:13:07 [0.21ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 58 - 2025-04-28 15:13:07 [0.24ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 59 - 2025-04-28 15:13:07 [0.19ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 60 - 2025-04-28 15:13:07 [0.15ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 61 - 2025-04-28 15:13:07 [0.16ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 62 - 2025-04-28 15:13:07 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 63 - 2025-04-28 15:13:07 [0.18ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 64 - 2025-04-28 15:13:07 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 65 - 2025-04-28 15:13:07 [0.39ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 66 - 2025-04-28 15:13:07 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 67 - 2025-04-28 15:13:07 [0.14ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 68 - 2025-04-28 15:13:07 [0.15ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 69 - 2025-04-28 15:13:07 [0.22ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 70 - 2025-04-28 15:13:07 [0.61ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 71 - 2025-04-28 15:13:07 [0.36ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 72 - 2025-04-28 15:13:07 [0.27ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574544
   Query 73 - 2025-04-28 15:13:07 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 1 - 2025-04-28 15:13:12 [1.29ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 2 - 2025-04-28 15:13:12 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 3 - 2025-04-28 15:13:12 [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/vehicle/99519
   Query 4 - 2025-04-28 15:13: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): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 5 - 2025-04-28 15:13:12 [0.34ms] */
select * from `vehicle` where `id` = 99519 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 6 - 2025-04-28 15:13:12 [0.38ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 99519 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 7 - 2025-04-28 15:13:12 [0.15ms] */
select * from `vehicle` where `id` = 99519 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 8 - 2025-04-28 15:13:12 [0.17ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 99519 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 9 - 2025-04-28 15:13:12 [0.45ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 10 - 2025-04-28 15:13:12 [0.2ms] */
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/99519
   Query 11 - 2025-04-28 15:13:12 [0.14ms] */
select * from `model` where `model`.`id` = 1302 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 12 - 2025-04-28 15:13:12 [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/vehicle/99519
   Query 13 - 2025-04-28 15:13:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 14 - 2025-04-28 15:13:12 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99519 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 15 - 2025-04-28 15:13:12 [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/vehicle/99519
   Query 16 - 2025-04-28 15:13:12 [0.13ms] */
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/vehicle/99519
   Query 17 - 2025-04-28 15:13:12 [0.16ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 16 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 18 - 2025-04-28 15:13:12 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 19 - 2025-04-28 15:13:12 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 99519 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 20 - 2025-04-28 15:13:12 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 99519 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 21 - 2025-04-28 15:13:12 [0.13ms] */
select * from `model` where `model`.`id` = 1302 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 22 - 2025-04-28 15:13:12 [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/vehicle/99519
   Query 23 - 2025-04-28 15:13:12 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 24 - 2025-04-28 15:13:12 [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/vehicle/99519
   Query 25 - 2025-04-28 15:13:12 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 26 - 2025-04-28 15:13:12 [0.16ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 27 - 2025-04-28 15:13:12 [0.45ms] */
select * from `transaction` where `transaction`.`id` = 574495 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 28 - 2025-04-28 15:13:12 [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 `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 99519 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 29 - 2025-04-28 15:13:12 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 30 - 2025-04-28 15:13:12 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99519 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 31 - 2025-04-28 15:13:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 32 - 2025-04-28 15:13:12 [0.34ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99882 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/99519
   Query 33 - 2025-04-28 15:13:12 [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/vehicle/99519
   Query 34 - 2025-04-28 15:13:12 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 574511 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 35 - 2025-04-28 15:13:12 [0.16ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 36 - 2025-04-28 15:13:12 [0.15ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 37 - 2025-04-28 15:13:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 38 - 2025-04-28 15:13:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 39 - 2025-04-28 15:13:12 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 40 - 2025-04-28 15:13:12 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 41 - 2025-04-28 15:13:12 [0.3ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 42 - 2025-04-28 15:13:12 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99519 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 43 - 2025-04-28 15:13:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 44 - 2025-04-28 15:13:12 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99882 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/99519
   Query 45 - 2025-04-28 15:13:12 [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/vehicle/99519
   Query 46 - 2025-04-28 15:13:12 [0.53ms] */
select * from `transaction` where `transaction`.`id` = 574512 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 47 - 2025-04-28 15:13:12 [0.18ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 48 - 2025-04-28 15:13:12 [0.18ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 49 - 2025-04-28 15:13:12 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 50 - 2025-04-28 15:13:12 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 51 - 2025-04-28 15:13:12 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 52 - 2025-04-28 15:13:12 [0.14ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 53 - 2025-04-28 15:13:12 [0.31ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 54 - 2025-04-28 15:13:12 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 99519 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 55 - 2025-04-28 15:13:12 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 56 - 2025-04-28 15:13:12 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99882 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/99519
   Query 57 - 2025-04-28 15:13:12 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 58 - 2025-04-28 15:13:12 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 574513 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 59 - 2025-04-28 15:13:12 [0.13ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 60 - 2025-04-28 15:13:12 [0.15ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 61 - 2025-04-28 15:13:12 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 62 - 2025-04-28 15:13:12 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 63 - 2025-04-28 15:13:12 [0.34ms] */
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/99519
   Query 64 - 2025-04-28 15:13:12 [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/99519
   Query 65 - 2025-04-28 15:13:12 [0.34ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 66 - 2025-04-28 15:13:12 [0.39ms] */
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/99519
   Query 67 - 2025-04-28 15:13:12 [0.46ms] */
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` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 68 - 2025-04-28 15:13:12 [0.44ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 99519 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 69 - 2025-04-28 15:13:12 [0.43ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 99519 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null 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/99519
   Query 70 - 2025-04-28 15:13:12 [0.13ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 71 - 2025-04-28 15:13:12 [0.37ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 72 - 2025-04-28 15:13:12 [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/99519
   Query 73 - 2025-04-28 15:13:12 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 74 - 2025-04-28 15:13:12 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 75 - 2025-04-28 15:13:12 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99519 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 76 - 2025-04-28 15:13:12 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 77 - 2025-04-28 15:13:12 [0.15ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 78 - 2025-04-28 15:13:12 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99882 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 79 - 2025-04-28 15:13:12 [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/vehicle/99519
   Query 80 - 2025-04-28 15:13:12 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 81 - 2025-04-28 15:13:12 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 82 - 2025-04-28 15:13:12 [0.38ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 83 - 2025-04-28 15:13:12 [0.15ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 84 - 2025-04-28 15:13:12 [0.38ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574545 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/99519
   Query 85 - 2025-04-28 15:13:12 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 86 - 2025-04-28 15:13:12 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 87 - 2025-04-28 15:13:12 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 88 - 2025-04-28 15:13:12 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 89 - 2025-04-28 15:13:12 [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/99519
   Query 90 - 2025-04-28 15:13:12 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 99519 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 91 - 2025-04-28 15:13:12 [0.13ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 92 - 2025-04-28 15:13:12 [0.14ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 93 - 2025-04-28 15:13:12 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99882 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 94 - 2025-04-28 15:13:12 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 95 - 2025-04-28 15:13:12 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 96 - 2025-04-28 15:13:12 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 97 - 2025-04-28 15:13:12 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 98 - 2025-04-28 15:13:12 [0.14ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 99 - 2025-04-28 15:13:12 [0.35ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574544 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/99519
   Query 100 - 2025-04-28 15:13:12 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 101 - 2025-04-28 15:13:12 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 102 - 2025-04-28 15:13:12 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 103 - 2025-04-28 15:13:12 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 104 - 2025-04-28 15:13:12 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 105 - 2025-04-28 15:13:12 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 99519 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 106 - 2025-04-28 15:13:12 [0.13ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 107 - 2025-04-28 15:13:12 [0.14ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 108 - 2025-04-28 15:13:12 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99882 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 109 - 2025-04-28 15:13:12 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 110 - 2025-04-28 15:13:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 111 - 2025-04-28 15:13:12 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 112 - 2025-04-28 15:13:12 [0.37ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574513 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/99519
   Query 113 - 2025-04-28 15:13:12 [0.13ms] */
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/99519
   Query 114 - 2025-04-28 15:13:12 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 115 - 2025-04-28 15:13:12 [0.34ms] */
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/99519
   Query 116 - 2025-04-28 15:13:12 [0.32ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 117 - 2025-04-28 15:13:12 [0.28ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 118 - 2025-04-28 15:13:12 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 99519 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 119 - 2025-04-28 15:13:12 [0.13ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 120 - 2025-04-28 15:13:12 [0.14ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 121 - 2025-04-28 15:13:12 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99882 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 122 - 2025-04-28 15:13:12 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 123 - 2025-04-28 15:13:12 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 124 - 2025-04-28 15:13:12 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 125 - 2025-04-28 15:13:12 [0.36ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574495 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/99519
   Query 126 - 2025-04-28 15:13:12 [0.39ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 99519 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 127 - 2025-04-28 15:13:12 [0.34ms] */
select * from `title_reprint_history` where `vehicle_id` = 99519 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 128 - 2025-04-28 15:13:12 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99519
   Query 129 - 2025-04-28 15:13:12 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-04-28 15:13:12 [2.21ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-28 15:13:12 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-28 15:13:12 [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-04-28 15:13:12 [0.33ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-28 15:13:12 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-28 15:13:12 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-28 15:13:12 [1.62ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 161 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-04-28 15:13:12 [2.9ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 161 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=99519&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-04-28 15:13:13 [1.29ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=99519&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-04-28 15:13:13 [0.43ms] */
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=99519&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-04-28 15:13:13 [0.57ms] */
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 = 99519 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-04-28 15:13:14 [1.48ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-04-28 15:13:14 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-04-28 15:13:14 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-04-28 15:13:14 [0.35ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-04-28 15:13:14 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-04-28 15:13:14 [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-04-28 15:13:14 [0.97ms] */
delete from `payment_documents` where `transaction_id` = 574535 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-04-28 15:13:14 [0.97ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 112;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-04-28 15:13:14 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-04-28 15:13:14 [407.66ms] */
select * from `transaction` where `parent_id` = 574542 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-04-28 15:13:14 [3.09ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (574535, 'SERVICE_RECEIPT_IMAGE', 112, 1, '2025-04-28 15:13:14', '2025-04-28 15:13:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-04-28 15:13:14 [2.82ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (574542, 'SERVICE_RECEIPT_IMAGE', 112, 1, '2025-04-28 15:13:14', '2025-04-28 15:13:14');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-04-28 15:13:14 [5.89ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-04-28 15:13:14' where `receipt_number` = 112 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-04-28 15:13:14 [1.43ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-04-28 15:13:14 [0.18ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-04-28 15:13:14 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-04-28 15:13:14 [0.19ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-04-28 15:13:14 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-04-28 15:13:14 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-04-28 15:13:14 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-04-28 15:13:14 [0.55ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-04-28 15:13:14 [0.38ms] */
select * from `invoice_payment` where `invoice_id` = 550199 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-04-28 15:13:14 [121.76ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 574542 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-04-28 15:13:15 [118.56ms] */
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` = 574542 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-04-28 15:13:15 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-04-28 15:13:15 [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 14 - 2025-04-28 15:13:15 [0.14ms] */
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 15 - 2025-04-28 15:13:15 [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 16 - 2025-04-28 15:13:15 [141.8ms] */
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` = 574542 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-04-28 15:13:15 [0.22ms] */
select * from `party` where `party`.`id` = 64958 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 18 - 2025-04-28 15:13:15 [8.02ms] */
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-04-28 15:13:15', 1245, 77811, 1, 219.00, 'test', 2500, null, 37, 161, 161, 161, '2025-04-28 15:13:15', '2025-04-28 15:13:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-04-28 15:13:15 [0.22ms] */
select * from `Payment` where `id` = 177899 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-04-28 15:13:15 [0.69ms] */
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":"219.00","payment_date":"2025-04-28 15:13:15","external_payment_reference_no":"1245","payment_receipt_number":"77811","siinpay_payref_number":null,"paid_by":"test","paid_by_mobile":"2500","district_id":37,"migration_id":null,"payment_collected_by":161}}', 161, 'App\Models\User', 177899, 'Modules\Transaction\Entities\Payment', 'created', '2025-04-28 15:13:15', '2025-04-28 15:13:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-04-28 15:13:15 [0.45ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-04-28 15:13:15 [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 23 - 2025-04-28 15:13:15 [0.26ms] */
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 24 - 2025-04-28 15:13:15 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-04-28 15:13:15 [0.24ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-04-28 15:13:15', 550192, 177899, '2025-04-28 15:13:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-04-28 15:13:15 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-04-28 15:13:15 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 550192 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-04-28 15:13:15 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550192 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 29 - 2025-04-28 15:13:15 [0.27ms] */
update `invoice` set `invoice_amount` = 219, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 219, `status` = 'PAID', `updated_by` = 161, `invoice`.`updated_at` = '2025-04-28 15:13:15' where `id` = 550192;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-04-28 15:13:15 [0.19ms] */
select * from `invoice` where `id` = 550192 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-04-28 15:13:15 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"219.00","status":"OPEN"}}', 161, 'App\Models\User', 550192, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-28 15:13:15', '2025-04-28 15:13:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-04-28 15:13:15 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-04-28 15:13:15 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-04-28 15:13:15 [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): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-04-28 15:13:15 [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 36 - 2025-04-28 15:13:15 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 37 - 2025-04-28 15:13:15 [0.26ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574535, 'PAID', '2025-04-28 15:13:15', 7, 161, null, 161, 161, '2025-04-28 15:13:15', '2025-04-28 15:13:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-04-28 15:13:15 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-04-28 15:13:15 [0.28ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-04-28 15:13:15' where `id` = 574535;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-04-28 15:13:15 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 41 - 2025-04-28 15:13:15 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 42 - 2025-04-28 15:13:15 [0.23ms] */
select * from `vehicle_tax` where `transaction_id` = 574535 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-04-28 15:13:15 [0.17ms] */
update `vehicle_tax` set `status` = 'PAID', `updated_by` = 161, `vehicle_tax`.`updated_at` = '2025-04-28 15:13:15' where `id` = 464446;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-04-28 15:13:15 [0.17ms] */
select * from `vehicle_tax` where `id` = 464446 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-04-28 15:13:15 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 161, 'App\Models\User', 464446, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-28 15:13:15', '2025-04-28 15:13:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-04-28 15:13:15 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 550199 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-04-28 15:13:15 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 550199 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-04-28 15:13:15 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-04-28 15:13:15', 550199, 177899, '2025-04-28 15:13:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-04-28 15:13:15 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 550199 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-04-28 15:13:15 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 550199 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-04-28 15:13:15 [0.16ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `updated_by` = 161, `invoice`.`updated_at` = '2025-04-28 15:13:15' where `id` = 550199;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-04-28 15:13:15 [0.18ms] */
select * from `invoice` where `id` = 550199 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-04-28 15:13:15 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"219.00","status":"OPEN"}}', 161, 'App\Models\User', 550199, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-28 15:13:15', '2025-04-28 15:13:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-04-28 15:13:15 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-04-28 15:13:15 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-04-28 15:13:15 [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): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 57 - 2025-04-28 15:13:15 [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 58 - 2025-04-28 15:13:15 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 59 - 2025-04-28 15:13:15 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574542, 'PAID', '2025-04-28 15:13:15', 7, 161, null, 161, 161, '2025-04-28 15:13:15', '2025-04-28 15:13:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-04-28 15:13:15 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 61 - 2025-04-28 15:13:15 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 8, `updated_by` = 161, `transaction`.`updated_at` = '2025-04-28 15:13:15' where `id` = 574542;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-04-28 15:13:15 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 63 - 2025-04-28 15:13:15 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 550199 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 64 - 2025-04-28 15:13:15 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 65 - 2025-04-28 15:13:15 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 66 - 2025-04-28 15:13:15 [0.29ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574542, 'CLAIMED', '2025-04-28 15:13:15', 8, 161, 161, 161, '2025-04-28 15:13:15', '2025-04-28 15:13:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 67 - 2025-04-28 15:13:15 [0.37ms] */
update `transaction` set `assigned_to` = 161, `transaction`.`updated_at` = '2025-04-28 15:13:15' where `id` = 574542;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 1 - 2025-04-28 15:13:15 [1.35ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 2 - 2025-04-28 15:13:15 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 3 - 2025-04-28 15:13:15 [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/m/vehicle/99520
   Query 4 - 2025-04-28 15:13:15 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 5 - 2025-04-28 15:13:15 [0.38ms] */
select * from `vehicle` where `id` = 99520 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 6 - 2025-04-28 15:13:15 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 99520 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 7 - 2025-04-28 15:13:15 [0.15ms] */
select * from `vehicle` where `id` = 99520 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 8 - 2025-04-28 15:13:15 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 99520 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 9 - 2025-04-28 15:13:15 [0.36ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 10 - 2025-04-28 15:13:15 [0.14ms] */
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/99520
   Query 11 - 2025-04-28 15:13:15 [0.44ms] */
select * from `model` where `model`.`id` = 328 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 12 - 2025-04-28 15:13:15 [0.24ms] */
select * from `make` where `make`.`id` = 12 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 13 - 2025-04-28 15:13:15 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 14 - 2025-04-28 15:13:15 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99520 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 15 - 2025-04-28 15:13:15 [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/vehicle/99520
   Query 16 - 2025-04-28 15:13:15 [0.22ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 11 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 17 - 2025-04-28 15:13:15 [0.23ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 15 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 18 - 2025-04-28 15:13:15 [0.32ms] */
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/99520
   Query 19 - 2025-04-28 15:13:15 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 99520 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 20 - 2025-04-28 15:13:15 [0.4ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 21 - 2025-04-28 15:13:15 [0.14ms] */
select * from `model` where `model`.`id` = 328 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 22 - 2025-04-28 15:13:15 [0.13ms] */
select * from `make` where `make`.`id` = 12 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 23 - 2025-04-28 15:13:15 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 24 - 2025-04-28 15:13:15 [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/vehicle/99520
   Query 25 - 2025-04-28 15:13:15 [0.15ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 26 - 2025-04-28 15:13:15 [0.16ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 27 - 2025-04-28 15:13:15 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 574514 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 28 - 2025-04-28 15:13:15 [0.6ms] */
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` = 99520 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 29 - 2025-04-28 15:13:15 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 30 - 2025-04-28 15:13:15 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 31 - 2025-04-28 15:13:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 32 - 2025-04-28 15:13:15 [0.33ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 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/99520
   Query 33 - 2025-04-28 15:13:15 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 34 - 2025-04-28 15:13:15 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 35 - 2025-04-28 15:13:15 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 36 - 2025-04-28 15:13:15 [0.15ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 37 - 2025-04-28 15:13:15 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 38 - 2025-04-28 15:13:15 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 39 - 2025-04-28 15:13:15 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 40 - 2025-04-28 15:13:15 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 41 - 2025-04-28 15:13:15 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 42 - 2025-04-28 15:13:15 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 43 - 2025-04-28 15:13:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 44 - 2025-04-28 15:13:15 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 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/99520
   Query 45 - 2025-04-28 15:13:15 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 46 - 2025-04-28 15:13:15 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 574536 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 47 - 2025-04-28 15:13:15 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 48 - 2025-04-28 15:13:15 [0.15ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 49 - 2025-04-28 15:13:15 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 50 - 2025-04-28 15:13:15 [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/99520
   Query 51 - 2025-04-28 15:13:15 [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/99520
   Query 52 - 2025-04-28 15:13:15 [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/99520
   Query 53 - 2025-04-28 15:13:15 [0.13ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 54 - 2025-04-28 15:13:15 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 55 - 2025-04-28 15:13:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 56 - 2025-04-28 15:13:15 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 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/99520
   Query 57 - 2025-04-28 15:13:15 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 58 - 2025-04-28 15:13:15 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 574537 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 59 - 2025-04-28 15:13:15 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 60 - 2025-04-28 15:13:15 [0.17ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 61 - 2025-04-28 15:13:15 [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/99520
   Query 62 - 2025-04-28 15:13:15 [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/99520
   Query 63 - 2025-04-28 15:13:15 [0.13ms] */
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/99520
   Query 64 - 2025-04-28 15:13:15 [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/99520
   Query 65 - 2025-04-28 15:13:15 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 66 - 2025-04-28 15:13:15 [0.47ms] */
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/99520
   Query 67 - 2025-04-28 15:13:15 [0.17ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 1 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 68 - 2025-04-28 15:13:15 [0.53ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 99520 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 69 - 2025-04-28 15:13:15 [0.46ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 99520 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null 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/99520
   Query 70 - 2025-04-28 15:13:15 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 71 - 2025-04-28 15:13:15 [0.18ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 72 - 2025-04-28 15:13:15 [0.19ms] */
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/99520
   Query 73 - 2025-04-28 15:13:15 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 74 - 2025-04-28 15:13:15 [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/99520
   Query 75 - 2025-04-28 15:13:15 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 76 - 2025-04-28 15:13:15 [0.15ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 77 - 2025-04-28 15:13:15 [0.16ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 78 - 2025-04-28 15:13:15 [0.39ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 79 - 2025-04-28 15:13:15 [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/vehicle/99520
   Query 80 - 2025-04-28 15:13:15 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 81 - 2025-04-28 15:13:15 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 82 - 2025-04-28 15:13:15 [0.41ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 83 - 2025-04-28 15:13:15 [0.16ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 84 - 2025-04-28 15:13:15 [0.4ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574542 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/99520
   Query 85 - 2025-04-28 15:13:15 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 86 - 2025-04-28 15:13:15 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 87 - 2025-04-28 15:13:15 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 88 - 2025-04-28 15:13:15 [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/99520
   Query 89 - 2025-04-28 15:13:15 [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/99520
   Query 90 - 2025-04-28 15:13:15 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 91 - 2025-04-28 15:13:15 [0.16ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 92 - 2025-04-28 15:13:15 [0.16ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 93 - 2025-04-28 15:13:15 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 94 - 2025-04-28 15:13:15 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 95 - 2025-04-28 15:13:15 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 96 - 2025-04-28 15:13:15 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 97 - 2025-04-28 15:13:15 [0.42ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574536 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/99520
   Query 98 - 2025-04-28 15:13:15 [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/99520
   Query 99 - 2025-04-28 15:13:15 [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/99520
   Query 100 - 2025-04-28 15:13:15 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 101 - 2025-04-28 15:13:15 [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/99520
   Query 102 - 2025-04-28 15:13:15 [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/99520
   Query 103 - 2025-04-28 15:13:15 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 104 - 2025-04-28 15:13:15 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 105 - 2025-04-28 15:13:15 [0.15ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 106 - 2025-04-28 15:13:15 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 107 - 2025-04-28 15:13:15 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 108 - 2025-04-28 15:13:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 109 - 2025-04-28 15:13:15 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 110 - 2025-04-28 15:13:15 [0.44ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574537 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/99520
   Query 111 - 2025-04-28 15:13:15 [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/99520
   Query 112 - 2025-04-28 15:13:15 [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/99520
   Query 113 - 2025-04-28 15:13:15 [0.14ms] */
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/99520
   Query 114 - 2025-04-28 15:13:15 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 115 - 2025-04-28 15:13:15 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 116 - 2025-04-28 15:13:15 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 117 - 2025-04-28 15:13:15 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 118 - 2025-04-28 15:13:15 [0.15ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 119 - 2025-04-28 15:13:15 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 120 - 2025-04-28 15:13:15 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 121 - 2025-04-28 15:13:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 122 - 2025-04-28 15:13:15 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 123 - 2025-04-28 15:13:15 [0.4ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 574514 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/99520
   Query 124 - 2025-04-28 15:13:15 [0.38ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 99520 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 125 - 2025-04-28 15:13:15 [0.38ms] */
select * from `title_reprint_history` where `vehicle_id` = 99520 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 126 - 2025-04-28 15:13:15 [0.31ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/99520
   Query 127 - 2025-04-28 15:13:15 [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=99520&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-04-28 15:13:16 [2.19ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=99520&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-04-28 15:13:16 [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/audit-details?audit_ids=99520&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-04-28 15:13:16 [0.54ms] */
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 = 99520 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 1 - 2025-04-28 15:13:23 [2.56ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 2 - 2025-04-28 15:13:23 [0.79ms] */
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/w/wkflw/574542
   Query 3 - 2025-04-28 15:13:23 [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/w/wkflw/574542
   Query 4 - 2025-04-28 15:13:23 [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/w/wkflw/574542
   Query 5 - 2025-04-28 15:13:23 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 6 - 2025-04-28 15:13:23 [0.37ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 7 - 2025-04-28 15:13:23 [0.33ms] */
select * from `invoice` where `transaction_id` = 574542 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 8 - 2025-04-28 15:13:23 [0.21ms] */
select * from `invoice_payment` where `invoice_id` = 550199;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 9 - 2025-04-28 15:13:23 [0.61ms] */
select * from `payment_documents` where `transaction_id` = 574542;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 10 - 2025-04-28 15:13:23 [0.31ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574542 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 11 - 2025-04-28 15:13:23 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 12 - 2025-04-28 15:13:23 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 13 - 2025-04-28 15:13:23 [0.15ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 14 - 2025-04-28 15:13:23 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 15 - 2025-04-28 15:13:23 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 16 - 2025-04-28 15:13:23 [0.16ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 17 - 2025-04-28 15:13:23 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 18 - 2025-04-28 15:13:24 [592.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 `transaction`.`parent_id` = 574542 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 19 - 2025-04-28 15:13:24 [498.73ms] */
select sum(`invoice`.`total_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` = 574542 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 20 - 2025-04-28 15:13:24 [0.27ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 21 - 2025-04-28 15:13:24 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 22 - 2025-04-28 15:13:24 [0.36ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 23 - 2025-04-28 15:13:24 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 24 - 2025-04-28 15:13:24 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 25 - 2025-04-28 15:13:24 [0.37ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 26 - 2025-04-28 15:13:25 [323.39ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 27 - 2025-04-28 15:13:25 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 28 - 2025-04-28 15:13:25 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 29 - 2025-04-28 15:13:25 [0.14ms] */
select * from `model` where `model`.`id` = 328 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 30 - 2025-04-28 15:13:25 [0.13ms] */
select * from `make` where `make`.`id` = 12 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 31 - 2025-04-28 15:13:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 32 - 2025-04-28 15:13:25 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99520 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 33 - 2025-04-28 15:13:25 [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/w/wkflw/574542
   Query 34 - 2025-04-28 15:13:25 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 11 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 35 - 2025-04-28 15:13:25 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 15 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 36 - 2025-04-28 15:13:25 [0.13ms] */
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/w/wkflw/574542
   Query 37 - 2025-04-28 15:13:25 [0.21ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 38 - 2025-04-28 15:13:25 [0.15ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 39 - 2025-04-28 15:13:25 [0.19ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 40 - 2025-04-28 15:13:25 [0.17ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 41 - 2025-04-28 15:13:25 [0.18ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 42 - 2025-04-28 15:13:25 [0.17ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62332 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 43 - 2025-04-28 15:13:25 [0.17ms] */
select * from `address` where `address`.`id` = 64958 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 44 - 2025-04-28 15:13:25 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 45 - 2025-04-28 15:13:25 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 46 - 2025-04-28 15:13:25 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 47 - 2025-04-28 15:13:25 [0.14ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 48 - 2025-04-28 15:13:25 [0.14ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 49 - 2025-04-28 15:13:25 [0.15ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 50 - 2025-04-28 15:13:25 [0.17ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 51 - 2025-04-28 15:13:25 [0.14ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 52 - 2025-04-28 15:13:25 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 53 - 2025-04-28 15:13:25 [0.16ms] */
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/w/wkflw/574542
   Query 54 - 2025-04-28 15:13:25 [0.35ms] */
select * from `district` where `district`.`id` = 38 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 55 - 2025-04-28 15:13:25 [0.19ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 56 - 2025-04-28 15:13:25 [0.43ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 57 - 2025-04-28 15:13:25 [0.21ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 58 - 2025-04-28 15:13:25 [0.16ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 59 - 2025-04-28 15:13:25 [0.16ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 60 - 2025-04-28 15:13:25 [0.14ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 61 - 2025-04-28 15:13:25 [0.49ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 62 - 2025-04-28 15:13:25 [0.24ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 63 - 2025-04-28 15:13:25 [0.28ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 64 - 2025-04-28 15:13:25 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 65 - 2025-04-28 15:13:25 [0.24ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 66 - 2025-04-28 15:13:25 [0.21ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 67 - 2025-04-28 15:13:25 [0.2ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 68 - 2025-04-28 15:13:25 [0.2ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 69 - 2025-04-28 15:13:25 [0.2ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 70 - 2025-04-28 15:13:25 [0.23ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 71 - 2025-04-28 15:13:25 [0.19ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 72 - 2025-04-28 15:13:25 [0.24ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 73 - 2025-04-28 15:13:25 [0.17ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 1 - 2025-04-28 15:13:28 [1.89ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 2 - 2025-04-28 15:13:28 [0.68ms] */
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/trns/i/550199
   Query 3 - 2025-04-28 15:13:28 [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/trns/i/550199
   Query 4 - 2025-04-28 15:13:28 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 5 - 2025-04-28 15:13:28 [0.33ms] */
select * from `payment_method` where `name` = 'Cash' and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 6 - 2025-04-28 15:13:28 [0.3ms] */
select * from `invoice` where `id` = 550199 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 7 - 2025-04-28 15:13:28 [0.28ms] */
select * from `transaction` where `transaction`.`id` in (574542) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 8 - 2025-04-28 15:13:28 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` in (99520) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 9 - 2025-04-28 15:13:28 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 10 - 2025-04-28 15:13:28 [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/trns/i/550199
   Query 11 - 2025-04-28 15:13:28 [0.23ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 12 - 2025-04-28 15:13:28 [0.29ms] */
select * from `party` where `party`.`id` in (64958) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 13 - 2025-04-28 15:13:28 [0.29ms] */
select * from `address` where `address`.`id` in (64958) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 14 - 2025-04-28 15:13:28 [0.81ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574542 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 15 - 2025-04-28 15:13:28 [0.68ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574542 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 16 - 2025-04-28 15:13:28 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 17 - 2025-04-28 15:13:28 [0.16ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 18 - 2025-04-28 15:13:28 [0.14ms] */
select * from `address` where `address`.`id` = 64958 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 19 - 2025-04-28 15:13:28 [0.33ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550199 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 20 - 2025-04-28 15:13:28 [0.47ms] */
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` = 550199 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 21 - 2025-04-28 15:13:28 [0.23ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 550199 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 22 - 2025-04-28 15:13:28 [0.22ms] */
select * from `Payment` where `Payment`.`id` = 177899 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 23 - 2025-04-28 15:13:28 [0.22ms] */
select * from `payment_method` where `payment_method`.`id` = 1 and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 24 - 2025-04-28 15:13:28 [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/trns/i/550199
   Query 25 - 2025-04-28 15:13:28 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-04-28 15:13:44 [1.32ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-28 15:13:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-28 15:13:44 [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-04-28 15:13:44 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-28 15:13:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-28 15:13:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-28 15:13:44 [2.16ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 161 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-04-28 15:13:44 [1.6ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 161 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-28 15:13:44 [1.75ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-28 15:13:44 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-28 15:13:44 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-28 15:13:44 [0.3ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-28 15:13:44 [0.41ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-28 15:13:44 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-28 15:13:44 [0.31ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-28 15:13:44 [0.37ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-28 15:13:44 [0.33ms] */
select `parent_id` from `transaction` where `id` in (574535) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-28 15:13:44 [135.46ms] */
select `id` from `transaction` where `parent_id` in (574542) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-28 15:13:44 [0.49ms] */
select * from `transaction` where `id` in (574542) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-28 15:13:44 [0.21ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-28 15:13:44 [0.51ms] */
select * from `invoice` where `transaction_id` = 574535 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-28 15:13:44 [0.24ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550192 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-28 15:13:44 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-28 15:13:44 [0.23ms] */
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 17 - 2025-04-28 15:13:44 [0.24ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-28 15:13:44 [0.22ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-28 15:13:44 [0.22ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-28 15:13:45 [1.24ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-28 15:13:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-28 15:13:45 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-28 15:13:45 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-28 15:13:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-28 15:13:45 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-28 15:13:45 [0.2ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-28 15:13:45 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-28 15:13:45 [0.13ms] */
select `parent_id` from `transaction` where `id` in (574535) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-28 15:13:45 [0.12ms] */
select `id` from `transaction` where `parent_id` in (574542) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-28 15:13:45 [0.16ms] */
select * from `transaction` where `id` in (574542) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-28 15:13:45 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-28 15:13:45 [0.16ms] */
select * from `invoice` where `transaction_id` = 574535 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-28 15:13:45 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550192 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-28 15:13:45 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-28 15:13:45 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-28 15:13:45 [0.14ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-28 15:13:45 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-28 15:13:45 [0.13ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 1 - 2025-04-28 15:13:46 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 2 - 2025-04-28 15:13:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 3 - 2025-04-28 15:13:46 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 4 - 2025-04-28 15:13:46 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 5 - 2025-04-28 15:13:46 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 6 - 2025-04-28 15:13:46 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 7 - 2025-04-28 15:13:46 [0.34ms] */
select * from `transaction` where `id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 8 - 2025-04-28 15:13:46 [0.73ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574535 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 9 - 2025-04-28 15:13:46 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 10 - 2025-04-28 15:13:46 [0.34ms] */
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` = 550192 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 11 - 2025-04-28 15:13:46 [0.73ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574535 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-28 15:13:46 [1.27ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-28 15:13:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-28 15:13:46 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-28 15:13:46 [0.16ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-28 15:13:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-28 15:13:46 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-28 15:13:46 [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): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 1 - 2025-04-28 15:13:51 [1.45ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 2 - 2025-04-28 15:13:51 [0.49ms] */
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/trns/i/550199
   Query 3 - 2025-04-28 15:13:51 [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/trns/i/550199
   Query 4 - 2025-04-28 15:13:51 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 5 - 2025-04-28 15:13:51 [0.18ms] */
select * from `payment_method` where `name` = 'Cash' and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 6 - 2025-04-28 15:13:51 [0.16ms] */
select * from `invoice` where `id` = 550199 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 7 - 2025-04-28 15:13:51 [0.2ms] */
select * from `transaction` where `transaction`.`id` in (574542) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 8 - 2025-04-28 15:13:51 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (99520) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 9 - 2025-04-28 15:13:51 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 10 - 2025-04-28 15:13:51 [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/trns/i/550199
   Query 11 - 2025-04-28 15:13:51 [0.13ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 12 - 2025-04-28 15:13:51 [0.14ms] */
select * from `party` where `party`.`id` in (64958) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 13 - 2025-04-28 15:13:51 [0.14ms] */
select * from `address` where `address`.`id` in (64958) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 14 - 2025-04-28 15:13:51 [0.15ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574542 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 15 - 2025-04-28 15:13:51 [0.13ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574542 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 16 - 2025-04-28 15:13:51 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 17 - 2025-04-28 15:13:51 [0.19ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 18 - 2025-04-28 15:13:51 [0.14ms] */
select * from `address` where `address`.`id` = 64958 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 19 - 2025-04-28 15:13:51 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550199 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 20 - 2025-04-28 15:13:51 [0.17ms] */
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` = 550199 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 21 - 2025-04-28 15:13:51 [0.13ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 550199 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 22 - 2025-04-28 15:13:51 [0.14ms] */
select * from `Payment` where `Payment`.`id` = 177899 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 23 - 2025-04-28 15:13:51 [0.13ms] */
select * from `payment_method` where `payment_method`.`id` = 1 and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 24 - 2025-04-28 15:13:52 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/550199
   Query 25 - 2025-04-28 15:13:52 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 1 - 2025-04-28 15:13:58 [2.04ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 2 - 2025-04-28 15:13:58 [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/w/wkflw/574542
   Query 3 - 2025-04-28 15:13:58 [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/w/wkflw/574542
   Query 4 - 2025-04-28 15:13:58 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 5 - 2025-04-28 15:13:58 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 6 - 2025-04-28 15:13:58 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 7 - 2025-04-28 15:13:58 [0.16ms] */
select * from `invoice` where `transaction_id` = 574542 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 8 - 2025-04-28 15:13:58 [0.13ms] */
select * from `invoice_payment` where `invoice_id` = 550199;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 9 - 2025-04-28 15:13:58 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 574542;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 10 - 2025-04-28 15:13:58 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574542 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 11 - 2025-04-28 15:13:58 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 12 - 2025-04-28 15:13:58 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 13 - 2025-04-28 15:13:58 [0.15ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 14 - 2025-04-28 15:13:58 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 15 - 2025-04-28 15:13:58 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 16 - 2025-04-28 15:13:59 [0.16ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 17 - 2025-04-28 15:13:59 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 18 - 2025-04-28 15:13:59 [0.18ms] */
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 `transaction`.`parent_id` = 574542 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 19 - 2025-04-28 15:13:59 [0.16ms] */
select sum(`invoice`.`total_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` = 574542 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 20 - 2025-04-28 15:13:59 [0.17ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 21 - 2025-04-28 15:13:59 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 22 - 2025-04-28 15:13:59 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 23 - 2025-04-28 15:13:59 [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/w/wkflw/574542
   Query 24 - 2025-04-28 15:13:59 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 25 - 2025-04-28 15:13:59 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 26 - 2025-04-28 15:13:59 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 27 - 2025-04-28 15:13:59 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 28 - 2025-04-28 15:13:59 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 29 - 2025-04-28 15:13:59 [0.14ms] */
select * from `model` where `model`.`id` = 328 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 30 - 2025-04-28 15:13:59 [0.14ms] */
select * from `make` where `make`.`id` = 12 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 31 - 2025-04-28 15:13:59 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 32 - 2025-04-28 15:13:59 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99520 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 33 - 2025-04-28 15:13:59 [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/w/wkflw/574542
   Query 34 - 2025-04-28 15:13:59 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 11 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 35 - 2025-04-28 15:13:59 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 15 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 36 - 2025-04-28 15:13:59 [0.16ms] */
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/w/wkflw/574542
   Query 37 - 2025-04-28 15:13:59 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 38 - 2025-04-28 15:13:59 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 39 - 2025-04-28 15:13:59 [0.15ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 40 - 2025-04-28 15:13:59 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 41 - 2025-04-28 15:13:59 [0.16ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 42 - 2025-04-28 15:13:59 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62332 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 43 - 2025-04-28 15:13:59 [0.15ms] */
select * from `address` where `address`.`id` = 64958 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 44 - 2025-04-28 15:13:59 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 45 - 2025-04-28 15:13:59 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 46 - 2025-04-28 15:13:59 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 47 - 2025-04-28 15:13:59 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 48 - 2025-04-28 15:13:59 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 49 - 2025-04-28 15:13:59 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 50 - 2025-04-28 15:13:59 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 51 - 2025-04-28 15:13:59 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 52 - 2025-04-28 15:13:59 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 53 - 2025-04-28 15:13:59 [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/w/wkflw/574542
   Query 54 - 2025-04-28 15:13:59 [0.17ms] */
select * from `district` where `district`.`id` = 38 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 55 - 2025-04-28 15:13:59 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 56 - 2025-04-28 15:13:59 [0.17ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 57 - 2025-04-28 15:13:59 [0.16ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 58 - 2025-04-28 15:13:59 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 59 - 2025-04-28 15:13:59 [0.15ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 60 - 2025-04-28 15:13:59 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 61 - 2025-04-28 15:13:59 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 62 - 2025-04-28 15:13:59 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 63 - 2025-04-28 15:13:59 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 64 - 2025-04-28 15:13:59 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 65 - 2025-04-28 15:13:59 [0.28ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 66 - 2025-04-28 15:13:59 [0.25ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 67 - 2025-04-28 15:13:59 [0.23ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 68 - 2025-04-28 15:13:59 [0.23ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 69 - 2025-04-28 15:13:59 [0.23ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 70 - 2025-04-28 15:13:59 [0.42ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 71 - 2025-04-28 15:13:59 [0.26ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 72 - 2025-04-28 15:13:59 [0.21ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 73 - 2025-04-28 15:13:59 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-04-28 15:14:02 [1.33ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-04-28 15:14:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-04-28 15:14:02 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-04-28 15:14:02 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-04-28 15:14:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-04-28 15:14:02 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-04-28 15:14:02 [0.31ms] */
select * from `vehicle_tax` where `id` = 464446 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-04-28 15:14:02 [0.58ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 1 - 2025-04-28 15:14:09 [1.53ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 2 - 2025-04-28 15:14: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/w/wkflw/574542
   Query 3 - 2025-04-28 15:14:09 [0.57ms] */
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/w/wkflw/574542
   Query 4 - 2025-04-28 15:14:09 [0.56ms] */
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/w/wkflw/574542
   Query 5 - 2025-04-28 15:14:09 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 6 - 2025-04-28 15:14:09 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 7 - 2025-04-28 15:14:09 [0.25ms] */
select * from `invoice` where `transaction_id` = 574542 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 8 - 2025-04-28 15:14:09 [0.2ms] */
select * from `invoice_payment` where `invoice_id` = 550199;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 9 - 2025-04-28 15:14:09 [0.2ms] */
select * from `payment_documents` where `transaction_id` = 574542;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 10 - 2025-04-28 15:14:09 [0.21ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574542 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 11 - 2025-04-28 15:14:09 [0.26ms] */
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/w/wkflw/574542
   Query 12 - 2025-04-28 15:14:09 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 13 - 2025-04-28 15:14:09 [0.23ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 14 - 2025-04-28 15:14:09 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 15 - 2025-04-28 15:14:09 [0.2ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 16 - 2025-04-28 15:14:09 [0.16ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 17 - 2025-04-28 15:14:09 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 18 - 2025-04-28 15:14:09 [0.18ms] */
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 `transaction`.`parent_id` = 574542 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 19 - 2025-04-28 15:14:09 [0.16ms] */
select sum(`invoice`.`total_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` = 574542 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 20 - 2025-04-28 15:14:09 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 21 - 2025-04-28 15:14:09 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 22 - 2025-04-28 15:14:09 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 23 - 2025-04-28 15:14:09 [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/w/wkflw/574542
   Query 24 - 2025-04-28 15:14:09 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 25 - 2025-04-28 15:14:09 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 26 - 2025-04-28 15:14:09 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 27 - 2025-04-28 15:14:09 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 28 - 2025-04-28 15:14:09 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 29 - 2025-04-28 15:14:09 [0.14ms] */
select * from `model` where `model`.`id` = 328 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 30 - 2025-04-28 15:14:09 [0.14ms] */
select * from `make` where `make`.`id` = 12 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 31 - 2025-04-28 15:14:09 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 32 - 2025-04-28 15:14:09 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99520 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 33 - 2025-04-28 15:14:09 [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/w/wkflw/574542
   Query 34 - 2025-04-28 15:14:09 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 11 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 35 - 2025-04-28 15:14:09 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 15 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 36 - 2025-04-28 15:14:09 [0.14ms] */
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/w/wkflw/574542
   Query 37 - 2025-04-28 15:14:09 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 38 - 2025-04-28 15:14:09 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 39 - 2025-04-28 15:14:09 [0.15ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 40 - 2025-04-28 15:14:09 [0.14ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 41 - 2025-04-28 15:14:09 [0.17ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 42 - 2025-04-28 15:14:09 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62332 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 43 - 2025-04-28 15:14:09 [0.14ms] */
select * from `address` where `address`.`id` = 64958 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 44 - 2025-04-28 15:14:09 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 45 - 2025-04-28 15:14:09 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 46 - 2025-04-28 15:14:09 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 47 - 2025-04-28 15:14:09 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 48 - 2025-04-28 15:14:09 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 49 - 2025-04-28 15:14:09 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 50 - 2025-04-28 15:14:09 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 51 - 2025-04-28 15:14:09 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 52 - 2025-04-28 15:14:09 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 53 - 2025-04-28 15:14:09 [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/w/wkflw/574542
   Query 54 - 2025-04-28 15:14:09 [0.15ms] */
select * from `district` where `district`.`id` = 38 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 55 - 2025-04-28 15:14:09 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 56 - 2025-04-28 15:14:09 [0.48ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 57 - 2025-04-28 15:14:09 [0.32ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 58 - 2025-04-28 15:14:09 [0.25ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 59 - 2025-04-28 15:14:09 [0.28ms] */
select * from `users` where `users`.`id` = 161 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 60 - 2025-04-28 15:14:09 [0.24ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 61 - 2025-04-28 15:14:09 [0.28ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 62 - 2025-04-28 15:14:09 [0.21ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 63 - 2025-04-28 15:14:09 [0.24ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 64 - 2025-04-28 15:14:09 [0.21ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 65 - 2025-04-28 15:14:09 [0.25ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 66 - 2025-04-28 15:14:09 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 67 - 2025-04-28 15:14:09 [0.21ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 68 - 2025-04-28 15:14:09 [0.21ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 69 - 2025-04-28 15:14:09 [0.21ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 70 - 2025-04-28 15:14:09 [0.33ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 71 - 2025-04-28 15:14:09 [0.16ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 72 - 2025-04-28 15:14:09 [0.28ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 73 - 2025-04-28 15:14:09 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-04-28 15:14:15 [1.41ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-28 15:14:15 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-28 15:14:15 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-04-28 15:14:15 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-28 15:14:15 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-28 15:14:15 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-28 15:14:15 [0.23ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 161 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-04-28 15:14:15 [0.21ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 161 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-28 15:14:16 [2ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-28 15:14:16 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-28 15:14:16 [0.35ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-28 15:14:16 [0.35ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-28 15:14:16 [0.32ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-28 15:14:16 [0.35ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-28 15:14:16 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-28 15:14:16 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-28 15:14:16 [0.13ms] */
select `parent_id` from `transaction` where `id` in (574535) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-28 15:14:16 [0.11ms] */
select `id` from `transaction` where `parent_id` in (574542) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-28 15:14:16 [0.15ms] */
select * from `transaction` where `id` in (574542) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-28 15:14:16 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-28 15:14:16 [0.16ms] */
select * from `invoice` where `transaction_id` = 574535 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-28 15:14:16 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550192 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-28 15:14:16 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-28 15:14:16 [0.15ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-28 15:14:16 [0.14ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-28 15:14:16 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-28 15:14:16 [0.13ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-28 15:14:16 [1.32ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-28 15:14:16 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-28 15:14:16 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-28 15:14:16 [0.19ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-28 15:14:16 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-28 15:14:16 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-28 15:14:16 [0.31ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-28 15:14:16 [0.26ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-28 15:14:16 [0.26ms] */
select `parent_id` from `transaction` where `id` in (574535) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-28 15:14:16 [0.12ms] */
select `id` from `transaction` where `parent_id` in (574542) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-28 15:14:16 [0.16ms] */
select * from `transaction` where `id` in (574542) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-28 15:14:16 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-28 15:14:16 [0.16ms] */
select * from `invoice` where `transaction_id` = 574535 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-28 15:14:16 [0.16ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 550192 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-28 15:14:16 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-28 15:14:16 [0.15ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-28 15:14:16 [0.16ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-28 15:14:16 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-28 15:14:16 [0.13ms] */
select * from `user_accounts` where `user_id` = 161 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 1 - 2025-04-28 15:14:17 [1.35ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 2 - 2025-04-28 15:14:17 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 3 - 2025-04-28 15:14:17 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 4 - 2025-04-28 15:14:17 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 5 - 2025-04-28 15:14:17 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 6 - 2025-04-28 15:14:17 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 7 - 2025-04-28 15:14:17 [0.18ms] */
select * from `transaction` where `id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 8 - 2025-04-28 15:14:17 [0.19ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574535 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 9 - 2025-04-28 15:14:17 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 10 - 2025-04-28 15:14:17 [0.19ms] */
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` = 550192 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/workflow
   Query 11 - 2025-04-28 15:14:17 [0.15ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 574535 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-28 15:14:17 [1.7ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-28 15:14:17 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-28 15:14:17 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-28 15:14:17 [0.31ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-28 15:14:17 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-28 15:14:17 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-28 15:14:17 [0.37ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-04-28 15:14:24 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-04-28 15:14:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-04-28 15:14:24 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-04-28 15:14:24 [0.19ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-04-28 15:14:24 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-04-28 15:14:24 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-04-28 15:14:24 [0.17ms] */
select * from `vehicle_tax` where `id` = 464446 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-04-28 15:14:24 [0.15ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 1 - 2025-04-28 15:14:33 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 2 - 2025-04-28 15:14:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 3 - 2025-04-28 15:14:33 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 4 - 2025-04-28 15:14:33 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 5 - 2025-04-28 15:14:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 6 - 2025-04-28 15:14:33 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 7 - 2025-04-28 15:14:33 [0.3ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 636451 and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 8 - 2025-04-28 15:14:33 [0.16ms] */
select * from `vehicle_tax` where `id` = 464446 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 9 - 2025-04-28 15:14:33 [11.4ms] */
update `vehicle_tax` set `tax_sticker_id` = 636451, `vehicle_tax`.`updated_at` = '2025-04-28 15:14:33' where `id` = 464446;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 10 - 2025-04-28 15:14:33 [0.35ms] */
select * from `vehicle_tax` where `id` = 464446 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 11 - 2025-04-28 15:14:33 [3.52ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"tax_sticker_id":636451},"old":{"tax_sticker_id":null}}', 161, 'App\Models\User', 464446, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-28 15:14:33', '2025-04-28 15:14:33');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/assign_sticker_code
   Query 12 - 2025-04-28 15:14:33 [5.08ms] */
update `tax_sticker` set `assigned` = 'Y', `updated_by` = 161, `tax_sticker`.`updated_at` = '2025-04-28 15:14:33' where `id` = 636451;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 1 - 2025-04-28 15:14:33 [1.31ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 2 - 2025-04-28 15:14:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 3 - 2025-04-28 15:14:33 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 4 - 2025-04-28 15:14:33 [0.17ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 5 - 2025-04-28 15:14:33 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a3fd1bc342ffd409e539b63d53bc75621472331b1acbe7e881bdd8ad99467df25de1b8d56bba4425' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 6 - 2025-04-28 15:14:33 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 7 - 2025-04-28 15:14:33 [0.33ms] */
select * from `vehicle_tax` where `id` in (464446) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 8 - 2025-04-28 15:14:33 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 9 - 2025-04-28 15:14:33 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 10 - 2025-04-28 15:14:33 [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): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 11 - 2025-04-28 15:14:33 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 12 - 2025-04-28 15:14:33 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 13 - 2025-04-28 15:14:33 [0.37ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574535, 'APPROVED', '2025-04-28 15:14:33', 8, 161, null, 161, 161, '2025-04-28 15:14:33', '2025-04-28 15:14:33');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 14 - 2025-04-28 15:14:33 [0.28ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 15 - 2025-04-28 15:14:33 [0.34ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-04-28 15:14:33' where `id` = 574535;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 16 - 2025-04-28 15:14:33 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 17 - 2025-04-28 15:14:33 [0.24ms] */
select * from `vehicle_tax` where `transaction_id` = 574535 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 18 - 2025-04-28 15:14:33 [0.17ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-04-28 15:14:33' where `id` = 464446;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 19 - 2025-04-28 15:14:33 [0.18ms] */
select * from `vehicle_tax` where `id` = 464446 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 20 - 2025-04-28 15:14:33 [0.4ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"ISSUED"},"old":{"status":"PAID"}}', 161, 'App\Models\User', 464446, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-28 15:14:33', '2025-04-28 15:14:33');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 21 - 2025-04-28 15:14:33 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 22 - 2025-04-28 15:14:33 [0.26ms] */
select * from `transaction` where `id` = 574535 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 23 - 2025-04-28 15:14:33 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 24 - 2025-04-28 15:14:33 [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/complete_transaction
   Query 25 - 2025-04-28 15:14:33 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 26 - 2025-04-28 15:14:33 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 27 - 2025-04-28 15:14:33 [0.31ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574542, 'APPROVED', '2025-04-28 15:14:33', 8, 161, null, 161, 161, '2025-04-28 15:14:33', '2025-04-28 15:14:33');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 28 - 2025-04-28 15:14:33 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 29 - 2025-04-28 15:14:33 [0.42ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-04-28 15:14:33' where `id` = 574542;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 30 - 2025-04-28 15:14:33 [0.22ms] */
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/complete_transaction
   Query 31 - 2025-04-28 15:14:33 [0.32ms] */
select * from `vehicle_tax` where `transaction_id` = 574542 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 32 - 2025-04-28 15:14:33 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 550199 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 33 - 2025-04-28 15:14:33 [0.25ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 34 - 2025-04-28 15:14:33 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 35 - 2025-04-28 15:14:33 [0.25ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 36 - 2025-04-28 15:14:33 [0.27ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 37 - 2025-04-28 15:14:33 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 38 - 2025-04-28 15:14:33 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 39 - 2025-04-28 15:14:33 [0.28ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 550192 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 40 - 2025-04-28 15:14:33 [0.17ms] */
select * from `Payment` where `Payment`.`id` = 177899 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 41 - 2025-04-28 15:14:33 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/complete_transaction
   Query 42 - 2025-04-28 15:14:33 [0.24ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 636451 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 1 - 2025-04-28 15:14:41 [2.57ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 2 - 2025-04-28 15:14:41 [0.74ms] */
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/w/wkflw/574542
   Query 3 - 2025-04-28 15:14:41 [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/w/wkflw/574542
   Query 4 - 2025-04-28 15:14:41 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 5 - 2025-04-28 15:14:41 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 6 - 2025-04-28 15:14:41 [0.31ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 7 - 2025-04-28 15:14:41 [0.16ms] */
select * from `invoice` where `transaction_id` = 574542 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 8 - 2025-04-28 15:14:41 [0.15ms] */
select * from `invoice_payment` where `invoice_id` = 550199;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 9 - 2025-04-28 15:14:41 [0.13ms] */
select * from `payment_documents` where `transaction_id` = 574542;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 10 - 2025-04-28 15:14:41 [0.15ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 574542 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 11 - 2025-04-28 15:14:41 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 12 - 2025-04-28 15:14:41 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 13 - 2025-04-28 15:14:41 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 574542 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 14 - 2025-04-28 15:14:42 [586.92ms] */
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 `transaction`.`parent_id` = 574542 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 15 - 2025-04-28 15:14:42 [470.22ms] */
select sum(`invoice`.`total_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` = 574542 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 16 - 2025-04-28 15:14:42 [0.25ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 17 - 2025-04-28 15:14:42 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 574535 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 18 - 2025-04-28 15:14:42 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 550192 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 19 - 2025-04-28 15:14:42 [0.14ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 636451 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 20 - 2025-04-28 15:14:42 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 21 - 2025-04-28 15:14:42 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 22 - 2025-04-28 15:14:42 [0.43ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 23 - 2025-04-28 15:14:43 [300.67ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 24 - 2025-04-28 15:14:43 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 25 - 2025-04-28 15:14:43 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 99520 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 26 - 2025-04-28 15:14:43 [0.16ms] */
select * from `model` where `model`.`id` = 328 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 27 - 2025-04-28 15:14:43 [0.17ms] */
select * from `make` where `make`.`id` = 12 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 28 - 2025-04-28 15:14:43 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 29 - 2025-04-28 15:14:43 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 99520 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 30 - 2025-04-28 15:14:43 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 31 - 2025-04-28 15:14:43 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 11 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 32 - 2025-04-28 15:14:43 [0.15ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 15 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 33 - 2025-04-28 15:14:43 [0.15ms] */
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/w/wkflw/574542
   Query 34 - 2025-04-28 15:14:43 [0.17ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 35 - 2025-04-28 15:14:43 [0.14ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 36 - 2025-04-28 15:14:43 [0.17ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 37 - 2025-04-28 15:14:43 [0.17ms] */
select * from `party` where `party`.`id` = 64958 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 38 - 2025-04-28 15:14:43 [0.17ms] */
select * from `person` where `person`.`id` = 62332 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 39 - 2025-04-28 15:14:43 [0.17ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62332 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 40 - 2025-04-28 15:14:43 [0.16ms] */
select * from `address` where `address`.`id` = 64958 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 41 - 2025-04-28 15:14:43 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 42 - 2025-04-28 15:14:43 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 43 - 2025-04-28 15:14:43 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 44 - 2025-04-28 15:14:43 [0.14ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 45 - 2025-04-28 15:14:43 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 46 - 2025-04-28 15:14:43 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 47 - 2025-04-28 15:14:43 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 574542 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 48 - 2025-04-28 15:14:43 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 49 - 2025-04-28 15:14:43 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 99883 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 50 - 2025-04-28 15:14:43 [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/w/wkflw/574542
   Query 51 - 2025-04-28 15:14:43 [0.16ms] */
select * from `district` where `district`.`id` = 38 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/574542
   Query 52 - 2025-04-28 15:14:43 [0.15ms] */
