select * from `branches` where `branches`.`id` = 17 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 30 - 2025-04-11 09:59:49 [0.61ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (46590, 2, 92174, null, 2, 6, 17, 37, 37, 'OPEN', 25, null, 150, 150, '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 31 - 2025-04-11 09:59:49 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607820, 'INITIATED', '2025-04-11 09:59:49', 5, 150, 150, 150, '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 32 - 2025-04-11 09:59:49 [0.21ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 91796, `transaction`.`updated_at` = '2025-04-11 09:59:49' where `id` = 607820;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 33 - 2025-04-11 09:59:49 [0.24ms] */
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 (359305) 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 34 - 2025-04-11 09:59:49 [0.2ms] */
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 (359305) 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 35 - 2025-04-11 09:59:49 [0.24ms] */
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 (607820, 46590, '2025-04-11 09:59:49', '2025-04-11 09:59:49', 21.00, 0, 21.00, 21.00, 0, 'OPEN', 'N', 'Y', 150, 150, '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 36 - 2025-04-11 09:59:49 [0.19ms] */
select * from `invoice` where `id` = 581897 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 37 - 2025-04-11 09:59:49 [0.19ms] */
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":607820,"party_id":46590,"invoice_amount":"21.00","invoice_date":"2025-04-11 09:59:49","due_date":"2025-04-11 09:59:49","outstanding_balance":"21.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"21.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 150, 'App\Models\User', 581897, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 38 - 2025-04-11 09:59:49 [0.24ms] */
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 (359305) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 39 - 2025-04-11 09:59:49 [0.21ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Quarterly Tax Fees', 1, 21.00, 21, 581897, 150, 150, '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 40 - 2025-04-11 09:59:49 [0.17ms] */
select * from `invoice_item` where `id` = 1050809 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 41 - 2025-04-11 09:59:49 [0.21ms] */
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":1,"total_price":"21.00","invoice_id":581897}}', 150, 'App\Models\User', 1050809, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 42 - 2025-04-11 09:59:49 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-718-581897843', `invoice`.`updated_at` = '2025-04-11 09:59:49' where `id` = 581897;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 43 - 2025-04-11 09:59:49 [0.19ms] */
select * from `invoice` where `id` = 581897 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 44 - 2025-04-11 09:59:49 [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":{"invoice_number":"INV-718-581897843"},"old":{"invoice_number":null}}', 150, 'App\Models\User', 581897, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 45 - 2025-04-11 09:59:49 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 359305 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 46 - 2025-04-11 09:59:49 [0.17ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 150, `vehicle_tax`.`updated_at` = '2025-04-11 09:59:49' where `id` = 359305;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 47 - 2025-04-11 09:59:49 [0.18ms] */
select * from `vehicle_tax` where `id` = 359305 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 48 - 2025-04-11 09:59:49 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 150, 'App\Models\User', 359305, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 49 - 2025-04-11 09:59:49 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 457393 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 50 - 2025-04-11 09:59:49 [0.25ms] */
update `transaction` set `tax_collection_point_id` = 25, `deliver_district_id` = 37, `parent_id` = 607820, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-11 09:59:49' where `id` = 457393;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 51 - 2025-04-11 09:59:49 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 434911 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 52 - 2025-04-11 09:59:49 [0.23ms] */
update `invoice` set `parent_id` = 581897, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-11 09:59:49' where `id` = 434911;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 53 - 2025-04-11 09:59:49 [0.19ms] */
select * from `invoice` where `id` = 434911 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 54 - 2025-04-11 09:59:49 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":581897,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 150, 'App\Models\User', 434911, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 55 - 2025-04-11 09:59:49 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 56 - 2025-04-11 09:59:49 [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/make_payment
   Query 57 - 2025-04-11 09:59:49 [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 58 - 2025-04-11 09:59:49 [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 59 - 2025-04-11 09:59:49 [0.38ms] */
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 60 - 2025-04-11 09:59:49 [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 61 - 2025-04-11 09:59:49 [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 (457393, 'APPROVED', '2025-04-11 09:59:49', 5, 150, null, 150, 150, '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 62 - 2025-04-11 09:59:49 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 63 - 2025-04-11 09:59:49 [0.22ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-11 09:59:49' where `id` = 457393;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 64 - 2025-04-11 09:59:49 [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/make_payment
   Query 65 - 2025-04-11 09:59:49 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 434911 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 66 - 2025-04-11 09:59:49 [0.18ms] */
update `transaction` set `invoice_id` = 581897, `transaction`.`updated_at` = '2025-04-11 09:59:49' where `id` = 607820;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 67 - 2025-04-11 09:59:49 [0.25ms] */
update `vehicle` set `updated_by` = 150, `vehicle`.`updated_at` = '2025-04-11 09:59:49' where `id` = 92174;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 68 - 2025-04-11 09:59:49 [0.18ms] */
select * from `vehicle` where `id` = 92174 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 69 - 2025-04-11 09:59:49 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 150, 'App\Models\User', 92174, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 70 - 2025-04-11 09:59:49 [0.28ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":18}', '{"updated_by":150}', 'updated', 92174, 'Modules\Vehicle\Entities\Vehicle', 150, 'App\Models\User', null, '41.223.109.136', 'Dart/3.4 (dart:io)', 'https://rta2.puntlandgov.org/api/make_payment', '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 71 - 2025-04-11 09:59:49 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 607820 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 72 - 2025-04-11 09:59:49 [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/make_payment
   Query 73 - 2025-04-11 09:59:49 [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 74 - 2025-04-11 09:59:49 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 75 - 2025-04-11 09:59:49 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607820, 'APPROVED', '2025-04-11 09:59:49', 5, 150, null, 150, 150, '2025-04-11 09:59:49', '2025-04-11 09:59:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 76 - 2025-04-11 09:59:49 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 77 - 2025-04-11 09:59:49 [0.52ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-11 09:59:49' where `id` = 607820;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 78 - 2025-04-11 09:59:49 [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/make_payment
   Query 79 - 2025-04-11 09:59:49 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 581897 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 80 - 2025-04-11 09:59:49 [0.23ms] */
select `transaction_id` from `vehicle_tax` where `id` in (359305) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 81 - 2025-04-11 09:59:49 [0.25ms] */
select * from `invoice` where `transaction_id` = 457393 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 82 - 2025-04-11 09:59:49 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 434911 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 83 - 2025-04-11 09:59:49 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 84 - 2025-04-11 09:59:49 [3.12ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-04-11 09:59:49' where `id` = 457393;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 85 - 2025-04-11 09:59:49 [0.14ms] */
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 86 - 2025-04-11 09:59:49 [0.13ms] */
select * from `user_accounts` where `user_id` = 150 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 87 - 2025-04-11 09:59:49 [0.15ms] */
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 88 - 2025-04-11 09:59:49 [0.13ms] */
select * from `user_accounts` where `user_id` = 150 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-11 09:59:50 [2.33ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-11 09:59:50 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-11 09:59:50 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-11 09:59:50 [0.22ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-11 09:59:50 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-11 09:59:50 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-11 09:59:50 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-11 09:59:50 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (359305) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-11 09:59:50 [0.33ms] */
select `parent_id` from `transaction` where `id` in (457393) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-11 09:59:50 [133.31ms] */
select `id` from `transaction` where `parent_id` in (607820) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-11 09:59:50 [0.44ms] */
select * from `transaction` where `id` in (607820) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-11 09:59:50 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (359305) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-11 09:59:50 [0.15ms] */
select * from `invoice` where `transaction_id` = 457393 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 14 - 2025-04-11 09:59:50 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 434911 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 15 - 2025-04-11 09:59:50 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-11 09:59:50 [0.13ms] */
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 17 - 2025-04-11 09:59:50 [0.13ms] */
select * from `user_accounts` where `user_id` = 150 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 18 - 2025-04-11 09:59:50 [0.12ms] */
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 19 - 2025-04-11 09:59:50 [0.12ms] */
select * from `user_accounts` where `user_id` = 150 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-04-11 09:59:51 [1.62ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 2 - 2025-04-11 09:59:51 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 3 - 2025-04-11 09:59:51 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 4 - 2025-04-11 09:59:51 [0.17ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 5 - 2025-04-11 09:59:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 6 - 2025-04-11 09:59:51 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 7 - 2025-04-11 09:59:51 [0.69ms] */
select * from `transaction` where `id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 8 - 2025-04-11 09:59:51 [8.05ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 457393 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-04-11 09:59:51 [4.19ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 457393 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-04-11 09:59:51 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 434911 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-04-11 09:59:51 [0.46ms] */
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` = 434911 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-11 09:59:51 [2.46ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-11 09:59:51 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-11 09:59:51 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-11 09:59:51 [0.32ms] */
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-04-11 09:59:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-11 09:59:51 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-11 09:59:51 [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/get_receipt_number
   Query 1 - 2025-04-11 09:59:53 [1.46ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-11 09:59:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-11 09:59:53 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-04-11 09:59:53 [0.16ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-11 09:59:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-11 09:59:53 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-11 09:59:53 [0.15ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 150 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-04-11 09:59:53 [0.13ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 150 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-11 09:59:55 [1.96ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-11 09:59:55 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-11 09:59:55 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-11 09:59:55 [0.24ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-11 09:59:55 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-11 09:59:55 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-11 09:59:55 [1.23ms] */
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` = 'OB881' 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-04-11 09:59:55 [0.47ms] */
select * from `party` where `party`.`id` = 49885 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-11 09:59:55 [0.32ms] */
select * from `vehicle` where `id` = 89660 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-11 09:59:55 [0.53ms] */
select * from `party_vehicle` where `vehicle_id` = 89660 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-04-11 09:59:55 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-04-11 09:59:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-04-11 09:59:55 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-04-11 09:59:55 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-04-11 09:59:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-04-11 09:59:55 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-04-11 09:59:55 [0.76ms] */
select * from `vehicle` where `vehicle`.`id` = 89660 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-04-11 09:59:55 [0.56ms] */
select * from `vehicle` where `id` = 89660 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-04-11 09:59:55 [0.58ms] */
select * from `party_vehicle` where `vehicle_id` = 89660 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-04-11 09:59:55 [1.07ms] */
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` = 89660 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-04-11 09:59:56 [2.18ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-04-11 09:59:56 [0.35ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-04-11 09:59:56 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-04-11 09:59:56 [0.29ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-04-11 09:59:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-04-11 09:59:56 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-04-11 09:59:56 [0.16ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-11 09:59:56 [1.26ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-11 09:59:56 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-11 09:59: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-04-11 09:59:56 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-11 09:59:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-11 09:59:56 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-11 09:59:56 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-04-11 10:00:15 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-04-11 10:00:15 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-04-11 10:00:15 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-04-11 10:00:15 [0.18ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-04-11 10:00:15 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-04-11 10:00:15 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-04-11 10:00:15 [5.03ms] */
delete from `payment_documents` where `transaction_id` = 457393 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-04-11 10:00:15 [6.12ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2501627;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-04-11 10:00:15 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-04-11 10:00:16 [412.14ms] */
select * from `transaction` where `parent_id` = 607820 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-04-11 10:00:16 [11.05ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (457393, 'GOV_RECEIPT_IMAGE', 2501627, 1, '2025-04-11 10:00:16', '2025-04-11 10:00:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-04-11 10:00:16 [2.85ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (607820, 'GOV_RECEIPT_IMAGE', 2501627, 1, '2025-04-11 10:00:16', '2025-04-11 10:00:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-04-11 10:00:16 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-04-11 10:00:16 [4.42ms] */
update `transaction` set `paid_by` = 'Axmed maxamed cali', `paid_by_mobile` = 7749513, `transaction`.`updated_at` = '2025-04-11 10:00:16' where `id` = 457393;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-04-11 10:00:16 [8.96ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-04-11 10:00:16' where `receipt_number` = 2501627 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-04-11 10:00:22 [1.3ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-11 10:00:22 [0.34ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-11 10:00:22 [0.34ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-04-11 10:00:22 [0.32ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-11 10:00:22 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-11 10:00:22 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-11 10:00:22 [1.99ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 150 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-04-11 10:00:22 [1.73ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 150 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-04-11 10:00:25 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-04-11 10:00:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-04-11 10:00:25 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-04-11 10:00:25 [0.17ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-04-11 10:00:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-04-11 10:00:25 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-04-11 10:00:25 [4.96ms] */
delete from `payment_documents` where `transaction_id` = 457393 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-04-11 10:00:25 [6.17ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 125626;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-04-11 10:00:25 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-04-11 10:00:25 [406.87ms] */
select * from `transaction` where `parent_id` = 607820 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-04-11 10:00:25 [7.43ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (457393, 'SERVICE_RECEIPT_IMAGE', 125626, 1, '2025-04-11 10:00:25', '2025-04-11 10:00:25');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-04-11 10:00:25 [3.36ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (607820, 'SERVICE_RECEIPT_IMAGE', 125626, 1, '2025-04-11 10:00:25', '2025-04-11 10:00:25');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-04-11 10:00:25 [9.47ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-04-11 10:00:25' where `receipt_number` = 125626 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-04-11 10:00:25 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-04-11 10:00:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-04-11 10:00:25 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-04-11 10:00:25 [0.19ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-04-11 10:00:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-04-11 10:00:25 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-04-11 10:00:25 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-04-11 10:00:25 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 607820 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-04-11 10:00:25 [0.31ms] */
select * from `invoice_payment` where `invoice_id` = 581897 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-04-11 10:00:26 [123.91ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 607820 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-04-11 10:00:26 [123.67ms] */
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` = 607820 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-04-11 10:00:26 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 607820 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-04-11 10:00:26 [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 14 - 2025-04-11 10:00:26 [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 15 - 2025-04-11 10:00:26 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-04-11 10:00:26 [246.19ms] */
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` = 607820 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-04-11 10:00:26 [0.36ms] */
select * from `party` where `party`.`id` = 46590 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 18 - 2025-04-11 10:00:26 [0.46ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-04-11 10:00:26', 1, 2501627, 1, 21.00, 'Axmed maxamed cali', 7749513, null, 37, 150, 150, 150, '2025-04-11 10:00:26', '2025-04-11 10:00:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-04-11 10:00:26 [0.2ms] */
select * from `Payment` where `id` = 189355 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-04-11 10:00:26 [0.33ms] */
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":"21.00","payment_date":"2025-04-11 10:00:26","external_payment_reference_no":"1","payment_receipt_number":"2501627","siinpay_payref_number":null,"paid_by":"Axmed maxamed cali","paid_by_mobile":"7749513","district_id":37,"migration_id":null,"payment_collected_by":150}}', 150, 'App\Models\User', 189355, 'Modules\Transaction\Entities\Payment', 'created', '2025-04-11 10:00:26', '2025-04-11 10:00:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-04-11 10:00:26 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 607820 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-04-11 10:00:26 [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 23 - 2025-04-11 10:00:26 [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 24 - 2025-04-11 10:00:26 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 434911 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-04-11 10:00:26 [0.27ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-04-11 10:00:26', 434911, 189355, '2025-04-11 10:00:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-04-11 10:00:26 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 434911 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-04-11 10:00:26 [0.28ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 434911 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-04-11 10:00:26 [0.3ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 434911 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 29 - 2025-04-11 10:00:26 [0.21ms] */
update `invoice` set `invoice_amount` = 21, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 21, `status` = 'PAID', `invoice`.`updated_at` = '2025-04-11 10:00:26' where `id` = 434911;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-04-11 10:00:26 [0.18ms] */
select * from `invoice` where `id` = 434911 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-04-11 10:00:26 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"21.00","status":"OPEN"}}', 150, 'App\Models\User', 434911, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 10:00:26', '2025-04-11 10:00:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-04-11 10:00:26 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-04-11 10:00:26 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-04-11 10:00:26 [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 35 - 2025-04-11 10:00:26 [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 36 - 2025-04-11 10:00:26 [0.15ms] */
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 37 - 2025-04-11 10:00:26 [0.32ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (457393, 'PAID', '2025-04-11 10:00:26', 7, 150, null, 150, 150, '2025-04-11 10:00:26', '2025-04-11 10:00:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-04-11 10:00:26 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-04-11 10:00:26 [0.33ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-04-11 10:00:26' where `id` = 457393;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-04-11 10:00:26 [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/confirm_payment
   Query 41 - 2025-04-11 10:00:26 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 434911 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 42 - 2025-04-11 10:00:26 [0.25ms] */
select * from `vehicle_tax` where `transaction_id` = 457393 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-04-11 10:00:26 [0.17ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-04-11 10:00:26' where `id` = 359305;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-04-11 10:00:26 [0.17ms] */
select * from `vehicle_tax` where `id` = 359305 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-04-11 10:00:26 [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":"PAID"},"old":{"status":"INPROGRESS"}}', 150, 'App\Models\User', 359305, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-11 10:00:26', '2025-04-11 10:00:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-04-11 10:00:26 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 581897 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 47 - 2025-04-11 10:00:26 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 581897 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-04-11 10:00:26 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-04-11 10:00:26', 581897, 189355, '2025-04-11 10:00:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-04-11 10:00:26 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 581897 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-04-11 10:00:26 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 581897 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-04-11 10:00:26 [0.16ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-04-11 10:00:26' where `id` = 581897;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-04-11 10:00:26 [0.18ms] */
select * from `invoice` where `id` = 581897 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-04-11 10:00:26 [0.19ms] */
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"}}', 150, 'App\Models\User', 581897, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 10:00:26', '2025-04-11 10:00:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-04-11 10:00:26 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 607820 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-04-11 10:00:26 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 607820 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-04-11 10:00:26 [0.44ms] */
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 57 - 2025-04-11 10:00:26 [0.28ms] */
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 58 - 2025-04-11 10:00:26 [0.42ms] */
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 59 - 2025-04-11 10:00:26 [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 (607820, 'PAID', '2025-04-11 10:00:26', 7, 150, null, 150, 150, '2025-04-11 10:00:26', '2025-04-11 10:00:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-04-11 10:00:26 [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 61 - 2025-04-11 10:00:26 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-04-11 10:00:26' where `id` = 607820;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-04-11 10:00:26 [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 63 - 2025-04-11 10:00:26 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 581897 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-04-11 10:00:31 [2ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-04-11 10:00:31 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-04-11 10:00:31 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-04-11 10:00:31 [0.15ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-04-11 10:00:31 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-04-11 10:00:31 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-04-11 10:00:31 [0.28ms] */
select * from `vehicle_tax` where `id` = 359305 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-04-11 10:00:31 [0.16ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-04-11 10:00:48 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-04-11 10:00:48 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-04-11 10:00:48 [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-04-11 10:00:48 [0.16ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-04-11 10:00:48 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-04-11 10:00:48 [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-04-11 10:00:48 [0.16ms] */
select * from `vehicle_tax` where `id` = 359305 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-04-11 10:00:48 [10.21ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2-01%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-04-11 10:00:52 [1.93ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-04-11 10:00:52 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-04-11 10:00:52 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-04-11 10:00:52 [0.25ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-04-11 10:00:52 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-04-11 10:00:52 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-04-11 10:00:52 [0.24ms] */
select * from `vehicle_tax` where `id` = 359305 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-04-11 10:00:52 [14.36ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2-0155%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 1 - 2025-04-11 10:00:56 [1.87ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 2 - 2025-04-11 10:00:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 3 - 2025-04-11 10:00:56 [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-04-11 10:00:56 [0.17ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 5 - 2025-04-11 10:00:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 6 - 2025-04-11 10:00:56 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 7 - 2025-04-11 10:00:56 [0.29ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 651930 and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 8 - 2025-04-11 10:00:56 [0.16ms] */
select * from `vehicle_tax` where `id` = 359305 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 9 - 2025-04-11 10:00:56 [6.99ms] */
update `vehicle_tax` set `tax_sticker_id` = 651930, `vehicle_tax`.`updated_at` = '2025-04-11 10:00:56' where `id` = 359305;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 10 - 2025-04-11 10:00:56 [0.39ms] */
select * from `vehicle_tax` where `id` = 359305 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 11 - 2025-04-11 10:00:56 [3.41ms] */
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":651930},"old":{"tax_sticker_id":null}}', 150, 'App\Models\User', 359305, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-11 10:00:56', '2025-04-11 10:00:56');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 12 - 2025-04-11 10:00:56 [3.28ms] */
update `tax_sticker` set `assigned` = 'Y', `updated_by` = 150, `tax_sticker`.`updated_at` = '2025-04-11 10:00:56' where `id` = 651930;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-11 10:01:03 [1.39ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-11 10:01:03 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-11 10:01:03 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-11 10:01:03 [0.17ms] */
select * from `users` where `id` = 173 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-11 10:01:03 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-11 10:01:03 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-11 10:01:03 [1.07ms] */
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` = 'FV715' 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-04-11 10:01:03 [0.26ms] */
select * from `party` where `party`.`id` = 51082 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-11 10:01:03 [0.23ms] */
select * from `vehicle` where `id` = 79861 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-11 10:01:03 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 79861 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 1 - 2025-04-11 10:01:03 [2.04ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 2 - 2025-04-11 10:01:03 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 3 - 2025-04-11 10:01:03 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 4 - 2025-04-11 10:01:03 [0.25ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 5 - 2025-04-11 10:01:03 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 6 - 2025-04-11 10:01:03 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 7 - 2025-04-11 10:01:03 [0.42ms] */
select * from `vehicle_tax` where `id` in (359305) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 8 - 2025-04-11 10:01:03 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 457393 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-04-11 10:01:03 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 10 - 2025-04-11 10:01:03 [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/complete_transaction
   Query 11 - 2025-04-11 10:01:03 [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/complete_transaction
   Query 12 - 2025-04-11 10:01:03 [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 13 - 2025-04-11 10:01:03 [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 (457393, 'APPROVED', '2025-04-11 10:01:03', 8, 150, null, 150, 150, '2025-04-11 10:01:03', '2025-04-11 10:01:03');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 14 - 2025-04-11 10:01:03 [0.14ms] */
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-04-11 10:01:03 [0.28ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-04-11 10:01:03' where `id` = 457393;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 16 - 2025-04-11 10:01:03 [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 17 - 2025-04-11 10:01:03 [0.24ms] */
select * from `vehicle_tax` where `transaction_id` = 457393 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 18 - 2025-04-11 10:01:03 [0.18ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-04-11 10:01:03' where `id` = 359305;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 19 - 2025-04-11 10:01:03 [0.18ms] */
select * from `vehicle_tax` where `id` = 359305 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 20 - 2025-04-11 10:01:03 [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"}}', 150, 'App\Models\User', 359305, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-11 10:01:03', '2025-04-11 10:01:03');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 21 - 2025-04-11 10:01:03 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 434911 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-04-11 10:01:03 [0.25ms] */
select * from `transaction` where `id` = 457393 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 23 - 2025-04-11 10:01:03 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 607820 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 24 - 2025-04-11 10:01:03 [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 25 - 2025-04-11 10:01:03 [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 26 - 2025-04-11 10:01:03 [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 27 - 2025-04-11 10:01:03 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607820, 'APPROVED', '2025-04-11 10:01:03', 8, 150, null, 150, 150, '2025-04-11 10:01:03', '2025-04-11 10:01:03');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 28 - 2025-04-11 10:01:03 [0.14ms] */
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-04-11 10:01:03 [0.38ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-04-11 10:01:03' where `id` = 607820;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 30 - 2025-04-11 10:01:03 [0.21ms] */
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-04-11 10:01:03 [0.36ms] */
select * from `vehicle_tax` where `transaction_id` = 607820 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 32 - 2025-04-11 10:01:03 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 581897 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-04-11 10:01:03 [0.21ms] */
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 34 - 2025-04-11 10:01:03 [0.41ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 91796 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-04-11 10:01:03 [0.25ms] */
select * from `party` where `party`.`id` = 46590 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-04-11 10:01:03 [0.4ms] */
select * from `person` where `person`.`id` = 46590 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 37 - 2025-04-11 10:01:03 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` = 92174 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-04-11 10:01:03 [0.39ms] */
select * from `invoice` where `invoice`.`id` = 434911 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-04-11 10:01:03 [0.34ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 434911 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-04-11 10:01:03 [0.39ms] */
select * from `Payment` where `Payment`.`id` = 189355 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 41 - 2025-04-11 10:01:03 [0.21ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 25 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 42 - 2025-04-11 10:01:03 [0.31ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 651930 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-04-11 10:01:04 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-04-11 10:01:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-04-11 10:01:04 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-04-11 10:01:04 [0.17ms] */
select * from `users` where `id` = 173 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-04-11 10:01:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-04-11 10:01:04 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-04-11 10:01:04 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 79861 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-04-11 10:01:04 [0.22ms] */
select * from `vehicle` where `id` = 79861 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-04-11 10:01:04 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 79861 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-04-11 10:01:04 [0.94ms] */
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` = 79861 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-04-11 10:01:04 [2.28ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-04-11 10:01:04 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-04-11 10:01:04 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-04-11 10:01:04 [0.32ms] */
select * from `users` where `id` = 173 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-04-11 10:01:04 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-04-11 10:01:04 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-04-11 10:01:04 [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-04-11 10:01:05 [1.31ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-11 10:01:05 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-11 10:01:05 [0.36ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-11 10:01:05 [0.32ms] */
select * from `users` where `id` = 173 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-11 10:01:05 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'e413d3dd0cfc92f84eb98f2666b4d733940becaf4cdaf9a98e40d2d59d7f6b555c56e21a7dc4dd6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-11 10:01:05 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-11 10:01:05 [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-04-11 10:01:20 [1.78ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-11 10:01:20 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-11 10:01:20 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-11 10:01:20 [0.17ms] */
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-04-11 10:01:20 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-11 10:01:20 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-11 10:01:20 [0.74ms] */
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` = 'YF177' 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-04-11 10:01:20 [0.15ms] */
select * from `party` where `party`.`id` = 46590 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-11 10:01:20 [0.24ms] */
select * from `vehicle` where `id` = 92174 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-11 10:01:20 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 92174 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-04-11 10:01:21 [1.24ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-04-11 10:01:21 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-04-11 10:01:21 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-04-11 10:01:21 [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-04-11 10:01:21 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-04-11 10:01:21 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-04-11 10:01:21 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 92174 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-04-11 10:01:21 [0.22ms] */
select * from `vehicle` where `id` = 92174 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-04-11 10:01:21 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 92174 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-04-11 10:01:21 [0.7ms] */
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` = 92174 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-04-11 10:01:22 [1.25ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-04-11 10:01:22 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-04-11 10:01:22 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-04-11 10:01:22 [0.3ms] */
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-04-11 10:01:22 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-04-11 10:01:22 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-04-11 10:01:22 [0.25ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-11 10:01:22 [2.16ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-11 10:01:22 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-11 10:01:22 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-11 10:01:22 [0.32ms] */
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-04-11 10:01:22 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '1a0978b30e0094ec4c780fcee3a9042f66a28e3cf14b2226edbe0ce1ae3e49ef444a2d500fb7bf68' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-11 10:01:22 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-11 10:01:22 [0.2ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-11 10:01:32 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '0e41d5ffa53f939af03f7aeced54ca5ffa94b63cad310b0f2fc5d1ac37644181ca3545bb012c9ccb' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-11 10:01:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0e41d5ffa53f939af03f7aeced54ca5ffa94b63cad310b0f2fc5d1ac37644181ca3545bb012c9ccb' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-11 10:01:32 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-11 10:01:32 [0.16ms] */
select * from `users` where `id` = 161 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-11 10:01:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '0e41d5ffa53f939af03f7aeced54ca5ffa94b63cad310b0f2fc5d1ac37644181ca3545bb012c9ccb' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-11 10:01:32 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-11 10:01:32 [0.79ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'OM288' 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-04-11 10:01:32 [0.15ms] */
select * from `party` where `party`.`id` = 47685 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-11 10:01:32 [0.24ms] */
select * from `vehicle` where `id` = 71926 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-11 10:01:32 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 71926 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 1 - 2025-04-11 10:02:04 [2.34ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 2 - 2025-04-11 10:02:04 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 3 - 2025-04-11 10:02:04 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 4 - 2025-04-11 10:02:04 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 5 - 2025-04-11 10:02:04 [0.2ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 6 - 2025-04-11 10:02:04 [0.15ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 7 - 2025-04-11 10:02:04 [0.2ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 8 - 2025-04-11 10:02:04 [0.19ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title-confirm-registration
   Query 9 - 2025-04-11 10:02:04 [0.14ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-04-11 10:02:06 [1.35ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-04-11 10:02:06 [0.44ms] */
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/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-04-11 10:02:06 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-04-11 10:02:06 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-04-11 10:02:06 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-04-11 10:02:06 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-04-11 10:02:31 [2.11ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-04-11 10:02:31 [0.74ms] */
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/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-04-11 10:02:31 [0.65ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-04-11 10:02:31 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-04-11 10:02:32 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-04-11 10:02:32 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-04-11 10:02:32 [95.32ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%o%' or `vin` like '%o%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-04-11 10:02:32 [0.67ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%o%' or `vin` like '%o%') and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-04-11 10:02:32 [0.14ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-04-11 10:02:32 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-04-11 10:02:32 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-04-11 10:02:32 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-04-11 10:02:32 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` in (1) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-04-11 10:02:32 [0.3ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (8, 16, 28, 45, 56, 64) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-04-11 10:02:32 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-04-11 10:02:32 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-04-11 10:02:32 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-04-11 10:02:32 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 8 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-04-11 10:02:32 [0.26ms] */
select * from `party` where `party`.`id` = 36534 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-04-11 10:02:32 [0.29ms] */
select * from `person` where `person`.`id` = 36534 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-04-11 10:02:32 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-04-11 10:02:32 [0.14ms] */
select * from `party` where `party`.`id` = 36534 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 23 - 2025-04-11 10:02:32 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 24 - 2025-04-11 10:02:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 25 - 2025-04-11 10:02:32 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 16 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 26 - 2025-04-11 10:02:32 [0.2ms] */
select * from `party` where `party`.`id` = 36542 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 27 - 2025-04-11 10:02:32 [0.22ms] */
select * from `person` where `person`.`id` = 36542 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 28 - 2025-04-11 10:02:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 29 - 2025-04-11 10:02:32 [0.24ms] */
select * from `party` where `party`.`id` = 36542 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 30 - 2025-04-11 10:02:32 [0.31ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 31 - 2025-04-11 10:02:32 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 32 - 2025-04-11 10:02:32 [0.45ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 28 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 33 - 2025-04-11 10:02:32 [0.46ms] */
select * from `party` where `party`.`id` = 36553 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 34 - 2025-04-11 10:02:32 [0.24ms] */
select * from `person` where `person`.`id` = 36553 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 35 - 2025-04-11 10:02:32 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 36 - 2025-04-11 10:02:32 [0.14ms] */
select * from `party` where `party`.`id` = 36553 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 37 - 2025-04-11 10:02:32 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 38 - 2025-04-11 10:02:32 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 39 - 2025-04-11 10:02:32 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 45 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 40 - 2025-04-11 10:02:32 [0.19ms] */
select * from `party` where `party`.`id` = 36568 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 41 - 2025-04-11 10:02:32 [0.26ms] */
select * from `person` where `person`.`id` = 36568 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 42 - 2025-04-11 10:02:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 43 - 2025-04-11 10:02:32 [0.14ms] */
select * from `party` where `party`.`id` = 36568 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 44 - 2025-04-11 10:02:32 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 45 - 2025-04-11 10:02:32 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 46 - 2025-04-11 10:02:32 [0.39ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 56 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 47 - 2025-04-11 10:02:32 [0.3ms] */
select * from `party` where `party`.`id` = 36579 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 48 - 2025-04-11 10:02:32 [0.33ms] */
select * from `person` where `person`.`id` = 36579 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 49 - 2025-04-11 10:02:32 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 50 - 2025-04-11 10:02:32 [0.22ms] */
select * from `party` where `party`.`id` = 36579 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 51 - 2025-04-11 10:02:32 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 52 - 2025-04-11 10:02:32 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 53 - 2025-04-11 10:02:32 [0.52ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 64 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 54 - 2025-04-11 10:02:32 [0.3ms] */
select * from `party` where `party`.`id` = 36587 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 55 - 2025-04-11 10:02:32 [0.33ms] */
select * from `person` where `person`.`id` = 36587 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 56 - 2025-04-11 10:02:32 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 57 - 2025-04-11 10:02:32 [0.14ms] */
select * from `party` where `party`.`id` = 36587 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-04-11 10:02:33 [1.34ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-04-11 10:02:33 [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/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-04-11 10:02:33 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-04-11 10:02:33 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-04-11 10:02:33 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-04-11 10:02:33 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-04-11 10:02:33 [42.34ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%on288%' or `vin` like '%on288%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-04-11 10:02:33 [74.3ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%on288%' or `vin` like '%on288%') and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-04-11 10:02:33 [0.22ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-04-11 10:02:33 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-04-11 10:02:33 [0.12ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-04-11 10:02:33 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-04-11 10:02:33 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` in (1) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-04-11 10:02:33 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (77448) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-04-11 10:02:33 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-04-11 10:02:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-04-11 10:02:33 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-04-11 10:02:33 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 77448 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-04-11 10:02:33 [0.14ms] */
select * from `party` where `party`.`id` = 47025 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-04-11 10:02:33 [0.16ms] */
select * from `person` where `person`.`id` = 47025 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-04-11 10:02:33 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-04-11 10:02:33 [0.14ms] */
select * from `party` where `party`.`id` = 47025 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-04-11 10:02:36 [1.29ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-04-11 10:02:36 [0.44ms] */
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/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-04-11 10:02:36 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-04-11 10:02:36 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-04-11 10:02:36 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-04-11 10:02:36 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-04-11 10:02:36 [0.33ms] */
select * from `party_vehicle` where `vehicle_id` = 77448 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-04-11 10:02:36 [0.26ms] */
select exists(select * from `party_vehicle` where `vehicle_id` = 77448 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-04-11 10:02:36 [1.27ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-04-11 10:02:36 [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/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-04-11 10:02:36 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-04-11 10:02:36 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-04-11 10:02:36 [0.37ms] */
select * from `vehicle` where `vehicle`.`id` = 77448 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-04-11 10:02:36 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 77448 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-04-11 10:02:36 [0.51ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 77448 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 8 - 2025-04-11 10:02:36 [0.45ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 18042 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 9 - 2025-04-11 10:02:36 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 77448 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-04-11 10:02:36 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 77448 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 11 - 2025-04-11 10:02:36 [0.13ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 77448 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 12 - 2025-04-11 10:02:36 [0.14ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 18042 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 13 - 2025-04-11 10:02:36 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 14 - 2025-04-11 10:02:36 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 15 - 2025-04-11 10:02:36 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 16 - 2025-04-11 10:02:36 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 17 - 2025-04-11 10:02:36 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 18 - 2025-04-11 10:02:36 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 19 - 2025-04-11 10:02:36 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 77448 and `party_vehicle`.`vehicle_id` is not null and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 20 - 2025-04-11 10:02:36 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 21 - 2025-04-11 10:02:36 [0.24ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 22 - 2025-04-11 10:02:36 [0.13ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-04-11 10:02:41 [1.3ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-04-11 10:02:41 [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/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-04-11 10:02:41 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-04-11 10:02:41 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 1 - 2025-04-11 10:02:41 [1.29ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-04-11 10:02:41 [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/livewire/message/vehicle.create-vehicle-component
   Query 3 - 2025-04-11 10:02:41 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 4 - 2025-04-11 10:02:41 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 5 - 2025-04-11 10:02:41 [0.36ms] */
select * from `vehicle` where `id` = 77448 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 6 - 2025-04-11 10:02:41 [0.14ms] */
select * from `service` where `name` = 'TitleConfirm' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 7 - 2025-04-11 10:02:41 [0.13ms] */
select * from `subcategory_service` where `service_id` = 7;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 8 - 2025-04-11 10:02:41 [0.15ms] */
select * from `sub_category` where `id` = 1 and `id` not in (16, 17) and `migration_id` is null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 9 - 2025-04-11 10:02:41 [0.13ms] */
select * from `service` where `name` = 'TitleConfirm' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 10 - 2025-04-11 10:02:41 [0.13ms] */
select * from `subcategory_service` where `service_id` = 7;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 11 - 2025-04-11 10:02:41 [0.17ms] */
select * from `sub_category` where `id` not in (16, 17) and `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 12 - 2025-04-11 10:02:41 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 13 - 2025-04-11 10:02:41 [0.17ms] */
select * from `vehicle_color` where `vehicle_color`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 14 - 2025-04-11 10:02:41 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-04-11 10:02:42 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-11 10:02:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-11 10:02:42 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-04-11 10:02:42 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-11 10:02:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-11 10:02:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-11 10:02:42 [2.14ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 149 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-04-11 10:02:42 [1.73ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 149 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-11 10:02:43 [2.2ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-11 10:02:43 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-11 10:02:43 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-11 10:02:43 [0.32ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-11 10:02:43 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-11 10:02:43 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-11 10:02:43 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-04-11 10:02:43 [0.33ms] */
select `transaction_id` from `vehicle_tax` where `id` in (439879, 439880) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-11 10:02:43 [0.21ms] */
select `parent_id` from `transaction` where `id` in (549406, 549407) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-11 10:02:43 [0.15ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-04-11 10:02:43 [0.22ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-04-11 10:02:43 [0.28ms] */
select * from `transaction` where `id` in (549406, 549407) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-11 10:02:43 [0.29ms] */
select * from `invoice` where `invoice`.`id` = 525108 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 14 - 2025-04-11 10:02:43 [4.18ms] */
update `invoice` set `updated_by` = 149, `invoice`.`updated_at` = '2025-04-11 10:02:43' where `id` = 525108;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-11 10:02:43 [0.27ms] */
select * from `invoice` where `id` = 525108 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-11 10:02:43 [3.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 149, 'App\Models\User', 525108, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-11 10:02:43 [0.15ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-04-11 10:02:43 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-11 10:02:43 [5.31ms] */
update `transaction` set `updated_by` = 149, `transaction`.`updated_at` = '2025-04-11 10:02:43' where `id` = 549406;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-11 10:02:43 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 525109 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 21 - 2025-04-11 10:02:43 [3.48ms] */
update `invoice` set `updated_by` = 149, `invoice`.`updated_at` = '2025-04-11 10:02:43' where `id` = 525109;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 22 - 2025-04-11 10:02:43 [0.45ms] */
select * from `invoice` where `id` = 525109 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 23 - 2025-04-11 10:02:43 [3.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 149, 'App\Models\User', 525109, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 24 - 2025-04-11 10:02:43 [0.3ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 25 - 2025-04-11 10:02:43 [0.26ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 26 - 2025-04-11 10:02:43 [3.31ms] */
update `transaction` set `updated_by` = 149, `transaction`.`updated_at` = '2025-04-11 10:02:43' where `id` = 549407;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 27 - 2025-04-11 10:02:43 [3.33ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-04-11 10:02:43' where `id` in (439879, 439880) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 28 - 2025-04-11 10:02:43 [0.38ms] */
select * from `vehicle` where `vehicle`.`id` = 89660 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 29 - 2025-04-11 10:02:43 [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 30 - 2025-04-11 10:02:43 [0.5ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89660 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 31 - 2025-04-11 10:02:43 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 89660 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 32 - 2025-04-11 10:02:43 [0.23ms] */
select * from `party` where `party`.`id` = 49885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 33 - 2025-04-11 10:02:43 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 89660 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 34 - 2025-04-11 10:02:43 [0.13ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 35 - 2025-04-11 10:02:43 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 36 - 2025-04-11 10:02:43 [0.14ms] */
select * from `branches` where `branches`.`id` = 16 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 37 - 2025-04-11 10:02:43 [0.64ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (49885, 2, 89660, null, 2, 6, 16, 37, 37, 'OPEN', 26, null, 149, 149, '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 38 - 2025-04-11 10:02:43 [0.21ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607821, 'INITIATED', '2025-04-11 10:02:43', 5, 149, 149, 149, '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 39 - 2025-04-11 10:02:43 [0.2ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 89006, `transaction`.`updated_at` = '2025-04-11 10:02:43' where `id` = 607821;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 40 - 2025-04-11 10:02:43 [0.26ms] */
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 (439879, 439880) 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 41 - 2025-04-11 10:02:43 [0.22ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (439879, 439880) 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 42 - 2025-04-11 10:02:43 [0.29ms] */
insert into `invoice` (`transaction_id`, `party_id`, `invoice_date`, `due_date`, `invoice_amount`, `discounts`, `total_invoice_amount`, `outstanding_balance`, `taxes`, `status`, `grouped`, `parent`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607821, 49885, '2025-04-11 10:02:43', '2025-04-11 10:02:43', 95.00, 0, 95.00, 95.00, 0, 'OPEN', 'N', 'Y', 149, 149, '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 43 - 2025-04-11 10:02:43 [0.19ms] */
select * from `invoice` where `id` = 581898 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 44 - 2025-04-11 10:02:43 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":607821,"party_id":49885,"invoice_amount":"95.00","invoice_date":"2025-04-11 10:02:43","due_date":"2025-04-11 10:02:43","outstanding_balance":"95.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"95.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 149, 'App\Models\User', 581898, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 45 - 2025-04-11 10:02:43 [0.27ms] */
select `invoice`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (439879, 439880) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 46 - 2025-04-11 10:02:43 [0.24ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Quarterly Tax Fees', 2, 64.00, 95, 581898, 149, 149, '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 47 - 2025-04-11 10:02:43 [0.17ms] */
select * from `invoice_item` where `id` = 1050810 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 48 - 2025-04-11 10:02:43 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Quarterly Tax Fees","unit_price":"64.00","quantity":2,"total_price":"95.00","invoice_id":581898}}', 149, 'App\Models\User', 1050810, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 49 - 2025-04-11 10:02:43 [0.24ms] */
update `invoice` set `invoice_number` = 'INV-718-581898327', `invoice`.`updated_at` = '2025-04-11 10:02:43' where `id` = 581898;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 50 - 2025-04-11 10:02:43 [0.18ms] */
select * from `invoice` where `id` = 581898 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 51 - 2025-04-11 10:02:43 [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":{"invoice_number":"INV-718-581898327"},"old":{"invoice_number":null}}', 149, 'App\Models\User', 581898, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 52 - 2025-04-11 10:02:43 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 439879 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 53 - 2025-04-11 10:02:43 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 149, `vehicle_tax`.`updated_at` = '2025-04-11 10:02:43' where `id` = 439879;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 54 - 2025-04-11 10:02:43 [0.17ms] */
select * from `vehicle_tax` where `id` = 439879 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 55 - 2025-04-11 10:02:43 [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"}}', 149, 'App\Models\User', 439879, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 56 - 2025-04-11 10:02:43 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 549406 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 57 - 2025-04-11 10:02:43 [0.28ms] */
update `transaction` set `tax_collection_point_id` = 26, `deliver_district_id` = 37, `parent_id` = 607821, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-11 10:02:43' where `id` = 549406;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 58 - 2025-04-11 10:02:43 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 525108 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 59 - 2025-04-11 10:02:43 [0.23ms] */
update `invoice` set `parent_id` = 581898, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-11 10:02:43' where `id` = 525108;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 60 - 2025-04-11 10:02:43 [0.18ms] */
select * from `invoice` where `id` = 525108 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 61 - 2025-04-11 10:02:43 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":581898,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 149, 'App\Models\User', 525108, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 62 - 2025-04-11 10:02:43 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 549406 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 63 - 2025-04-11 10:02:43 [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 64 - 2025-04-11 10:02:43 [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 65 - 2025-04-11 10:02:43 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 66 - 2025-04-11 10:02:43 [0.38ms] */
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 67 - 2025-04-11 10:02:43 [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 68 - 2025-04-11 10:02:43 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (549406, 'APPROVED', '2025-04-11 10:02:43', 5, 149, null, 149, 149, '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 69 - 2025-04-11 10:02:43 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 70 - 2025-04-11 10:02:43 [0.26ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-11 10:02:43' where `id` = 549406;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 71 - 2025-04-11 10:02:43 [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/make_payment
   Query 72 - 2025-04-11 10:02:43 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 525108 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 73 - 2025-04-11 10:02:43 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 439880 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 74 - 2025-04-11 10:02:43 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 149, `vehicle_tax`.`updated_at` = '2025-04-11 10:02:43' where `id` = 439880;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 75 - 2025-04-11 10:02:43 [0.17ms] */
select * from `vehicle_tax` where `id` = 439880 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 76 - 2025-04-11 10:02:43 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 149, 'App\Models\User', 439880, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 77 - 2025-04-11 10:02:43 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 549407 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 78 - 2025-04-11 10:02:43 [0.26ms] */
update `transaction` set `tax_collection_point_id` = 26, `deliver_district_id` = 37, `parent_id` = 607821, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-11 10:02:43' where `id` = 549407;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 79 - 2025-04-11 10:02:43 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 525109 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 80 - 2025-04-11 10:02:43 [0.16ms] */
update `invoice` set `parent_id` = 581898, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-11 10:02:43' where `id` = 525109;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 81 - 2025-04-11 10:02:43 [0.18ms] */
select * from `invoice` where `id` = 525109 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 82 - 2025-04-11 10:02:43 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":581898,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 149, 'App\Models\User', 525109, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 83 - 2025-04-11 10:02:43 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 549407 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 84 - 2025-04-11 10:02:43 [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/make_payment
   Query 85 - 2025-04-11 10:02:43 [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/make_payment
   Query 86 - 2025-04-11 10:02:43 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 87 - 2025-04-11 10:02:43 [0.15ms] */
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 88 - 2025-04-11 10:02:43 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (549407, 'APPROVED', '2025-04-11 10:02:43', 5, 149, null, 149, 149, '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 89 - 2025-04-11 10:02:43 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 90 - 2025-04-11 10:02:43 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-11 10:02:43' where `id` = 549407;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 91 - 2025-04-11 10:02:43 [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/make_payment
   Query 92 - 2025-04-11 10:02:43 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 525109 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 93 - 2025-04-11 10:02:43 [0.18ms] */
update `transaction` set `invoice_id` = 581898, `transaction`.`updated_at` = '2025-04-11 10:02:43' where `id` = 607821;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 94 - 2025-04-11 10:02:43 [0.32ms] */
update `vehicle` set `updated_by` = 149, `vehicle`.`updated_at` = '2025-04-11 10:02:43' where `id` = 89660;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 95 - 2025-04-11 10:02:43 [0.18ms] */
select * from `vehicle` where `id` = 89660 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 96 - 2025-04-11 10:02:43 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 149, 'App\Models\User', 89660, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 97 - 2025-04-11 10:02:43 [0.28ms] */
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":29}', '{"updated_by":149}', 'updated', 89660, 'Modules\Vehicle\Entities\Vehicle', 149, 'App\Models\User', null, '41.223.109.136', 'Dart/3.4 (dart:io)', 'https://rta2.puntlandgov.org/api/make_payment', '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 98 - 2025-04-11 10:02:43 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 607821 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 99 - 2025-04-11 10:02:43 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 100 - 2025-04-11 10:02:43 [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 101 - 2025-04-11 10:02:43 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 102 - 2025-04-11 10:02:43 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (607821, 'APPROVED', '2025-04-11 10:02:43', 5, 149, null, 149, 149, '2025-04-11 10:02:43', '2025-04-11 10:02:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 103 - 2025-04-11 10:02:43 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 104 - 2025-04-11 10:02:43 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-11 10:02:43' where `id` = 607821;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 105 - 2025-04-11 10:02:43 [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/make_payment
   Query 106 - 2025-04-11 10:02:43 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 581898 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 107 - 2025-04-11 10:02:43 [0.35ms] */
select `transaction_id` from `vehicle_tax` where `id` in (439879, 439880) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 108 - 2025-04-11 10:02:43 [0.26ms] */
select * from `invoice` where `transaction_id` = 549406 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 109 - 2025-04-11 10:02:43 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 525108 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 110 - 2025-04-11 10:02:43 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 549406 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 111 - 2025-04-11 10:02:43 [3.71ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-04-11 10:02:43' where `id` = 549406;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 112 - 2025-04-11 10:02:43 [0.4ms] */
select * from `invoice` where `transaction_id` = 549407 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 113 - 2025-04-11 10:02:43 [0.41ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 525109 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 114 - 2025-04-11 10:02:43 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 549407 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 115 - 2025-04-11 10:02:43 [3.48ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-04-11 10:02:43' where `id` = 549407;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 116 - 2025-04-11 10:02:43 [0.25ms] */
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 117 - 2025-04-11 10:02:43 [0.22ms] */
select * from `user_accounts` where `user_id` = 149 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 118 - 2025-04-11 10:02:43 [0.21ms] */
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 119 - 2025-04-11 10:02:43 [0.21ms] */
select * from `user_accounts` where `user_id` = 149 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-04-11 10:02:43 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 2 - 2025-04-11 10:02:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 3 - 2025-04-11 10:02:43 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 4 - 2025-04-11 10:02:43 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 5 - 2025-04-11 10:02:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 6 - 2025-04-11 10:02:43 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 7 - 2025-04-11 10:02:43 [0.32ms] */
select * from `transaction` where `id` = 549407 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 8 - 2025-04-11 10:02:43 [4.42ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 549407 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-04-11 10:02:43 [3.87ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 549407 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-04-11 10:02:43 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 525109 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-04-11 10:02:43 [0.31ms] */
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` = 525109 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-11 10:02:44 [1.26ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-11 10:02:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-11 10:02:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-11 10:02:44 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-11 10:02:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-11 10:02:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-11 10:02:44 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-04-11 10:02:45 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-11 10:02:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-11 10:02:45 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-04-11 10:02:45 [0.17ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-11 10:02:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-11 10:02:45 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-11 10:02:45 [0.15ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 149 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-04-11 10:02:45 [0.13ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 149 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 1 - 2025-04-11 10:02:46 [2.03ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 2 - 2025-04-11 10:02:46 [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/livewire/message/config.select-make-model-component
   Query 3 - 2025-04-11 10:02:46 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 4 - 2025-04-11 10:02:46 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 5 - 2025-04-11 10:02:46 [0.34ms] */
select * from `make` where `make`.`id` in (2, 3, 98, 4, 5, 77, 6, 7, 90, 8, 9, 92, 10, 11, 12, 13, 14, 15, 16, 86, 17, 18, 19, 20, 21, 22, 23, 1, 24, 25, 26, 27, 80, 28, 97, 29, 30, 31, 32, 88, 85, 33, 34, 35, 36, 91, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 79, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 99, 78, 75, 76, 89);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 6 - 2025-04-11 10:02:46 [0.15ms] */
select * from `model` where `id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 7 - 2025-04-11 10:02:46 [0.2ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 8 - 2025-04-11 10:02:46 [0.15ms] */
select * from `model` where `make_id` = 1 and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 1 - 2025-04-11 10:03:21 [1.3ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 2 - 2025-04-11 10:03:21 [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/livewire/message/config.select-make-model-component
   Query 3 - 2025-04-11 10:03:21 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 4 - 2025-04-11 10:03:21 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 5 - 2025-04-11 10:03:21 [0.24ms] */
select * from `model` where `model`.`id` in (1, 4384, 18, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 6 - 2025-04-11 10:03:21 [0.27ms] */
select * from `make` where `make`.`id` in (2, 3, 98, 4, 5, 77, 6, 7, 90, 8, 9, 92, 10, 11, 12, 13, 14, 15, 16, 86, 17, 18, 19, 20, 21, 22, 23, 1, 24, 25, 26, 27, 80, 28, 97, 29, 30, 31, 32, 88, 85, 33, 34, 35, 36, 91, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 79, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 99, 78, 75, 76, 89);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 7 - 2025-04-11 10:03:21 [0.2ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 8 - 2025-04-11 10:03:21 [0.81ms] */
select * from `model` where `make_id` = 74 and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 1 - 2025-04-11 10:03:32 [1.76ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-04-11 10:03:32 [0.62ms] */
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/livewire/message/vehicle.create-vehicle-component
   Query 3 - 2025-04-11 10:03:32 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 4 - 2025-04-11 10:03:32 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 5 - 2025-04-11 10:03:32 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` in (8, 14, 4, 5, 9, 6, 7, 15, 10, 20, 11, 12, 13, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 6 - 2025-04-11 10:03:32 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2, 1, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 7 - 2025-04-11 10:03:32 [0.21ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 8 - 2025-04-11 10:03:32 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (38, 2, 1, 3, 4, 28, 5, 6, 7, 8, 9, 10, 36, 30, 34, 11, 12, 32, 13, 14, 35, 15, 16, 17, 18, 19, 31, 20, 21, 37, 22, 23, 24, 25, 26, 29, 33);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-04-11 10:03:35 [1.31ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-04-11 10:03:35 [0.44ms] */
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/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-04-11 10:03:35 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-04-11 10:03:35 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 5 - 2025-04-11 10:03:35 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-04-11 10:03:35 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-04-11 10:03:35 [234.27ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%O%' or `vin` like '%O%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-04-11 10:03:35 [0.97ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%O%' or `vin` like '%O%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-04-11 10:03:35 [0.16ms] */
select * from `model` where `model`.`id` in (1, 1056, 1356, 1367, 1415) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-04-11 10:03:35 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 22, 26, 30) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-04-11 10:03:35 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 6, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-04-11 10:03:35 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-04-11 10:03:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 4, 6, 7, 9, 11) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-04-11 10:03:35 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (46384, 46787, 46884, 46899, 48343, 50315, 50595, 52507, 64960, 74076) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-04-11 10:03:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-04-11 10:03:35 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 18 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 74076 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party` where `party`.`id` = 48834 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2025-04-11 10:03:35 [0.16ms] */
select * from `person` where `person`.`id` = 48834 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 22 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party` where `party`.`id` = 48834 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 23 - 2025-04-11 10:03:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 24 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 25 - 2025-04-11 10:03:35 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 26 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46787 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 27 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party` where `party`.`id` = 29185 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 28 - 2025-04-11 10:03:35 [0.15ms] */
select * from `person` where `person`.`id` = 29185 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 29 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 30 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party` where `party`.`id` = 29185 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 31 - 2025-04-11 10:03:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 32 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 33 - 2025-04-11 10:03:35 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 34 - 2025-04-11 10:03:35 [0.17ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 64960 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 35 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party` where `party`.`id` = 45556 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 36 - 2025-04-11 10:03:35 [0.15ms] */
select * from `person` where `person`.`id` = 45556 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 37 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 38 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party` where `party`.`id` = 45556 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 39 - 2025-04-11 10:03:35 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 40 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 41 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 50315 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 42 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party` where `party`.`id` = 57081 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 43 - 2025-04-11 10:03:35 [0.14ms] */
select * from `company` where `company`.`id` = 1368 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 44 - 2025-04-11 10:03:35 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 45 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party` where `party`.`id` = 57081 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 46 - 2025-04-11 10:03:35 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 47 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 48 - 2025-04-11 10:03:35 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 49 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46884 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 50 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party` where `party`.`id` = 37728 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 51 - 2025-04-11 10:03:35 [0.15ms] */
select * from `person` where `person`.`id` = 37728 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 52 - 2025-04-11 10:03:35 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 53 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party` where `party`.`id` = 37728 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 54 - 2025-04-11 10:03:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 55 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 56 - 2025-04-11 10:03:35 [0.16ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46384 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 57 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party` where `party`.`id` = 37319 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 58 - 2025-04-11 10:03:35 [0.15ms] */
select * from `person` where `person`.`id` = 37319 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 59 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 60 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party` where `party`.`id` = 37319 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 61 - 2025-04-11 10:03:35 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 62 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 63 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46899 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 64 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party` where `party`.`id` = 37739 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 65 - 2025-04-11 10:03:35 [0.15ms] */
select * from `person` where `person`.`id` = 37739 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 66 - 2025-04-11 10:03:35 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 67 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party` where `party`.`id` = 37739 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 68 - 2025-04-11 10:03:35 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 69 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 70 - 2025-04-11 10:03:35 [0.17ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 50595 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 71 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party` where `party`.`id` = 33835 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 72 - 2025-04-11 10:03:35 [0.15ms] */
select * from `person` where `person`.`id` = 33835 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 73 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 74 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party` where `party`.`id` = 33835 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 75 - 2025-04-11 10:03:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 76 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 77 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 52507 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 78 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party` where `party`.`id` = 38167 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 79 - 2025-04-11 10:03:35 [0.15ms] */
select * from `person` where `person`.`id` = 38167 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 80 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 81 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party` where `party`.`id` = 38167 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 82 - 2025-04-11 10:03:35 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 83 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 84 - 2025-04-11 10:03:35 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 85 - 2025-04-11 10:03:35 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 48343 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 86 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party` where `party`.`id` = 57025 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 87 - 2025-04-11 10:03:35 [0.13ms] */
select * from `company` where `company`.`id` = 1312 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 88 - 2025-04-11 10:03:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 89 - 2025-04-11 10:03:35 [0.14ms] */
select * from `party` where `party`.`id` = 57025 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-04-11 10:03:36 [2.35ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-04-11 10:03:36 [0.76ms] */
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/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-04-11 10:03:36 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-04-11 10:03:36 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 5 - 2025-04-11 10:03:36 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-04-11 10:03:36 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-04-11 10:03:36 [188.96ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%On%' or `vin` like '%On%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-04-11 10:03:36 [16.64ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%On%' or `vin` like '%On%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-04-11 10:03:36 [0.34ms] */
select * from `model` where `model`.`id` in (1, 1438) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-04-11 10:03:36 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 15) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-04-11 10:03:36 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-04-11 10:03:36 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 2) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-04-11 10:03:36 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 10) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-04-11 10:03:36 [0.35ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (9385, 9758, 13735, 36176, 45167, 47565, 52407, 76304, 83258, 83272) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-04-11 10:03:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-04-11 10:03:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-04-11 10:03:36 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 18 - 2025-04-11 10:03:36 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 47565 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2025-04-11 10:03:36 [0.29ms] */
select * from `party` where `party`.`id` = 38189 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2025-04-11 10:03:36 [0.24ms] */
select * from `person` where `person`.`id` = 38189 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-04-11 10:03:36 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 22 - 2025-04-11 10:03:36 [0.15ms] */
select * from `party` where `party`.`id` = 38189 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 23 - 2025-04-11 10:03:36 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 24 - 2025-04-11 10:03:36 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 25 - 2025-04-11 10:03:36 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 52407 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 26 - 2025-04-11 10:03:36 [0.23ms] */
select * from `party` where `party`.`id` = 38180 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 27 - 2025-04-11 10:03:36 [0.22ms] */
select * from `person` where `person`.`id` = 38180 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 28 - 2025-04-11 10:03:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 29 - 2025-04-11 10:03:36 [0.15ms] */
select * from `party` where `party`.`id` = 38180 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 30 - 2025-04-11 10:03:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 31 - 2025-04-11 10:03:36 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 32 - 2025-04-11 10:03:36 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 83258 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 33 - 2025-04-11 10:03:36 [0.28ms] */
select * from `party` where `party`.`id` = 57859 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 34 - 2025-04-11 10:03:36 [0.24ms] */
select * from `company` where `company`.`id` = 2146 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 35 - 2025-04-11 10:03:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 36 - 2025-04-11 10:03:36 [0.14ms] */
select * from `party` where `party`.`id` = 57859 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 37 - 2025-04-11 10:03:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 38 - 2025-04-11 10:03:36 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 39 - 2025-04-11 10:03:36 [0.49ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 9758 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 40 - 2025-04-11 10:03:36 [0.24ms] */
select * from `party` where `party`.`id` = 5990 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 41 - 2025-04-11 10:03:36 [0.23ms] */
select * from `person` where `person`.`id` = 5990 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 42 - 2025-04-11 10:03:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 43 - 2025-04-11 10:03:36 [0.13ms] */
select * from `party` where `party`.`id` = 5990 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 44 - 2025-04-11 10:03:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 45 - 2025-04-11 10:03:36 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 46 - 2025-04-11 10:03:36 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 76304 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 47 - 2025-04-11 10:03:36 [0.24ms] */
select * from `party` where `party`.`id` = 57290 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 48 - 2025-04-11 10:03:36 [0.2ms] */
select * from `company` where `company`.`id` = 1577 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 49 - 2025-04-11 10:03:36 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 50 - 2025-04-11 10:03:36 [0.14ms] */
select * from `party` where `party`.`id` = 57290 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 51 - 2025-04-11 10:03:36 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 52 - 2025-04-11 10:03:36 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 53 - 2025-04-11 10:03:36 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 54 - 2025-04-11 10:03:36 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 83272 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 55 - 2025-04-11 10:03:36 [0.2ms] */
select * from `party` where `party`.`id` = 57860 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 56 - 2025-04-11 10:03:36 [0.18ms] */
select * from `company` where `company`.`id` = 2147 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 57 - 2025-04-11 10:03:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 58 - 2025-04-11 10:03:36 [0.14ms] */
select * from `party` where `party`.`id` = 57860 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 59 - 2025-04-11 10:03:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 60 - 2025-04-11 10:03:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 61 - 2025-04-11 10:03:36 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 36176 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 62 - 2025-04-11 10:03:36 [0.25ms] */
select * from `party` where `party`.`id` = 24686 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 63 - 2025-04-11 10:03:36 [0.24ms] */
select * from `person` where `person`.`id` = 24686 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 64 - 2025-04-11 10:03:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 65 - 2025-04-11 10:03:36 [0.15ms] */
select * from `party` where `party`.`id` = 24686 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 66 - 2025-04-11 10:03:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 67 - 2025-04-11 10:03:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 68 - 2025-04-11 10:03:36 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 13735 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 69 - 2025-04-11 10:03:36 [0.22ms] */
select * from `party` where `party`.`id` = 9268 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 70 - 2025-04-11 10:03:36 [0.23ms] */
select * from `person` where `person`.`id` = 9268 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 71 - 2025-04-11 10:03:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 72 - 2025-04-11 10:03:36 [0.14ms] */
select * from `party` where `party`.`id` = 9268 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 73 - 2025-04-11 10:03:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 74 - 2025-04-11 10:03:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 75 - 2025-04-11 10:03:36 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 45167 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 76 - 2025-04-11 10:03:36 [0.22ms] */
select * from `party` where `party`.`id` = 35347 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 77 - 2025-04-11 10:03:36 [0.23ms] */
select * from `person` where `person`.`id` = 35347 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 78 - 2025-04-11 10:03:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 79 - 2025-04-11 10:03:36 [0.14ms] */
select * from `party` where `party`.`id` = 35347 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 80 - 2025-04-11 10:03:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 81 - 2025-04-11 10:03:36 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 82 - 2025-04-11 10:03:36 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 9385 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 83 - 2025-04-11 10:03:36 [0.21ms] */
select * from `party` where `party`.`id` = 5722 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 84 - 2025-04-11 10:03:36 [0.46ms] */
select * from `person` where `person`.`id` = 5722 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 85 - 2025-04-11 10:03:36 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 86 - 2025-04-11 10:03:36 [0.23ms] */
select * from `party` where `party`.`id` = 5722 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-04-11 10:03:37 [1.35ms] */
select * from `users` where `id` = 104 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-04-11 10:03:37 [0.44ms] */
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/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-04-11 10:03:37 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-04-11 10:03:37 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 5 - 2025-04-11 10:03:37 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-04-11 10:03:37 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-04-11 10:03:37 [190.62ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%On288%' or `vin` like '%On288%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-04-11 10:03:37 [241.26ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%On288%' or `vin` like '%On288%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-04-11 10:03:37 [0.28ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-04-11 10:03:37 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-04-11 10:03:37 [0.19ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-04-11 10:03:37 [0.19ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-04-11 10:03:37 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` in (1) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-04-11 10:03:37 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (77448) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-04-11 10:03:37 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-04-11 10:03:37 [0.4ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-04-11 10:03:37 [0.29ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 18 - 2025-04-11 10:03:37 [0.34ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 77448 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2025-04-11 10:03:37 [0.32ms] */
select * from `party` where `party`.`id` = 47025 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2025-04-11 10:03:37 [0.24ms] */
select * from `person` where `person`.`id` = 47025 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-04-11 10:03:37 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 22 - 2025-04-11 10:03:37 [0.23ms] */
select * from `party` where `party`.`id` = 47025 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-04-11 10:03:40 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-04-11 10:03:40 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-04-11 10:03:40 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-04-11 10:03:40 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-04-11 10:03:40 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-04-11 10:03:40 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-04-11 10:03:40 [5.03ms] */
delete from `payment_documents` where `transaction_id` = 549407 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-04-11 10:03:40 [5.92ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2499978;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-04-11 10:03:40 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 549407 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-04-11 10:03:41 [504.65ms] */
select * from `transaction` where `parent_id` = 607821 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-04-11 10:03:41 [12.96ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (549406, 'GOV_RECEIPT_IMAGE', 2499978, 1, '2025-04-11 10:03:41', '2025-04-11 10:03:41');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-04-11 10:03:41 [3.17ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (549407, 'GOV_RECEIPT_IMAGE', 2499978, 1, '2025-04-11 10:03:41', '2025-04-11 10:03:41');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-04-11 10:03:41 [1.79ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (607821, 'GOV_RECEIPT_IMAGE', 2499978, 1, '2025-04-11 10:03:41', '2025-04-11 10:03:41');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-04-11 10:03:41 [0.51ms] */
select * from `transaction` where `transaction`.`id` = 549407 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-04-11 10:03:41 [3.39ms] */
update `transaction` set `paid_by` = 'c/karin', `paid_by_mobile` = 7745220, `transaction`.`updated_at` = '2025-04-11 10:03:41' where `id` = 549407;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 16 - 2025-04-11 10:03:41 [8.82ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-04-11 10:03:41' where `receipt_number` = 2499978 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-04-11 10:03:44 [1.24ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-04-11 10:03:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-04-11 10:03:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-04-11 10:03:44 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-04-11 10:03:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-04-11 10:03:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-04-11 10:03:44 [1.85ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 149 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-04-11 10:03:44 [1.88ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 149 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 1 - 2025-04-11 10:03:45 [1.36ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 2 - 2025-04-11 10:03:45 [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/livewire/message/config.select-make-model-component
   Query 3 - 2025-04-11 10:03:45 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 4 - 2025-04-11 10:03:45 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 5 - 2025-04-11 10:03:45 [1.04ms] */
select * from `model` where `model`.`id` in (1283, 1284, 1285, 1289, 1290, 1291, 1292, 1293, 1294, 1295, 1296, 1297, 1298, 1299, 1300, 1315, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314, 1316, 1317, 1318, 1319, 1320, 1321, 1538, 1322, 1323, 1324, 1325, 1326, 1327, 1328, 1329, 1330, 1331, 1332, 1333, 1334, 1335, 1336, 1337, 1288, 1338, 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, 1347, 4380, 1348, 1349, 1350, 1351, 1352, 1353, 1354, 1355, 1356, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1365, 1366, 1367, 1368, 1622, 1287, 1369, 1370, 1371, 1372, 1373, 1374, 1620, 1375, 1376, 1377, 1378, 1379, 1380, 1381, 4369, 1382, 1383, 1384, 1385, 1386, 1387, 1388, 1389, 4367, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1286, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1282, 1539, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453, 1364, 1454, 1455, 4371, 1456, 1457, 1458, 1459, 1460, 1461);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 6 - 2025-04-11 10:03:45 [0.29ms] */
select * from `make` where `make`.`id` in (2, 3, 98, 4, 5, 77, 6, 7, 90, 8, 9, 92, 10, 11, 12, 13, 14, 15, 16, 86, 17, 18, 19, 20, 21, 22, 23, 1, 24, 25, 26, 27, 80, 28, 97, 29, 30, 31, 32, 88, 85, 33, 34, 35, 36, 91, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 79, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 99, 78, 75, 76, 89);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 7 - 2025-04-11 10:03:45 [0.23ms] */
select * from `model` where `id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 8 - 2025-04-11 10:03:45 [0.22ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 9 - 2025-04-11 10:03:45 [0.29ms] */
select * from `model` where `make_id` = 74 and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 1 - 2025-04-11 10:03:46 [1.94ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-04-11 10:03:46 [0.66ms] */
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/livewire/message/vehicle.create-vehicle-component
   Query 3 - 2025-04-11 10:03:46 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 4 - 2025-04-11 10:03:46 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 5 - 2025-04-11 10:03:46 [0.31ms] */
select * from `sub_category` where `sub_category`.`id` in (8, 14, 4, 5, 9, 6, 7, 15, 10, 20, 11, 12, 13, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 6 - 2025-04-11 10:03:46 [0.16ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2, 1, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 7 - 2025-04-11 10:03:46 [0.21ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 8 - 2025-04-11 10:03:46 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (38, 2, 1, 3, 4, 28, 5, 6, 7, 8, 9, 10, 36, 30, 34, 11, 12, 32, 13, 14, 35, 15, 16, 17, 18, 19, 31, 20, 21, 37, 22, 23, 24, 25, 26, 29, 33);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-04-11 10:03:52 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-04-11 10:03:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-04-11 10:03:52 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-04-11 10:03:52 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-04-11 10:03:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-04-11 10:03:52 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-04-11 10:03:52 [4.98ms] */
delete from `payment_documents` where `transaction_id` = 549407 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-04-11 10:03:52 [6.22ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 114778;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-04-11 10:03:52 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 549407 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-04-11 10:03:52 [419.51ms] */
select * from `transaction` where `parent_id` = 607821 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-04-11 10:03:52 [8.58ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (549406, 'SERVICE_RECEIPT_IMAGE', 114778, 1, '2025-04-11 10:03:52', '2025-04-11 10:03:52');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-04-11 10:03:52 [3.37ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (549407, 'SERVICE_RECEIPT_IMAGE', 114778, 1, '2025-04-11 10:03:52', '2025-04-11 10:03:52');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-04-11 10:03:52 [3.52ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (607821, 'SERVICE_RECEIPT_IMAGE', 114778, 1, '2025-04-11 10:03:52', '2025-04-11 10:03:52');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-04-11 10:03:52 [18.89ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-04-11 10:03:52' where `receipt_number` = 114778 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-04-11 10:03:52 [1.26ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-04-11 10:03:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-04-11 10:03:52 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-04-11 10:03:52 [0.16ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-04-11 10:03:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-04-11 10:03:52 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-04-11 10:03:52 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 549407 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-04-11 10:03:52 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 607821 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-04-11 10:03:52 [0.24ms] */
select * from `invoice_payment` where `invoice_id` = 581898 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-04-11 10:03:52 [123.59ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 607821 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-04-11 10:03:53 [134.59ms] */
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` = 607821 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-04-11 10:03:53 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 607821 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-04-11 10:03:53 [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 14 - 2025-04-11 10:03:53 [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 15 - 2025-04-11 10:03:53 [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/confirm_payment
   Query 16 - 2025-04-11 10:03:53 [396.63ms] */
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` = 607821 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-04-11 10:03:53 [0.51ms] */
select * from `party` where `party`.`id` = 49885 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 18 - 2025-04-11 10:03:53 [1.51ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-04-11 10:03:53', 'sahal', 2499978, 1, 95.00, 'c/karin', 7745220, null, 37, 149, 149, 149, '2025-04-11 10:03:53', '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-04-11 10:03:53 [0.21ms] */
select * from `Payment` where `id` = 189356 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-04-11 10:03:53 [0.69ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":1,"payment_amount":"95.00","payment_date":"2025-04-11 10:03:53","external_payment_reference_no":"sahal","payment_receipt_number":"2499978","siinpay_payref_number":null,"paid_by":"c\/karin","paid_by_mobile":"7745220","district_id":37,"migration_id":null,"payment_collected_by":149}}', 149, 'App\Models\User', 189356, 'Modules\Transaction\Entities\Payment', 'created', '2025-04-11 10:03:53', '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-04-11 10:03:53 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 607821 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-04-11 10:03:53 [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 23 - 2025-04-11 10:03:53 [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 24 - 2025-04-11 10:03:53 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 525108 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-04-11 10:03:53 [0.34ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-04-11 10:03:53', 525108, 189356, '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-04-11 10:03:53 [0.29ms] */
select * from `invoice` where `invoice`.`id` = 525108 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-04-11 10:03:53 [0.4ms] */
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` = 525108 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-04-11 10:03:53 [0.46ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 525108 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 29 - 2025-04-11 10:03:53 [0.36ms] */
update `invoice` set `invoice_amount` = 64, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 64, `status` = 'PAID', `invoice`.`updated_at` = '2025-04-11 10:03:53' where `id` = 525108;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-04-11 10:03:53 [0.47ms] */
select * from `invoice` where `id` = 525108 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-04-11 10:03:53 [0.44ms] */
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"}}', 149, 'App\Models\User', 525108, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 10:03:53', '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-04-11 10:03:53 [0.53ms] */
select * from `transaction` where `transaction`.`id` = 549406 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-04-11 10:03:53 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 549406 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-04-11 10:03:53 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-04-11 10:03:53 [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/confirm_payment
   Query 36 - 2025-04-11 10:03:53 [0.2ms] */
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 37 - 2025-04-11 10:03:53 [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 (549406, 'PAID', '2025-04-11 10:03:53', 7, 149, null, 149, 149, '2025-04-11 10:03:53', '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-04-11 10:03:53 [0.21ms] */
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 39 - 2025-04-11 10:03:53 [0.42ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-04-11 10:03:53' where `id` = 549406;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-04-11 10:03:53 [0.21ms] */
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 41 - 2025-04-11 10:03:53 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 525108 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 42 - 2025-04-11 10:03:53 [0.34ms] */
select * from `vehicle_tax` where `transaction_id` = 549406 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-04-11 10:03:53 [0.2ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-04-11 10:03:53' where `id` = 439879;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-04-11 10:03:53 [0.21ms] */
select * from `vehicle_tax` where `id` = 439879 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-04-11 10:03:53 [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":"PAID"},"old":{"status":"INPROGRESS"}}', 149, 'App\Models\User', 439879, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-11 10:03:53', '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-04-11 10:03:53 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 525109 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-04-11 10:03:53 [0.19ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-04-11 10:03:53', 525109, 189356, '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-04-11 10:03:53 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 525109 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-04-11 10:03:53 [0.29ms] */
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` = 525109 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-04-11 10:03:53 [0.24ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 525109 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 51 - 2025-04-11 10:03:53 [0.22ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 31, `status` = 'PAID', `invoice`.`updated_at` = '2025-04-11 10:03:53' where `id` = 525109;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-04-11 10:03:53 [0.22ms] */
select * from `invoice` where `id` = 525109 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-04-11 10:03:53 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"31.00","status":"OPEN"}}', 149, 'App\Models\User', 525109, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 10:03:53', '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-04-11 10:03:53 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 549407 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-04-11 10:03:53 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 549407 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-04-11 10:03:53 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 57 - 2025-04-11 10:03:53 [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 58 - 2025-04-11 10:03:53 [0.22ms] */
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 59 - 2025-04-11 10:03:53 [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 (549407, 'PAID', '2025-04-11 10:03:53', 7, 149, null, 149, 149, '2025-04-11 10:03:53', '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-04-11 10:03:53 [0.31ms] */
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 61 - 2025-04-11 10:03:53 [0.27ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-04-11 10:03:53' where `id` = 549407;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-04-11 10:03:53 [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/confirm_payment
   Query 63 - 2025-04-11 10:03:53 [0.41ms] */
select * from `invoice` where `invoice`.`id` = 525109 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 64 - 2025-04-11 10:03:53 [0.35ms] */
select * from `vehicle_tax` where `transaction_id` = 549407 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 65 - 2025-04-11 10:03:53 [0.29ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-04-11 10:03:53' where `id` = 439880;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 66 - 2025-04-11 10:03:53 [0.31ms] */
select * from `vehicle_tax` where `id` = 439880 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 67 - 2025-04-11 10:03:53 [0.31ms] */
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"}}', 149, 'App\Models\User', 439880, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-11 10:03:53', '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 68 - 2025-04-11 10:03:53 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 581898 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 69 - 2025-04-11 10:03:53 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 581898 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 70 - 2025-04-11 10:03:53 [0.28ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-04-11 10:03:53', 581898, 189356, '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 71 - 2025-04-11 10:03:53 [0.36ms] */
select * from `invoice` where `invoice`.`id` = 581898 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 72 - 2025-04-11 10:03:53 [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` = 581898 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 73 - 2025-04-11 10:03:53 [0.3ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-04-11 10:03:53' where `id` = 581898;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 74 - 2025-04-11 10:03:53 [0.33ms] */
select * from `invoice` where `id` = 581898 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 75 - 2025-04-11 10:03:53 [0.38ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"95.00","status":"OPEN"}}', 149, 'App\Models\User', 581898, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-11 10:03:53', '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 76 - 2025-04-11 10:03:53 [0.42ms] */
select * from `transaction` where `transaction`.`id` = 607821 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 77 - 2025-04-11 10:03:53 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 607821 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 78 - 2025-04-11 10:03:53 [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/confirm_payment
   Query 79 - 2025-04-11 10:03:53 [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/confirm_payment
   Query 80 - 2025-04-11 10:03:53 [0.25ms] */
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 81 - 2025-04-11 10:03:53 [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 (607821, 'PAID', '2025-04-11 10:03:53', 7, 149, null, 149, 149, '2025-04-11 10:03:53', '2025-04-11 10:03:53');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 82 - 2025-04-11 10:03:53 [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 83 - 2025-04-11 10:03:53 [0.27ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-04-11 10:03:53' where `id` = 607821;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 84 - 2025-04-11 10:03:53 [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 85 - 2025-04-11 10:03:53 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 581898 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-04-11 10:03:57 [2.1ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-04-11 10:03:57 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-04-11 10:03:57 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-04-11 10:03:57 [0.36ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-04-11 10:03:57 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-04-11 10:03:57 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-04-11 10:03:57 [0.35ms] */
select * from `vehicle_tax` where `id` = 439880 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-04-11 10:03:57 [0.73ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 1 - 2025-04-11 10:04:09 [2.12ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 2 - 2025-04-11 10:04:09 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 3 - 2025-04-11 10:04:09 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 4 - 2025-04-11 10:04:09 [0.3ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 5 - 2025-04-11 10:04:09 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 6 - 2025-04-11 10:04:09 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 7 - 2025-04-11 10:04:09 [0.33ms] */
select * from `vehicle_tax` where `id` in (439879, 439880) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 8 - 2025-04-11 10:04:09 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 549406 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-04-11 10:04:09 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 549406 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 10 - 2025-04-11 10:04:09 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 11 - 2025-04-11 10:04:09 [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/complete_transaction
   Query 12 - 2025-04-11 10:04:09 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 13 - 2025-04-11 10:04:09 [0.26ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (549406, 'APPROVED', '2025-04-11 10:04:09', 8, 149, null, 149, 149, '2025-04-11 10:04:09', '2025-04-11 10:04:09');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 14 - 2025-04-11 10:04:09 [0.14ms] */
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-04-11 10:04:09 [0.3ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-04-11 10:04:09' where `id` = 549406;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 16 - 2025-04-11 10:04:09 [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/complete_transaction
   Query 17 - 2025-04-11 10:04:09 [0.23ms] */
select * from `vehicle_tax` where `transaction_id` = 549406 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 18 - 2025-04-11 10:04:09 [0.17ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-04-11 10:04:09' where `id` = 439879;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 19 - 2025-04-11 10:04:09 [0.2ms] */
select * from `vehicle_tax` where `id` = 439879 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 20 - 2025-04-11 10:04:09 [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":"ISSUED"},"old":{"status":"PAID"}}', 149, 'App\Models\User', 439879, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-11 10:04:09', '2025-04-11 10:04:09');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 21 - 2025-04-11 10:04:09 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 525108 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-04-11 10:04:09 [0.39ms] */
select * from `transaction` where `id` = 549406 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 23 - 2025-04-11 10:04:09 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 607821 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 24 - 2025-04-11 10:04:09 [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 25 - 2025-04-11 10:04:09 [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/complete_transaction
   Query 26 - 2025-04-11 10:04:09 [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-04-11 10:04:09 [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 (607821, 'APPROVED', '2025-04-11 10:04:09', 8, 149, null, 149, 149, '2025-04-11 10:04:09', '2025-04-11 10:04:09');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 28 - 2025-04-11 10:04:09 [0.24ms] */
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-04-11 10:04:09 [0.36ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-04-11 10:04:09' where `id` = 607821;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 30 - 2025-04-11 10:04:09 [0.24ms] */
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-04-11 10:04:09 [0.34ms] */
select * from `vehicle_tax` where `transaction_id` = 607821 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 32 - 2025-04-11 10:04:09 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 581898 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-04-11 10:04:09 [0.27ms] */
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 34 - 2025-04-11 10:04:09 [0.51ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 89006 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-04-11 10:04:09 [0.3ms] */
select * from `party` where `party`.`id` = 49885 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-04-11 10:04:09 [0.54ms] */
select * from `person` where `person`.`id` = 49885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 37 - 2025-04-11 10:04:09 [0.62ms] */
select * from `vehicle` where `vehicle`.`id` = 89660 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-04-11 10:04:09 [0.45ms] */
select * from `invoice` where `invoice`.`id` = 525108 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-04-11 10:04:09 [0.41ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 525108 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-04-11 10:04:09 [0.24ms] */
select * from `Payment` where `Payment`.`id` = 189356 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 41 - 2025-04-11 10:04:09 [0.14ms] */
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-04-11 10:04:09 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 549407 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-04-11 10:04:09 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 549407 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 44 - 2025-04-11 10:04:09 [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 45 - 2025-04-11 10:04:09 [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 46 - 2025-04-11 10:04:09 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 47 - 2025-04-11 10:04:09 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (549407, 'APPROVED', '2025-04-11 10:04:09', 8, 149, null, 149, 149, '2025-04-11 10:04:09', '2025-04-11 10:04:09');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 48 - 2025-04-11 10:04:09 [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-04-11 10:04:09 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-04-11 10:04:09' where `id` = 549407;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 50 - 2025-04-11 10:04:09 [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-04-11 10:04:09 [0.21ms] */
select * from `vehicle_tax` where `transaction_id` = 549407 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 52 - 2025-04-11 10:04:09 [0.15ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-04-11 10:04:09' where `id` = 439880;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 53 - 2025-04-11 10:04:09 [0.18ms] */
select * from `vehicle_tax` where `id` = 439880 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 54 - 2025-04-11 10:04:09 [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"}}', 149, 'App\Models\User', 439880, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-11 10:04:09', '2025-04-11 10:04:09');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 55 - 2025-04-11 10:04:09 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 525109 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-04-11 10:04:09 [0.25ms] */
select * from `transaction` where `id` = 549407 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 57 - 2025-04-11 10:04:09 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 607821 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 58 - 2025-04-11 10:04:09 [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-04-11 10:04:09 [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 60 - 2025-04-11 10:04:09 [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 61 - 2025-04-11 10:04:09 [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 (607821, 'APPROVED', '2025-04-11 10:04:09', 9, 149, null, 149, 149, '2025-04-11 10:04:09', '2025-04-11 10:04:09');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 62 - 2025-04-11 10:04:09 [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 63 - 2025-04-11 10:04:09 [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-04-11 10:04:09 [0.2ms] */
select * from `vehicle_tax` where `transaction_id` = 607821 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 65 - 2025-04-11 10:04:09 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 581898 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-04-11 10:04:09 [0.13ms] */
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 67 - 2025-04-11 10:04:09 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 89006 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-04-11 10:04:09 [0.14ms] */
select * from `party` where `party`.`id` = 49885 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-04-11 10:04:09 [0.15ms] */
select * from `person` where `person`.`id` = 49885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 70 - 2025-04-11 10:04:09 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89660 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-04-11 10:04:09 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 525109 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-04-11 10:04:09 [0.2ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 525109 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-04-11 10:04:09 [0.14ms] */
select * from `Payment` where `Payment`.`id` = 189356 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 74 - 2025-04-11 10:04:09 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 1 - 2025-04-11 10:04:15 [1.42ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-04-11 10:04:15 [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/livewire/message/vehicle.create-vehicle-component
   Query 3 - 2025-04-11 10:04:15 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 4 - 2025-04-11 10:04:15 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 5 - 2025-04-11 10:04:15 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` in (8, 14, 4, 5, 9, 6, 7, 15, 10, 20, 11, 12, 13, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 6 - 2025-04-11 10:04:15 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2, 1, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 7 - 2025-04-11 10:04:15 [0.23ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 8 - 2025-04-11 10:04:15 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (38, 2, 1, 3, 4, 28, 5, 6, 7, 8, 9, 10, 36, 30, 34, 11, 12, 32, 13, 14, 35, 15, 16, 17, 18, 19, 31, 20, 21, 37, 22, 23, 24, 25, 26, 29, 33);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 9 - 2025-04-11 10:04:15 [0.35ms] */
select * from `vehicle` where `id` = 77448 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 10 - 2025-04-11 10:04:15 [11.97ms] */
update `vehicle` set `vin` = 'NCP500116192', `sub_category_id` = 4, `model_id` = 1396, `vehicle_color_id` = 50, `fuel_type_id` = 3, `vehicle_type_id` = 16, `updated_by` = 142, `vehicle`.`updated_at` = '2025-04-11 10:04:15' where `id` = 77448;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 11 - 2025-04-11 10:04:15 [0.37ms] */
select * from `vehicle` where `id` = 77448 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 12 - 2025-04-11 10:04:15 [3.28ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":{"sub_category_id":4,"model_id":1396,"vin":"NCP500116192","vehicle_color_id":50,"fuel_type_id":3,"vehicle_type_id":16},"old":{"sub_category_id":1,"model_id":1,"vin":"NCP50-0116192","vehicle_color_id":1,"fuel_type_id":1,"vehicle_type_id":1}}', 142, 'App\Models\User', 77448, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-04-11 10:04:15', '2025-04-11 10:04:15');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 13 - 2025-04-11 10:04:15 [4.92ms] */
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 ('{"vin":"NCP50-0116192","sub_category_id":1,"model_id":1,"vehicle_color_id":1,"fuel_type_id":1,"vehicle_type_id":1,"updated_by":1}', '{"vin":"NCP500116192","sub_category_id":"4","model_id":"1396","vehicle_color_id":"50","fuel_type_id":"3","vehicle_type_id":"16","updated_by":142}', 'updated', 77448, 'Modules\Vehicle\Entities\Vehicle', 142, 'App\Models\User', null, '102.128.131.177', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0', 'https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component', '2025-04-11 10:04:15', '2025-04-11 10:04:15');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 1 - 2025-04-11 10:04:20 [1.38ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 2 - 2025-04-11 10:04:20 [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/livewire/message/vehicle.vehicle-history-component
   Query 3 - 2025-04-11 10:04:20 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 4 - 2025-04-11 10:04:20 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 5 - 2025-04-11 10:04:20 [0.44ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 18042 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 6 - 2025-04-11 10:04:20 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 77448 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 7 - 2025-04-11 10:04:20 [0.18ms] */
select * from `party_vehicle` where `vehicle_id` = 77448 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 8 - 2025-04-11 10:04:20 [0.53ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 77448 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 9 - 2025-04-11 10:04:20 [0.43ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 18042 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 10 - 2025-04-11 10:04:20 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 11 - 2025-04-11 10:04:20 [0.16ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 12 - 2025-04-11 10:04:20 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 13 - 2025-04-11 10:04:20 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 14 - 2025-04-11 10:04:20 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 15 - 2025-04-11 10:04:20 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 77448 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 16 - 2025-04-11 10:04:20 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 77448 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 17 - 2025-04-11 10:04:20 [0.13ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 77448 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 18 - 2025-04-11 10:04:20 [0.22ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 18042 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 19 - 2025-04-11 10:04:20 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 20 - 2025-04-11 10:04:20 [0.23ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 21 - 2025-04-11 10:04:20 [0.24ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 22 - 2025-04-11 10:04:20 [0.22ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 23 - 2025-04-11 10:04:20 [0.22ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 24 - 2025-04-11 10:04:20 [0.26ms] */
select * from `model` where `model`.`id` = 1396 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 25 - 2025-04-11 10:04:20 [0.28ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 26 - 2025-04-11 10:04:20 [0.36ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 16 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 27 - 2025-04-11 10:04:20 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 28 - 2025-04-11 10:04:20 [0.2ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.vehicle-history-component
   Query 29 - 2025-04-11 10:04:20 [0.2ms] */
