select * from `transaction` where `transaction`.`id` = 348372 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 78 - 2025-03-17 09:33:56 [0.21ms] */
update `transaction` set `tax_collection_point_id` = 27, `deliver_district_id` = 37, `parent_id` = 510991, `child` = 'Y', `grouped` = 'Y', `updated_by` = 5, `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 348372;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 79 - 2025-03-17 09:33:56 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 326489 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 80 - 2025-03-17 09:33:56 [0.17ms] */
update `invoice` set `parent_id` = 486664, `grouped` = 'Y', `invoice`.`updated_at` = '2025-03-17 09:33:56' where `id` = 326489;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 81 - 2025-03-17 09:33:56 [0.19ms] */
select * from `invoice` where `id` = 326489 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 82 - 2025-03-17 09:33:56 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":486664,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 326489, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 83 - 2025-03-17 09:33:56 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 348372 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 84 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 85 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 86 - 2025-03-17 09:33:56 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 87 - 2025-03-17 09:33:56 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 88 - 2025-03-17 09:33:56 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (348372, 'APPROVED', '2025-03-17 09:33:56', 5, 5, null, 5, 5, '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 89 - 2025-03-17 09:33:56 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 90 - 2025-03-17 09:33:56 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 348372;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 91 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 92 - 2025-03-17 09:33:56 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 326489 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 93 - 2025-03-17 09:33:56 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 257364 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 94 - 2025-03-17 09:33:56 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2025-03-17 09:33:56' where `id` = 257364;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 95 - 2025-03-17 09:33:56 [0.2ms] */
select * from `vehicle_tax` where `id` = 257364 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 96 - 2025-03-17 09:33:56 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 257364, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 97 - 2025-03-17 09:33:56 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 348373 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 98 - 2025-03-17 09:33:56 [0.21ms] */
update `transaction` set `tax_collection_point_id` = 27, `deliver_district_id` = 37, `parent_id` = 510991, `child` = 'Y', `grouped` = 'Y', `updated_by` = 5, `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 348373;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 99 - 2025-03-17 09:33:56 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 326490 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 100 - 2025-03-17 09:33:56 [0.16ms] */
update `invoice` set `parent_id` = 486664, `grouped` = 'Y', `invoice`.`updated_at` = '2025-03-17 09:33:56' where `id` = 326490;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 101 - 2025-03-17 09:33:56 [0.19ms] */
select * from `invoice` where `id` = 326490 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 102 - 2025-03-17 09:33:56 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":486664,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 326490, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 103 - 2025-03-17 09:33:56 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 348373 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 104 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 105 - 2025-03-17 09:33:56 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 106 - 2025-03-17 09:33:56 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 107 - 2025-03-17 09:33:56 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 108 - 2025-03-17 09:33:56 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (348373, 'APPROVED', '2025-03-17 09:33:56', 5, 5, null, 5, 5, '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 109 - 2025-03-17 09:33:56 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 110 - 2025-03-17 09:33:56 [0.29ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 348373;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 111 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 112 - 2025-03-17 09:33:56 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 326490 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 113 - 2025-03-17 09:33:56 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 257365 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 114 - 2025-03-17 09:33:56 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2025-03-17 09:33:56' where `id` = 257365;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 115 - 2025-03-17 09:33:56 [0.18ms] */
select * from `vehicle_tax` where `id` = 257365 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 116 - 2025-03-17 09:33:56 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 257365, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 117 - 2025-03-17 09:33:56 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 348374 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 118 - 2025-03-17 09:33:56 [0.2ms] */
update `transaction` set `tax_collection_point_id` = 27, `deliver_district_id` = 37, `parent_id` = 510991, `child` = 'Y', `grouped` = 'Y', `updated_by` = 5, `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 348374;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 119 - 2025-03-17 09:33:56 [0.53ms] */
select * from `invoice` where `invoice`.`id` = 326491 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 120 - 2025-03-17 09:33:56 [0.36ms] */
update `invoice` set `parent_id` = 486664, `grouped` = 'Y', `invoice`.`updated_at` = '2025-03-17 09:33:56' where `id` = 326491;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 121 - 2025-03-17 09:33:56 [0.34ms] */
select * from `invoice` where `id` = 326491 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 122 - 2025-03-17 09:33:56 [0.35ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":486664,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 326491, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 123 - 2025-03-17 09:33:56 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 348374 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 124 - 2025-03-17 09:33:56 [0.31ms] */
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/livewire/message/service.tax-component
   Query 125 - 2025-03-17 09:33:56 [0.3ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 126 - 2025-03-17 09:33:56 [0.32ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 127 - 2025-03-17 09:33:56 [0.29ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 128 - 2025-03-17 09:33:56 [0.38ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (348374, 'APPROVED', '2025-03-17 09:33:56', 5, 5, null, 5, 5, '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 129 - 2025-03-17 09:33:56 [0.39ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 130 - 2025-03-17 09:33:56 [0.4ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 348374;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 131 - 2025-03-17 09:33:56 [0.31ms] */
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/livewire/message/service.tax-component
   Query 132 - 2025-03-17 09:33:56 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 326491 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 133 - 2025-03-17 09:33:56 [0.34ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 257366 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 134 - 2025-03-17 09:33:56 [0.26ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2025-03-17 09:33:56' where `id` = 257366;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 135 - 2025-03-17 09:33:56 [0.18ms] */
select * from `vehicle_tax` where `id` = 257366 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 136 - 2025-03-17 09:33:56 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 257366, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 137 - 2025-03-17 09:33:56 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 348375 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 138 - 2025-03-17 09:33:56 [0.21ms] */
update `transaction` set `tax_collection_point_id` = 27, `deliver_district_id` = 37, `parent_id` = 510991, `child` = 'Y', `grouped` = 'Y', `updated_by` = 5, `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 348375;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 139 - 2025-03-17 09:33:56 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 326492 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 140 - 2025-03-17 09:33:56 [0.17ms] */
update `invoice` set `parent_id` = 486664, `grouped` = 'Y', `invoice`.`updated_at` = '2025-03-17 09:33:56' where `id` = 326492;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 141 - 2025-03-17 09:33:56 [0.19ms] */
select * from `invoice` where `id` = 326492 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 142 - 2025-03-17 09:33:56 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":486664,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 326492, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 143 - 2025-03-17 09:33:56 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 348375 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 144 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 145 - 2025-03-17 09:33:56 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 146 - 2025-03-17 09:33:56 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 147 - 2025-03-17 09:33:56 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 148 - 2025-03-17 09:33:56 [0.22ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (348375, 'APPROVED', '2025-03-17 09:33:56', 5, 5, null, 5, 5, '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 149 - 2025-03-17 09:33:56 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 150 - 2025-03-17 09:33:56 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 348375;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 151 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 152 - 2025-03-17 09:33:56 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 326492 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 153 - 2025-03-17 09:33:56 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 257367 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 154 - 2025-03-17 09:33:56 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2025-03-17 09:33:56' where `id` = 257367;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 155 - 2025-03-17 09:33:56 [0.18ms] */
select * from `vehicle_tax` where `id` = 257367 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 156 - 2025-03-17 09:33:56 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 257367, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 157 - 2025-03-17 09:33:56 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 348376 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 158 - 2025-03-17 09:33:56 [0.21ms] */
update `transaction` set `tax_collection_point_id` = 27, `deliver_district_id` = 37, `parent_id` = 510991, `child` = 'Y', `grouped` = 'Y', `updated_by` = 5, `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 348376;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 159 - 2025-03-17 09:33:56 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 326493 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 160 - 2025-03-17 09:33:56 [0.16ms] */
update `invoice` set `parent_id` = 486664, `grouped` = 'Y', `invoice`.`updated_at` = '2025-03-17 09:33:56' where `id` = 326493;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 161 - 2025-03-17 09:33:56 [0.19ms] */
select * from `invoice` where `id` = 326493 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 162 - 2025-03-17 09:33:56 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":486664,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 326493, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 163 - 2025-03-17 09:33:56 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 348376 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 164 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 165 - 2025-03-17 09:33:56 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 166 - 2025-03-17 09:33:56 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 167 - 2025-03-17 09:33:56 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 168 - 2025-03-17 09:33:56 [0.21ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (348376, 'APPROVED', '2025-03-17 09:33:56', 5, 5, null, 5, 5, '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 169 - 2025-03-17 09:33:56 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 170 - 2025-03-17 09:33:56 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 348376;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 171 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 172 - 2025-03-17 09:33:56 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 326493 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 173 - 2025-03-17 09:33:56 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 401195 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 174 - 2025-03-17 09:33:56 [0.34ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2025-03-17 09:33:56' where `id` = 401195;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 175 - 2025-03-17 09:33:56 [0.17ms] */
select * from `vehicle_tax` where `id` = 401195 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 176 - 2025-03-17 09:33:56 [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":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 401195, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 177 - 2025-03-17 09:33:56 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 510987 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 178 - 2025-03-17 09:33:56 [0.21ms] */
update `transaction` set `tax_collection_point_id` = 27, `parent_id` = 510991, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 510987;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 179 - 2025-03-17 09:33:56 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 486660 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 180 - 2025-03-17 09:33:56 [0.16ms] */
update `invoice` set `parent_id` = 486664, `grouped` = 'Y', `invoice`.`updated_at` = '2025-03-17 09:33:56' where `id` = 486660;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 181 - 2025-03-17 09:33:56 [0.2ms] */
select * from `invoice` where `id` = 486660 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 182 - 2025-03-17 09:33:56 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":486664,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 486660, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 183 - 2025-03-17 09:33:56 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 510987 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 184 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 185 - 2025-03-17 09:33:56 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 186 - 2025-03-17 09:33:56 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 187 - 2025-03-17 09:33:56 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 188 - 2025-03-17 09:33:56 [0.21ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510987, 'APPROVED', '2025-03-17 09:33:56', 5, 5, null, 5, 5, '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 189 - 2025-03-17 09:33:56 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 190 - 2025-03-17 09:33:56 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 510987;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 191 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 192 - 2025-03-17 09:33:56 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 486660 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 193 - 2025-03-17 09:33:56 [0.17ms] */
update `transaction` set `invoice_id` = 486664, `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 510991;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 194 - 2025-03-17 09:33:56 [0.5ms] */
update `vehicle` set `updated_by` = 5, `vehicle`.`updated_at` = '2025-03-17 09:33:56' where `id` = 76759;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 195 - 2025-03-17 09:33:56 [0.2ms] */
select * from `vehicle` where `id` = 76759 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 196 - 2025-03-17 09:33:56 [0.24ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 76759, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 197 - 2025-03-17 09:33:56 [0.3ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":1}', '{"updated_by":5}', 'updated', 76759, 'Modules\Vehicle\Entities\Vehicle', 5, 'App\Models\User', null, '49.47.216.81', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/service.tax-component', '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 198 - 2025-03-17 09:33:56 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 510991 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 199 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 200 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 201 - 2025-03-17 09:33:56 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 202 - 2025-03-17 09:33:56 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 203 - 2025-03-17 09:33:56 [0.22ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510991, 'APPROVED', '2025-03-17 09:33:56', 5, 5, null, 5, 5, '2025-03-17 09:33:56', '2025-03-17 09:33:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 204 - 2025-03-17 09:33:56 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 205 - 2025-03-17 09:33:56 [0.22ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-03-17 09:33:56' where `id` = 510991;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 206 - 2025-03-17 09:33:56 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 207 - 2025-03-17 09:33:56 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 486664 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 1 - 2025-03-17 09:33:56 [1.78ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 2 - 2025-03-17 09:33:56 [0.65ms] */
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/mytrn
   Query 3 - 2025-03-17 09:33:56 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 4 - 2025-03-17 09:33:56 [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/m/mytrn
   Query 5 - 2025-03-17 09:33:56 [6.95ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 5 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 6 - 2025-03-17 09:33:56 [7.88ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 5 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 7 - 2025-03-17 09:33:56 [0.25ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 8 - 2025-03-17 09:33:56 [0.27ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 9 - 2025-03-17 09:33:56 [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/mytrn
   Query 10 - 2025-03-17 09:33:56 [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/mytrn
   Query 11 - 2025-03-17 09:33:56 [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/mytrn
   Query 12 - 2025-03-17 09:33:56 [0.2ms] */
select * from `party` where `party`.`id` = 54467 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 13 - 2025-03-17 09:33:56 [0.19ms] */
select * from `person` where `person`.`id` = 54467 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 14 - 2025-03-17 09:33:56 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 76759 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 15 - 2025-03-17 09:33:56 [1.4ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 16 - 2025-03-17 09:33:56 [0.26ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 17 - 2025-03-17 09:33:56 [0.22ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 18 - 2025-03-17 09:33:56 [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/mytrn
   Query 19 - 2025-03-17 09:33:56 [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/mytrn
   Query 20 - 2025-03-17 09:33:56 [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/mytrn
   Query 21 - 2025-03-17 09:33:56 [0.14ms] */
select * from `party` where `party`.`id` = 54467 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 22 - 2025-03-17 09:33:56 [0.18ms] */
select * from `person` where `person`.`id` = 54467 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 23 - 2025-03-17 09:33:56 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 76759 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 24 - 2025-03-17 09:33:56 [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/mytrn
   Query 25 - 2025-03-17 09:33:56 [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/mytrn
   Query 26 - 2025-03-17 09:33:56 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 27 - 2025-03-17 09:33:56 [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/mytrn
   Query 28 - 2025-03-17 09:33:56 [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/mytrn
   Query 29 - 2025-03-17 09:33:56 [0.14ms] */
select * from `party` where `party`.`id` = 54467 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 30 - 2025-03-17 09:33:56 [0.2ms] */
select * from `person` where `person`.`id` = 54467 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 31 - 2025-03-17 09:33:56 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 76759 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 32 - 2025-03-17 09:33:56 [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/mytrn
   Query 33 - 2025-03-17 09:33:56 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 34 - 2025-03-17 09:33:56 [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/mytrn
   Query 35 - 2025-03-17 09:33:56 [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/mytrn
   Query 36 - 2025-03-17 09:33:56 [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/mytrn
   Query 37 - 2025-03-17 09:33:56 [0.14ms] */
select * from `party` where `party`.`id` = 54467 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 38 - 2025-03-17 09:33:56 [0.16ms] */
select * from `person` where `person`.`id` = 54467 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 39 - 2025-03-17 09:33:56 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 76759 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 40 - 2025-03-17 09:33:56 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 41 - 2025-03-17 09:33:56 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 42 - 2025-03-17 09:33:56 [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/mytrn
   Query 43 - 2025-03-17 09:33:56 [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/mytrn
   Query 44 - 2025-03-17 09:33:56 [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/mytrn
   Query 45 - 2025-03-17 09:33:56 [0.14ms] */
select * from `party` where `party`.`id` = 36575 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 46 - 2025-03-17 09:33:56 [0.18ms] */
select * from `person` where `person`.`id` = 36575 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 47 - 2025-03-17 09:33:56 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 52 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 48 - 2025-03-17 09:33:56 [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/mytrn
   Query 49 - 2025-03-17 09:33:56 [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/mytrn
   Query 50 - 2025-03-17 09:33:56 [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/m/mytrn
   Query 51 - 2025-03-17 09:33:56 [0.29ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 52 - 2025-03-17 09:33:56 [0.2ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 53 - 2025-03-17 09:33:56 [0.19ms] */
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/mytrn
   Query 54 - 2025-03-17 09:33:56 [0.14ms] */
select * from `party` where `party`.`id` = 64954 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 55 - 2025-03-17 09:33:56 [0.15ms] */
select * from `person` where `person`.`id` = 62330 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 56 - 2025-03-17 09:33:56 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 99508 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 57 - 2025-03-17 09:33:56 [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/m/mytrn
   Query 58 - 2025-03-17 09:33:56 [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/mytrn
   Query 59 - 2025-03-17 09:33:56 [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/mytrn
   Query 60 - 2025-03-17 09:33:56 [0.14ms] */
select * from `party` where `party`.`id` = 64954 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 61 - 2025-03-17 09:33:56 [0.15ms] */
select * from `person` where `person`.`id` = 62330 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 62 - 2025-03-17 09:33:56 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 99507 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 63 - 2025-03-17 09:33:56 [0.24ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 38 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 64 - 2025-03-17 09:33:56 [0.18ms] */
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/mytrn
   Query 65 - 2025-03-17 09:33:56 [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/mytrn
   Query 66 - 2025-03-17 09:33:56 [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/mytrn
   Query 67 - 2025-03-17 09:33:56 [0.14ms] */
select * from `party` where `party`.`id` = 64954 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 68 - 2025-03-17 09:33:56 [0.15ms] */
select * from `person` where `person`.`id` = 62330 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 69 - 2025-03-17 09:33:56 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 99507 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 70 - 2025-03-17 09:33:56 [0.29ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 71 - 2025-03-17 09:33:56 [0.2ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 72 - 2025-03-17 09:33:56 [0.2ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 73 - 2025-03-17 09:33:56 [0.14ms] */
select * from `party` where `party`.`id` = 209 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 74 - 2025-03-17 09:33:56 [0.15ms] */
select * from `person` where `person`.`id` = 209 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 75 - 2025-03-17 09:33:56 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 1 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 76 - 2025-03-17 09:33:56 [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/mytrn
   Query 77 - 2025-03-17 09:33:56 [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/mytrn
   Query 78 - 2025-03-17 09:33:56 [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/mytrn
   Query 79 - 2025-03-17 09:33:56 [0.3ms] */
select * from `party` where `party`.`id` = 45652 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 80 - 2025-03-17 09:33:56 [0.32ms] */
select * from `person` where `person`.`id` = 45652 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 81 - 2025-03-17 09:33:56 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 69406 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 82 - 2025-03-17 09:33:56 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 83 - 2025-03-17 09:33:56 [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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 84 - 2025-03-17 09:33:56 [0.18ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 85 - 2025-03-17 09:33:56 [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/mytrn
   Query 86 - 2025-03-17 09:33:56 [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/vehicle
   Query 1 - 2025-03-17 09:34:02 [2.56ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-17 09:34:02 [0.32ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-17 09:34:02 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-17 09:34:02 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-17 09:34:02 [0.21ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-17 09:34:02 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-17 09:34:02 [1.26ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_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` = 'FW175' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-03-17 09:34:02 [0.23ms] */
select * from `party` where `party`.`id` = 54467 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-17 09:34:02 [0.38ms] */
select * from `vehicle` where `id` = 76759 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-03-17 09:34:02 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 76759 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-03-17 09:34:03 [2.01ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-03-17 09:34:03 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-03-17 09:34:03 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-03-17 09:34:03 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-03-17 09:34:03 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-03-17 09:34:03 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-03-17 09:34:03 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 76759 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-03-17 09:34:03 [0.24ms] */
select * from `vehicle` where `id` = 76759 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-03-17 09:34:03 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 76759 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-03-17 09:34:03 [0.62ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 76759 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-03-17 09:34:03 [2.21ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-03-17 09:34:03 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-03-17 09:34:03 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-03-17 09:34:03 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-03-17 09:34:03 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-03-17 09:34:03 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-03-17 09:34:03 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:34:04 [2ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:34:04 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:34:04 [0.31ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:34:04 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:34:04 [0.3ms] */
select * from `oauth_access_tokens` where `id` = 'aed947a35358dc4374725823010899f2daf424a542de392fd3e83d5164488a1b4bf12f7788fc99e7' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:34:04 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:34:04 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:34:12 [2.08ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:34:12 [0.29ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:34:12 [0.43ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:34:12 [11.79ms] */
update `userprofiles` set `login_count` = 6205, `last_login` = '2025-03-17 09:34:12', `userprofiles`.`updated_at` = '2025-03-17 09:34:12' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:34:12 [0.33ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:34:12 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:34:12 [0.26ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:34:12 [0.16ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:34:12 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:34:12 [0.15ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:34:12 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:34:12 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:34:12 [3.13ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('b3957bc83aad21c5fdb3de517938ce5917e7cc5ce36cd39662f07635d402bdbfacb37bcba27b7bf8', 149, 5, '[]', 0, '2025-03-17 09:34:12', '2025-03-17 09:34:12', '2026-03-17 09:34:12');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:34:12 [0.56ms] */
select * from `oauth_access_tokens` where `id` = 'b3957bc83aad21c5fdb3de517938ce5917e7cc5ce36cd39662f07635d402bdbfacb37bcba27b7bf8' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:34:12 [3.19ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'b3957bc83aad21c5fdb3de517938ce5917e7cc5ce36cd39662f07635d402bdbfacb37bcba27b7bf8';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:36:01 [1.38ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:36:01 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:36:01 [0.54ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:36:01 [3.65ms] */
update `userprofiles` set `login_count` = 6206, `last_login` = '2025-03-17 09:36:01', `userprofiles`.`updated_at` = '2025-03-17 09:36:01' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:36:01 [0.17ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:36:01 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:36:01 [0.16ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:36:01 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:36:01 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:36:01 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:36:01 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:36:01 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:36:01 [3.05ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('09be5ee80ecb74eb12b78526dbc642f6ab78142eb1bc6787f63dcb0329d19a6c44b19d7798281bb4', 149, 5, '[]', 0, '2025-03-17 09:36:01', '2025-03-17 09:36:01', '2026-03-17 09:36:01');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:36:01 [0.38ms] */
select * from `oauth_access_tokens` where `id` = '09be5ee80ecb74eb12b78526dbc642f6ab78142eb1bc6787f63dcb0329d19a6c44b19d7798281bb4' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:36:01 [3.02ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '09be5ee80ecb74eb12b78526dbc642f6ab78142eb1bc6787f63dcb0329d19a6c44b19d7798281bb4';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:36:08 [2.06ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:36:08 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:36:08 [0.47ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:36:08 [8.93ms] */
update `userprofiles` set `login_count` = 6207, `last_login` = '2025-03-17 09:36:08', `userprofiles`.`updated_at` = '2025-03-17 09:36:08' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:36:08 [0.3ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:36:08 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:36:08 [0.25ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:36:08 [0.22ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:36:08 [0.2ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:36:08 [0.24ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:36:08 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:36:08 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:36:08 [3.39ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('f97bfaada19f0b5ff762fafe2b83a00a3bec8cf0a337527d23b9bd9bfe223786b431fbf538fa43e2', 149, 5, '[]', 0, '2025-03-17 09:36:08', '2025-03-17 09:36:08', '2026-03-17 09:36:08');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:36:08 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'f97bfaada19f0b5ff762fafe2b83a00a3bec8cf0a337527d23b9bd9bfe223786b431fbf538fa43e2' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:36:08 [2.95ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'f97bfaada19f0b5ff762fafe2b83a00a3bec8cf0a337527d23b9bd9bfe223786b431fbf538fa43e2';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:36:09 [1.96ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:36:09 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:36:09 [0.43ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:36:09 [9.03ms] */
update `userprofiles` set `login_count` = 6208, `last_login` = '2025-03-17 09:36:09', `userprofiles`.`updated_at` = '2025-03-17 09:36:09' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:36:09 [0.34ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:36:09 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:36:09 [0.31ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:36:09 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:36:09 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:36:09 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:36:09 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:36:09 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:36:09 [3.33ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('fe2b32f3888a67236dd8b709ec0a8d10dc1b01f13d86db0dfd225052db0eef54124fe7c2c1484606', 149, 5, '[]', 0, '2025-03-17 09:36:09', '2025-03-17 09:36:09', '2026-03-17 09:36:09');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:36:09 [0.39ms] */
select * from `oauth_access_tokens` where `id` = 'fe2b32f3888a67236dd8b709ec0a8d10dc1b01f13d86db0dfd225052db0eef54124fe7c2c1484606' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:36:09 [3.13ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'fe2b32f3888a67236dd8b709ec0a8d10dc1b01f13d86db0dfd225052db0eef54124fe7c2c1484606';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:36:12 [1.98ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:36:12 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:36:12 [0.39ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:36:12 [5.98ms] */
update `userprofiles` set `login_count` = 6209, `last_login` = '2025-03-17 09:36:12', `userprofiles`.`updated_at` = '2025-03-17 09:36:12' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:36:12 [0.25ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:36:12 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:36:12 [0.24ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:36:12 [0.21ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:36:12 [0.28ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:36:12 [0.26ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:36:12 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:36:12 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:36:12 [3.51ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('632ae1d57e9ddb9be0784c93054b3d4fcf463adb1cdceaa0bbab3d12a537d6c07a731af55058c86f', 149, 5, '[]', 0, '2025-03-17 09:36:12', '2025-03-17 09:36:12', '2026-03-17 09:36:12');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:36:12 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '632ae1d57e9ddb9be0784c93054b3d4fcf463adb1cdceaa0bbab3d12a537d6c07a731af55058c86f' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:36:12 [2.96ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '632ae1d57e9ddb9be0784c93054b3d4fcf463adb1cdceaa0bbab3d12a537d6c07a731af55058c86f';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:36:27 [1.55ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:36:27 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:36:27 [2.12ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:36:27 [6.51ms] */
update `userprofiles` set `login_count` = 6210, `last_login` = '2025-03-17 09:36:27', `userprofiles`.`updated_at` = '2025-03-17 09:36:27' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:36:27 [0.36ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:36:27 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:36:27 [0.26ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:36:27 [0.27ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:36:27 [0.2ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:36:27 [0.24ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:36:27 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:36:27 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:36:27 [5.78ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('8b723bdfc61e178fa4c68c56ab537772fcb98334aeebdab6bb0bb5ed1458786cbff44d0d77df7797', 149, 5, '[]', 0, '2025-03-17 09:36:27', '2025-03-17 09:36:27', '2026-03-17 09:36:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:36:27 [0.73ms] */
select * from `oauth_access_tokens` where `id` = '8b723bdfc61e178fa4c68c56ab537772fcb98334aeebdab6bb0bb5ed1458786cbff44d0d77df7797' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:36:27 [3.7ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '8b723bdfc61e178fa4c68c56ab537772fcb98334aeebdab6bb0bb5ed1458786cbff44d0d77df7797';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:37:25 [1.45ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:37:25 [0.2ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:37:25 [0.65ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:37:25 [6.75ms] */
update `userprofiles` set `login_count` = 6211, `last_login` = '2025-03-17 09:37:25', `userprofiles`.`updated_at` = '2025-03-17 09:37:25' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:37:25 [0.29ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:37:25 [0.67ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:37:25 [0.27ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:37:25 [0.21ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:37:25 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:37:25 [0.22ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:37:25 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:37:25 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:37:25 [3.41ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('87beb28d3e40dce7e52fce263a308118cfa7d269e9a050cc8ad3ce30b4bef8eaa7b88e0c8c81bf2d', 149, 5, '[]', 0, '2025-03-17 09:37:25', '2025-03-17 09:37:25', '2026-03-17 09:37:25');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:37:25 [0.32ms] */
select * from `oauth_access_tokens` where `id` = '87beb28d3e40dce7e52fce263a308118cfa7d269e9a050cc8ad3ce30b4bef8eaa7b88e0c8c81bf2d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:37:25 [3.05ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '87beb28d3e40dce7e52fce263a308118cfa7d269e9a050cc8ad3ce30b4bef8eaa7b88e0c8c81bf2d';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:38:06 [2.9ms] */
select * from `users` where `email` = 'apdalejaapiri@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:38:06 [0.27ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:38:06 [1.17ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 152 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:38:06 [9.04ms] */
update `userprofiles` set `last_ip` = '102.223.188.98', `login_count` = 1, `last_login` = '2025-03-17 09:38:06', `updated_by` = 152, `userprofiles`.`updated_at` = '2025-03-17 09:38:06' where `id` = 152;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:38:06 [0.7ms] */
select * from `users` where `email` = 'apdalejaapiri@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:38:06 [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/api/login
   Query 7 - 2025-03-17 09:38:06 [1.73ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (152) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:38:06 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:38:06 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:38:06 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:38:06 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:38:06 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:38:06 [4.88ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('bc52b36d4d1565cc19fe2701758b2c6a1e8b0fc8cf260fdae45ffb018fce1c584fd22ae33d0d4573', 152, 5, '[]', 0, '2025-03-17 09:38:06', '2025-03-17 09:38:06', '2026-03-17 09:38:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:38:06 [0.41ms] */
select * from `oauth_access_tokens` where `id` = 'bc52b36d4d1565cc19fe2701758b2c6a1e8b0fc8cf260fdae45ffb018fce1c584fd22ae33d0d4573' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:38:06 [3.47ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'bc52b36d4d1565cc19fe2701758b2c6a1e8b0fc8cf260fdae45ffb018fce1c584fd22ae33d0d4573';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:38:42 [1.49ms] */
select * from `users` where `email` = 'apdalejaapiri@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:38:42 [0.2ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:38:42 [0.65ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 152 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:38:42 [19.54ms] */
update `userprofiles` set `login_count` = 2, `last_login` = '2025-03-17 09:38:42', `userprofiles`.`updated_at` = '2025-03-17 09:38:42' where `id` = 152;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:38:42 [0.31ms] */
select * from `users` where `email` = 'apdalejaapiri@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:38:42 [0.66ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:38:42 [0.27ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (152) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:38:42 [0.16ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:38:42 [0.14ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:38:42 [0.16ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:38:42 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:38:42 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:38:42 [3.34ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0', 152, 5, '[]', 0, '2025-03-17 09:38:42', '2025-03-17 09:38:42', '2026-03-17 09:38:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:38:42 [0.66ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:38:42 [4.72ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:40:43 [1.35ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:40:43 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:40:43 [0.5ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:40:43 [11.33ms] */
update `userprofiles` set `login_count` = 6212, `last_login` = '2025-03-17 09:40:43', `userprofiles`.`updated_at` = '2025-03-17 09:40:43' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:40:43 [0.34ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:40:43 [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/api/login
   Query 7 - 2025-03-17 09:40:43 [0.33ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:40:43 [0.15ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:40:43 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:40:43 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:40:43 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:40:43 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:40:43 [9.87ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('38cc376ebe209dca316d3da209a2f3d55098ba1559ed509c230bcddfeddc5d2ba1007d4c0ddb3ef4', 149, 5, '[]', 0, '2025-03-17 09:40:43', '2025-03-17 09:40:43', '2026-03-17 09:40:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:40:43 [0.37ms] */
select * from `oauth_access_tokens` where `id` = '38cc376ebe209dca316d3da209a2f3d55098ba1559ed509c230bcddfeddc5d2ba1007d4c0ddb3ef4' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:40:43 [3.01ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '38cc376ebe209dca316d3da209a2f3d55098ba1559ed509c230bcddfeddc5d2ba1007d4c0ddb3ef4';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:41:08 [2.37ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:41:08 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:41:08 [0.5ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:41:08 [5.83ms] */
update `userprofiles` set `login_count` = 6213, `last_login` = '2025-03-17 09:41:08', `userprofiles`.`updated_at` = '2025-03-17 09:41:08' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:41:08 [0.16ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:41:08 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:41:08 [0.18ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:41:08 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:41:08 [0.17ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:41:08 [0.22ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:41:08 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:41:08 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:41:08 [3.09ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('9255d4c31a87ef7bf56eb62789ff59f435818d1cd00b2752786689fa7dfa8415469f5c4a7311cf07', 149, 5, '[]', 0, '2025-03-17 09:41:08', '2025-03-17 09:41:08', '2026-03-17 09:41:08');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:41:08 [0.34ms] */
select * from `oauth_access_tokens` where `id` = '9255d4c31a87ef7bf56eb62789ff59f435818d1cd00b2752786689fa7dfa8415469f5c4a7311cf07' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:41:08 [3.04ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '9255d4c31a87ef7bf56eb62789ff59f435818d1cd00b2752786689fa7dfa8415469f5c4a7311cf07';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:41:37 [1.53ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:41:37 [0.26ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:41:37 [0.43ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 151 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:41:37 [3.2ms] */
update `userprofiles` set `last_ip` = '102.128.131.248', `login_count` = 2, `last_login` = '2025-03-17 09:41:37', `userprofiles`.`updated_at` = '2025-03-17 09:41:37' where `id` = 151;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:41:37 [0.26ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:41:37 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:41:37 [0.31ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (151) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:41:37 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:41:37 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:41:37 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:41:37 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:41:37 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:41:37 [3.24ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a', 151, 5, '[]', 0, '2025-03-17 09:41:37', '2025-03-17 09:41:37', '2026-03-17 09:41:37');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:41:37 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:41:37 [3.44ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:42:48 [1.36ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:42:48 [0.21ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:42:48 [0.46ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:42:48 [20.24ms] */
update `userprofiles` set `login_count` = 6214, `last_login` = '2025-03-17 09:42:48', `userprofiles`.`updated_at` = '2025-03-17 09:42:48' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:42:48 [0.31ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:42:48 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:42:48 [0.24ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:42:48 [0.21ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:42:48 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:42:48 [0.21ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:42:48 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:42:48 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:42:48 [5.04ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('f237aa58603a7029e06325beee6e6ee70d78813d90bcfd59ee125cb57fa67fc1160036e51302198a', 149, 5, '[]', 0, '2025-03-17 09:42:48', '2025-03-17 09:42:48', '2026-03-17 09:42:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:42:48 [0.34ms] */
select * from `oauth_access_tokens` where `id` = 'f237aa58603a7029e06325beee6e6ee70d78813d90bcfd59ee125cb57fa67fc1160036e51302198a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:42:48 [3.25ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'f237aa58603a7029e06325beee6e6ee70d78813d90bcfd59ee125cb57fa67fc1160036e51302198a';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:43:06 [1.41ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:43:06 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:43:06 [1.54ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:43:06 [14.85ms] */
update `userprofiles` set `login_count` = 6215, `last_login` = '2025-03-17 09:43:06', `userprofiles`.`updated_at` = '2025-03-17 09:43:06' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:43:06 [0.35ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:43:06 [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/api/login
   Query 7 - 2025-03-17 09:43:06 [0.24ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:43:06 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:43:06 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:43:06 [0.22ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:43:06 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:43:06 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:43:06 [5.66ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('e51b2b3e531dd466fa8afd450cae0bc24446aaec372b5aee3ba392bbca9e7bc30207b1eaf0191095', 149, 5, '[]', 0, '2025-03-17 09:43:06', '2025-03-17 09:43:06', '2026-03-17 09:43:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:43:06 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'e51b2b3e531dd466fa8afd450cae0bc24446aaec372b5aee3ba392bbca9e7bc30207b1eaf0191095' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:43:06 [3.14ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'e51b2b3e531dd466fa8afd450cae0bc24446aaec372b5aee3ba392bbca9e7bc30207b1eaf0191095';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:43:07 [1.87ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:43:07 [0.23ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:43:07 [0.53ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:43:07 [6.17ms] */
update `userprofiles` set `login_count` = 6216, `last_login` = '2025-03-17 09:43:07', `userprofiles`.`updated_at` = '2025-03-17 09:43:07' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:43:07 [0.34ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:43:07 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:43:07 [0.27ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:43:07 [0.22ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:43:07 [0.19ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:43:07 [0.25ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:43:07 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:43:07 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:43:07 [3.35ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('885a36a36555f91d84b18a2d32eec9430a3118c24c219b59b1ab154361be3b855120d46bc27e6a95', 149, 5, '[]', 0, '2025-03-17 09:43:07', '2025-03-17 09:43:07', '2026-03-17 09:43:07');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:43:07 [0.4ms] */
select * from `oauth_access_tokens` where `id` = '885a36a36555f91d84b18a2d32eec9430a3118c24c219b59b1ab154361be3b855120d46bc27e6a95' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:43:07 [2.92ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '885a36a36555f91d84b18a2d32eec9430a3118c24c219b59b1ab154361be3b855120d46bc27e6a95';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:44:12 [1.42ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:44:13 [0.38ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:44:13 [0.78ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:44:13 [12.13ms] */
update `userprofiles` set `login_count` = 6217, `last_login` = '2025-03-17 09:44:13', `userprofiles`.`updated_at` = '2025-03-17 09:44:13' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:44:13 [0.26ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:44:13 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:44:13 [0.25ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:44:13 [0.22ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:44:13 [0.19ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:44:13 [0.25ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:44:13 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:44:13 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:44:13 [3.3ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('c00da4ee1db6c6117a254036fc2a1816346fc4cee8bc36a8c9a3d00c4c56e453a9b33dc8317fdb8c', 149, 5, '[]', 0, '2025-03-17 09:44:13', '2025-03-17 09:44:13', '2026-03-17 09:44:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:44:13 [0.59ms] */
select * from `oauth_access_tokens` where `id` = 'c00da4ee1db6c6117a254036fc2a1816346fc4cee8bc36a8c9a3d00c4c56e453a9b33dc8317fdb8c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:44:13 [3.36ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'c00da4ee1db6c6117a254036fc2a1816346fc4cee8bc36a8c9a3d00c4c56e453a9b33dc8317fdb8c';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:45:16 [1.54ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:45:16 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:45:16 [1.55ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:45:16 [12.63ms] */
update `userprofiles` set `login_count` = 6218, `last_login` = '2025-03-17 09:45:16', `userprofiles`.`updated_at` = '2025-03-17 09:45:16' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:45:16 [0.25ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:45:16 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:45:16 [0.3ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:45:16 [0.29ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:45:16 [0.23ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:45:16 [0.31ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:45:16 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:45:16 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:45:16 [4.48ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('6e7c4dd07181a58e46e47f9d45d3404a5a656772d40ee24fc18dff4da12a58dd951d16e5110bf93d', 149, 5, '[]', 0, '2025-03-17 09:45:16', '2025-03-17 09:45:16', '2026-03-17 09:45:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:45:16 [0.44ms] */
select * from `oauth_access_tokens` where `id` = '6e7c4dd07181a58e46e47f9d45d3404a5a656772d40ee24fc18dff4da12a58dd951d16e5110bf93d' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:45:16 [3.81ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '6e7c4dd07181a58e46e47f9d45d3404a5a656772d40ee24fc18dff4da12a58dd951d16e5110bf93d';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:45:55 [1.7ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:45:55 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:45:55 [0.94ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:45:55 [7.33ms] */
update `userprofiles` set `login_count` = 6219, `last_login` = '2025-03-17 09:45:55', `userprofiles`.`updated_at` = '2025-03-17 09:45:55' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:45:55 [0.36ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:45:55 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:45:55 [0.24ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:45:55 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:45:55 [0.16ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:45:55 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:45:55 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:45:55 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:45:55 [3.7ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('48002e20fd1f244c07c58bb54a06e3c6f36a514bfc25f27c40fe64d99060567d176c6d1923c45fff', 149, 5, '[]', 0, '2025-03-17 09:45:55', '2025-03-17 09:45:55', '2026-03-17 09:45:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:45:55 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '48002e20fd1f244c07c58bb54a06e3c6f36a514bfc25f27c40fe64d99060567d176c6d1923c45fff' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:45:55 [3ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '48002e20fd1f244c07c58bb54a06e3c6f36a514bfc25f27c40fe64d99060567d176c6d1923c45fff';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:46:10 [1.45ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:46:10 [0.28ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:46:10 [0.95ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:46:10 [7.68ms] */
update `userprofiles` set `login_count` = 6220, `last_login` = '2025-03-17 09:46:10', `userprofiles`.`updated_at` = '2025-03-17 09:46:10' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:46:10 [0.31ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:46:10 [0.67ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:46:10 [0.27ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:46:10 [0.18ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:46:10 [0.14ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:46:10 [0.16ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:46:10 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:46:10 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:46:10 [3.59ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('b232edd90c49c02a530dfdbb0245653fbc9bad44aa551dc3a22fcb1c55a94965800c3466b8ec2b94', 149, 5, '[]', 0, '2025-03-17 09:46:10', '2025-03-17 09:46:10', '2026-03-17 09:46:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:46:10 [0.32ms] */
select * from `oauth_access_tokens` where `id` = 'b232edd90c49c02a530dfdbb0245653fbc9bad44aa551dc3a22fcb1c55a94965800c3466b8ec2b94' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:46:10 [3.17ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'b232edd90c49c02a530dfdbb0245653fbc9bad44aa551dc3a22fcb1c55a94965800c3466b8ec2b94';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:46:31 [1.7ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:46:31 [0.26ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:46:31 [0.61ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:46:31 [9.57ms] */
update `userprofiles` set `login_count` = 6221, `last_login` = '2025-03-17 09:46:31', `userprofiles`.`updated_at` = '2025-03-17 09:46:31' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:46:31 [0.44ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:46:31 [0.75ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:46:31 [0.33ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:46:31 [0.27ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:46:31 [0.23ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:46:31 [0.17ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:46:31 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:46:31 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:46:31 [3.72ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('0048fde92ea2bd22391957ef4ef398180d2f5ad0fff691d2faeb1f2c88f7cb114d81ee114857f1dd', 149, 5, '[]', 0, '2025-03-17 09:46:31', '2025-03-17 09:46:31', '2026-03-17 09:46:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:46:31 [0.51ms] */
select * from `oauth_access_tokens` where `id` = '0048fde92ea2bd22391957ef4ef398180d2f5ad0fff691d2faeb1f2c88f7cb114d81ee114857f1dd' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:46:31 [6.79ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '0048fde92ea2bd22391957ef4ef398180d2f5ad0fff691d2faeb1f2c88f7cb114d81ee114857f1dd';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:46:44 [2.08ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:46:44 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:46:44 [0.43ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:46:44 [15.02ms] */
update `userprofiles` set `login_count` = 6222, `last_login` = '2025-03-17 09:46:44', `userprofiles`.`updated_at` = '2025-03-17 09:46:44' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:46:44 [0.32ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:46:44 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:46:44 [0.3ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:46:44 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:46:44 [0.11ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:46:44 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:46:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:46:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:46:44 [7.37ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('27b0f3d34bf8e9bb3c8f886c067ab250bd3760bbd7001eab99265a062ef64a69bc47f5b9cff7dc33', 149, 5, '[]', 0, '2025-03-17 09:46:44', '2025-03-17 09:46:44', '2026-03-17 09:46:44');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:46:44 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '27b0f3d34bf8e9bb3c8f886c067ab250bd3760bbd7001eab99265a062ef64a69bc47f5b9cff7dc33' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:46:44 [7ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '27b0f3d34bf8e9bb3c8f886c067ab250bd3760bbd7001eab99265a062ef64a69bc47f5b9cff7dc33';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-17 09:46:44 [1.73ms] */
select * from `oauth_access_tokens` where `id` = '27b0f3d34bf8e9bb3c8f886c067ab250bd3760bbd7001eab99265a062ef64a69bc47f5b9cff7dc33' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-17 09:46:44 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '27b0f3d34bf8e9bb3c8f886c067ab250bd3760bbd7001eab99265a062ef64a69bc47f5b9cff7dc33' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-17 09:46:44 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-17 09:46:44 [0.39ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-17 09:46:44 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '27b0f3d34bf8e9bb3c8f886c067ab250bd3760bbd7001eab99265a062ef64a69bc47f5b9cff7dc33' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-17 09:46:44 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-17 09:46:44 [1.54ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_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` = 'LI574' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-03-17 09:46:44 [0.37ms] */
select * from `party` where `party`.`id` = 39526 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-17 09:46:44 [0.39ms] */
select * from `vehicle` where `id` = 50459 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-03-17 09:46:44 [0.38ms] */
select * from `party_vehicle` where `vehicle_id` = 50459 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:46:46 [2.01ms] */
select * from `users` where `email` = 'ahmeddaakir54@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:46:55 [1.79ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:46:55 [0.18ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:46:55 [0.39ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 149 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:46:55 [6.34ms] */
update `userprofiles` set `login_count` = 6223, `last_login` = '2025-03-17 09:46:55', `userprofiles`.`updated_at` = '2025-03-17 09:46:55' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:46:55 [0.23ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:46:55 [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/api/login
   Query 7 - 2025-03-17 09:46:55 [0.27ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (149) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:46:55 [0.21ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:46:55 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:46:55 [0.16ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:46:55 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:46:55 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:46:55 [3.98ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('75f571655df223f91ddd782bb41e2c11278ade6c7917569bd9275fbe015d2a0075134834644bd599', 149, 5, '[]', 0, '2025-03-17 09:46:55', '2025-03-17 09:46:55', '2026-03-17 09:46:55');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:46:55 [0.67ms] */
select * from `oauth_access_tokens` where `id` = '75f571655df223f91ddd782bb41e2c11278ade6c7917569bd9275fbe015d2a0075134834644bd599' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:46:55 [3.45ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '75f571655df223f91ddd782bb41e2c11278ade6c7917569bd9275fbe015d2a0075134834644bd599';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 1 - 2025-03-17 09:46:55 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '75f571655df223f91ddd782bb41e2c11278ade6c7917569bd9275fbe015d2a0075134834644bd599' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 2 - 2025-03-17 09:46:55 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '75f571655df223f91ddd782bb41e2c11278ade6c7917569bd9275fbe015d2a0075134834644bd599' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 3 - 2025-03-17 09:46:55 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 4 - 2025-03-17 09:46:55 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 5 - 2025-03-17 09:46:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '75f571655df223f91ddd782bb41e2c11278ade6c7917569bd9275fbe015d2a0075134834644bd599' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 6 - 2025-03-17 09:46:55 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 7 - 2025-03-17 09:46:55 [1.37ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `term`.`year`, `term`.`quarter`, `invoice`.`transaction_id`, `party`.`id` as `customer_id`, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS customer_name, CASE
                WHEN party.phone_number_2 IS NOT NULL THEN CONCAT(party.phone_number_1," / ",party.phone_number_2)
                ELSE party.phone_number_1 END as mobile_number, `vehicle`.`license_plate`, `service`.`name` as `service_name`, `invoice`.`due_date`, `invoice`.`total_invoice_amount` as `invoice_amount`, `invoice`.`status`, `invoice`.`parent`, `invoice`.`created_at`, `invoice`.`updated_at`, CASE WHEN invoice_payment.id IS NULL THEN "Y" ELSE "N" END as make_payment from `invoice` left join `party` on `invoice`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle_tax` on `transaction`.`vehicle_tax_id` = `vehicle_tax`.`id` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `vehicle` on `transaction`.`vehicle_id` = `vehicle`.`id` left join `service` on `transaction`.`service_id` = `service`.`id` left join `invoice_payment` on `invoice_payment`.`invoice_id` = `invoice`.`id` where `invoice`.`total_invoice_amount` > 0 and `service`.`name` = 'Tax' and `vehicle_tax`.`exempt` = 'N' and `transaction`.`vehicle_tax_id` is not null and `invoice`.`parent` = 'N' and `invoice`.`party_id` = 39526 and `license_plate` = 'LI574' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:46:56 [2.18ms] */
select * from `users` where `email` = 'ahmeddaakir54@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-03-17 09:47:09 [1.31ms] */
select * from `users` where `email` = 'ahmeddaakir54@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:47:09 [0.32ms] */
select * from `users` where `id` = 153 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:47:09 [0.37ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 153 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:47:09 [7.66ms] */
update `userprofiles` set `last_ip` = '102.223.188.27', `login_count` = 21, `last_login` = '2025-03-17 09:47:09', `userprofiles`.`updated_at` = '2025-03-17 09:47:09' where `id` = 153;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:47:09 [0.51ms] */
select * from `users` where `email` = 'ahmeddaakir54@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:47:09 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:47:09 [0.46ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (153) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:47:09 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:47:09 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:47:09 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:47:09 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:47:09 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:47:09 [3.14ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd', 153, 5, '[]', 0, '2025-03-17 09:47:09', '2025-03-17 09:47:09', '2026-03-17 09:47:09');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:47:09 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:47:09 [2.73ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-17 09:48:53 [2.03ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-17 09:48:53 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-17 09:48:53 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-17 09:48:53 [0.45ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-17 09:48:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-17 09:48:53 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-17 09:48:53 [1.22ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_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` = 'NM515' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-03-17 09:48:53 [0.34ms] */
select * from `party` where `party`.`id` = 55557 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-17 09:48:53 [0.32ms] */
select * from `vehicle` where `id` = 88796 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-03-17 09:48:53 [0.36ms] */
select * from `party_vehicle` where `vehicle_id` = 88796 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-03-17 09:48:54 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-03-17 09:48:54 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-03-17 09:48:54 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-03-17 09:48:54 [0.16ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-03-17 09:48:54 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-03-17 09:48:54 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-03-17 09:48:54 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 88796 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-03-17 09:48:54 [0.24ms] */
select * from `vehicle` where `id` = 88796 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-03-17 09:48:54 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 88796 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-03-17 09:48:54 [1.09ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 88796 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-03-17 09:48:54 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-03-17 09:48:54 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-03-17 09:48:54 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-03-17 09:48:54 [0.16ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-03-17 09:48:54 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-03-17 09:48:54 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-03-17 09:48:54 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:48:55 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:48:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:48:55 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:48:55 [0.19ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:48:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:48:55 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:48:55 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-17 09:49:10 [1.58ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-17 09:49:10 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-17 09:49:10 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-17 09:49:10 [0.26ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-17 09:49:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-17 09:49:10 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-17 09:49:10 [1ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_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` = 'LQ204' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-03-17 09:49:10 [0.31ms] */
select * from `party` where `party`.`id` = 60588 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-17 09:49:10 [0.3ms] */
select * from `vehicle` where `id` = 93422 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-03-17 09:49:10 [0.34ms] */
select * from `party_vehicle` where `vehicle_id` = 93422 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-03-17 09:49:11 [1.44ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-03-17 09:49:11 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-03-17 09:49:11 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-03-17 09:49:11 [0.2ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-03-17 09:49:11 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-03-17 09:49:11 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-03-17 09:49:11 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 93422 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-03-17 09:49:11 [0.29ms] */
select * from `vehicle` where `id` = 93422 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-03-17 09:49:11 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 93422 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-03-17 09:49:11 [1.45ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 93422 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-03-17 09:49:12 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-03-17 09:49:12 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-03-17 09:49:12 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-03-17 09:49:12 [0.16ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-03-17 09:49:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-03-17 09:49:12 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-03-17 09:49:12 [0.14ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:49:12 [1.25ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:49:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:49:12 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:49:12 [0.16ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:49:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:49:12 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:49:12 [0.2ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-03-17 09:50:19 [1.94ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-03-17 09:50:19 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-03-17 09:50:19 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-03-17 09:50:19 [0.21ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-03-17 09:50:19 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-03-17 09:50:19 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-03-17 09:50:19 [0.5ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-03-17 09:50:19 [0.31ms] */
select `transaction_id` from `vehicle_tax` where `id` in (401148) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-03-17 09:50:19 [0.3ms] */
select `parent_id` from `transaction` where `id` in (510930) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-17 09:50:19 [0.22ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-03-17 09:50:19 [0.28ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-03-17 09:50:19 [0.29ms] */
select * from `transaction` where `id` in (510930) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-03-17 09:50:19 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 486605 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-03-17 09:50:19 [3.25ms] */
update `invoice` set `updated_by` = 151, `invoice`.`updated_at` = '2025-03-17 09:50:19' where `id` = 486605;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-03-17 09:50:19 [0.3ms] */
select * from `invoice` where `id` = 486605 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-03-17 09:50:19 [3.05ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 151, 'App\Models\User', 486605, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-03-17 09:50:19 [0.36ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-03-17 09:50:19 [0.32ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-03-17 09:50:19 [2.97ms] */
update `transaction` set `updated_by` = 151, `transaction`.`updated_at` = '2025-03-17 09:50:19' where `id` = 510930;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-03-17 09:50:19 [2.82ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-03-17 09:50:19' where `id` in (401148) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-03-17 09:50:19 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 93422 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-03-17 09:50:19 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-03-17 09:50:19 [0.32ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 93422 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-03-17 09:50:19 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 93422 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-03-17 09:50:19 [0.29ms] */
select * from `party` where `party`.`id` = 60588 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2025-03-17 09:50:19 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 93422 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2025-03-17 09:50:19 [0.17ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-03-17 09:50:19 [0.17ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-03-17 09:50:19 [0.55ms] */
select * from `branches` where `branches`.`id` = 17 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-03-17 09:50:19 [13.03ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (60588, 2, 93422, null, 2, 6, 17, 37, 37, 'OPEN', 25, null, 151, 151, '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-03-17 09:50:19 [7.1ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510992, 'INITIATED', '2025-03-17 09:50:19', 5, 151, 151, 151, '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-03-17 09:50:19 [0.26ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 93140, `transaction`.`updated_at` = '2025-03-17 09:50:19' where `id` = 510992;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2025-03-17 09:50:19 [0.3ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (401148) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2025-03-17 09:50:19 [0.22ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (401148) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-03-17 09:50:19 [0.29ms] */
insert into `invoice` (`transaction_id`, `party_id`, `invoice_date`, `due_date`, `invoice_amount`, `discounts`, `total_invoice_amount`, `outstanding_balance`, `taxes`, `status`, `grouped`, `parent`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510992, 60588, '2025-03-17 09:50:19', '2025-03-17 09:50:19', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 151, 151, '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-03-17 09:50:19 [0.21ms] */
select * from `invoice` where `id` = 486665 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-03-17 09:50:19 [0.33ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":510992,"party_id":60588,"invoice_amount":"31.00","invoice_date":"2025-03-17 09:50:19","due_date":"2025-03-17 09:50:19","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 151, 'App\Models\User', 486665, 'Modules\Transaction\Entities\Invoice', 'created', '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-03-17 09:50:19 [0.26ms] */
select `invoice`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (401148) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-03-17 09:50:19 [0.27ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Quarterly Tax Fees', 1, 31.00, 31, 486665, 151, 151, '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-03-17 09:50:19 [0.19ms] */
select * from `invoice_item` where `id` = 872730 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-03-17 09:50:19 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Quarterly Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":486665}}', 151, 'App\Models\User', 872730, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-03-17 09:50:19 [0.18ms] */
update `invoice` set `invoice_number` = 'INV-989-486665376', `invoice`.`updated_at` = '2025-03-17 09:50:19' where `id` = 486665;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-03-17 09:50:19 [0.19ms] */
select * from `invoice` where `id` = 486665 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-03-17 09:50:19 [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":{"invoice_number":"INV-989-486665376"},"old":{"invoice_number":null}}', 151, 'App\Models\User', 486665, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-03-17 09:50:19 [0.22ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 401148 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-03-17 09:50:19 [0.24ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 151, `vehicle_tax`.`updated_at` = '2025-03-17 09:50:19' where `id` = 401148;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-03-17 09:50:19 [0.21ms] */
select * from `vehicle_tax` where `id` = 401148 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-03-17 09:50:19 [0.23ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 151, 'App\Models\User', 401148, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2025-03-17 09:50:19 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 510930 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-03-17 09:50:19 [0.22ms] */
update `transaction` set `tax_collection_point_id` = 25, `parent_id` = 510992, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-03-17 09:50:19' where `id` = 510930;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-03-17 09:50:19 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 486605 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-03-17 09:50:19 [0.18ms] */
update `invoice` set `parent_id` = 486665, `grouped` = 'Y', `invoice`.`updated_at` = '2025-03-17 09:50:19' where `id` = 486605;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-03-17 09:50:19 [0.22ms] */
select * from `invoice` where `id` = 486605 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-03-17 09:50:19 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":486665,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 151, 'App\Models\User', 486605, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-03-17 09:50:19 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 510930 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2025-03-17 09:50:19 [2.7ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2025-03-17 09:50:19 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2025-03-17 09:50:19 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-03-17 09:50:19 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-03-17 09:50:19 [0.19ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-03-17 09:50:19 [4.15ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510930, 'APPROVED', '2025-03-17 09:50:19', 5, 151, null, 151, 151, '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-03-17 09:50:19 [0.24ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-03-17 09:50:19 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-03-17 09:50:19' where `id` = 510930;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2025-03-17 09:50:19 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 65 - 2025-03-17 09:50:19 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 486605 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2025-03-17 09:50:19 [0.2ms] */
update `transaction` set `invoice_id` = 486665, `transaction`.`updated_at` = '2025-03-17 09:50:19' where `id` = 510992;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-03-17 09:50:19 [0.43ms] */
update `vehicle` set `updated_by` = 151, `vehicle`.`updated_at` = '2025-03-17 09:50:19' where `id` = 93422;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-03-17 09:50:19 [0.22ms] */
select * from `vehicle` where `id` = 93422 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 69 - 2025-03-17 09:50:19 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 151, 'App\Models\User', 93422, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 70 - 2025-03-17 09:50:19 [0.32ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":153}', '{"updated_by":151}', 'updated', 93422, 'Modules\Vehicle\Entities\Vehicle', 151, 'App\Models\User', null, '102.128.131.248', 'Dart/3.4 (dart:io)', 'https://testtra.puntlandgov.org/api/make_payment', '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 71 - 2025-03-17 09:50:19 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 510992 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2025-03-17 09:50:19 [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): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-03-17 09:50:19 [4.64ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-03-17 09:50:19 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 75 - 2025-03-17 09:50:19 [0.22ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (510992, 'APPROVED', '2025-03-17 09:50:19', 5, 151, null, 151, 151, '2025-03-17 09:50:19', '2025-03-17 09:50:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-03-17 09:50:19 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-03-17 09:50:19 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-03-17 09:50:19' where `id` = 510992;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-03-17 09:50:19 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 79 - 2025-03-17 09:50:19 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 486665 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-03-17 09:50:19 [0.27ms] */
select `transaction_id` from `vehicle_tax` where `id` in (401148) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-03-17 09:50:19 [0.3ms] */
select * from `invoice` where `transaction_id` = 510930 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2025-03-17 09:50:19 [0.28ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 486605 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 83 - 2025-03-17 09:50:19 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 510930 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 84 - 2025-03-17 09:50:19 [0.25ms] */
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 85 - 2025-03-17 09:50:19 [0.24ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 1 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 86 - 2025-03-17 09:50:19 [0.19ms] */
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 87 - 2025-03-17 09:50:19 [0.21ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 3 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:50:20 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:50:20 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:50:20 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:50:20 [0.16ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:50:20 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:50:20 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:50:20 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-03-17 09:50:22 [1.89ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-03-17 09:50:22 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-03-17 09:50:22 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-03-17 09:50:22 [0.15ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-03-17 09:50:22 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-03-17 09:50:22 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-03-17 09:50:22 [0.14ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-03-17 09:50:22 [0.25ms] */
select `transaction_id` from `vehicle_tax` where `id` in (399533) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-03-17 09:50:22 [0.23ms] */
select `parent_id` from `transaction` where `id` in (508255) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-17 09:50:22 [328.82ms] */
select `id` from `transaction` where `parent_id` in (508256) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-03-17 09:50:22 [0.67ms] */
select * from `transaction` where `id` in (508256) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-03-17 09:50:22 [0.2ms] */
select `transaction_id` from `vehicle_tax` where `id` in (399533) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-03-17 09:50:22 [0.82ms] */
select * from `invoice` where `transaction_id` = 508255 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-03-17 09:50:22 [7.68ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 484068 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-03-17 09:50:22 [0.6ms] */
select * from `transaction` where `transaction`.`id` = 508255 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-03-17 09:50:22 [3.68ms] */
update `transaction` set `tax_collection_point_id` = 38, `updated_by` = 152, `transaction`.`updated_at` = '2025-03-17 09:50:22' where `id` = 508255;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-03-17 09:50:22 [0.25ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-03-17 09:50:22 [0.22ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 1 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-03-17 09:50:22 [0.2ms] */
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-03-17 09:50:22 [0.21ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 3 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:50:23 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:50:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:50:23 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:50:23 [0.17ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:50:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:50:23 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:50:23 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-17 09:50:42 [1.6ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-17 09:50:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-17 09:50:42 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-17 09:50:42 [0.34ms] */
select * from `users` where `id` = 153 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-17 09:50:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-17 09:50:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-17 09:50:42 [1.09ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_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` = 'TG874' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-03-17 09:50:42 [0.27ms] */
select * from `party` where `party`.`id` = 39759 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-17 09:50:42 [0.27ms] */
select * from `vehicle` where `id` = 52554 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-03-17 09:50:42 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 52554 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-03-17 09:50:43 [1.23ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-03-17 09:50:43 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-03-17 09:50:43 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-03-17 09:50:43 [0.17ms] */
select * from `users` where `id` = 153 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-03-17 09:50:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-03-17 09:50:43 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-03-17 09:50:43 [0.38ms] */
select * from `vehicle` where `vehicle`.`id` = 52554 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-03-17 09:50:43 [0.28ms] */
select * from `vehicle` where `id` = 52554 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-03-17 09:50:43 [0.98ms] */
select * from `party_vehicle` where `vehicle_id` = 52554 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-03-17 09:50:43 [1ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 52554 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-03-17 09:50:43 [1.61ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-03-17 09:50:43 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-03-17 09:50:43 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-03-17 09:50:43 [0.28ms] */
select * from `users` where `id` = 153 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-03-17 09:50:43 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-03-17 09:50:43 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-03-17 09:50:43 [0.23ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:50:44 [1.21ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:50:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:50:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:50:44 [0.16ms] */
select * from `users` where `id` = 153 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:50:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '8bfd79f63068b065637f75bd0057a228b9e06ea8b51b199de8002540a2152fd7aa10d20123a876dd' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:50:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:50:44 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-03-17 09:51:33 [1.99ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-03-17 09:51:33 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-03-17 09:51:33 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-03-17 09:51:33 [0.17ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-03-17 09:51:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-03-17 09:51:33 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-03-17 09:51:33 [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-03-17 09:51:33 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (399533) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-03-17 09:51:33 [0.79ms] */
select `parent_id` from `transaction` where `id` in (508255) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-17 09:51:34 [308.62ms] */
select `id` from `transaction` where `parent_id` in (508256) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-03-17 09:51:34 [0.44ms] */
select * from `transaction` where `id` in (508256) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-03-17 09:51:34 [0.16ms] */
select `transaction_id` from `vehicle_tax` where `id` in (399533) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-03-17 09:51:34 [0.2ms] */
select * from `invoice` where `transaction_id` = 508255 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-03-17 09:51:34 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 484068 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-03-17 09:51:34 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 508255 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-03-17 09:51:34 [0.17ms] */
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-03-17 09:51:34 [0.16ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 1 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-03-17 09:51:34 [0.15ms] */
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-03-17 09:51:34 [0.15ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 3 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-17 09:51:48 [1.61ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-17 09:51:48 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-17 09:51:48 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-17 09:51:48 [0.22ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-17 09:51:48 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-17 09:51:48 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-17 09:51:48 [9.6ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 151 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 1 - 2025-03-17 09:51:51 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-17 09:51:51 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-17 09:51:51 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-17 09:51:51 [0.17ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-17 09:51:51 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-17 09:51:51 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-17 09:51:51 [6.18ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 152 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/make_payment
   Query 1 - 2025-03-17 09:53:01 [2.27ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-03-17 09:53:01 [0.42ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-03-17 09:53:01 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-03-17 09:53:01 [0.32ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-03-17 09:53:01 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-03-17 09:53:01 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-03-17 09:53:01 [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-03-17 09:53:01 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (399533) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-03-17 09:53:01 [0.13ms] */
select `parent_id` from `transaction` where `id` in (508255) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-17 09:53:01 [0.13ms] */
select `id` from `transaction` where `parent_id` in (508256) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-03-17 09:53:01 [0.15ms] */
select * from `transaction` where `id` in (508256) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-03-17 09:53:01 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (399533) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-03-17 09:53:01 [0.16ms] */
select * from `invoice` where `transaction_id` = 508255 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-03-17 09:53:01 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 484068 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-03-17 09:53:01 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 508255 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-03-17 09:53:01 [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-03-17 09:53:01 [0.14ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 1 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-03-17 09:53:01 [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-03-17 09:53:01 [0.14ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 3 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:53:01 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:53:01 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:53:01 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:53:01 [0.17ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:53:01 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:53:01 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:53:01 [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-03-17 09:53:06 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-17 09:53:06 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-17 09:53:06 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-17 09:53:06 [0.2ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-17 09:53:06 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-17 09:53:06 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-17 09:53:06 [0.15ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 152 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/make_payment
   Query 1 - 2025-03-17 09:53:13 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-03-17 09:53:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-03-17 09:53:13 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-03-17 09:53:13 [0.17ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-03-17 09:53:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-03-17 09:53:13 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-03-17 09:53:13 [0.18ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-03-17 09:53:13 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (399533) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-03-17 09:53:13 [0.14ms] */
select `parent_id` from `transaction` where `id` in (508255) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-17 09:53:13 [0.12ms] */
select `id` from `transaction` where `parent_id` in (508256) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-03-17 09:53:13 [0.16ms] */
select * from `transaction` where `id` in (508256) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-03-17 09:53:13 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (399533) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-03-17 09:53:13 [0.16ms] */
select * from `invoice` where `transaction_id` = 508255 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-03-17 09:53:13 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 484068 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-03-17 09:53:13 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 508255 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-03-17 09:53:13 [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-03-17 09:53:13 [0.14ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 1 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-03-17 09:53:13 [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-03-17 09:53:13 [0.13ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 3 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:53:14 [1.47ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:53:14 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:53:14 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:53:14 [0.18ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:53:14 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:53:14 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:53:14 [0.19ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-17 09:53:16 [1.43ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-17 09:53:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-17 09:53:16 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-17 09:53:16 [0.18ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-17 09:53:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '61c1c8daf53c01fafd73e81e949cac40ecea7987d0f14f476f1fbaf04e616058650a65329c7567e0' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-17 09:53:16 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-17 09:53:16 [0.16ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 152 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/login
   Query 1 - 2025-03-17 09:53:35 [1.33ms] */
select * from `users` where `email` = 'apdalejaapiri@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-03-17 09:53:35 [0.16ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-03-17 09:53:35 [1.47ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 152 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-03-17 09:53:35 [6.65ms] */
update `userprofiles` set `login_count` = 3, `last_login` = '2025-03-17 09:53:35', `userprofiles`.`updated_at` = '2025-03-17 09:53:35' where `id` = 152;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-03-17 09:53:35 [0.25ms] */
select * from `users` where `email` = 'apdalejaapiri@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-03-17 09:53:35 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-03-17 09:53:35 [0.24ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (152) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-03-17 09:53:35 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-03-17 09:53:35 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-03-17 09:53:35 [0.21ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-03-17 09:53:35 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-03-17 09:53:35 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-03-17 09:53:35 [4.62ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3', 152, 5, '[]', 0, '2025-03-17 09:53:35', '2025-03-17 09:53:35', '2026-03-17 09:53:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-03-17 09:53:35 [0.45ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-03-17 09:53:35 [4.73ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-03-17 09:53:40 [1.92ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-17 09:53:40 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-17 09:53:40 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-17 09:53:40 [0.3ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-17 09:53:40 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-17 09:53:40 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-17 09:53:40 [4.13ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_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` = 'NM515' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-03-17 09:53:40 [0.24ms] */
select * from `party` where `party`.`id` = 55557 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-17 09:53:40 [0.42ms] */
select * from `vehicle` where `id` = 88796 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-03-17 09:53:40 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 88796 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-03-17 09:53:41 [1.97ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-03-17 09:53:41 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-03-17 09:53:41 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-03-17 09:53:41 [0.25ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-03-17 09:53:41 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-03-17 09:53:41 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-03-17 09:53:41 [0.42ms] */
select * from `vehicle` where `vehicle`.`id` = 88796 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-03-17 09:53:41 [0.39ms] */
select * from `vehicle` where `id` = 88796 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-03-17 09:53:41 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 88796 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-03-17 09:53:41 [4.67ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 88796 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-03-17 09:53:42 [2.15ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-03-17 09:53:42 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-03-17 09:53:42 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-03-17 09:53:42 [0.35ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-03-17 09:53:42 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-03-17 09:53:42 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-03-17 09:53:42 [0.27ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:53:42 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:53:42 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:53:42 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:53:42 [0.17ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:53:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:53:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:53:42 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-03-17 09:53:44 [2.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-03-17 09:53:44 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-03-17 09:53: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-03-17 09:53:44 [0.27ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-03-17 09:53:44 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-03-17 09:53:44 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-03-17 09:53:44 [0.27ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-03-17 09:53:44 [0.22ms] */
select `transaction_id` from `vehicle_tax` where `id` in (399533) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-03-17 09:53:44 [0.22ms] */
select `parent_id` from `transaction` where `id` in (508255) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-17 09:53:44 [0.2ms] */
select `id` from `transaction` where `parent_id` in (508256) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-03-17 09:53:44 [0.28ms] */
select * from `transaction` where `id` in (508256) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-03-17 09:53:44 [0.2ms] */
select `transaction_id` from `vehicle_tax` where `id` in (399533) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-03-17 09:53:44 [0.15ms] */
select * from `invoice` where `transaction_id` = 508255 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-03-17 09:53:44 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 484068 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-03-17 09:53:44 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 508255 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-03-17 09:53:44 [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-03-17 09:53:44 [0.14ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 1 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-03-17 09:53:44 [0.18ms] */
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-03-17 09:53:44 [0.13ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 3 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:53:44 [2.37ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:53:44 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:53:44 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:53:44 [0.3ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:53:44 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:53:44 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:53:44 [0.2ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-17 09:53:46 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-17 09:53:46 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-17 09:53:46 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-17 09:53:46 [0.19ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-17 09:53:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-17 09:53:46 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-17 09:53:46 [0.22ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 152 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 1 - 2025-03-17 09:53:54 [1.41ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-17 09:53:54 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-17 09:53:54 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-17 09:53:54 [0.16ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-17 09:53:54 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-17 09:53:54 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-17 09:53:54 [0.15ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 152 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/payment_confirm_image
   Query 1 - 2025-03-17 09:54:42 [1.83ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-03-17 09:54:42 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-03-17 09:54:42 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-03-17 09:54:42 [0.22ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-03-17 09:54:42 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-03-17 09:54:42 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-03-17 09:54:42 [0.82ms] */
delete from `payment_documents` where `transaction_id` = 510930 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-03-17 09:54:42 [0.77ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2510051;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-03-17 09:54:42 [0.46ms] */
select * from `transaction` where `transaction`.`id` = 510930 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-03-17 09:54:42 [380.04ms] */
select * from `transaction` where `parent_id` = 510992 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-03-17 09:54:42 [5.92ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (510930, 'GOV_RECEIPT_IMAGE', 2510051, 1, '2025-03-17 09:54:42', '2025-03-17 09:54:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-03-17 09:54:42 [3.15ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (510992, 'GOV_RECEIPT_IMAGE', 2510051, 1, '2025-03-17 09:54:42', '2025-03-17 09:54:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-03-17 09:54:42 [7.87ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-03-17 09:54:42' where `receipt_number` = 2510051 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-17 09:55:24 [1.69ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-17 09:55:24 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-17 09:55:24 [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-03-17 09:55:24 [0.22ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-17 09:55:24 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-17 09:55:24 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-17 09:55:24 [10.51ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 152 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 1 - 2025-03-17 09:55:41 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-17 09:55:41 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-17 09:55:42 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-17 09:55:42 [0.16ms] */
select * from `users` where `id` = 151 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-17 09:55:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '63e7cf00ba58d62653b93aa8c209851ae44fa3ec342feba5e77c2e54f6ac4da7d1b15f399097ad6a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-17 09:55:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-17 09:55:42 [7.5ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 151 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/vehicle
   Query 1 - 2025-03-17 09:55:49 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-17 09:55:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-17 09:55:49 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-17 09:55:49 [0.16ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-17 09:55:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-17 09:55:49 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-17 09:55:49 [7.19ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_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` = 'BW412' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-03-17 09:55:49 [0.42ms] */
select * from `party` where `party`.`id` = 49220 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-17 09:55:49 [0.33ms] */
select * from `vehicle` where `id` = 75113 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-03-17 09:55:49 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 75113 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-03-17 09:55:49 [1.67ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-03-17 09:55:49 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-03-17 09:55:49 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-03-17 09:55:49 [0.17ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-03-17 09:55:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-03-17 09:55:49 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-03-17 09:55:49 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 75113 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-03-17 09:55:49 [0.24ms] */
select * from `vehicle` where `id` = 75113 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-03-17 09:55:49 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 75113 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-03-17 09:55:49 [0.94ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 75113 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-03-17 09:55:50 [2.38ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-03-17 09:55:50 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-03-17 09:55:50 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-03-17 09:55:50 [0.37ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-03-17 09:55:50 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-03-17 09:55:50 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-03-17 09:55:50 [0.15ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:55:50 [2.12ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:55:50 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:55:50 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:55:50 [0.32ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:55:50 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:55:50 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:55:50 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-03-17 09:55:55 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-03-17 09:55:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-03-17 09:55:55 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-03-17 09:55:55 [0.17ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-03-17 09:55:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-03-17 09:55:55 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-03-17 09:55:55 [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-03-17 09:55:55 [0.34ms] */
select `transaction_id` from `vehicle_tax` where `id` in (138716, 274742, 274743, 274744, 274745) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-03-17 09:55:55 [0.23ms] */
select `parent_id` from `transaction` where `id` in (154017, 372748, 372749, 372750, 372751) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-17 09:55:55 [261.57ms] */
select `id` from `transaction` where `parent_id` in (510894) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-03-17 09:55:55 [0.42ms] */
select * from `transaction` where `id` in (510894) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-03-17 09:55:55 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (138716, 274742, 274743, 274744, 274745) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-03-17 09:55:55 [0.33ms] */
select * from `invoice` where `transaction_id` = 154017 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-03-17 09:55:55 [3.48ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 146168 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-03-17 09:55:55 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 154017 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-03-17 09:55:55 [7.23ms] */
update `transaction` set `tax_collection_point_id` = 38, `updated_by` = 152, `transaction`.`updated_at` = '2025-03-17 09:55:55' where `id` = 154017;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-03-17 09:55:55 [0.32ms] */
select * from `invoice` where `transaction_id` = 372748 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-03-17 09:55:55 [0.46ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 350290 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-03-17 09:55:55 [0.45ms] */
select * from `transaction` where `transaction`.`id` = 372748 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-03-17 09:55:55 [3.5ms] */
update `transaction` set `tax_collection_point_id` = 38, `updated_by` = 152, `transaction`.`updated_at` = '2025-03-17 09:55:55' where `id` = 372748;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-03-17 09:55:55 [0.79ms] */
select * from `invoice` where `transaction_id` = 372749 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-03-17 09:55:55 [0.57ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 350291 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 23 - 2025-03-17 09:55:55 [0.64ms] */
select * from `transaction` where `transaction`.`id` = 372749 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-03-17 09:55:55 [6.82ms] */
update `transaction` set `tax_collection_point_id` = 38, `updated_by` = 152, `transaction`.`updated_at` = '2025-03-17 09:55:55' where `id` = 372749;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-03-17 09:55:55 [0.38ms] */
select * from `invoice` where `transaction_id` = 372750 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2025-03-17 09:55:55 [0.62ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 350292 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 27 - 2025-03-17 09:55:55 [0.69ms] */
select * from `transaction` where `transaction`.`id` = 372750 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-03-17 09:55:55 [4.85ms] */
update `transaction` set `tax_collection_point_id` = 38, `updated_by` = 152, `transaction`.`updated_at` = '2025-03-17 09:55:55' where `id` = 372750;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-03-17 09:55:55 [0.67ms] */
select * from `invoice` where `transaction_id` = 372751 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-03-17 09:55:55 [0.65ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 350293 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 31 - 2025-03-17 09:55:55 [0.65ms] */
select * from `transaction` where `transaction`.`id` = 372751 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-03-17 09:55:55 [3.34ms] */
update `transaction` set `tax_collection_point_id` = 38, `updated_by` = 152, `transaction`.`updated_at` = '2025-03-17 09:55:55' where `id` = 372751;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2025-03-17 09:55:55 [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 34 - 2025-03-17 09:55:55 [0.29ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 1 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-03-17 09:55:55 [0.21ms] */
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 36 - 2025-03-17 09:55:55 [0.21ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 3 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:55:56 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:55:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:55:56 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:55:56 [0.17ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:55:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:55:56 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:55:56 [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-03-17 09:56:04 [2.07ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-17 09:56:04 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-17 09:56:04 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-17 09:56:04 [0.18ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-17 09:56:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-17 09:56:04 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-17 09:56:04 [0.14ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 152 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 1 - 2025-03-17 09:56:17 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-17 09:56:17 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-17 09:56:17 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-17 09:56:17 [0.16ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-17 09:56:17 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-17 09:56:17 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-17 09:56:17 [0.15ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 152 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/make_payment
   Query 1 - 2025-03-17 09:56:30 [2.33ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-03-17 09:56:30 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-03-17 09:56:30 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-03-17 09:56:30 [0.16ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-03-17 09:56:30 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-03-17 09:56:30 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-03-17 09:56:30 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-03-17 09:56:30 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (138716, 274742, 274743, 274744, 274745) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-03-17 09:56:30 [0.68ms] */
select `parent_id` from `transaction` where `id` in (154017, 372748, 372749, 372750, 372751) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-17 09:56:30 [174.7ms] */
select `id` from `transaction` where `parent_id` in (510894) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-03-17 09:56:30 [0.43ms] */
select * from `transaction` where `id` in (510894) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-03-17 09:56:30 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (138716, 274742, 274743, 274744, 274745) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-03-17 09:56:30 [0.16ms] */
select * from `invoice` where `transaction_id` = 154017 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-03-17 09:56:30 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 146168 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-03-17 09:56:30 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 154017 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-03-17 09:56:30 [0.15ms] */
select * from `invoice` where `transaction_id` = 372748 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-03-17 09:56:30 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 350290 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-03-17 09:56:30 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 372748 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-03-17 09:56:30 [0.19ms] */
select * from `invoice` where `transaction_id` = 372749 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-03-17 09:56:30 [0.17ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 350291 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 21 - 2025-03-17 09:56:30 [0.63ms] */
select * from `transaction` where `transaction`.`id` = 372749 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-03-17 09:56:30 [0.22ms] */
select * from `invoice` where `transaction_id` = 372750 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-03-17 09:56:30 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 350292 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 24 - 2025-03-17 09:56:30 [0.63ms] */
select * from `transaction` where `transaction`.`id` = 372750 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-03-17 09:56:30 [0.21ms] */
select * from `invoice` where `transaction_id` = 372751 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2025-03-17 09:56:30 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 350293 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 27 - 2025-03-17 09:56:30 [0.63ms] */
select * from `transaction` where `transaction`.`id` = 372751 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-03-17 09:56:30 [0.21ms] */
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 29 - 2025-03-17 09:56:30 [0.2ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 1 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-03-17 09:56:30 [0.18ms] */
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 31 - 2025-03-17 09:56:30 [0.19ms] */
select * from `user_accounts` where `user_accounts`.`payment_provider_id` = 3 and `user_accounts`.`payment_provider_id` is not null and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-03-17 09:56:31 [2.08ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-03-17 09:56:31 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-03-17 09:56:31 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-03-17 09:56:31 [0.3ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-03-17 09:56:31 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-03-17 09:56:31 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-03-17 09:56:31 [0.17ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-03-17 09:56:32 [1.25ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-03-17 09:56:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-03-17 09:56:32 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-03-17 09:56:32 [0.16ms] */
select * from `users` where `id` = 152 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-03-17 09:56:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '57b8affded1a8d7bcbaf7c9fafafbd464054fdba3b7ea928d6d4914ee9778c5ffeb8df406967c4e3' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-03-17 09:56:32 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-03-17 09:56:32 [0.15ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 152 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/vehicle
   Query 1 - 2025-03-17 09:56:42 [2.75ms] */
select * from `oauth_access_tokens` where `id` = '5c55c098fdd786cb33e7528243c9a4390ee86f3a84e01a88b58966eb7732be48786e353477323084' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-03-17 09:56:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '5c55c098fdd786cb33e7528243c9a4390ee86f3a84e01a88b58966eb7732be48786e353477323084' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-03-17 09:56:42 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-03-17 09:56:42 [0.17ms] */
select * from `users` where `id` = 153 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-03-17 09:56:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '5c55c098fdd786cb33e7528243c9a4390ee86f3a84e01a88b58966eb7732be48786e353477323084' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-03-17 09:56:42 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-03-17 09:56:42 [0.35ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_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` = 'BW412' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-03-17 09:56:42 [0.15ms] */
select * from `party` where `party`.`id` = 49220 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-03-17 09:56:42 [0.15ms] */
select * from `vehicle` where `id` = 75113 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-03-17 09:56:42 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 75113 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-03-17 09:56:43 [2.16ms] */
select * from `oauth_access_tokens` where `id` = '5c55c098fdd786cb33e7528243c9a4390ee86f3a84e01a88b58966eb7732be48786e353477323084' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-03-17 09:56:43 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '5c55c098fdd786cb33e7528243c9a4390ee86f3a84e01a88b58966eb7732be48786e353477323084' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-03-17 09:56:43 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-03-17 09:56:43 [0.34ms] */
select * from `users` where `id` = 153 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-03-17 09:56:43 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '5c55c098fdd786cb33e7528243c9a4390ee86f3a84e01a88b58966eb7732be48786e353477323084' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-03-17 09:56:43 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-03-17 09:56:43 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 75113 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-03-17 09:56:43 [0.15ms] */
select * from `vehicle` where `id` = 75113 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-03-17 09:56:43 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 75113 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-03-17 09:56:43 [4.93ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 75113 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-03-17 09:56:44 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '5c55c098fdd786cb33e7528243c9a4390ee86f3a84e01a88b58966eb7732be48786e353477323084' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-03-17 09:56:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '5c55c098fdd786cb33e7528243c9a4390ee86f3a84e01a88b58966eb7732be48786e353477323084' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-03-17 09:56:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-03-17 09:56:44 [0.16ms] */
select * from `users` where `id` = 153 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-03-17 09:56:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '5c55c098fdd786cb33e7528243c9a4390ee86f3a84e01a88b58966eb7732be48786e353477323084' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-03-17 09:56:44 [0.16ms] */
