insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638289, 'INITIATED', '2025-06-27 11:59:34', 5, 183, 183, 183, '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 40 - 2025-06-27 11:59:34 [0.31ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 32449, `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 638289;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 41 - 2025-06-27 11:59:34 [0.44ms] */
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 (149956, 149957, 149958, 414897, 414898) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 42 - 2025-06-27 11:59:34 [0.36ms] */
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 (149956, 149957, 149958, 414897, 414898) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 43 - 2025-06-27 11:59:34 [0.41ms] */
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 (638289, 55616, '2025-06-27 11:59:34', '2025-06-27 11:59:34', 158.00, 0, 158.00, 158.00, 0, 'OPEN', 'N', 'Y', 183, 183, '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 44 - 2025-06-27 11:59:34 [0.33ms] */
select * from `invoice` where `id` = 611116 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 45 - 2025-06-27 11:59:34 [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":638289,"party_id":55616,"invoice_amount":"158.00","invoice_date":"2025-06-27 11:59:34","due_date":"2025-06-27 11:59:34","outstanding_balance":"158.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"158.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 183, 'App\Models\User', 611116, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 46 - 2025-06-27 11:59:34 [0.47ms] */
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 (149956, 149957, 149958, 414897, 414898) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 47 - 2025-06-27 11:59:34 [0.4ms] */
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', 5, 21.00, 158, 611116, 183, 183, '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 48 - 2025-06-27 11:59:34 [0.3ms] */
select * from `invoice_item` where `id` = 1096476 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 49 - 2025-06-27 11:59:34 [0.4ms] */
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":"21.00","quantity":5,"total_price":"158.00","invoice_id":611116}}', 183, 'App\Models\User', 1096476, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 50 - 2025-06-27 11:59:34 [0.24ms] */
update `invoice` set `invoice_number` = 'INV-695-611116897', `invoice`.`updated_at` = '2025-06-27 11:59:34' where `id` = 611116;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 51 - 2025-06-27 11:59:34 [0.27ms] */
select * from `invoice` where `id` = 611116 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 52 - 2025-06-27 11:59:34 [0.22ms] */
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-695-611116897"},"old":{"invoice_number":null}}', 183, 'App\Models\User', 611116, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 53 - 2025-06-27 11:59:34 [0.25ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 149956 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 54 - 2025-06-27 11:59:34 [0.23ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 183, `vehicle_tax`.`updated_at` = '2025-06-27 11:59:34' where `id` = 149956;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 55 - 2025-06-27 11:59:34 [0.25ms] */
select * from `vehicle_tax` where `id` = 149956 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 56 - 2025-06-27 11:59:34 [0.27ms] */
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"}}', 183, 'App\Models\User', 149956, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 57 - 2025-06-27 11:59:34 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 175870 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 58 - 2025-06-27 11:59:34 [0.25ms] */
update `transaction` set `parent_id` = 638289, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 175870;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 59 - 2025-06-27 11:59:34 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 164608 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 60 - 2025-06-27 11:59:34 [0.24ms] */
update `invoice` set `parent_id` = 611116, `grouped` = 'Y', `invoice`.`updated_at` = '2025-06-27 11:59:34' where `id` = 164608;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 61 - 2025-06-27 11:59:34 [0.27ms] */
select * from `invoice` where `id` = 164608 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 62 - 2025-06-27 11:59:34 [0.22ms] */
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":611116,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 183, 'App\Models\User', 164608, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 63 - 2025-06-27 11:59:34 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 175870 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 64 - 2025-06-27 11:59:34 [0.22ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 65 - 2025-06-27 11:59:34 [0.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 66 - 2025-06-27 11:59:34 [0.26ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 67 - 2025-06-27 11:59:34 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 68 - 2025-06-27 11:59:34 [0.23ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 69 - 2025-06-27 11:59:34 [0.27ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (175870, 'APPROVED', '2025-06-27 11:59:34', 5, 183, null, 183, 183, '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 70 - 2025-06-27 11:59:34 [0.25ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 71 - 2025-06-27 11:59:34 [0.27ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 175870;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 72 - 2025-06-27 11:59:34 [0.2ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 73 - 2025-06-27 11:59:34 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 164608 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 74 - 2025-06-27 11:59:34 [0.22ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 149957 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 75 - 2025-06-27 11:59:34 [0.18ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 183, `vehicle_tax`.`updated_at` = '2025-06-27 11:59:34' where `id` = 149957;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 76 - 2025-06-27 11:59:34 [0.22ms] */
select * from `vehicle_tax` where `id` = 149957 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 77 - 2025-06-27 11:59:34 [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"}}', 183, 'App\Models\User', 149957, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 78 - 2025-06-27 11:59:34 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 175871 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 79 - 2025-06-27 11:59:34 [0.45ms] */
update `transaction` set `parent_id` = 638289, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 175871;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 80 - 2025-06-27 11:59:34 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 164609 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 81 - 2025-06-27 11:59:34 [0.21ms] */
update `invoice` set `parent_id` = 611116, `grouped` = 'Y', `invoice`.`updated_at` = '2025-06-27 11:59:34' where `id` = 164609;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 82 - 2025-06-27 11:59:34 [0.22ms] */
select * from `invoice` where `id` = 164609 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 83 - 2025-06-27 11:59:34 [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":{"parent_id":611116,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 183, 'App\Models\User', 164609, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 84 - 2025-06-27 11:59:34 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 175871 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 85 - 2025-06-27 11:59:34 [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://rta2.puntlandgov.org/api/make_payment
   Query 86 - 2025-06-27 11:59:34 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 87 - 2025-06-27 11:59:34 [0.22ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 88 - 2025-06-27 11:59:34 [0.2ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 89 - 2025-06-27 11:59:34 [0.24ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (175871, 'APPROVED', '2025-06-27 11:59:34', 5, 183, null, 183, 183, '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 90 - 2025-06-27 11:59:34 [0.26ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 91 - 2025-06-27 11:59:34 [0.26ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 175871;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 92 - 2025-06-27 11:59:34 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 93 - 2025-06-27 11:59:34 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 164609 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 94 - 2025-06-27 11:59:34 [0.23ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 149958 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 95 - 2025-06-27 11:59:34 [0.2ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 183, `vehicle_tax`.`updated_at` = '2025-06-27 11:59:34' where `id` = 149958;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 96 - 2025-06-27 11:59:34 [0.2ms] */
select * from `vehicle_tax` where `id` = 149958 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 97 - 2025-06-27 11:59:34 [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"}}', 183, 'App\Models\User', 149958, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 98 - 2025-06-27 11:59:34 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 175872 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 99 - 2025-06-27 11:59:34 [0.21ms] */
update `transaction` set `parent_id` = 638289, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 175872;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 100 - 2025-06-27 11:59:34 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 164610 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 101 - 2025-06-27 11:59:34 [0.21ms] */
update `invoice` set `parent_id` = 611116, `grouped` = 'Y', `invoice`.`updated_at` = '2025-06-27 11:59:34' where `id` = 164610;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 102 - 2025-06-27 11:59:34 [0.21ms] */
select * from `invoice` where `id` = 164610 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 103 - 2025-06-27 11:59:34 [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":{"parent_id":611116,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 183, 'App\Models\User', 164610, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 104 - 2025-06-27 11:59:34 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 175872 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 105 - 2025-06-27 11:59:34 [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://rta2.puntlandgov.org/api/make_payment
   Query 106 - 2025-06-27 11:59:34 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 107 - 2025-06-27 11:59:34 [0.19ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 108 - 2025-06-27 11:59:34 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 109 - 2025-06-27 11:59:34 [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 (175872, 'APPROVED', '2025-06-27 11:59:34', 5, 183, null, 183, 183, '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 110 - 2025-06-27 11:59:34 [0.25ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 111 - 2025-06-27 11:59:34 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 175872;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 112 - 2025-06-27 11:59:34 [0.2ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 113 - 2025-06-27 11:59:34 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 164610 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 114 - 2025-06-27 11:59:34 [0.21ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 414897 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 115 - 2025-06-27 11:59:34 [0.18ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 183, `vehicle_tax`.`updated_at` = '2025-06-27 11:59:34' where `id` = 414897;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 116 - 2025-06-27 11:59:34 [0.21ms] */
select * from `vehicle_tax` where `id` = 414897 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 117 - 2025-06-27 11:59:34 [0.26ms] */
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"}}', 183, 'App\Models\User', 414897, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 118 - 2025-06-27 11:59:34 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 524372 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 119 - 2025-06-27 11:59:34 [0.23ms] */
update `transaction` set `parent_id` = 638289, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 524372;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 120 - 2025-06-27 11:59:34 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 500079 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 121 - 2025-06-27 11:59:34 [0.62ms] */
update `invoice` set `parent_id` = 611116, `grouped` = 'Y', `invoice`.`updated_at` = '2025-06-27 11:59:34' where `id` = 500079;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 122 - 2025-06-27 11:59:34 [0.24ms] */
select * from `invoice` where `id` = 500079 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 123 - 2025-06-27 11:59:34 [0.22ms] */
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":611116,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 183, 'App\Models\User', 500079, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 124 - 2025-06-27 11:59:34 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 524372 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 125 - 2025-06-27 11:59:34 [0.2ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 126 - 2025-06-27 11:59:34 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 127 - 2025-06-27 11:59:34 [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://rta2.puntlandgov.org/api/make_payment
   Query 128 - 2025-06-27 11:59:34 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 129 - 2025-06-27 11:59:34 [0.29ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (524372, 'APPROVED', '2025-06-27 11:59:34', 5, 183, null, 183, 183, '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 130 - 2025-06-27 11:59:34 [0.27ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 131 - 2025-06-27 11:59:34 [0.28ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 524372;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 132 - 2025-06-27 11:59:34 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 133 - 2025-06-27 11:59:34 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 500079 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 134 - 2025-06-27 11:59:34 [0.25ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 414898 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 135 - 2025-06-27 11:59:34 [0.2ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 183, `vehicle_tax`.`updated_at` = '2025-06-27 11:59:34' where `id` = 414898;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 136 - 2025-06-27 11:59:34 [0.23ms] */
select * from `vehicle_tax` where `id` = 414898 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 137 - 2025-06-27 11:59:34 [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"}}', 183, 'App\Models\User', 414898, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 138 - 2025-06-27 11:59:34 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 524373 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 139 - 2025-06-27 11:59:34 [0.22ms] */
update `transaction` set `parent_id` = 638289, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 524373;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 140 - 2025-06-27 11:59:34 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 500080 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 141 - 2025-06-27 11:59:34 [0.26ms] */
update `invoice` set `parent_id` = 611116, `grouped` = 'Y', `invoice`.`updated_at` = '2025-06-27 11:59:34' where `id` = 500080;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 142 - 2025-06-27 11:59:34 [0.23ms] */
select * from `invoice` where `id` = 500080 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 143 - 2025-06-27 11:59:34 [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":611116,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 183, 'App\Models\User', 500080, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 144 - 2025-06-27 11:59:34 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 524373 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 145 - 2025-06-27 11:59:34 [0.2ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 146 - 2025-06-27 11:59:34 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 147 - 2025-06-27 11:59:34 [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://rta2.puntlandgov.org/api/make_payment
   Query 148 - 2025-06-27 11:59:34 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 149 - 2025-06-27 11:59:34 [0.34ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (524373, 'APPROVED', '2025-06-27 11:59:34', 5, 183, null, 183, 183, '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 150 - 2025-06-27 11:59:34 [0.33ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 151 - 2025-06-27 11:59:34 [0.32ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 524373;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 152 - 2025-06-27 11:59:34 [0.28ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 153 - 2025-06-27 11:59:34 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 500080 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 154 - 2025-06-27 11:59:34 [0.28ms] */
update `transaction` set `invoice_id` = 611116, `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 638289;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 155 - 2025-06-27 11:59:34 [0.33ms] */
update `vehicle` set `updated_by` = 183, `vehicle`.`updated_at` = '2025-06-27 11:59:34' where `id` = 88920;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 156 - 2025-06-27 11:59:34 [0.29ms] */
select * from `vehicle` where `id` = 88920 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 157 - 2025-06-27 11:59:34 [0.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 183, 'App\Models\User', 88920, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 158 - 2025-06-27 11:59:34 [0.41ms] */
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":183}', 'updated', 88920, 'Modules\Vehicle\Entities\Vehicle', 183, 'App\Models\User', null, '41.223.109.136', 'Dart/3.4 (dart:io)', 'https://rta2.puntlandgov.org/api/make_payment', '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 159 - 2025-06-27 11:59:34 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 160 - 2025-06-27 11:59:34 [0.21ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 161 - 2025-06-27 11:59:34 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 162 - 2025-06-27 11:59:34 [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://rta2.puntlandgov.org/api/make_payment
   Query 163 - 2025-06-27 11:59:34 [0.23ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638289, 'APPROVED', '2025-06-27 11:59:34', 5, 183, null, 183, 183, '2025-06-27 11:59:34', '2025-06-27 11:59:34');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 164 - 2025-06-27 11:59:34 [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://rta2.puntlandgov.org/api/make_payment
   Query 165 - 2025-06-27 11:59:34 [0.33ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-06-27 11:59:34' where `id` = 638289;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 166 - 2025-06-27 11:59:34 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 167 - 2025-06-27 11:59:34 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 611116 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 168 - 2025-06-27 11:59:34 [0.37ms] */
select `transaction_id` from `vehicle_tax` where `id` in (149956, 149957, 149958, 414897, 414898) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 169 - 2025-06-27 11:59:34 [0.4ms] */
select * from `invoice` where `transaction_id` = 175870 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 170 - 2025-06-27 11:59:34 [0.37ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 164608 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 171 - 2025-06-27 11:59:34 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 175870 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 172 - 2025-06-27 11:59:34 [0.36ms] */
select * from `invoice` where `transaction_id` = 175871 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 173 - 2025-06-27 11:59:34 [0.36ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 164609 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 174 - 2025-06-27 11:59:34 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 175871 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 175 - 2025-06-27 11:59:34 [0.37ms] */
select * from `invoice` where `transaction_id` = 175872 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 176 - 2025-06-27 11:59:34 [0.34ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 164610 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 177 - 2025-06-27 11:59:34 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 175872 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 178 - 2025-06-27 11:59:34 [0.37ms] */
select * from `invoice` where `transaction_id` = 524372 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 179 - 2025-06-27 11:59:34 [0.35ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 500079 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 180 - 2025-06-27 11:59:34 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 524372 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 181 - 2025-06-27 11:59:34 [0.38ms] */
select * from `invoice` where `transaction_id` = 524373 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 182 - 2025-06-27 11:59:34 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 500080 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 183 - 2025-06-27 11:59:34 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 524373 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 184 - 2025-06-27 11:59:34 [0.2ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 185 - 2025-06-27 11:59:34 [0.2ms] */
select * from `user_accounts` where `user_id` = 183 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 186 - 2025-06-27 11:59:34 [0.18ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 187 - 2025-06-27 11:59:34 [0.2ms] */
select * from `user_accounts` where `user_id` = 183 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 1 - 2025-06-27 11:59:35 [1.41ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 2 - 2025-06-27 11:59:35 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 3 - 2025-06-27 11:59:35 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 4 - 2025-06-27 11:59:35 [0.2ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 5 - 2025-06-27 11:59:35 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 6 - 2025-06-27 11:59:35 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 7 - 2025-06-27 11:59:35 [0.44ms] */
select * from `transaction` where `id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 8 - 2025-06-27 11:59:35 [0.42ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 638289 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 9 - 2025-06-27 11:59:35 [0.32ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 638289 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 10 - 2025-06-27 11:59:35 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 611116 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 11 - 2025-06-27 11:59:35 [0.47ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 611116 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 11:59:35 [1.44ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 11:59:35 [0.18ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 11:59:35 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 11:59:35 [0.21ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 11:59:35 [0.18ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 11:59:35 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 11:59:35 [0.23ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-06-27 12:00:04 [1.68ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-06-27 12:00:04 [0.25ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-06-27 12:00:04 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-06-27 12:00:04 [0.27ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-06-27 12:00:04 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-06-27 12:00:04 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-06-27 12:00:04 [0.26ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-06-27 12:00:04 [0.27ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-06-27 12:00:56 [1.77ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-06-27 12:00:56 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-06-27 12:00:56 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-06-27 12:00:56 [0.3ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-06-27 12:00:56 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-06-27 12:00:56 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-06-27 12:00:56 [0.45ms] */
delete from `payment_documents` where `transaction_id` = 638289 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-06-27 12:00:56 [27.46ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2547129;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-06-27 12:00:56 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-06-27 12:00:57 [506.26ms] */
select * from `transaction` where `parent_id` = 638289 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-06-27 12:00:57 [11.32ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (175870, 'GOV_RECEIPT_IMAGE', 2547129, 1, '2025-06-27 12:00:57', '2025-06-27 12:00:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-06-27 12:00:57 [3.33ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (175871, 'GOV_RECEIPT_IMAGE', 2547129, 1, '2025-06-27 12:00:57', '2025-06-27 12:00:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-06-27 12:00:57 [3.24ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (175872, 'GOV_RECEIPT_IMAGE', 2547129, 1, '2025-06-27 12:00:57', '2025-06-27 12:00:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-06-27 12:00:57 [3.23ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (524372, 'GOV_RECEIPT_IMAGE', 2547129, 1, '2025-06-27 12:00:57', '2025-06-27 12:00:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-06-27 12:00:57 [3.02ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (524373, 'GOV_RECEIPT_IMAGE', 2547129, 1, '2025-06-27 12:00:57', '2025-06-27 12:00:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 16 - 2025-06-27 12:00:57 [3.13ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (638289, 'GOV_RECEIPT_IMAGE', 2547129, 1, '2025-06-27 12:00:57', '2025-06-27 12:00:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 17 - 2025-06-27 12:00:57 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 18 - 2025-06-27 12:00:57 [3.21ms] */
update `transaction` set `paid_by` = 'maxed c/karin', `paid_by_mobile` = 7777641, `transaction`.`updated_at` = '2025-06-27 12:00:57' where `id` = 638289;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 19 - 2025-06-27 12:00:57 [17.07ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-06-27 12:00:57' where `receipt_number` = 2547129 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-06-27 12:01:05 [1.48ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-06-27 12:01:05 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-06-27 12:01:05 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-06-27 12:01:05 [0.26ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-06-27 12:01:05 [0.21ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-06-27 12:01:05 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-06-27 12:01:05 [6.83ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-06-27 12:01:05 [5.53ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-06-27 12:01:11 [2.04ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-06-27 12:01:11 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-06-27 12:01:11 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-06-27 12:01:11 [0.32ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-06-27 12:01:11 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-06-27 12:01:11 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-06-27 12:01:11 [0.32ms] */
delete from `payment_documents` where `transaction_id` = 638289 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-06-27 12:01:11 [21.79ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 130429;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-06-27 12:01:11 [0.48ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-06-27 12:01:11 [484.85ms] */
select * from `transaction` where `parent_id` = 638289 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-06-27 12:01:11 [11.53ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (175870, 'SERVICE_RECEIPT_IMAGE', 130429, 1, '2025-06-27 12:01:11', '2025-06-27 12:01:11');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-06-27 12:01:11 [3.67ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (175871, 'SERVICE_RECEIPT_IMAGE', 130429, 1, '2025-06-27 12:01:11', '2025-06-27 12:01:11');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-06-27 12:01:11 [3.47ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (175872, 'SERVICE_RECEIPT_IMAGE', 130429, 1, '2025-06-27 12:01:11', '2025-06-27 12:01:11');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-06-27 12:01:11 [3.2ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (524372, 'SERVICE_RECEIPT_IMAGE', 130429, 1, '2025-06-27 12:01:11', '2025-06-27 12:01:11');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-06-27 12:01:11 [3.19ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (524373, 'SERVICE_RECEIPT_IMAGE', 130429, 1, '2025-06-27 12:01:11', '2025-06-27 12:01:11');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 16 - 2025-06-27 12:01:11 [2.96ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (638289, 'SERVICE_RECEIPT_IMAGE', 130429, 1, '2025-06-27 12:01:11', '2025-06-27 12:01:11');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 17 - 2025-06-27 12:01:11 [15.93ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-06-27 12:01:11' where `receipt_number` = 130429 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-06-27 12:01:12 [1.48ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-06-27 12:01:12 [0.18ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-06-27 12:01:12 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-06-27 12:01:12 [0.21ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-06-27 12:01:12 [0.18ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-06-27 12:01:12 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-06-27 12:01:12 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-06-27 12:01:12 [0.63ms] */
select * from `invoice_payment` where `invoice_id` = 611116 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-06-27 12:01:12 [186.66ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 638289 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-06-27 12:01:12 [139.54ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 638289 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-06-27 12:01:12 [0.5ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-06-27 12:01:12 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-06-27 12:01:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 14 - 2025-06-27 12:01:12 [0.35ms] */
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://rta2.puntlandgov.org/api/confirm_payment
   Query 15 - 2025-06-27 12:01:12 [379.61ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 638289 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-06-27 12:01:12 [0.23ms] */
select * from `party` where `party`.`id` = 55616 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-06-27 12:01:12 [1.14ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-06-27 12:01:12', 2497414, 2547129, 1, 158.00, 'maxed c/karin', 7777641, null, 37, 183, 183, 183, '2025-06-27 12:01:12', '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-06-27 12:01:12 [0.22ms] */
select * from `Payment` where `id` = 202097 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-06-27 12:01:12 [0.58ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":1,"payment_amount":"158.00","payment_date":"2025-06-27 12:01:12","external_payment_reference_no":"2497414","payment_receipt_number":"2547129","siinpay_payref_number":null,"paid_by":"maxed c\/karin","paid_by_mobile":"7777641","district_id":37,"migration_id":null,"payment_collected_by":183}}', 183, 'App\Models\User', 202097, 'Modules\Transaction\Entities\Payment', 'created', '2025-06-27 12:01:12', '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-06-27 12:01:12 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-06-27 12:01:12 [0.36ms] */
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://rta2.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-06-27 12:01:12 [0.38ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 23 - 2025-06-27 12:01:12 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 164608 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 24 - 2025-06-27 12:01:12 [1.45ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-06-27 12:01:12', 164608, 202097, '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-06-27 12:01:12 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 164608 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-06-27 12:01:12 [0.25ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 164608 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-06-27 12:01:12 [0.58ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 164608 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-06-27 12:01:12 [0.21ms] */
update `invoice` set `invoice_amount` = 21, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 21, `status` = 'PAID', `invoice`.`updated_at` = '2025-06-27 12:01:12' where `id` = 164608;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 29 - 2025-06-27 12:01:12 [0.19ms] */
select * from `invoice` where `id` = 164608 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-06-27 12:01:12 [0.32ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"21.00","status":"OPEN"}}', 183, 'App\Models\User', 164608, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 12:01:12', '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-06-27 12:01:12 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 175870 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-06-27 12:01:12 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 175870 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-06-27 12:01:12 [0.12ms] */
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://rta2.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-06-27 12:01:12 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-06-27 12:01:12 [0.4ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 36 - 2025-06-27 12:01:12 [0.85ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (175870, 'PAID', '2025-06-27 12:01:12', 7, 183, null, 183, 183, '2025-06-27 12:01:12', '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 37 - 2025-06-27 12:01:12 [0.32ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-06-27 12:01:12 [0.86ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-06-27 12:01:12' where `id` = 175870;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-06-27 12:01:12 [0.18ms] */
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://rta2.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-06-27 12:01:12 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 164608 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 41 - 2025-06-27 12:01:12 [0.39ms] */
select * from `vehicle_tax` where `transaction_id` = 175870 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 42 - 2025-06-27 12:01:12 [0.16ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-06-27 12:01:12' where `id` = 149956;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-06-27 12:01:12 [0.32ms] */
select * from `vehicle_tax` where `id` = 149956 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-06-27 12:01:12 [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":"PAID"},"old":{"status":"INPROGRESS"}}', 183, 'App\Models\User', 149956, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 12:01:12', '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-06-27 12:01:12 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 164609 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-06-27 12:01:12 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-06-27 12:01:12', 164609, 202097, '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-06-27 12:01:12 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 164609 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-06-27 12:01:12 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 164609 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-06-27 12:01:12 [0.27ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 164609 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-06-27 12:01:12 [0.16ms] */
update `invoice` set `invoice_amount` = 21, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 21, `status` = 'PAID', `invoice`.`updated_at` = '2025-06-27 12:01:12' where `id` = 164609;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-06-27 12:01:12 [0.18ms] */
select * from `invoice` where `id` = 164609 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-06-27 12:01:12 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"21.00","status":"OPEN"}}', 183, 'App\Models\User', 164609, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 12:01:12', '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-06-27 12:01:12 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 175871 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-06-27 12:01:12 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 175871 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-06-27 12:01:12 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-06-27 12:01:12 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 57 - 2025-06-27 12:01:12 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 58 - 2025-06-27 12:01:12 [0.46ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (175871, 'PAID', '2025-06-27 12:01:12', 7, 183, null, 183, 183, '2025-06-27 12:01:12', '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 59 - 2025-06-27 12:01:12 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-06-27 12:01:12 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-06-27 12:01:12' where `id` = 175871;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 61 - 2025-06-27 12:01:12 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-06-27 12:01:12 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 164609 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 63 - 2025-06-27 12:01:12 [0.18ms] */
select * from `vehicle_tax` where `transaction_id` = 175871 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 64 - 2025-06-27 12:01:12 [0.15ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-06-27 12:01:12' where `id` = 149957;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 65 - 2025-06-27 12:01:12 [0.17ms] */
select * from `vehicle_tax` where `id` = 149957 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 66 - 2025-06-27 12:01:12 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 183, 'App\Models\User', 149957, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 12:01:12', '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 67 - 2025-06-27 12:01:12 [0.47ms] */
select * from `invoice` where `invoice`.`id` = 164610 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 68 - 2025-06-27 12:01:12 [0.34ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-06-27 12:01:12', 164610, 202097, '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 69 - 2025-06-27 12:01:12 [0.36ms] */
select * from `invoice` where `invoice`.`id` = 164610 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 70 - 2025-06-27 12:01:12 [0.48ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 164610 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 71 - 2025-06-27 12:01:12 [0.4ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 164610 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 72 - 2025-06-27 12:01:12 [0.41ms] */
update `invoice` set `invoice_amount` = 21, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 21, `status` = 'PAID', `invoice`.`updated_at` = '2025-06-27 12:01:12' where `id` = 164610;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 73 - 2025-06-27 12:01:12 [0.35ms] */
select * from `invoice` where `id` = 164610 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 74 - 2025-06-27 12:01:12 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"21.00","status":"OPEN"}}', 183, 'App\Models\User', 164610, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 12:01:12', '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 75 - 2025-06-27 12:01:12 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 175872 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 76 - 2025-06-27 12:01:12 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 175872 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 77 - 2025-06-27 12:01:12 [0.26ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 78 - 2025-06-27 12:01:12 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 79 - 2025-06-27 12:01:12 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 80 - 2025-06-27 12:01:12 [0.27ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (175872, 'PAID', '2025-06-27 12:01:12', 7, 183, null, 183, 183, '2025-06-27 12:01:12', '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 81 - 2025-06-27 12:01:12 [0.3ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 82 - 2025-06-27 12:01:12 [0.32ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-06-27 12:01:12' where `id` = 175872;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 83 - 2025-06-27 12:01:12 [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://rta2.puntlandgov.org/api/confirm_payment
   Query 84 - 2025-06-27 12:01:12 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 164610 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 85 - 2025-06-27 12:01:12 [0.25ms] */
select * from `vehicle_tax` where `transaction_id` = 175872 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 86 - 2025-06-27 12:01:12 [0.2ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-06-27 12:01:12' where `id` = 149958;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 87 - 2025-06-27 12:01:12 [0.23ms] */
select * from `vehicle_tax` where `id` = 149958 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 88 - 2025-06-27 12:01:12 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 183, 'App\Models\User', 149958, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 12:01:12', '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 89 - 2025-06-27 12:01:12 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 500079 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 90 - 2025-06-27 12:01:12 [0.21ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-06-27 12:01:12', 500079, 202097, '2025-06-27 12:01:12');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 91 - 2025-06-27 12:01:12 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 500079 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 92 - 2025-06-27 12:01:12 [0.59ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 500079 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 93 - 2025-06-27 12:01:12 [0.76ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 500079 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 94 - 2025-06-27 12:01:13 [0.23ms] */
update `invoice` set `invoice_amount` = 64, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 64, `status` = 'PAID', `invoice`.`updated_at` = '2025-06-27 12:01:12' where `id` = 500079;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 95 - 2025-06-27 12:01:13 [0.24ms] */
select * from `invoice` where `id` = 500079 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 96 - 2025-06-27 12:01:13 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"64.00","status":"OPEN"}}', 183, 'App\Models\User', 500079, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 12:01:13', '2025-06-27 12:01:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 97 - 2025-06-27 12:01:13 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 524372 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 98 - 2025-06-27 12:01:13 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 524372 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 99 - 2025-06-27 12:01:13 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 100 - 2025-06-27 12:01:13 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 101 - 2025-06-27 12:01:13 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 102 - 2025-06-27 12:01:13 [0.42ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (524372, 'PAID', '2025-06-27 12:01:13', 7, 183, null, 183, 183, '2025-06-27 12:01:13', '2025-06-27 12:01:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 103 - 2025-06-27 12:01:13 [0.39ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 104 - 2025-06-27 12:01:13 [0.69ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-06-27 12:01:13' where `id` = 524372;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 105 - 2025-06-27 12:01:13 [0.32ms] */
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://rta2.puntlandgov.org/api/confirm_payment
   Query 106 - 2025-06-27 12:01:13 [0.39ms] */
select * from `invoice` where `invoice`.`id` = 500079 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 107 - 2025-06-27 12:01:13 [0.34ms] */
select * from `vehicle_tax` where `transaction_id` = 524372 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 108 - 2025-06-27 12:01:13 [0.21ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-06-27 12:01:13' where `id` = 414897;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 109 - 2025-06-27 12:01:13 [0.29ms] */
select * from `vehicle_tax` where `id` = 414897 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 110 - 2025-06-27 12:01:13 [0.59ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 183, 'App\Models\User', 414897, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 12:01:13', '2025-06-27 12:01:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 111 - 2025-06-27 12:01:13 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 500080 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 112 - 2025-06-27 12:01:13 [0.21ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-06-27 12:01:13', 500080, 202097, '2025-06-27 12:01:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 113 - 2025-06-27 12:01:13 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 500080 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 114 - 2025-06-27 12:01:13 [0.33ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 500080 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 115 - 2025-06-27 12:01:13 [0.28ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 500080 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 116 - 2025-06-27 12:01:13 [0.24ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 31, `status` = 'PAID', `invoice`.`updated_at` = '2025-06-27 12:01:13' where `id` = 500080;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 117 - 2025-06-27 12:01:13 [0.26ms] */
select * from `invoice` where `id` = 500080 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 118 - 2025-06-27 12:01:13 [0.24ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"31.00","status":"OPEN"}}', 183, 'App\Models\User', 500080, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 12:01:13', '2025-06-27 12:01:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 119 - 2025-06-27 12:01:13 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 524373 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 120 - 2025-06-27 12:01:13 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 524373 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 121 - 2025-06-27 12:01:13 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 122 - 2025-06-27 12:01:13 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 123 - 2025-06-27 12:01:13 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 124 - 2025-06-27 12:01:13 [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 (524373, 'PAID', '2025-06-27 12:01:13', 7, 183, null, 183, 183, '2025-06-27 12:01:13', '2025-06-27 12:01:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 125 - 2025-06-27 12:01:13 [0.25ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 126 - 2025-06-27 12:01:13 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-06-27 12:01:13' where `id` = 524373;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 127 - 2025-06-27 12:01:13 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 128 - 2025-06-27 12:01:13 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 500080 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 129 - 2025-06-27 12:01:13 [0.23ms] */
select * from `vehicle_tax` where `transaction_id` = 524373 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 130 - 2025-06-27 12:01:13 [0.19ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-06-27 12:01:13' where `id` = 414898;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 131 - 2025-06-27 12:01:13 [0.23ms] */
select * from `vehicle_tax` where `id` = 414898 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 132 - 2025-06-27 12:01:13 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 183, 'App\Models\User', 414898, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 12:01:13', '2025-06-27 12:01:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 133 - 2025-06-27 12:01:13 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 611116 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 134 - 2025-06-27 12:01:13 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 611116 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 135 - 2025-06-27 12:01:13 [0.18ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-06-27 12:01:13', 611116, 202097, '2025-06-27 12:01:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 136 - 2025-06-27 12:01:13 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 611116 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 137 - 2025-06-27 12:01:13 [0.34ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 611116 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 138 - 2025-06-27 12:01:13 [0.2ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-06-27 12:01:13' where `id` = 611116;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 139 - 2025-06-27 12:01:13 [0.22ms] */
select * from `invoice` where `id` = 611116 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 140 - 2025-06-27 12:01:13 [0.5ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"158.00","status":"OPEN"}}', 183, 'App\Models\User', 611116, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-27 12:01:13', '2025-06-27 12:01:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 141 - 2025-06-27 12:01:13 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 142 - 2025-06-27 12:01:13 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 143 - 2025-06-27 12:01:13 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 144 - 2025-06-27 12:01:13 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 145 - 2025-06-27 12:01:13 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 146 - 2025-06-27 12:01:13 [0.48ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638289, 'PAID', '2025-06-27 12:01:13', 7, 183, null, 183, 183, '2025-06-27 12:01:13', '2025-06-27 12:01:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 147 - 2025-06-27 12:01:13 [0.27ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 148 - 2025-06-27 12:01:13 [0.26ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-06-27 12:01:13' where `id` = 638289;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 149 - 2025-06-27 12:01:13 [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://rta2.puntlandgov.org/api/confirm_payment
   Query 150 - 2025-06-27 12:01:13 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 611116 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 151 - 2025-06-27 12:01:13 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 152 - 2025-06-27 12:01:13 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 153 - 2025-06-27 12:01:13 [0.3ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638289, 'CLAIMED', '2025-06-27 12:01:13', 8, 183, 183, 183, '2025-06-27 12:01:13', '2025-06-27 12:01:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 154 - 2025-06-27 12:01:13 [0.32ms] */
update `transaction` set `assigned_to` = 183, `transaction`.`updated_at` = '2025-06-27 12:01:13' where `id` = 638289;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-06-27 12:01:25 [1.56ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-06-27 12:01:25 [0.19ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-06-27 12:01:25 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-06-27 12:01:25 [0.21ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-06-27 12:01:25 [0.19ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-06-27 12:01:25 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-06-27 12:01:25 [0.37ms] */
select * from `vehicle_tax` where `id` = 414898 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-06-27 12:01:25 [0.19ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-06-27 12:01:25 [1.22ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-06-27 12:02:32 [1.5ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-06-27 12:02:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-06-27 12:02:32 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-06-27 12:02:32 [0.18ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-06-27 12:02:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-06-27 12:02:32 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-06-27 12:02:32 [0.18ms] */
select * from `vehicle_tax` where `id` = 414898 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-06-27 12:02:32 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-06-27 12:02:32 [20.72ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2-02%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-06-27 12:02:54 [1.28ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-06-27 12:02:54 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-06-27 12:02:54 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-06-27 12:02:54 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-06-27 12:02:54 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-06-27 12:02:54 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-06-27 12:02:54 [0.16ms] */
select * from `vehicle_tax` where `id` = 414898 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-06-27 12:02:54 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-06-27 12:02:54 [17.88ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2-021%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-06-27 12:02:55 [1.32ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-06-27 12:02:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-06-27 12:02:55 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-06-27 12:02:55 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-06-27 12:02:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-06-27 12:02:55 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-06-27 12:02:55 [0.17ms] */
select * from `vehicle_tax` where `id` = 414898 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-06-27 12:02:55 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-06-27 12:02:55 [18.42ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2-0213%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 1 - 2025-06-27 12:03:05 [1.32ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 2 - 2025-06-27 12:03:05 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 3 - 2025-06-27 12:03:05 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 4 - 2025-06-27 12:03:05 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 5 - 2025-06-27 12:03:05 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 6 - 2025-06-27 12:03:05 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 7 - 2025-06-27 12:03:05 [0.32ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 657732 and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 8 - 2025-06-27 12:03:05 [0.17ms] */
select * from `vehicle_tax` where `id` = 414898 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 9 - 2025-06-27 12:03:05 [11.22ms] */
update `vehicle_tax` set `tax_sticker_id` = 657732, `vehicle_tax`.`updated_at` = '2025-06-27 12:03:05' where `id` = 414898;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 10 - 2025-06-27 12:03:05 [0.45ms] */
select * from `vehicle_tax` where `id` = 414898 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 11 - 2025-06-27 12:03:05 [3.48ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"tax_sticker_id":657732},"old":{"tax_sticker_id":null}}', 183, 'App\Models\User', 414898, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 12 - 2025-06-27 12:03:05 [3.45ms] */
update `tax_sticker` set `assigned` = 'Y', `updated_by` = 183, `tax_sticker`.`updated_at` = '2025-06-27 12:03:05' where `id` = 657732;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 1 - 2025-06-27 12:03:05 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 2 - 2025-06-27 12:03:05 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 3 - 2025-06-27 12:03:05 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 4 - 2025-06-27 12:03:05 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 5 - 2025-06-27 12:03:05 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 6 - 2025-06-27 12:03:05 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 7 - 2025-06-27 12:03:05 [0.77ms] */
select * from `vehicle_tax` where `id` in (149956, 149957, 149958, 414897, 414898) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 8 - 2025-06-27 12:03:05 [0.56ms] */
select * from `transaction` where `transaction`.`id` = 175870 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 9 - 2025-06-27 12:03:05 [0.51ms] */
select * from `transaction` where `transaction`.`id` = 175870 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 10 - 2025-06-27 12:03:05 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 11 - 2025-06-27 12:03:05 [0.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 12 - 2025-06-27 12:03:05 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 13 - 2025-06-27 12:03:05 [0.35ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (175870, 'APPROVED', '2025-06-27 12:03:05', 8, 183, null, 183, 183, '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 14 - 2025-06-27 12:03:05 [0.36ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 15 - 2025-06-27 12:03:05 [0.43ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-06-27 12:03:05' where `id` = 175870;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 16 - 2025-06-27 12:03:05 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 17 - 2025-06-27 12:03:05 [0.33ms] */
select * from `vehicle_tax` where `transaction_id` = 175870 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 18 - 2025-06-27 12:03:05 [0.26ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-06-27 12:03:05' where `id` = 149956;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 19 - 2025-06-27 12:03:05 [0.29ms] */
select * from `vehicle_tax` where `id` = 149956 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 20 - 2025-06-27 12:03:05 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"ISSUED"},"old":{"status":"PAID"}}', 183, 'App\Models\User', 149956, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 21 - 2025-06-27 12:03:05 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 164608 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 22 - 2025-06-27 12:03:05 [0.41ms] */
select * from `transaction` where `id` = 175870 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 23 - 2025-06-27 12:03:05 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 24 - 2025-06-27 12:03:05 [0.25ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 25 - 2025-06-27 12:03:05 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 26 - 2025-06-27 12:03:05 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 27 - 2025-06-27 12:03:05 [0.31ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638289, 'APPROVED', '2025-06-27 12:03:05', 8, 183, null, 183, 183, '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 28 - 2025-06-27 12:03:05 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 29 - 2025-06-27 12:03:05 [1.57ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-06-27 12:03:05' where `id` = 638289;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 30 - 2025-06-27 12:03:05 [0.34ms] */
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://rta2.puntlandgov.org/api/complete_transaction
   Query 31 - 2025-06-27 12:03:05 [6.57ms] */
select * from `vehicle_tax` where `transaction_id` = 638289 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 32 - 2025-06-27 12:03:05 [0.47ms] */
select * from `invoice` where `invoice`.`id` = 611116 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 33 - 2025-06-27 12:03:05 [0.22ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 34 - 2025-06-27 12:03:05 [0.37ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 35 - 2025-06-27 12:03:05 [0.24ms] */
select * from `party` where `party`.`id` = 55616 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 36 - 2025-06-27 12:03:05 [0.24ms] */
select * from `person` where `person`.`id` = 55616 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 37 - 2025-06-27 12:03:05 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 88920 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 38 - 2025-06-27 12:03:05 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 164608 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 39 - 2025-06-27 12:03:05 [0.36ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 164608 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 40 - 2025-06-27 12:03:05 [0.38ms] */
select * from `Payment` where `Payment`.`id` = 202097 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 41 - 2025-06-27 12:03:05 [0.34ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 42 - 2025-06-27 12:03:05 [0.42ms] */
select * from `transaction` where `transaction`.`id` = 175871 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 43 - 2025-06-27 12:03:05 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 175871 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 44 - 2025-06-27 12:03:05 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 45 - 2025-06-27 12:03:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 46 - 2025-06-27 12:03:05 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 47 - 2025-06-27 12:03:05 [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 (175871, 'APPROVED', '2025-06-27 12:03:05', 8, 183, null, 183, 183, '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 48 - 2025-06-27 12:03:05 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 49 - 2025-06-27 12:03:05 [0.26ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-06-27 12:03:05' where `id` = 175871;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 50 - 2025-06-27 12:03:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 51 - 2025-06-27 12:03:05 [0.21ms] */
select * from `vehicle_tax` where `transaction_id` = 175871 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 52 - 2025-06-27 12:03:05 [0.16ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-06-27 12:03:05' where `id` = 149957;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 53 - 2025-06-27 12:03:05 [0.18ms] */
select * from `vehicle_tax` where `id` = 149957 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 54 - 2025-06-27 12:03:05 [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":"ISSUED"},"old":{"status":"PAID"}}', 183, 'App\Models\User', 149957, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 55 - 2025-06-27 12:03:05 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 164609 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 56 - 2025-06-27 12:03:05 [0.24ms] */
select * from `transaction` where `id` = 175871 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 57 - 2025-06-27 12:03:05 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 58 - 2025-06-27 12:03:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 59 - 2025-06-27 12:03:05 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 60 - 2025-06-27 12:03:05 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 9 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 61 - 2025-06-27 12:03:05 [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 (638289, 'APPROVED', '2025-06-27 12:03:05', 9, 183, null, 183, 183, '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 62 - 2025-06-27 12:03:05 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 5 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 63 - 2025-06-27 12:03:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 64 - 2025-06-27 12:03:05 [0.2ms] */
select * from `vehicle_tax` where `transaction_id` = 638289 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 65 - 2025-06-27 12:03:05 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 611116 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 66 - 2025-06-27 12:03:05 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 67 - 2025-06-27 12:03:05 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 68 - 2025-06-27 12:03:05 [0.14ms] */
select * from `party` where `party`.`id` = 55616 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 69 - 2025-06-27 12:03:05 [0.15ms] */
select * from `person` where `person`.`id` = 55616 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 70 - 2025-06-27 12:03:05 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 88920 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 71 - 2025-06-27 12:03:05 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 164609 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 72 - 2025-06-27 12:03:05 [0.21ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 164609 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 73 - 2025-06-27 12:03:05 [0.15ms] */
select * from `Payment` where `Payment`.`id` = 202097 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 74 - 2025-06-27 12:03:05 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 75 - 2025-06-27 12:03:05 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 175872 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 76 - 2025-06-27 12:03:05 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 175872 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 77 - 2025-06-27 12:03:05 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 78 - 2025-06-27 12:03:05 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 79 - 2025-06-27 12:03:05 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 80 - 2025-06-27 12:03:05 [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 (175872, 'APPROVED', '2025-06-27 12:03:05', 8, 183, null, 183, 183, '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 81 - 2025-06-27 12:03:05 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 82 - 2025-06-27 12:03:05 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-06-27 12:03:05' where `id` = 175872;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 83 - 2025-06-27 12:03:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 84 - 2025-06-27 12:03:05 [0.2ms] */
select * from `vehicle_tax` where `transaction_id` = 175872 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 85 - 2025-06-27 12:03:05 [0.15ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-06-27 12:03:05' where `id` = 149958;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 86 - 2025-06-27 12:03:05 [0.17ms] */
select * from `vehicle_tax` where `id` = 149958 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 87 - 2025-06-27 12:03:05 [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":"ISSUED"},"old":{"status":"PAID"}}', 183, 'App\Models\User', 149958, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 88 - 2025-06-27 12:03:05 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 164610 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 89 - 2025-06-27 12:03:05 [0.25ms] */
select * from `transaction` where `id` = 175872 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 90 - 2025-06-27 12:03:05 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 91 - 2025-06-27 12:03:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 92 - 2025-06-27 12:03:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 93 - 2025-06-27 12:03:05 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 9 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 94 - 2025-06-27 12:03:05 [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 (638289, 'APPROVED', '2025-06-27 12:03:05', 9, 183, null, 183, 183, '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 95 - 2025-06-27 12:03:05 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 5 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 96 - 2025-06-27 12:03:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 97 - 2025-06-27 12:03:05 [0.2ms] */
select * from `vehicle_tax` where `transaction_id` = 638289 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 98 - 2025-06-27 12:03:05 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 611116 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 99 - 2025-06-27 12:03:05 [0.2ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 100 - 2025-06-27 12:03:05 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 101 - 2025-06-27 12:03:05 [0.21ms] */
select * from `party` where `party`.`id` = 55616 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 102 - 2025-06-27 12:03:05 [0.22ms] */
select * from `person` where `person`.`id` = 55616 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 103 - 2025-06-27 12:03:05 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 88920 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 104 - 2025-06-27 12:03:05 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 164610 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 105 - 2025-06-27 12:03:05 [0.32ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 164610 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 106 - 2025-06-27 12:03:05 [0.22ms] */
select * from `Payment` where `Payment`.`id` = 202097 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 107 - 2025-06-27 12:03:05 [0.2ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 108 - 2025-06-27 12:03:05 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 524372 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 109 - 2025-06-27 12:03:05 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 524372 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 110 - 2025-06-27 12:03:05 [0.21ms] */
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://rta2.puntlandgov.org/api/complete_transaction
   Query 111 - 2025-06-27 12:03:05 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 112 - 2025-06-27 12:03:05 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 113 - 2025-06-27 12:03:05 [0.28ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (524372, 'APPROVED', '2025-06-27 12:03:05', 8, 183, null, 183, 183, '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 114 - 2025-06-27 12:03:05 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 115 - 2025-06-27 12:03:05 [0.36ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-06-27 12:03:05' where `id` = 524372;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 116 - 2025-06-27 12:03:05 [0.2ms] */
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://rta2.puntlandgov.org/api/complete_transaction
   Query 117 - 2025-06-27 12:03:05 [0.21ms] */
select * from `vehicle_tax` where `transaction_id` = 524372 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 118 - 2025-06-27 12:03:05 [0.17ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-06-27 12:03:05' where `id` = 414897;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 119 - 2025-06-27 12:03:05 [0.19ms] */
select * from `vehicle_tax` where `id` = 414897 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 120 - 2025-06-27 12:03:05 [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":"ISSUED"},"old":{"status":"PAID"}}', 183, 'App\Models\User', 414897, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 121 - 2025-06-27 12:03:05 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 500079 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 122 - 2025-06-27 12:03:05 [0.69ms] */
select * from `transaction` where `id` = 524372 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 123 - 2025-06-27 12:03:05 [0.5ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 124 - 2025-06-27 12:03:05 [0.32ms] */
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://rta2.puntlandgov.org/api/complete_transaction
   Query 125 - 2025-06-27 12:03:05 [0.29ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 126 - 2025-06-27 12:03:05 [0.34ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 9 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 127 - 2025-06-27 12:03:05 [0.45ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638289, 'APPROVED', '2025-06-27 12:03:05', 9, 183, null, 183, 183, '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 128 - 2025-06-27 12:03:05 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 5 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 129 - 2025-06-27 12:03:05 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 130 - 2025-06-27 12:03:05 [0.27ms] */
select * from `vehicle_tax` where `transaction_id` = 638289 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 131 - 2025-06-27 12:03:05 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 611116 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 132 - 2025-06-27 12:03:05 [0.49ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 133 - 2025-06-27 12:03:05 [0.34ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 134 - 2025-06-27 12:03:05 [0.34ms] */
select * from `party` where `party`.`id` = 55616 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 135 - 2025-06-27 12:03:05 [0.33ms] */
select * from `person` where `person`.`id` = 55616 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 136 - 2025-06-27 12:03:05 [0.32ms] */
select * from `vehicle` where `vehicle`.`id` = 88920 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 137 - 2025-06-27 12:03:05 [0.76ms] */
select * from `invoice` where `invoice`.`id` = 500079 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 138 - 2025-06-27 12:03:05 [0.67ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 500079 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 139 - 2025-06-27 12:03:05 [0.29ms] */
select * from `Payment` where `Payment`.`id` = 202097 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 140 - 2025-06-27 12:03:05 [0.25ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 141 - 2025-06-27 12:03:05 [0.7ms] */
select * from `transaction` where `transaction`.`id` = 524373 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 142 - 2025-06-27 12:03:05 [0.48ms] */
select * from `transaction` where `transaction`.`id` = 524373 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 143 - 2025-06-27 12:03:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 144 - 2025-06-27 12:03:05 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 145 - 2025-06-27 12:03:05 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 146 - 2025-06-27 12:03:05 [0.23ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (524373, 'APPROVED', '2025-06-27 12:03:05', 8, 183, null, 183, 183, '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 147 - 2025-06-27 12:03:05 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 148 - 2025-06-27 12:03:05 [0.28ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-06-27 12:03:05' where `id` = 524373;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 149 - 2025-06-27 12:03:05 [0.15ms] */
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://rta2.puntlandgov.org/api/complete_transaction
   Query 150 - 2025-06-27 12:03:05 [0.24ms] */
select * from `vehicle_tax` where `transaction_id` = 524373 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 151 - 2025-06-27 12:03:05 [0.21ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-06-27 12:03:05' where `id` = 414898;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 152 - 2025-06-27 12:03:05 [0.17ms] */
select * from `vehicle_tax` where `id` = 414898 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 153 - 2025-06-27 12:03:05 [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":"ISSUED"},"old":{"status":"PAID"}}', 183, 'App\Models\User', 414898, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 154 - 2025-06-27 12:03:05 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 500080 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 155 - 2025-06-27 12:03:05 [0.36ms] */
select * from `transaction` where `id` = 524373 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 156 - 2025-06-27 12:03:05 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 638289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 157 - 2025-06-27 12:03:05 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 158 - 2025-06-27 12:03:05 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 159 - 2025-06-27 12:03:05 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 9 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 160 - 2025-06-27 12:03:05 [0.31ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638289, 'APPROVED', '2025-06-27 12:03:05', 9, 183, null, 183, 183, '2025-06-27 12:03:05', '2025-06-27 12:03:05');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 161 - 2025-06-27 12:03:05 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 5 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 162 - 2025-06-27 12:03:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 163 - 2025-06-27 12:03:05 [0.19ms] */
select * from `vehicle_tax` where `transaction_id` = 638289 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 164 - 2025-06-27 12:03:05 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 611116 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 165 - 2025-06-27 12:03:05 [0.15ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 166 - 2025-06-27 12:03:05 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32449 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 167 - 2025-06-27 12:03:05 [0.14ms] */
select * from `party` where `party`.`id` = 55616 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 168 - 2025-06-27 12:03:05 [0.16ms] */
select * from `person` where `person`.`id` = 55616 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 169 - 2025-06-27 12:03:05 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 88920 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 170 - 2025-06-27 12:03:05 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 500080 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 171 - 2025-06-27 12:03:05 [0.31ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 500080 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 172 - 2025-06-27 12:03:05 [0.14ms] */
select * from `Payment` where `Payment`.`id` = 202097 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 173 - 2025-06-27 12:03:05 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 174 - 2025-06-27 12:03:05 [0.3ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 657732 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 12:03:24 [1.3ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 12:03:24 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 12:03:24 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 12:03:24 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 12:03:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 12:03:24 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 12:03:24 [1.11ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'TD125' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 12:03:24 [0.16ms] */
select * from `party` where `party`.`id` = 55616 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 12:03:24 [0.35ms] */
select * from `vehicle` where `id` = 88920 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 12:03:24 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 88920 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 12:03:25 [1.57ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 12:03:25 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 12:03:25 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 12:03:25 [0.26ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 12:03:25 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 12:03:25 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 12:03:25 [0.59ms] */
select * from `vehicle` where `vehicle`.`id` = 88920 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 12:03:25 [0.49ms] */
select * from `vehicle` where `id` = 88920 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 12:03:25 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 88920 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 12:03:25 [1.2ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 88920 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 12:03:26 [2.21ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 12:03:26 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 12:03:26 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 12:03:26 [0.25ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 12:03:26 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 12:03:26 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 12:03:26 [0.21ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 12:03:27 [1.85ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 12:03:27 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 12:03:27 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 12:03:27 [0.32ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 12:03:27 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'cc9a2579e244fe345287955770b69ea9365403dfdad887b67c0b0cb35dcc5b2d4e0106145e9cc910' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 12:03:27 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 12:03:27 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:10:25 [2.74ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:10:43 [2.36ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:11:12 [2.14ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:12:21 [2.61ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 12:12:21 [0.24ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 12:12:21 [0.42ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 150 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 12:12:21 [3.22ms] */
update `userprofiles` set `login_count` = 34, `last_login` = '2025-06-27 12:12:21', `userprofiles`.`updated_at` = '2025-06-27 12:12:21' where `id` = 150;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 12:12:21 [0.26ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 12:12:21 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 12:12:21 [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 (150) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 12:12:21 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 12:12:21 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 12:12:21 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 12:12:21 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 12:12:21 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 12:12:21 [3.33ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('da55ba7cba1bee07d9b3ce67339ce32c072fad8bb6a399cb22dc047e2c9700419c6827cbefc94e71', 150, 5, '[]', 0, '2025-06-27 12:12:21', '2025-06-27 12:12:21', '2026-06-27 12:12:21');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 12:12:21 [0.61ms] */
select * from `oauth_access_tokens` where `id` = 'da55ba7cba1bee07d9b3ce67339ce32c072fad8bb6a399cb22dc047e2c9700419c6827cbefc94e71' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 12:12:21 [3.27ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'da55ba7cba1bee07d9b3ce67339ce32c072fad8bb6a399cb22dc047e2c9700419c6827cbefc94e71';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:12:36 [2.4ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:13:10 [2ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:13:34 [1.36ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 12:14:17 [1.43ms] */
select * from `oauth_access_tokens` where `id` = '4e03fb5f1022d394e92dbb980185a1eeae1b6a3062000393699c3fb0c945f60d4006fb22807c3dc4' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 12:14:17 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e03fb5f1022d394e92dbb980185a1eeae1b6a3062000393699c3fb0c945f60d4006fb22807c3dc4' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 12:14:17 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 12:14:17 [0.32ms] */
select * from `users` where `id` = 156 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 12:14:17 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e03fb5f1022d394e92dbb980185a1eeae1b6a3062000393699c3fb0c945f60d4006fb22807c3dc4' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 12:14:17 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 12:14:17 [0.8ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'WO030' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 12:14:17 [0.27ms] */
select * from `party` where `party`.`id` = 39338 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 12:14:17 [0.25ms] */
select * from `vehicle` where `id` = 50034 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 12:14:17 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 50034 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:14:18 [1.31ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:14:54 [1.33ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:15:21 [1.31ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:16:06 [1.51ms] */
select * from `users` where `email` = 'kileyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:16:29 [1.36ms] */
select * from `users` where `email` = 'kileyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:16:42 [1.34ms] */
select * from `users` where `email` = 'kileyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:17:18 [1.41ms] */
select * from `users` where `email` = 'kileyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:17:57 [1.35ms] */
select * from `users` where `email` = 'kileyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:23:58 [1.49ms] */
select * from `users` where `email` = 'kileyare001@puntlandgove.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:24:29 [2.24ms] */
select * from `users` where `email` = 'kileyare001@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 12:24:40 [1.71ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 12:24:40 [0.27ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 12:24:40 [0.51ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 150 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 12:24:40 [8.13ms] */
update `userprofiles` set `login_count` = 35, `last_login` = '2025-06-27 12:24:40', `userprofiles`.`updated_at` = '2025-06-27 12:24:40' where `id` = 150;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 12:24:40 [0.17ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 12:24:40 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 12:24:40 [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 (150) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 12:24:40 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 12:24:40 [0.19ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 12:24:40 [0.22ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 12:24:40 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 12:24:40 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 12:24:40 [3.14ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('d3fb69454628c89a9ebdb46fe1a12c00ad143f60ebaaf9dfe980f1005fe475a6cb9182b3e588dc7e', 150, 5, '[]', 0, '2025-06-27 12:24:40', '2025-06-27 12:24:40', '2026-06-27 12:24:40');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 12:24:40 [0.35ms] */
select * from `oauth_access_tokens` where `id` = 'd3fb69454628c89a9ebdb46fe1a12c00ad143f60ebaaf9dfe980f1005fe475a6cb9182b3e588dc7e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 12:24:40 [3.15ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'd3fb69454628c89a9ebdb46fe1a12c00ad143f60ebaaf9dfe980f1005fe475a6cb9182b3e588dc7e';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 13:06:07 [2.7ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 13:06:07 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 13:06:07 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 13:06:07 [0.77ms] */
select * from `users` where `id` = 178 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 13:06:07 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 13:06:07 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 13:06:07 [1.08ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RA365' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 13:06:07 [0.42ms] */
select * from `party` where `party`.`id` = 59765 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 13:06:07 [0.34ms] */
select * from `vehicle` where `id` = 92749 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 13:06:07 [0.39ms] */
select * from `party_vehicle` where `vehicle_id` = 92749 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 13:06:08 [2.06ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 13:06:08 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 13:06:08 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 13:06:08 [0.32ms] */
select * from `users` where `id` = 178 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 13:06:08 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 13:06:08 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 13:06:08 [0.42ms] */
select * from `vehicle` where `vehicle`.`id` = 92749 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 13:06:08 [0.38ms] */
select * from `vehicle` where `id` = 92749 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 13:06:08 [0.4ms] */
select * from `party_vehicle` where `vehicle_id` = 92749 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 13:06:08 [0.85ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 92749 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 13:06:09 [1.71ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 13:06:09 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 13:06:09 [0.31ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 13:06:09 [0.36ms] */
select * from `users` where `id` = 178 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 13:06:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 13:06:09 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 13:06:09 [0.15ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 13:06:09 [1.94ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 13:06:09 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 13:06:09 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 13:06:09 [0.32ms] */
select * from `users` where `id` = 178 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 13:06:09 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 13:06:09 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 13:06:09 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 13:07:21 [2.01ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 13:07:21 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 13:07:21 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 13:07:21 [0.27ms] */
select * from `users` where `id` = 178 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 13:07:21 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 13:07:21 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 13:07:21 [1.3ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'VK695' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 13:07:21 [0.84ms] */
select * from `party` where `party`.`id` = 47391 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 13:07:21 [0.76ms] */
select * from `vehicle` where `id` = 98195 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 13:07:21 [0.75ms] */
select * from `party_vehicle` where `vehicle_id` = 98195 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 13:07:22 [2.3ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 13:07:22 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 13:07:22 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 13:07:22 [0.18ms] */
select * from `users` where `id` = 178 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 13:07:22 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 13:07:22 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 13:07:22 [0.46ms] */
select * from `vehicle` where `vehicle`.`id` = 98195 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 13:07:22 [0.38ms] */
select * from `vehicle` where `id` = 98195 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 13:07:22 [0.4ms] */
select * from `party_vehicle` where `vehicle_id` = 98195 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 13:07:22 [0.87ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 98195 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 13:07:22 [2.45ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 13:07:22 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 13:07:22 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 13:07:22 [0.17ms] */
select * from `users` where `id` = 178 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 13:07:22 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 13:07:22 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 13:07:22 [0.14ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 13:07:23 [1.26ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 13:07:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 13:07:23 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 13:07:23 [0.16ms] */
select * from `users` where `id` = 178 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 13:07:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3f9b337bd6f1d4ea13161f01dc08ff1998111e5d96cf208422aa85fd25371f0cf48fde3abe279b95' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 13:07:23 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 13:07: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://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 13:33:20 [2.43ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 13:33:20 [0.31ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 13:33:20 [0.58ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 150 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 13:33:20 [11.27ms] */
update `userprofiles` set `login_count` = 36, `last_login` = '2025-06-27 13:33:20', `userprofiles`.`updated_at` = '2025-06-27 13:33:20' where `id` = 150;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 13:33:20 [0.33ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 13:33:20 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 13:33:20 [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 (150) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 13:33:20 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 13:33:20 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 13:33:20 [0.21ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 13:33:20 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 13:33:20 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 13:33:20 [3.35ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e', 150, 5, '[]', 0, '2025-06-27 13:33:20', '2025-06-27 13:33:20', '2026-06-27 13:33:20');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 13:33:20 [0.59ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 13:33:20 [3.26ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 13:33:31 [2.02ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 13:33:31 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 13:33:31 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 13:33:31 [0.35ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 13:33:31 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 13:33:31 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 13:33:31 [0.83ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'IU525' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 13:33:31 [0.27ms] */
select * from `party` where `party`.`id` = 61580 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 13:33:31 [0.25ms] */
select * from `vehicle` where `id` = 82904 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 13:33:31 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 82904 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 13:33:32 [2.1ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 13:33:32 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 13:33:32 [0.31ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 13:33:32 [0.56ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 13:33:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 13:33:32 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 13:33:32 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 82904 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 13:33:32 [0.32ms] */
select * from `vehicle` where `id` = 82904 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 13:33:32 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 82904 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 13:33:32 [0.78ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 82904 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 13:33:33 [1.5ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 13:33:33 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 13:33:33 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 13:33:33 [0.22ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 13:33:33 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 13:33:33 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 13:33:33 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 13:33:34 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 13:33:34 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 13:33:34 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 13:33:34 [0.22ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 13:33:34 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 13:33:34 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 13:33:34 [0.19ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 13:35:17 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 13:35:17 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 13:35:17 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 13:35:17 [0.21ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 13:35:17 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 13:35:17 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 13:35:17 [0.8ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'WU724' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 13:35:17 [0.23ms] */
select * from `party` where `party`.`id` = 59759 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 13:35:17 [0.23ms] */
select * from `vehicle` where `id` = 91579 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 13:35:17 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 91579 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 13:35:18 [1.42ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 13:35:18 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 13:35:18 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 13:35:18 [0.17ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 13:35:18 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 13:35:18 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 13:35:18 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 91579 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 13:35:18 [0.24ms] */
select * from `vehicle` where `id` = 91579 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 13:35:18 [0.36ms] */
select * from `party_vehicle` where `vehicle_id` = 91579 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 13:35:18 [0.84ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 91579 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 13:35:20 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 13:35:20 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 13:35:20 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 13:35:20 [0.17ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 13:35:20 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 13:35:20 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 13:35:20 [0.2ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 13:35:20 [1.3ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 13:35:20 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 13:35:20 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 13:35:20 [0.17ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 13:35:20 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 13:35:20 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 13:35: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://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 13:40:24 [2.2ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 13:40:24 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 13:40:24 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 13:40:24 [0.34ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 13:40:24 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 13:40:24 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 13:40:24 [0.93ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'TL062' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 13:40:24 [0.34ms] */
select * from `party` where `party`.`id` = 38282 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 13:40:24 [0.34ms] */
select * from `vehicle` where `id` = 47729 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 13:40:24 [0.36ms] */
select * from `party_vehicle` where `vehicle_id` = 47729 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 13:40:25 [2.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 13:40:25 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 13:40:25 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 13:40:25 [0.36ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 13:40:25 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 13:40:25 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 13:40:25 [0.42ms] */
select * from `vehicle` where `vehicle`.`id` = 47729 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 13:40:25 [0.32ms] */
select * from `vehicle` where `id` = 47729 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 13:40:25 [0.39ms] */
select * from `party_vehicle` where `vehicle_id` = 47729 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 13:40:25 [0.87ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 47729 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 13:40:26 [2.12ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 13:40:26 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 13:40:26 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 13:40:26 [0.16ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 13:40:26 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 13:40:26 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 13:40:26 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 13:40:26 [1.92ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 13:40:26 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 13:40:26 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 13:40:26 [0.36ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 13:40:26 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 13:40:26 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 13:40:26 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 13:45:52 [2.22ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 13:45:52 [0.16ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 13:45:52 [0.67ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 150 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 13:45:52 [13.74ms] */
update `userprofiles` set `login_count` = 37, `last_login` = '2025-06-27 13:45:52', `userprofiles`.`updated_at` = '2025-06-27 13:45:52' where `id` = 150;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 13:45:52 [0.32ms] */
select * from `users` where `email` = 'kilweyare001@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 13:45:52 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 13:45:52 [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 (150) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 13:45:52 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 13:45:52 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 13:45:52 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 13:45:52 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 13:45:52 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 13:45:52 [3.4ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('31dfa0e85afe0b5c0281536cd1961c2e92b5372917f2e23b20e527a824139efd7d2bd8769a0dd7fa', 150, 5, '[]', 0, '2025-06-27 13:45:52', '2025-06-27 13:45:52', '2026-06-27 13:45:52');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 13:45:52 [0.54ms] */
select * from `oauth_access_tokens` where `id` = '31dfa0e85afe0b5c0281536cd1961c2e92b5372917f2e23b20e527a824139efd7d2bd8769a0dd7fa' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 13:45:52 [3.26ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '31dfa0e85afe0b5c0281536cd1961c2e92b5372917f2e23b20e527a824139efd7d2bd8769a0dd7fa';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:24:27 [2.38ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:24:30 [1.98ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:24:34 [1.39ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:24:43 [1.37ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:24:48 [1.33ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:24:55 [1.31ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:24:59 [1.35ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:26:38 [1.38ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:26:41 [1.37ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:26:45 [1.48ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:33:00 [1.69ms] */
select * from `users` where `email` = 'maxamed.ali@punland.ogv.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:33:08 [2.11ms] */
select * from `users` where `email` = 'maxamed.ali@punland.ogv.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:33:24 [2.13ms] */
select * from `users` where `email` = 'maxamed.ali@punland.ogv.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 14:47:26 [2.63ms] */
select * from `oauth_access_tokens` where `id` = '9deccdcd2d25fbe1b5f2956f2ab8606062f8f6abca318f7f3c922242c371a35631846be7ff9d655f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 14:47:26 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '9deccdcd2d25fbe1b5f2956f2ab8606062f8f6abca318f7f3c922242c371a35631846be7ff9d655f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 14:47:26 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 14:47:26 [0.75ms] */
select * from `users` where `id` = 186 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 14:47:26 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '9deccdcd2d25fbe1b5f2956f2ab8606062f8f6abca318f7f3c922242c371a35631846be7ff9d655f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 14:47:26 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 14:47:26 [0.96ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'VF832' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 14:47:26 [0.39ms] */
select * from `party` where `party`.`id` = 39182 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 14:47:26 [0.36ms] */
select * from `vehicle` where `id` = 66709 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 14:47:26 [0.4ms] */
select * from `party_vehicle` where `vehicle_id` = 66709 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:48:30 [1.55ms] */
select * from `users` where `email` = 'muse.khalif@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 14:48:30 [0.28ms] */
select * from `users` where `id` = 186 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 14:48:30 [0.41ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 186 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 14:48:30 [11.13ms] */
update `userprofiles` set `last_ip` = '102.220.40.166', `login_count` = 125, `last_login` = '2025-06-27 14:48:30', `userprofiles`.`updated_at` = '2025-06-27 14:48:30' where `id` = 186;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 14:48:30 [0.55ms] */
select * from `users` where `email` = 'muse.khalif@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 14:48:30 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 14:48:30 [0.54ms] */
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 (186) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 14:48:30 [0.14ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 14:48:30 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 14:48:30 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 14:48:30 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 14:48:30 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 14:48:30 [3.28ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('82573eb9802d0ea81024c2e0f2d0ebcbbd669c06a1a42bbf946fde54533c9ce58e98abee939a6b65', 186, 5, '[]', 0, '2025-06-27 14:48:30', '2025-06-27 14:48:30', '2026-06-27 14:48:30');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 14:48:30 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '82573eb9802d0ea81024c2e0f2d0ebcbbd669c06a1a42bbf946fde54533c9ce58e98abee939a6b65' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 14:48:30 [2.94ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '82573eb9802d0ea81024c2e0f2d0ebcbbd669c06a1a42bbf946fde54533c9ce58e98abee939a6b65';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 14:48:52 [1.53ms] */
select * from `oauth_access_tokens` where `id` = '82573eb9802d0ea81024c2e0f2d0ebcbbd669c06a1a42bbf946fde54533c9ce58e98abee939a6b65' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 14:48:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '82573eb9802d0ea81024c2e0f2d0ebcbbd669c06a1a42bbf946fde54533c9ce58e98abee939a6b65' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 14:48:52 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 14:48:52 [0.17ms] */
select * from `users` where `id` = 186 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 14:48:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '82573eb9802d0ea81024c2e0f2d0ebcbbd669c06a1a42bbf946fde54533c9ce58e98abee939a6b65' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 14:48:52 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 14:48:52 [0.36ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'VF832' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 14:48:52 [0.15ms] */
select * from `party` where `party`.`id` = 39182 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 14:48:52 [0.16ms] */
select * from `vehicle` where `id` = 66709 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 14:48:52 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 66709 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:50:35 [6.28ms] */
select * from `users` where `email` = 'maxamed.ali@punlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:50:37 [1.39ms] */
select * from `users` where `email` = 'maxamed.ali@punlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:51:04 [1.38ms] */
select * from `users` where `email` = 'maxamed.ali@punlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:51:06 [2.42ms] */
select * from `users` where `email` = 'maxamed.ali@punlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:51:07 [1.45ms] */
select * from `users` where `email` = 'maxamed.ali@punlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 14:51:08 [2.39ms] */
select * from `users` where `email` = 'maxamed.ali@punlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:04:32 [1.52ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandogv.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:04:40 [1.55ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandogv.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:05:40 [1.38ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandogv.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:28:03 [2.49ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:28:09 [2.16ms] */
select * from `users` where `email` = 'maxamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:30:26 [2.42ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:30:32 [2.12ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:30:49 [2.28ms] */
select * from `users` where `email` = 'mahxahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:31:18 [1.46ms] */
select * from `users` where `email` = 'mahxahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:31:20 [2.09ms] */
select * from `users` where `email` = 'mahxahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:31:59 [1.33ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:32:02 [2.12ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:32:06 [2.21ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:32:09 [2.33ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:32:54 [1.45ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:32:55 [0.48ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:32:55 [0.38ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:32:55 [11ms] */
update `userprofiles` set `last_ip` = '102.223.188.22', `login_count` = 6, `last_login` = '2025-06-27 15:32:55', `updated_by` = 169, `userprofiles`.`updated_at` = '2025-06-27 15:32:55' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:32:55 [0.26ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:32:55 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:32:55 [0.5ms] */
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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:32:55 [0.22ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:32:55 [0.25ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:32:55 [0.26ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:32:55 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:32:55 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:32:55 [3.13ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('0211654d93fa5f21cedd04eac5a58339862b517e72adf1abcb1bb30690c54fa902a0acb44deb7228', 169, 5, '[]', 0, '2025-06-27 15:32:55', '2025-06-27 15:32:55', '2026-06-27 15:32:55');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:32:55 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '0211654d93fa5f21cedd04eac5a58339862b517e72adf1abcb1bb30690c54fa902a0acb44deb7228' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:32:55 [2.96ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '0211654d93fa5f21cedd04eac5a58339862b517e72adf1abcb1bb30690c54fa902a0acb44deb7228';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:33:02 [2.07ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:33:02 [0.17ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:33:02 [0.43ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:33:02 [11.07ms] */
update `userprofiles` set `login_count` = 7, `last_login` = '2025-06-27 15:33:02', `userprofiles`.`updated_at` = '2025-06-27 15:33:02' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:33:02 [0.32ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:33:02 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:33:02 [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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:33:02 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:33:02 [0.19ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:33:02 [0.21ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:33:02 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:33:02 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:33:02 [3.17ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('69cef1866a8d621e7ab099a368b93e5ad0a56c602f4d72767f70535a4fb362bf231ea9d46653c04b', 169, 5, '[]', 0, '2025-06-27 15:33:02', '2025-06-27 15:33:02', '2026-06-27 15:33:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:33:02 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '69cef1866a8d621e7ab099a368b93e5ad0a56c602f4d72767f70535a4fb362bf231ea9d46653c04b' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:33:02 [2.83ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '69cef1866a8d621e7ab099a368b93e5ad0a56c602f4d72767f70535a4fb362bf231ea9d46653c04b';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:33:36 [1.97ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:33:36 [0.32ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:33:36 [0.47ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:33:36 [11.44ms] */
update `userprofiles` set `login_count` = 8, `last_login` = '2025-06-27 15:33:36', `userprofiles`.`updated_at` = '2025-06-27 15:33:36' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:33:36 [0.36ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:33:36 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:33:36 [0.35ms] */
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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:33:36 [0.22ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:33:36 [0.19ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:33:36 [0.23ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:33:36 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:33:36 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:33:36 [3.35ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('a545bc9e25d600450e4500511611ba4e1b92ba36ab22ca25293847815498962531567b2a42c31029', 169, 5, '[]', 0, '2025-06-27 15:33:36', '2025-06-27 15:33:36', '2026-06-27 15:33:36');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:33:36 [0.45ms] */
select * from `oauth_access_tokens` where `id` = 'a545bc9e25d600450e4500511611ba4e1b92ba36ab22ca25293847815498962531567b2a42c31029' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:33:36 [2.99ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'a545bc9e25d600450e4500511611ba4e1b92ba36ab22ca25293847815498962531567b2a42c31029';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:35:25 [1.33ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:35:25 [0.17ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:35:25 [0.46ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:35:25 [11.23ms] */
update `userprofiles` set `login_count` = 9, `last_login` = '2025-06-27 15:35:25', `userprofiles`.`updated_at` = '2025-06-27 15:35:25' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:35:25 [0.33ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:35:25 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:35:25 [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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:35:25 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:35:25 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:35:25 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:35:25 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:35:25 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:35:25 [3.21ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('fca13032396383ce7aee4d1fa206dd48fad20a2b69ba1af3f16c0ab8f57dfd046e931f2b06862089', 169, 5, '[]', 0, '2025-06-27 15:35:25', '2025-06-27 15:35:25', '2026-06-27 15:35:25');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:35:25 [0.45ms] */
select * from `oauth_access_tokens` where `id` = 'fca13032396383ce7aee4d1fa206dd48fad20a2b69ba1af3f16c0ab8f57dfd046e931f2b06862089' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:35:25 [2.79ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'fca13032396383ce7aee4d1fa206dd48fad20a2b69ba1af3f16c0ab8f57dfd046e931f2b06862089';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:35:39 [2.11ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:35:39 [0.17ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:35:39 [0.44ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:35:39 [6.87ms] */
update `userprofiles` set `login_count` = 10, `last_login` = '2025-06-27 15:35:39', `userprofiles`.`updated_at` = '2025-06-27 15:35:39' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:35:39 [0.27ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:35:39 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:35:39 [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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:35:39 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:35:39 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:35:39 [0.21ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:35:39 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:35:39 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:35:39 [3.56ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('a27a5323640f38b4a5aa01061a5b15c5a7b5020b999fcb3ca68dc6f073f5064c3e8760adf7aeb04b', 169, 5, '[]', 0, '2025-06-27 15:35:39', '2025-06-27 15:35:39', '2026-06-27 15:35:39');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:35:39 [0.43ms] */
select * from `oauth_access_tokens` where `id` = 'a27a5323640f38b4a5aa01061a5b15c5a7b5020b999fcb3ca68dc6f073f5064c3e8760adf7aeb04b' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:35:39 [3.23ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'a27a5323640f38b4a5aa01061a5b15c5a7b5020b999fcb3ca68dc6f073f5064c3e8760adf7aeb04b';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:38:37 [1.37ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:38:37 [0.17ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:38:37 [0.4ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:38:37 [3.8ms] */
update `userprofiles` set `login_count` = 11, `last_login` = '2025-06-27 15:38:37', `userprofiles`.`updated_at` = '2025-06-27 15:38:37' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:38:37 [0.17ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:38:37 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:38:37 [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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:38:37 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:38:37 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:38:37 [0.22ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:38:37 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:38:37 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:38:37 [3.54ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('a7e7fcaea87080b471a4a3078365f6f605b2f839e2d1b8ad25a63ad13f437df610a230c5533fbf85', 169, 5, '[]', 0, '2025-06-27 15:38:37', '2025-06-27 15:38:37', '2026-06-27 15:38:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:38:37 [0.43ms] */
select * from `oauth_access_tokens` where `id` = 'a7e7fcaea87080b471a4a3078365f6f605b2f839e2d1b8ad25a63ad13f437df610a230c5533fbf85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:38:37 [3.7ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'a7e7fcaea87080b471a4a3078365f6f605b2f839e2d1b8ad25a63ad13f437df610a230c5533fbf85';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:40:09 [2.38ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:40:09 [0.2ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:40:09 [0.39ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:40:09 [12.21ms] */
update `userprofiles` set `login_count` = 12, `last_login` = '2025-06-27 15:40:09', `userprofiles`.`updated_at` = '2025-06-27 15:40:09' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:40:09 [0.41ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:40:09 [0.75ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:40:09 [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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:40:09 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:40:09 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:40:09 [0.26ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:40:09 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:40:09 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:40:09 [3.07ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('75fe2d1dc01390aec010a3639edf9aa56aca02f029a8cd0e5a5e4350e53e1a74ce9fa3e1fe10ee00', 169, 5, '[]', 0, '2025-06-27 15:40:09', '2025-06-27 15:40:09', '2026-06-27 15:40:09');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:40:09 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '75fe2d1dc01390aec010a3639edf9aa56aca02f029a8cd0e5a5e4350e53e1a74ce9fa3e1fe10ee00' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:40:09 [3.28ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '75fe2d1dc01390aec010a3639edf9aa56aca02f029a8cd0e5a5e4350e53e1a74ce9fa3e1fe10ee00';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 15:40:54 [2.59ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 15:40:54 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 15:40:54 [0.41ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 15:40:54 [0.55ms] */
select * from `users` where `id` = 175 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-27 15:40:54 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 15:40:54 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 15:40:54 [0.77ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'JH221' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-27 15:40:54 [0.23ms] */
select * from `party` where `party`.`id` = 45522 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 15:40:54 [0.23ms] */
select * from `vehicle` where `id` = 64829 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 15:40:54 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 64829 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-27 15:40:55 [1.3ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 15:40:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 15:40:55 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 15:40:55 [0.17ms] */
select * from `users` where `id` = 175 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-27 15:40:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 15:40:55 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 15:40:55 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 64829 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 15:40:55 [0.21ms] */
select * from `vehicle` where `id` = 64829 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 15:40:55 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 64829 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-27 15:40:55 [0.69ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 64829 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-27 15:40:55 [1.98ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 15:40:55 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 15:40:55 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 15:40:55 [0.31ms] */
select * from `users` where `id` = 175 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-27 15:40:55 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 15:40:55 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 15:40:55 [1.74ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 15:40:56 [1.25ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 15:40:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 15:40:56 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 15:40:56 [0.16ms] */
select * from `users` where `id` = 175 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-27 15:40:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1bc835cefff62b7667fb736bec9a8e42695201fc30387ff8f7341392cd589311356473d9f1eaace6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 15:40:56 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 15:40:56 [0.44ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:41:32 [1.29ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:41:32 [0.16ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:41:32 [0.43ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:41:32 [6.29ms] */
update `userprofiles` set `last_ip` = '102.223.188.105', `login_count` = 13, `last_login` = '2025-06-27 15:41:32', `userprofiles`.`updated_at` = '2025-06-27 15:41:32' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:41:32 [0.25ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:41:32 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:41:32 [0.28ms] */
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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:41:32 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:41:32 [0.11ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:41:32 [0.13ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:41:32 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:41:32 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:41:32 [3.55ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('0a3d089c14489f687485b9f53de33c0d0dc60eead6b2d88e9845a298a5eb1bee08ef4bd6049e0761', 169, 5, '[]', 0, '2025-06-27 15:41:32', '2025-06-27 15:41:32', '2026-06-27 15:41:32');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:41:32 [0.38ms] */
select * from `oauth_access_tokens` where `id` = '0a3d089c14489f687485b9f53de33c0d0dc60eead6b2d88e9845a298a5eb1bee08ef4bd6049e0761' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:41:32 [3.01ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '0a3d089c14489f687485b9f53de33c0d0dc60eead6b2d88e9845a298a5eb1bee08ef4bd6049e0761';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:41:41 [2.13ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:41:41 [0.17ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:41:41 [0.42ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:41:41 [3.33ms] */
update `userprofiles` set `login_count` = 14, `last_login` = '2025-06-27 15:41:41', `userprofiles`.`updated_at` = '2025-06-27 15:41:41' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:41:41 [0.17ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:41:41 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:41:41 [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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:41:41 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:41:41 [0.21ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:41:41 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:41:41 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:41:41 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:41:41 [3.39ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('18e1025b37e448caa6d33f5cf82ba3e2ef59c7fdd3f4786dc5d155c8431ad6c3a06abedac16456a3', 169, 5, '[]', 0, '2025-06-27 15:41:41', '2025-06-27 15:41:41', '2026-06-27 15:41:41');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:41:41 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '18e1025b37e448caa6d33f5cf82ba3e2ef59c7fdd3f4786dc5d155c8431ad6c3a06abedac16456a3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:41:41 [3.1ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '18e1025b37e448caa6d33f5cf82ba3e2ef59c7fdd3f4786dc5d155c8431ad6c3a06abedac16456a3';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:42:00 [1.55ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:42:00 [0.17ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:42:00 [0.43ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:42:00 [3.13ms] */
update `userprofiles` set `login_count` = 15, `last_login` = '2025-06-27 15:42:00', `userprofiles`.`updated_at` = '2025-06-27 15:42:00' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:42:00 [0.17ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:42:00 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:42:00 [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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:42:00 [0.14ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:42:00 [0.13ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:42:00 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:42:00 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:42:00 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:42:00 [3.22ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('d4f2b24e77167591b5b96cacf50ecec8e269b80021a53ca99af3c3614ef1adb6534b80599b9c0a77', 169, 5, '[]', 0, '2025-06-27 15:42:00', '2025-06-27 15:42:00', '2026-06-27 15:42:00');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:42:00 [0.39ms] */
select * from `oauth_access_tokens` where `id` = 'd4f2b24e77167591b5b96cacf50ecec8e269b80021a53ca99af3c3614ef1adb6534b80599b9c0a77' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:42:00 [2.89ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'd4f2b24e77167591b5b96cacf50ecec8e269b80021a53ca99af3c3614ef1adb6534b80599b9c0a77';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:42:08 [1.4ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:42:08 [0.17ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:42:08 [0.4ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:42:08 [3.7ms] */
update `userprofiles` set `login_count` = 16, `last_login` = '2025-06-27 15:42:08', `userprofiles`.`updated_at` = '2025-06-27 15:42:08' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:42:08 [0.16ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:42:08 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:42:08 [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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:42:08 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:42:08 [0.2ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:42:08 [0.22ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:42:08 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:42:08 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:42:08 [11.49ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('5bb6f5a74edcf8af026d05094c87afbea5e7f4dcf7b9e4fc072616b521ccf0547ca361e85e31c573', 169, 5, '[]', 0, '2025-06-27 15:42:08', '2025-06-27 15:42:08', '2026-06-27 15:42:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:42:08 [0.38ms] */
select * from `oauth_access_tokens` where `id` = '5bb6f5a74edcf8af026d05094c87afbea5e7f4dcf7b9e4fc072616b521ccf0547ca361e85e31c573' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:42:08 [11.79ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '5bb6f5a74edcf8af026d05094c87afbea5e7f4dcf7b9e4fc072616b521ccf0547ca361e85e31c573';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:44:34 [2.44ms] */
select * from `users` where `email` = 'mahamed.ali@puntlangov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:44:44 [2.35ms] */
select * from `users` where `email` = 'mahamed.ali@puntlangov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:44:47 [1.34ms] */
select * from `users` where `email` = 'mahamed.ali@puntlangov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:44:55 [2.07ms] */
select * from `users` where `email` = 'mahamed.ali@puntlangov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:45:01 [1.36ms] */
select * from `users` where `email` = 'mahamed.ali@puntlangov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:45:33 [2.37ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:45:33 [0.16ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:45:33 [0.41ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:45:33 [8.92ms] */
update `userprofiles` set `login_count` = 17, `last_login` = '2025-06-27 15:45:33', `userprofiles`.`updated_at` = '2025-06-27 15:45:33' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:45:33 [0.24ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:45:33 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:45:33 [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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:45:33 [0.19ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:45:33 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:45:33 [0.21ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:45:33 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:45:33 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:45:33 [3.49ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('9e4d9476fa680a2aac2e6de2a122fbf6d848b8e0f1c45ae065400050a4a0c38fef3410945d6a6022', 169, 5, '[]', 0, '2025-06-27 15:45:33', '2025-06-27 15:45:33', '2026-06-27 15:45:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:45:33 [0.37ms] */
select * from `oauth_access_tokens` where `id` = '9e4d9476fa680a2aac2e6de2a122fbf6d848b8e0f1c45ae065400050a4a0c38fef3410945d6a6022' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:45:33 [3.46ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '9e4d9476fa680a2aac2e6de2a122fbf6d848b8e0f1c45ae065400050a4a0c38fef3410945d6a6022';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:45:40 [1.39ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:45:40 [0.18ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:45:40 [0.44ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:45:40 [12.39ms] */
update `userprofiles` set `login_count` = 18, `last_login` = '2025-06-27 15:45:40', `userprofiles`.`updated_at` = '2025-06-27 15:45:40' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:45:40 [0.34ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 15:45:40 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-06-27 15:45:40 [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 (169) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 15:45:40 [0.14ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 15:45:40 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 15:45:40 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 15:45:40 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 15:45:40 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 15:45:40 [5.09ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('c71b56eb54b720fa073d965e7b7ce9e90e48dea95e0d9cb2fca5e23565ee4dfceb68382173ce94fc', 169, 5, '[]', 0, '2025-06-27 15:45:40', '2025-06-27 15:45:40', '2026-06-27 15:45:40');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 15:45:40 [0.25ms] */
select * from `oauth_access_tokens` where `id` = 'c71b56eb54b720fa073d965e7b7ce9e90e48dea95e0d9cb2fca5e23565ee4dfceb68382173ce94fc' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 15:45:40 [3.14ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'c71b56eb54b720fa073d965e7b7ce9e90e48dea95e0d9cb2fca5e23565ee4dfceb68382173ce94fc';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 15:46:06 [1.33ms] */
select * from `users` where `email` = 'mahamed.ali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 15:46:06 [0.16ms] */
select * from `users` where `id` = 169 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 15:46:06 [0.41ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 169 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-06-27 15:46:06 [3.12ms] */
update `userprofiles` set `login_count` = 19, `last_login` = '2025-06-27 15:46:06', `userprofiles`.`updated_at` = '2025-06-27 15:46:06' where `id` = 169;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 15:46:06 [0.16ms] */
