insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638257, 'INITIATED', '2025-06-26 11:19:51', 5, 150, 150, 150, '2025-06-26 11:19:51', '2025-06-26 11:19:51');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 28 - 2025-06-26 11:19:51 [0.26ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 74647, `transaction`.`updated_at` = '2025-06-26 11:19:51' where `id` = 638257;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 29 - 2025-06-26 11:19:51 [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 (432646, 432647) 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 30 - 2025-06-26 11:19:51 [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 (432646, 432647) 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 31 - 2025-06-26 11:19:51 [0.22ms] */
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 (638257, 56889, '2025-06-26 11:19:51', '2025-06-26 11:19:51', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 150, 150, '2025-06-26 11:19:51', '2025-06-26 11:19:51');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 32 - 2025-06-26 11:19:51 [0.19ms] */
select * from `invoice` where `id` = 611086 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 33 - 2025-06-26 11:19:51 [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":638257,"party_id":56889,"invoice_amount":"31.00","invoice_date":"2025-06-26 11:19:51","due_date":"2025-06-26 11:19:51","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 150, 'App\Models\User', 611086, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-26 11:19:51', '2025-06-26 11:19:51');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 34 - 2025-06-26 11:19:51 [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 (432646, 432647) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 35 - 2025-06-26 11:19:51 [0.17ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Quarterly Tax Fees', 1, 31.00, 31, 611086, 150, 150, '2025-06-26 11:19:51', '2025-06-26 11:19:51');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 36 - 2025-06-26 11:19:51 [0.16ms] */
select * from `invoice_item` where `id` = 1096428 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 37 - 2025-06-26 11:19:51 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Quarterly Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":611086}}', 150, 'App\Models\User', 1096428, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-26 11:19:51', '2025-06-26 11:19:51');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 38 - 2025-06-26 11:19:51 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-397-611086149', `invoice`.`updated_at` = '2025-06-26 11:19:51' where `id` = 611086;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 39 - 2025-06-26 11:19:51 [0.19ms] */
select * from `invoice` where `id` = 611086 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 40 - 2025-06-26 11:19:51 [0.15ms] */
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-397-611086149"},"old":{"invoice_number":null}}', 150, 'App\Models\User', 611086, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-26 11:19:51', '2025-06-26 11:19:51');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 41 - 2025-06-26 11:19:51 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 432646 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-06-26 11:19:52 [1.24ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-06-26 11:19:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-06-26 11:19:52 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-06-26 11:19:52 [0.17ms] */
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-06-26 11:19:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-06-26 11:19:52 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-06-26 11:19:52 [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-06-26 11:19:52 [0.37ms] */
select `transaction_id` from `vehicle_tax` where `id` in (432646, 432647) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-06-26 11:19:52 [0.24ms] */
select `parent_id` from `transaction` where `id` in (542157) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-06-26 11:19:52 [0.17ms] */
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-06-26 11:19:52 [0.23ms] */
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-06-26 11:19:52 [0.25ms] */
select * from `transaction` where `id` in (542157) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-06-26 11:19:52 [0.27ms] */
select * from `invoice` where `invoice`.`id` = 517860 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-06-26 11:19:52 [0.14ms] */
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 15 - 2025-06-26 11:19:52 [0.18ms] */
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 16 - 2025-06-26 11:19:52 [11.37ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-06-26 11:19:52' where `id` in (432646, 432647) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-06-26 11:19:52 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 73325 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-06-26 11:19:52 [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 19 - 2025-06-26 11:19:52 [0.23ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 73325 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 20 - 2025-06-26 11:19:52 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 73325 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 21 - 2025-06-26 11:19:52 [0.24ms] */
select * from `party` where `party`.`id` = 56889 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 22 - 2025-06-26 11:19:52 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 73325 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 23 - 2025-06-26 11:19:52 [0.21ms] */
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 24 - 2025-06-26 11:19:52 [0.22ms] */
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 25 - 2025-06-26 11:19:52 [0.23ms] */
select * from `branches` where `branches`.`id` = 17 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 26 - 2025-06-26 11:19:52 [0.49ms] */
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 (56889, 2, 73325, null, 2, 6, 17, 37, 37, 'OPEN', 25, null, 150, 150, '2025-06-26 11:19:52', '2025-06-26 11:19:52');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 27 - 2025-06-26 11:19:52 [0.29ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638258, 'INITIATED', '2025-06-26 11:19:52', 5, 150, 150, 150, '2025-06-26 11:19:52', '2025-06-26 11:19:52');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 28 - 2025-06-26 11:19:52 [0.31ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 74647, `transaction`.`updated_at` = '2025-06-26 11:19:52' where `id` = 638258;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 29 - 2025-06-26 11:19:52 [0.4ms] */
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 (432646, 432647) 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 30 - 2025-06-26 11:19:52 [0.34ms] */
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 (432646, 432647) 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 31 - 2025-06-26 11:19:52 [0.33ms] */
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 (638258, 56889, '2025-06-26 11:19:52', '2025-06-26 11:19:52', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 150, 150, '2025-06-26 11:19:52', '2025-06-26 11:19:52');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 32 - 2025-06-26 11:19:52 [0.32ms] */
select * from `invoice` where `id` = 611087 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 33 - 2025-06-26 11:19:52 [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":638258,"party_id":56889,"invoice_amount":"31.00","invoice_date":"2025-06-26 11:19:52","due_date":"2025-06-26 11:19:52","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 150, 'App\Models\User', 611087, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-26 11:19:52', '2025-06-26 11:19:52');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 34 - 2025-06-26 11:19:52 [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 (432646, 432647) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 35 - 2025-06-26 11:19:52 [0.19ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Quarterly Tax Fees', 1, 31.00, 31, 611087, 150, 150, '2025-06-26 11:19:52', '2025-06-26 11:19:52');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 36 - 2025-06-26 11:19:52 [0.17ms] */
select * from `invoice_item` where `id` = 1096429 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 37 - 2025-06-26 11:19:52 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Quarterly Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":611087}}', 150, 'App\Models\User', 1096429, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-26 11:19:52', '2025-06-26 11:19:52');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 38 - 2025-06-26 11:19:52 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-826-611087919', `invoice`.`updated_at` = '2025-06-26 11:19:52' where `id` = 611087;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 39 - 2025-06-26 11:19:52 [0.19ms] */
select * from `invoice` where `id` = 611087 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 40 - 2025-06-26 11:19:52 [0.15ms] */
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-826-611087919"},"old":{"invoice_number":null}}', 150, 'App\Models\User', 611087, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-26 11:19:52', '2025-06-26 11:19:52');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 41 - 2025-06-26 11:19:52 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 432646 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-26 11:19:58 [1.95ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-26 11:19:58 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-26 11:19:58 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-26 11:19:58 [0.32ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-26 11:19:58 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-26 11:19:58 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-26 11:19:58 [1.64ms] */
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` = 'OG342' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-26 11:19:58 [0.32ms] */
select * from `party` where `party`.`id` = 56889 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-26 11:19:58 [0.15ms] */
select * from `company` where `company`.`id` = 1176 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-26 11:19:58 [0.23ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 11 - 2025-06-26 11:19:58 [0.22ms] */
select * from `party` where `party`.`id` = 1 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 12 - 2025-06-26 11:19:58 [0.26ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 13 - 2025-06-26 11:19:58 [0.23ms] */
select * from `vehicle` where `id` = 73325 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 14 - 2025-06-26 11:19:58 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 73325 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-26 11:19:58 [2.01ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-26 11:19:58 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-26 11:19:58 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-26 11:19:58 [0.29ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-26 11:19:58 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-26 11:19:58 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-26 11:19:58 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 73325 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-26 11:19:58 [0.27ms] */
select * from `vehicle` where `id` = 73325 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-26 11:19:58 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 73325 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-26 11:19:58 [0.92ms] */
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` = 73325 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-26 11:19:59 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-26 11:19:59 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-26 11:19:59 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-26 11:19:59 [0.16ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-26 11:19:59 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-26 11:19:59 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-26 11:19:59 [0.17ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-26 11:19:59 [1.95ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-26 11:19:59 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-26 11:19:59 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-26 11:19:59 [0.26ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-26 11:19:59 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-26 11:19:59 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-26 11:19:59 [0.26ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-06-26 11:20:00 [1.66ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-06-26 11:20:00 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-06-26 11:20:00 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-06-26 11:20:00 [0.36ms] */
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-06-26 11:20:00 [0.32ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-06-26 11:20:00 [0.33ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-06-26 11:20:00 [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-06-26 11:20:00 [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/make_payment
   Query 1 - 2025-06-26 11:20:02 [2ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-06-26 11:20:02 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-06-26 11:20:02 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-06-26 11:20:02 [0.33ms] */
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-06-26 11:20:02 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-06-26 11:20:02 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-06-26 11:20:02 [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-06-26 11:20:02 [0.42ms] */
select `transaction_id` from `vehicle_tax` where `id` in (499948, 432647) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-06-26 11:20:02 [0.35ms] */
select `parent_id` from `transaction` where `id` in (542157, 638250) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-06-26 11:20:02 [0.27ms] */
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-06-26 11:20:02 [0.33ms] */
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-06-26 11:20:02 [0.35ms] */
select * from `transaction` where `id` in (542157, 638250) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-06-26 11:20:02 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 517860 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-06-26 11:20:02 [0.14ms] */
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 15 - 2025-06-26 11:20:02 [0.14ms] */
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 16 - 2025-06-26 11:20:02 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 611079 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 17 - 2025-06-26 11:20:02 [12ms] */
update `invoice` set `updated_by` = 150, `invoice`.`updated_at` = '2025-06-26 11:20:02' where `id` = 611079;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-06-26 11:20:02 [0.66ms] */
select * from `invoice` where `id` = 611079 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-06-26 11:20:02 [3.87ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 150, 'App\Models\User', 611079, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 20 - 2025-06-26 11:20:02 [0.33ms] */
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 21 - 2025-06-26 11:20:02 [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 22 - 2025-06-26 11:20:02 [3.6ms] */
update `transaction` set `updated_by` = 150, `transaction`.`updated_at` = '2025-06-26 11:20:02' where `id` = 638250;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 23 - 2025-06-26 11:20:02 [3.52ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-06-26 11:20:02' where `id` in (499948, 432647) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 24 - 2025-06-26 11:20:02 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 73325 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 25 - 2025-06-26 11:20:02 [0.22ms] */
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 26 - 2025-06-26 11:20:02 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 73325 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 27 - 2025-06-26 11:20:02 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 73325 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 28 - 2025-06-26 11:20:02 [0.24ms] */
select * from `party` where `party`.`id` = 56889 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 29 - 2025-06-26 11:20:02 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 73325 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 30 - 2025-06-26 11:20:02 [0.21ms] */
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 31 - 2025-06-26 11:20:02 [0.21ms] */
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 32 - 2025-06-26 11:20:02 [0.21ms] */
select * from `branches` where `branches`.`id` = 17 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 33 - 2025-06-26 11:20:02 [0.49ms] */
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 (56889, 2, 73325, null, 2, 6, 17, 37, 37, 'OPEN', 25, null, 150, 150, '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 34 - 2025-06-26 11:20:02 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638259, 'INITIATED', '2025-06-26 11:20:02', 5, 150, 150, 150, '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 35 - 2025-06-26 11:20:02 [0.2ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 74647, `transaction`.`updated_at` = '2025-06-26 11:20:02' where `id` = 638259;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 36 - 2025-06-26 11:20:02 [0.27ms] */
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 (499948, 432647) 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 37 - 2025-06-26 11:20:02 [0.21ms] */
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 (499948, 432647) 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 38 - 2025-06-26 11:20:02 [0.6ms] */
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 (638259, 56889, '2025-06-26 11:20:02', '2025-06-26 11:20:02', 95.00, 0, 95.00, 95.00, 0, 'OPEN', 'N', 'Y', 150, 150, '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 39 - 2025-06-26 11:20:02 [0.2ms] */
select * from `invoice` where `id` = 611088 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 40 - 2025-06-26 11:20:02 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":638259,"party_id":56889,"invoice_amount":"95.00","invoice_date":"2025-06-26 11:20:02","due_date":"2025-06-26 11:20:02","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}}', 150, 'App\Models\User', 611088, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 41 - 2025-06-26 11:20:02 [0.28ms] */
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 (499948, 432647) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 42 - 2025-06-26 11:20:02 [0.19ms] */
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, 31.00, 95, 611088, 150, 150, '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 43 - 2025-06-26 11:20:02 [0.17ms] */
select * from `invoice_item` where `id` = 1096430 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 44 - 2025-06-26 11:20:02 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Quarterly Tax Fees","unit_price":"31.00","quantity":2,"total_price":"95.00","invoice_id":611088}}', 150, 'App\Models\User', 1096430, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 45 - 2025-06-26 11:20:02 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-311-611088321', `invoice`.`updated_at` = '2025-06-26 11:20:02' where `id` = 611088;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 46 - 2025-06-26 11:20:02 [0.19ms] */
select * from `invoice` where `id` = 611088 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 47 - 2025-06-26 11:20:02 [0.15ms] */
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-311-611088321"},"old":{"invoice_number":null}}', 150, 'App\Models\User', 611088, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 48 - 2025-06-26 11:20:02 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 499948 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 49 - 2025-06-26 11:20:02 [0.17ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 150, `vehicle_tax`.`updated_at` = '2025-06-26 11:20:02' where `id` = 499948;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 50 - 2025-06-26 11:20:02 [0.17ms] */
select * from `vehicle_tax` where `id` = 499948 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 51 - 2025-06-26 11:20:02 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 150, 'App\Models\User', 499948, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 52 - 2025-06-26 11:20:02 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 638250 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 53 - 2025-06-26 11:20:02 [0.23ms] */
update `transaction` set `tax_collection_point_id` = 25, `parent_id` = 638259, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-06-26 11:20:02' where `id` = 638250;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 54 - 2025-06-26 11:20:02 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 611079 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 55 - 2025-06-26 11:20:02 [0.16ms] */
update `invoice` set `parent_id` = 611088, `grouped` = 'Y', `invoice`.`updated_at` = '2025-06-26 11:20:02' where `id` = 611079;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 56 - 2025-06-26 11:20:02 [0.18ms] */
select * from `invoice` where `id` = 611079 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 57 - 2025-06-26 11:20:02 [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":611088,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 150, 'App\Models\User', 611079, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 58 - 2025-06-26 11:20:02 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 638250 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 59 - 2025-06-26 11:20:02 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 60 - 2025-06-26 11:20:02 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 61 - 2025-06-26 11:20:02 [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 62 - 2025-06-26 11:20:02 [0.37ms] */
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 63 - 2025-06-26 11:20:02 [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 64 - 2025-06-26 11:20:02 [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 (638250, 'APPROVED', '2025-06-26 11:20:02', 5, 150, null, 150, 150, '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 65 - 2025-06-26 11:20:02 [0.22ms] */
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 66 - 2025-06-26 11:20:02 [0.22ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-06-26 11:20:02' where `id` = 638250;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 67 - 2025-06-26 11:20:02 [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 68 - 2025-06-26 11:20:02 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 611079 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 69 - 2025-06-26 11:20:02 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 432647 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 70 - 2025-06-26 11:20:02 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 150, `vehicle_tax`.`updated_at` = '2025-06-26 11:20:02' where `id` = 432647;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 71 - 2025-06-26 11:20:02 [0.18ms] */
select * from `vehicle_tax` where `id` = 432647 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 72 - 2025-06-26 11:20:02 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 150, 'App\Models\User', 432647, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 73 - 2025-06-26 11:20:02 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 542157 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 74 - 2025-06-26 11:20:02 [0.2ms] */
update `transaction` set `tax_collection_point_id` = 25, `parent_id` = 638259, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-06-26 11:20:02' where `id` = 542157;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 75 - 2025-06-26 11:20:02 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 517860 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 76 - 2025-06-26 11:20:02 [0.63ms] */
update `invoice` set `parent_id` = 611088, `grouped` = 'Y', `invoice`.`updated_at` = '2025-06-26 11:20:02' where `id` = 517860;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 77 - 2025-06-26 11:20:02 [0.21ms] */
select * from `invoice` where `id` = 517860 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 78 - 2025-06-26 11:20:02 [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":611088,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 150, 'App\Models\User', 517860, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 79 - 2025-06-26 11:20:02 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 542157 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 80 - 2025-06-26 11:20:02 [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 81 - 2025-06-26 11:20:02 [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 82 - 2025-06-26 11:20:02 [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 83 - 2025-06-26 11:20:02 [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 84 - 2025-06-26 11:20:02 [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 (542157, 'APPROVED', '2025-06-26 11:20:02', 5, 150, null, 150, 150, '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 85 - 2025-06-26 11:20:02 [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 86 - 2025-06-26 11:20:02 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-06-26 11:20:02' where `id` = 542157;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 87 - 2025-06-26 11:20:02 [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 88 - 2025-06-26 11:20:02 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 517860 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 89 - 2025-06-26 11:20:02 [0.18ms] */
update `transaction` set `invoice_id` = 611088, `transaction`.`updated_at` = '2025-06-26 11:20:02' where `id` = 638259;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 90 - 2025-06-26 11:20:02 [0.54ms] */
update `vehicle` set `updated_by` = 150, `vehicle`.`updated_at` = '2025-06-26 11:20:02' where `id` = 73325;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 91 - 2025-06-26 11:20:02 [0.18ms] */
select * from `vehicle` where `id` = 73325 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 92 - 2025-06-26 11:20:02 [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', 73325, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 93 - 2025-06-26 11:20:02 [0.27ms] */
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":34}', '{"updated_by":150}', 'updated', 73325, '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-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 94 - 2025-06-26 11:20:02 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 95 - 2025-06-26 11:20:02 [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 96 - 2025-06-26 11:20:02 [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 97 - 2025-06-26 11:20:02 [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 98 - 2025-06-26 11:20:02 [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 (638259, 'APPROVED', '2025-06-26 11:20:02', 5, 150, null, 150, 150, '2025-06-26 11:20:02', '2025-06-26 11:20:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 99 - 2025-06-26 11:20:02 [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 100 - 2025-06-26 11:20:02 [0.22ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-06-26 11:20:02' where `id` = 638259;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 101 - 2025-06-26 11:20:02 [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 102 - 2025-06-26 11:20:02 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 611088 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 103 - 2025-06-26 11:20:02 [0.24ms] */
select `transaction_id` from `vehicle_tax` where `id` in (499948, 432647) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 104 - 2025-06-26 11:20:02 [0.26ms] */
select * from `invoice` where `transaction_id` = 542157 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 105 - 2025-06-26 11:20:02 [0.29ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 517860 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 106 - 2025-06-26 11:20:02 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 542157 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 107 - 2025-06-26 11:20:02 [3.17ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-06-26 11:20:02' where `id` = 542157;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 108 - 2025-06-26 11:20:02 [0.27ms] */
select * from `invoice` where `transaction_id` = 638250 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 109 - 2025-06-26 11:20:02 [0.22ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611079 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-06-26 11:20:02 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 638250 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 111 - 2025-06-26 11:20:02 [2.93ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-06-26 11:20:02' where `id` = 638250;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 112 - 2025-06-26 11:20:02 [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 113 - 2025-06-26 11:20:02 [0.36ms] */
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 114 - 2025-06-26 11:20:02 [0.2ms] */
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 115 - 2025-06-26 11:20:02 [0.32ms] */
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-06-26 11:20:04 [1.93ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-06-26 11:20:04 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-06-26 11:20:04 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-06-26 11:20:04 [0.17ms] */
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-06-26 11:20:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-06-26 11:20:04 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-06-26 11:20:04 [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-06-26 11:20:04 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (499948, 432647) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-06-26 11:20:04 [0.34ms] */
select `parent_id` from `transaction` where `id` in (542157, 638250) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-06-26 11:20:05 [139.62ms] */
select `id` from `transaction` where `parent_id` in (638259) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-06-26 11:20:05 [0.4ms] */
select * from `transaction` where `id` in (638259) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-06-26 11:20:05 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (499948, 432647) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-06-26 11:20:05 [0.17ms] */
select * from `invoice` where `transaction_id` = 542157 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 14 - 2025-06-26 11:20:05 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 517860 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-06-26 11:20:05 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 542157 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-06-26 11:20:05 [0.14ms] */
select * from `invoice` where `transaction_id` = 638250 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-06-26 11:20:05 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611079 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 18 - 2025-06-26 11:20:05 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 638250 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-06-26 11:20:05 [0.15ms] */
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 20 - 2025-06-26 11:20:05 [0.14ms] */
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 21 - 2025-06-26 11:20:05 [0.13ms] */
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 22 - 2025-06-26 11:20:05 [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-06-26 11:20:06 [2.03ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 2 - 2025-06-26 11:20:06 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 3 - 2025-06-26 11:20:06 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 4 - 2025-06-26 11:20:06 [0.31ms] */
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-06-26 11:20:06 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 6 - 2025-06-26 11:20:06 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 7 - 2025-06-26 11:20:06 [0.31ms] */
select * from `transaction` where `id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 8 - 2025-06-26 11:20:06 [0.33ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 638259 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 9 - 2025-06-26 11:20:06 [0.25ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 638259 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 10 - 2025-06-26 11:20:06 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 611088 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 11 - 2025-06-26 11:20:06 [0.33ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 611088 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-26 11:20:06 [2.18ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-26 11:20:06 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-26 11:20:06 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-26 11:20:06 [0.37ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-26 11:20:06 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-26 11:20:06 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-26 11:20:06 [0.36ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-06-26 11:20:07 [2.28ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-06-26 11:20:07 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-06-26 11:20:07 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-06-26 11:20:07 [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-06-26 11:20:07 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-06-26 11:20:07 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-06-26 11:20:07 [0.14ms] */
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-06-26 11:20:07 [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/payment_confirm_image
   Query 1 - 2025-06-26 11:21:25 [2.31ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-06-26 11:21:25 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-06-26 11:21:25 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-06-26 11:21:25 [0.36ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-06-26 11:21:25 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-06-26 11:21:25 [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-06-26 11:21:25 [0.26ms] */
delete from `payment_documents` where `transaction_id` = 638259 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-06-26 11:21:25 [22.45ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2548157;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-06-26 11:21:25 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-06-26 11:21:26 [436.89ms] */
select * from `transaction` where `parent_id` = 638259 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-06-26 11:21:26 [11.91ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (542157, 'GOV_RECEIPT_IMAGE', 2548157, 1, '2025-06-26 11:21:26', '2025-06-26 11:21:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-06-26 11:21:26 [3.44ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (638250, 'GOV_RECEIPT_IMAGE', 2548157, 1, '2025-06-26 11:21:26', '2025-06-26 11:21:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-06-26 11:21:26 [1.94ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (638259, 'GOV_RECEIPT_IMAGE', 2548157, 1, '2025-06-26 11:21:26', '2025-06-26 11:21:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-06-26 11:21:26 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-06-26 11:21:26 [3.58ms] */
update `transaction` set `paid_by` = 'Maxamed Axmed Jaamac', `paid_by_mobile` = 7746131, `transaction`.`updated_at` = '2025-06-26 11:21:26' where `id` = 638259;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 16 - 2025-06-26 11:21:26 [12.76ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-06-26 11:21:26' where `receipt_number` = 2548157 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-06-26 11:21:37 [1.97ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-06-26 11:21:37 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-06-26 11:21:37 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-06-26 11:21:37 [0.26ms] */
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-06-26 11:21:37 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-06-26 11:21:37 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-06-26 11:21:37 [7.33ms] */
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-06-26 11:21:37 [4.35ms] */
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-06-26 11:21:44 [1.96ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-06-26 11:21:44 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-06-26 11:21:44 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-06-26 11:21:44 [0.33ms] */
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-06-26 11:21:44 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-06-26 11:21:44 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-06-26 11:21:44 [0.25ms] */
delete from `payment_documents` where `transaction_id` = 638259 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-06-26 11:21:44 [19.4ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 131706;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-06-26 11:21:44 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-06-26 11:21:44 [437.92ms] */
select * from `transaction` where `parent_id` = 638259 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-06-26 11:21:44 [14.78ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (542157, 'SERVICE_RECEIPT_IMAGE', 131706, 1, '2025-06-26 11:21:44', '2025-06-26 11:21:44');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-06-26 11:21:44 [6.46ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (638250, 'SERVICE_RECEIPT_IMAGE', 131706, 1, '2025-06-26 11:21:44', '2025-06-26 11:21:44');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-06-26 11:21:44 [2.94ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (638259, 'SERVICE_RECEIPT_IMAGE', 131706, 1, '2025-06-26 11:21:44', '2025-06-26 11:21:44');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-06-26 11:21:44 [15.72ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-06-26 11:21:44' where `receipt_number` = 131706 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-06-26 11:21:46 [2.22ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-06-26 11:21:46 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-06-26 11:21:46 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-06-26 11:21:46 [0.31ms] */
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-06-26 11:21:46 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-06-26 11:21:46 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-06-26 11:21:46 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-06-26 11:21:46 [0.32ms] */
select * from `invoice_payment` where `invoice_id` = 611088 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-06-26 11:21:46 [132.38ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 638259 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-06-26 11:21:47 [133.18ms] */
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` = 638259 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-06-26 11:21:47 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-06-26 11:21:47 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-06-26 11:21:47 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 14 - 2025-06-26 11:21:47 [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 15 - 2025-06-26 11:21:47 [264.18ms] */
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` = 638259 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-06-26 11:21:47 [0.24ms] */
select * from `party` where `party`.`id` = 56889 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-06-26 11:21:47 [3.17ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-06-26 11:21:47', 2436406, 2548157, 1, 95.00, 'Maxamed Axmed Jaamac', 7746131, null, 37, 150, 150, 150, '2025-06-26 11:21:47', '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-06-26 11:21:47 [0.24ms] */
select * from `Payment` where `id` = 202087 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-06-26 11:21:47 [3.58ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":1,"payment_amount":"95.00","payment_date":"2025-06-26 11:21:47","external_payment_reference_no":"2436406","payment_receipt_number":"2548157","siinpay_payref_number":null,"paid_by":"Maxamed Axmed Jaamac","paid_by_mobile":"7746131","district_id":37,"migration_id":null,"payment_collected_by":150}}', 150, 'App\Models\User', 202087, 'Modules\Transaction\Entities\Payment', 'created', '2025-06-26 11:21:47', '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-06-26 11:21:47 [0.46ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-06-26 11:21:47 [0.26ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-06-26 11:21:47 [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 23 - 2025-06-26 11:21:47 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 517860 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 24 - 2025-06-26 11:21:47 [2.11ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-06-26 11:21:47', 517860, 202087, '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-06-26 11:21:47 [0.36ms] */
select * from `invoice` where `invoice`.`id` = 517860 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-06-26 11:21:47 [0.78ms] */
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` = 517860 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-06-26 11:21:47 [2.16ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 517860 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-06-26 11:21:47 [0.3ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 31, `status` = 'PAID', `invoice`.`updated_at` = '2025-06-26 11:21:47' where `id` = 517860;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 29 - 2025-06-26 11:21:47 [0.27ms] */
select * from `invoice` where `id` = 517860 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-06-26 11:21:47 [0.91ms] */
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"}}', 150, 'App\Models\User', 517860, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-26 11:21:47', '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-06-26 11:21:47 [0.65ms] */
select * from `transaction` where `transaction`.`id` = 542157 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-06-26 11:21:47 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 542157 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-06-26 11:21:47 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-06-26 11:21:47 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-06-26 11:21:47 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 36 - 2025-06-26 11:21:47 [3.14ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (542157, 'PAID', '2025-06-26 11:21:47', 7, 150, null, 150, 150, '2025-06-26 11:21:47', '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 37 - 2025-06-26 11:21:47 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-06-26 11:21:47 [1.87ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-06-26 11:21:47' where `id` = 542157;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-06-26 11:21:47 [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 40 - 2025-06-26 11:21:47 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 517860 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 41 - 2025-06-26 11:21:47 [1.48ms] */
select * from `vehicle_tax` where `transaction_id` = 542157 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 42 - 2025-06-26 11:21:47 [0.25ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-06-26 11:21:47' where `id` = 432647;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-06-26 11:21:47 [0.29ms] */
select * from `vehicle_tax` where `id` = 432647 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-06-26 11:21:47 [0.61ms] */
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', 432647, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-26 11:21:47', '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-06-26 11:21:47 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 611079 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-06-26 11:21:47 [0.24ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-06-26 11:21:47', 611079, 202087, '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-06-26 11:21:47 [0.6ms] */
select * from `invoice` where `invoice`.`id` = 611079 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-06-26 11:21:47 [0.43ms] */
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` = 611079 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-06-26 11:21:47 [1.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611079 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-06-26 11:21:47 [0.17ms] */
update `invoice` set `invoice_amount` = 64, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 64, `status` = 'PAID', `invoice`.`updated_at` = '2025-06-26 11:21:47' where `id` = 611079;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-06-26 11:21:47 [0.18ms] */
select * from `invoice` where `id` = 611079 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-06-26 11:21:47 [0.42ms] */
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"}}', 150, 'App\Models\User', 611079, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-26 11:21:47', '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-06-26 11:21:47 [0.47ms] */
select * from `transaction` where `transaction`.`id` = 638250 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-06-26 11:21:47 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 638250 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-06-26 11:21:47 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-06-26 11:21:47 [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 57 - 2025-06-26 11:21:47 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 58 - 2025-06-26 11:21:47 [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 (638250, 'PAID', '2025-06-26 11:21:47', 7, 150, null, 150, 150, '2025-06-26 11:21:47', '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 59 - 2025-06-26 11:21:47 [0.45ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-06-26 11:21:47 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-06-26 11:21:47' where `id` = 638250;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 61 - 2025-06-26 11:21:47 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-06-26 11:21:47 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 611079 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 63 - 2025-06-26 11:21:47 [0.21ms] */
select * from `vehicle_tax` where `transaction_id` = 638250 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 64 - 2025-06-26 11:21:47 [0.42ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-06-26 11:21:47' where `id` = 499948;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 65 - 2025-06-26 11:21:47 [0.17ms] */
select * from `vehicle_tax` where `id` = 499948 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 66 - 2025-06-26 11:21:47 [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":"PAID"},"old":{"status":"INPROGRESS"}}', 150, 'App\Models\User', 499948, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-26 11:21:47', '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 67 - 2025-06-26 11:21:47 [0.44ms] */
select * from `invoice` where `invoice`.`id` = 611088 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 68 - 2025-06-26 11:21:47 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 611088 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 69 - 2025-06-26 11:21:47 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-06-26 11:21:47', 611088, 202087, '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 70 - 2025-06-26 11:21:47 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 611088 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 71 - 2025-06-26 11:21:47 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 611088 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 72 - 2025-06-26 11:21:47 [0.16ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-06-26 11:21:47' where `id` = 611088;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 73 - 2025-06-26 11:21:47 [0.19ms] */
select * from `invoice` where `id` = 611088 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 74 - 2025-06-26 11:21:47 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"95.00","status":"OPEN"}}', 150, 'App\Models\User', 611088, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-26 11:21:47', '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 75 - 2025-06-26 11:21:47 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 76 - 2025-06-26 11:21:47 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 77 - 2025-06-26 11:21:47 [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 78 - 2025-06-26 11:21:47 [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 79 - 2025-06-26 11:21:47 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 80 - 2025-06-26 11:21:47 [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 (638259, 'PAID', '2025-06-26 11:21:47', 7, 150, null, 150, 150, '2025-06-26 11:21:47', '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 81 - 2025-06-26 11:21:47 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 82 - 2025-06-26 11:21:47 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-06-26 11:21:47' where `id` = 638259;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 83 - 2025-06-26 11:21:47 [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 84 - 2025-06-26 11:21:47 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 611088 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 85 - 2025-06-26 11:21:47 [0.46ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 86 - 2025-06-26 11:21:47 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 87 - 2025-06-26 11:21:47 [0.82ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638259, 'CLAIMED', '2025-06-26 11:21:47', 8, 150, 150, 150, '2025-06-26 11:21:47', '2025-06-26 11:21:47');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 88 - 2025-06-26 11:21:47 [0.42ms] */
update `transaction` set `assigned_to` = 150, `transaction`.`updated_at` = '2025-06-26 11:21:47' where `id` = 638259;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-06-26 11:21:53 [2.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-06-26 11:21:53 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-06-26 11:21:53 [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-06-26 11:21:53 [0.17ms] */
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-06-26 11:21:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-06-26 11:21:53 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-06-26 11:21:53 [0.3ms] */
select * from `vehicle_tax` where `id` = 432647 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-06-26 11:21:53 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-06-26 11:21:53 [0.81ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 1 - 2025-06-26 11:21:53 [1.99ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 2 - 2025-06-26 11:21:53 [0.72ms] */
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
   Query 3 - 2025-06-26 11:21:53 [0.3ms] */
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
   Query 4 - 2025-06-26 11:21:53 [0.37ms] */
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
   Query 5 - 2025-06-26 11:21:54 [0.21ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 6 - 2025-06-26 11:21:54 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 7 - 2025-06-26 11:21:54 [0.31ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 8 - 2025-06-26 11:21:54 [0.26ms] */
select * from `frequency_type` where `name` in ('Quarterly', 'Yearly') and `frequency_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 9 - 2025-06-26 11:21:54 [17.39ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 10 - 2025-06-26 11:21:54 [21.57ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 11 - 2025-06-26 11:21:54 [0.32ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 12 - 2025-06-26 11:21:54 [0.15ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 13 - 2025-06-26 11:21:54 [0.18ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55429 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 14 - 2025-06-26 11:21:54 [0.28ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 55429 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 15 - 2025-06-26 11:21:54 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63855 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 16 - 2025-06-26 11:21:54 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 66522 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 17 - 2025-06-26 11:21:54 [0.33ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63854 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 18 - 2025-06-26 11:21:54 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 66521 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 19 - 2025-06-26 11:21:54 [0.24ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63853 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 20 - 2025-06-26 11:21:54 [0.23ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 66520 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 21 - 2025-06-26 11:21:54 [0.37ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63852 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 22 - 2025-06-26 11:21:54 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 66519 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 23 - 2025-06-26 11:21:54 [0.27ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63742 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 24 - 2025-06-26 11:21:54 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 66407 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 25 - 2025-06-26 11:21:54 [0.27ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62305 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 26 - 2025-06-26 11:21:54 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 64926 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 27 - 2025-06-26 11:21:54 [0.26ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 53507 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 28 - 2025-06-26 11:21:54 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 53507 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 29 - 2025-06-26 11:21:54 [0.26ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 47738 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 30 - 2025-06-26 11:21:54 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 47738 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 31 - 2025-06-26 11:21:54 [0.28ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56654 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 32 - 2025-06-26 11:21:54 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 59093 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 33 - 2025-06-26 11:21:54 [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
   Query 34 - 2025-06-26 11:21:54 [0.19ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/title
   Query 35 - 2025-06-26 11:21:54 [0.15ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-06-26 11:21:56 [2.49ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-06-26 11:21:56 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-06-26 11:21:56 [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-06-26 11:21: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/get_sticker_code
   Query 5 - 2025-06-26 11:21:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-06-26 11:21:56 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-06-26 11:21:56 [0.16ms] */
select * from `vehicle_tax` where `id` = 432647 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-06-26 11:21:56 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-06-26 11:21:56 [10.12ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2-01%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-06-26 11:21:56 [2.01ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-06-26 11:21:56 [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/party.select-party-component
   Query 3 - 2025-06-26 11:21:56 [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/party.select-party-component
   Query 4 - 2025-06-26 11:21:56 [0.46ms] */
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/api/get_sticker_code
   Query 1 - 2025-06-26 11:21:58 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-06-26 11:21:58 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-06-26 11:21:58 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-06-26 11:21:58 [0.17ms] */
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-06-26 11:21:58 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-06-26 11:21:58 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-06-26 11:21:58 [0.16ms] */
select * from `vehicle_tax` where `id` = 432647 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-06-26 11:21:58 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-06-26 11:21:58 [18.58ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2-02%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-06-26 11:22:00 [2.36ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-06-26 11:22:00 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-06-26 11:22:00 [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-06-26 11:22:00 [0.31ms] */
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-06-26 11:22:00 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-06-26 11:22:00 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-06-26 11:22:00 [0.16ms] */
select * from `vehicle_tax` where `id` = 432647 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-06-26 11:22:00 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-06-26 11:22:00 [18.99ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2-022%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-06-26 11:22:01 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-06-26 11:22:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-06-26 11:22:01 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-06-26 11:22:01 [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-06-26 11:22:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-06-26 11:22:01 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-06-26 11:22:01 [0.16ms] */
select * from `vehicle_tax` where `id` = 432647 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-06-26 11:22:01 [0.14ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-06-26 11:22:01 [19.14ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 104 and `name` like '%2025-Q2-0228%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-06-26 11:22:02 [2.08ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-06-26 11:22:02 [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/party.select-party-component
   Query 3 - 2025-06-26 11:22:02 [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/party.select-party-component
   Query 4 - 2025-06-26 11:22:02 [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/party.select-party-component
   Query 5 - 2025-06-26 11:22:02 [133.28ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%77%' or `second_name` like '%77%' or `third_name` like '%77%' or `fourth_name` like '%77%' or `phone_number_1` like '%77%' or `phone_number_2` like '%77%' or `customer_identity_documents`.`id_number` like '%77%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2025-06-26 11:22:02 [228.2ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%77%' or `second_name` like '%77%' or `third_name` like '%77%' or `fourth_name` like '%77%' or `phone_number_1` like '%77%' or `phone_number_2` like '%77%' or `customer_identity_documents`.`id_number` like '%77%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 7 - 2025-06-26 11:22:02 [0.22ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 8 - 2025-06-26 11:22:02 [0.39ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 23955 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 9 - 2025-06-26 11:22:02 [0.24ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 23955 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 10 - 2025-06-26 11:22:02 [0.28ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63237 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 11 - 2025-06-26 11:22:02 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65887 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 12 - 2025-06-26 11:22:02 [0.26ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 57216 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 13 - 2025-06-26 11:22:02 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 59672 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 14 - 2025-06-26 11:22:02 [0.24ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62692 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 15 - 2025-06-26 11:22:02 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65326 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 16 - 2025-06-26 11:22:02 [0.24ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62764 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 17 - 2025-06-26 11:22:02 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65398 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 18 - 2025-06-26 11:22:02 [0.24ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56267 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 19 - 2025-06-26 11:22:02 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58693 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 20 - 2025-06-26 11:22:02 [0.61ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 58371 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 21 - 2025-06-26 11:22:02 [0.49ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 60875 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 22 - 2025-06-26 11:22:02 [0.56ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62642 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 23 - 2025-06-26 11:22:02 [0.6ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65273 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 24 - 2025-06-26 11:22:02 [0.74ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 21317 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 25 - 2025-06-26 11:22:02 [0.59ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 21317 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 26 - 2025-06-26 11:22:02 [2.68ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63026 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 27 - 2025-06-26 11:22:02 [0.31ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65668 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-06-26 11:22:03 [2.14ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-06-26 11:22:03 [0.58ms] */
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/party.select-party-component
   Query 3 - 2025-06-26 11:22:03 [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/party.select-party-component
   Query 4 - 2025-06-26 11:22:03 [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/party.select-party-component
   Query 5 - 2025-06-26 11:22:03 [129.05ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%7728834%' or `second_name` like '%7728834%' or `third_name` like '%7728834%' or `fourth_name` like '%7728834%' or `phone_number_1` like '%7728834%' or `phone_number_2` like '%7728834%' or `customer_identity_documents`.`id_number` like '%7728834%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2025-06-26 11:22:03 [164.63ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%7728834%' or `second_name` like '%7728834%' or `third_name` like '%7728834%' or `fourth_name` like '%7728834%' or `phone_number_1` like '%7728834%' or `phone_number_2` like '%7728834%' or `customer_identity_documents`.`id_number` like '%7728834%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 7 - 2025-06-26 11:22:03 [0.4ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62729 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 8 - 2025-06-26 11:22:03 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65363 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 9 - 2025-06-26 11:22:03 [0.27ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 61159 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 10 - 2025-06-26 11:22:03 [0.19ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63742 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 11 - 2025-06-26 11:22:03 [0.25ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 60612 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 12 - 2025-06-26 11:22:03 [0.19ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63182 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 13 - 2025-06-26 11:22:03 [0.23ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 61110 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 14 - 2025-06-26 11:22:03 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63693 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 1 - 2025-06-26 11:22:03 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 2 - 2025-06-26 11:22:03 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 3 - 2025-06-26 11:22:03 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 4 - 2025-06-26 11:22:03 [0.16ms] */
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-06-26 11:22:03 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 6 - 2025-06-26 11:22:03 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 7 - 2025-06-26 11:22:03 [0.29ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 659210 and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 8 - 2025-06-26 11:22:03 [0.15ms] */
select * from `vehicle_tax` where `id` = 432647 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 9 - 2025-06-26 11:22:03 [6.01ms] */
update `vehicle_tax` set `tax_sticker_id` = 659210, `vehicle_tax`.`updated_at` = '2025-06-26 11:22:03' where `id` = 432647;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 10 - 2025-06-26 11:22:03 [0.45ms] */
select * from `vehicle_tax` where `id` = 432647 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 11 - 2025-06-26 11:22:03 [3.5ms] */
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":659210},"old":{"tax_sticker_id":null}}', 150, 'App\Models\User', 432647, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-26 11:22:03', '2025-06-26 11:22:03');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 12 - 2025-06-26 11:22:04 [3.46ms] */
update `tax_sticker` set `assigned` = 'Y', `updated_by` = 150, `tax_sticker`.`updated_at` = '2025-06-26 11:22:03' where `id` = 659210;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 1 - 2025-06-26 11:22:04 [2.03ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 2 - 2025-06-26 11:22:04 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 3 - 2025-06-26 11:22:04 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 4 - 2025-06-26 11:22:04 [0.31ms] */
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-06-26 11:22:04 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 6 - 2025-06-26 11:22:04 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 7 - 2025-06-26 11:22:04 [0.32ms] */
select * from `vehicle_tax` where `id` in (499948, 432647) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 8 - 2025-06-26 11:22:04 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 542157 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 9 - 2025-06-26 11:22:04 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 542157 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 10 - 2025-06-26 11:22:04 [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-06-26 11:22:04 [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-06-26 11:22:04 [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-06-26 11:22:04 [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 (542157, 'APPROVED', '2025-06-26 11:22:04', 8, 150, null, 150, 150, '2025-06-26 11:22:04', '2025-06-26 11:22:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 14 - 2025-06-26 11:22:04 [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-06-26 11:22:04 [0.27ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-06-26 11:22:04' where `id` = 542157;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 16 - 2025-06-26 11:22:04 [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 17 - 2025-06-26 11:22:04 [0.22ms] */
select * from `vehicle_tax` where `transaction_id` = 542157 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 18 - 2025-06-26 11:22:04 [0.16ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-06-26 11:22:04' where `id` = 432647;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 19 - 2025-06-26 11:22:04 [0.2ms] */
select * from `vehicle_tax` where `id` = 432647 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 20 - 2025-06-26 11:22:04 [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', 432647, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-26 11:22:04', '2025-06-26 11:22:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 21 - 2025-06-26 11:22:04 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 517860 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 22 - 2025-06-26 11:22:04 [0.41ms] */
select * from `transaction` where `id` = 542157 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 23 - 2025-06-26 11:22:04 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 24 - 2025-06-26 11:22:04 [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-06-26 11:22:04 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 26 - 2025-06-26 11:22:04 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 27 - 2025-06-26 11:22:04 [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 (638259, 'APPROVED', '2025-06-26 11:22:04', 8, 150, null, 150, 150, '2025-06-26 11:22:04', '2025-06-26 11:22:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 28 - 2025-06-26 11:22:04 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 29 - 2025-06-26 11:22:04 [0.38ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-06-26 11:22:04' where `id` = 638259;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 30 - 2025-06-26 11:22:04 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 31 - 2025-06-26 11:22:04 [0.3ms] */
select * from `vehicle_tax` where `transaction_id` = 638259 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 32 - 2025-06-26 11:22:04 [0.31ms] */
select * from `invoice` where `invoice`.`id` = 611088 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 33 - 2025-06-26 11:22:04 [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-06-26 11:22:04 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 74647 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 35 - 2025-06-26 11:22:04 [0.24ms] */
select * from `party` where `party`.`id` = 56889 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 36 - 2025-06-26 11:22:04 [0.23ms] */
select * from `company` where `company`.`id` = 1176 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 37 - 2025-06-26 11:22:04 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` = 73325 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 38 - 2025-06-26 11:22:04 [0.36ms] */
select * from `invoice` where `invoice`.`id` = 517860 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 39 - 2025-06-26 11:22:04 [0.43ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 517860 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 40 - 2025-06-26 11:22:04 [0.35ms] */
select * from `Payment` where `Payment`.`id` = 202087 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 41 - 2025-06-26 11:22:04 [0.13ms] */
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-06-26 11:22:04 [0.24ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 659210 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 43 - 2025-06-26 11:22:04 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 638250 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 44 - 2025-06-26 11:22:04 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 638250 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 45 - 2025-06-26 11:22:04 [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 46 - 2025-06-26 11:22:04 [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 47 - 2025-06-26 11:22:04 [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 48 - 2025-06-26 11:22:04 [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 (638250, 'APPROVED', '2025-06-26 11:22:04', 8, 150, null, 150, 150, '2025-06-26 11:22:04', '2025-06-26 11:22:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 49 - 2025-06-26 11:22:04 [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 50 - 2025-06-26 11:22:04 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-06-26 11:22:04' where `id` = 638250;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 51 - 2025-06-26 11:22:04 [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 52 - 2025-06-26 11:22:04 [0.21ms] */
select * from `vehicle_tax` where `transaction_id` = 638250 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 53 - 2025-06-26 11:22:04 [0.16ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-06-26 11:22:04' where `id` = 499948;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 54 - 2025-06-26 11:22:04 [0.18ms] */
select * from `vehicle_tax` where `id` = 499948 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 55 - 2025-06-26 11:22:04 [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', 499948, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-26 11:22:04', '2025-06-26 11:22:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 56 - 2025-06-26 11:22:04 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 611079 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 57 - 2025-06-26 11:22:04 [0.24ms] */
select * from `transaction` where `id` = 638250 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 58 - 2025-06-26 11:22:04 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 638259 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 59 - 2025-06-26 11:22:04 [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 60 - 2025-06-26 11:22:04 [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 61 - 2025-06-26 11:22:04 [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 62 - 2025-06-26 11:22:04 [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 (638259, 'APPROVED', '2025-06-26 11:22:04', 9, 150, null, 150, 150, '2025-06-26 11:22:04', '2025-06-26 11:22:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 63 - 2025-06-26 11:22:04 [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 64 - 2025-06-26 11:22:04 [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 65 - 2025-06-26 11:22:04 [0.2ms] */
select * from `vehicle_tax` where `transaction_id` = 638259 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 66 - 2025-06-26 11:22:04 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 611088 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 67 - 2025-06-26 11:22:04 [0.12ms] */
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 68 - 2025-06-26 11:22:04 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 74647 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 69 - 2025-06-26 11:22:04 [0.21ms] */
select * from `party` where `party`.`id` = 56889 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 70 - 2025-06-26 11:22:04 [0.2ms] */
select * from `company` where `company`.`id` = 1176 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 71 - 2025-06-26 11:22:04 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 73325 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 72 - 2025-06-26 11:22:04 [0.36ms] */
select * from `invoice` where `invoice`.`id` = 611079 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 73 - 2025-06-26 11:22:04 [0.35ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 611079 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 74 - 2025-06-26 11:22:04 [0.23ms] */
select * from `Payment` where `Payment`.`id` = 202087 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 75 - 2025-06-26 11:22:04 [0.19ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 25 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-06-26 11:22:12 [2.34ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-06-26 11:22:12 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 3 - 2025-06-26 11:22:12 [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/party.select-party-component
   Query 4 - 2025-06-26 11:22:12 [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/party.select-party-component
   Query 5 - 2025-06-26 11:22:12 [0.26ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%7728834%' or `second_name` like '%7728834%' or `third_name` like '%7728834%' or `fourth_name` like '%7728834%' or `phone_number_1` like '%7728834%' or `phone_number_2` like '%7728834%' or `customer_identity_documents`.`id_number` like '%7728834%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2025-06-26 11:22:12 [0.21ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%7728834%' or `second_name` like '%7728834%' or `third_name` like '%7728834%' or `fourth_name` like '%7728834%' or `phone_number_1` like '%7728834%' or `phone_number_2` like '%7728834%' or `customer_identity_documents`.`id_number` like '%7728834%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 7 - 2025-06-26 11:22:12 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62729 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 8 - 2025-06-26 11:22:12 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65363 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 9 - 2025-06-26 11:22:12 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 61159 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 10 - 2025-06-26 11:22:12 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63742 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 11 - 2025-06-26 11:22:12 [0.14ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 60612 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 12 - 2025-06-26 11:22:12 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63182 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 13 - 2025-06-26 11:22:12 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 61110 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 14 - 2025-06-26 11:22:12 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63693 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 1 - 2025-06-26 11:22:13 [1.32ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 2 - 2025-06-26 11:22:13 [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/party.create-party-person-component
   Query 3 - 2025-06-26 11:22:13 [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/party.create-party-person-component
   Query 4 - 2025-06-26 11:22:13 [0.6ms] */
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/party.create-party-person-component
   Query 1 - 2025-06-26 11:22:47 [1.34ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 2 - 2025-06-26 11:22:47 [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/party.create-party-person-component
   Query 3 - 2025-06-26 11:22:47 [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/party.create-party-person-component
   Query 4 - 2025-06-26 11:22:47 [0.42ms] */
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/party.create-party-person-component
   Query 5 - 2025-06-26 11:22:47 [0.24ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 6 - 2025-06-26 11:22:47 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 7 - 2025-06-26 11:22:47 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 8 - 2025-06-26 11:22:47 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-26 11:22:52 [1.99ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-26 11:22:52 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-26 11:22:52 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-26 11:22:52 [0.31ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-26 11:22:52 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-26 11:22:52 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-26 11:22:52 [0.98ms] */
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` = 'YO444' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-26 11:22:52 [0.48ms] */
select * from `party` where `party`.`id` = 39945 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-26 11:22:52 [0.44ms] */
select * from `vehicle` where `id` = 62992 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-26 11:22:52 [0.48ms] */
select * from `party_vehicle` where `vehicle_id` = 62992 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-26 11:22:52 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-26 11:22:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-26 11:22:52 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-26 11:22:52 [0.17ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-26 11:22:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-26 11:22:52 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-26 11:22:52 [0.43ms] */
select * from `vehicle` where `vehicle`.`id` = 62992 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-26 11:22:52 [0.33ms] */
select * from `vehicle` where `id` = 62992 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-26 11:22:52 [0.65ms] */
select * from `party_vehicle` where `vehicle_id` = 62992 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-26 11:22:52 [1.28ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 62992 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-26 11:22:53 [1.26ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-26 11:22:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-26 11:22:53 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-26 11:22:53 [0.16ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-26 11:22:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-26 11:22:53 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-26 11:22:53 [0.14ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-26 11:22:53 [1.93ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-26 11:22:53 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-26 11:22:53 [0.3ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-26 11:22:53 [0.36ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-26 11:22:53 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '28850d8f82a5c044c8b2939af94446e3cc6531c34f27c654fd5edd0876247bd9e0f43a7e2e5114e9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-26 11:22:53 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-26 11:22:53 [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/livewire/message/config.select-district-component
   Query 1 - 2025-06-26 11:23:57 [1.46ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-06-26 11:23:57 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-06-26 11:23:57 [0.51ms] */
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-district-component
   Query 4 - 2025-06-26 11:23:57 [0.45ms] */
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-district-component
   Query 5 - 2025-06-26 11:23:57 [0.22ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-06-26 11:23:57 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-06-26 11:23:57 [0.15ms] */
select * from `tax_collection_points` where `region_id` = 1 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-06-26 11:23:57 [0.16ms] */
select * from `district` where `region_id` = 1 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-06-26 11:23:57 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 1 - 2025-06-26 11:23:57 [1.28ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 2 - 2025-06-26 11:23:57 [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/party.create-party-person-component
   Query 3 - 2025-06-26 11:23:57 [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/party.create-party-person-component
   Query 4 - 2025-06-26 11:23:57 [0.43ms] */
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-registration-component
   Query 1 - 2025-06-26 11:23:58 [2.38ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 1 - 2025-06-26 11:23:58 [1.16ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 2 - 2025-06-26 11:23:58 [0.47ms] */
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-registration-component
   Query 2 - 2025-06-26 11:23:58 [0.63ms] */
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/party.create-party-person-component
   Query 3 - 2025-06-26 11:23:58 [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/service.title-registration-component
   Query 3 - 2025-06-26 11:23:58 [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/party.create-party-person-component
   Query 4 - 2025-06-26 11:23:58 [0.6ms] */
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-registration-component
   Query 4 - 2025-06-26 11:23:58 [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-registration-component
   Query 5 - 2025-06-26 11:23:58 [0.43ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-06-26 11:23:58 [0.25ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-06-26 11:23:59 [1.3ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-06-26 11:23:59 [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-district-component
   Query 3 - 2025-06-26 11:23:59 [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/config.select-district-component
   Query 4 - 2025-06-26 11:23:59 [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/config.select-district-component
   Query 5 - 2025-06-26 11:24:00 [0.22ms] */
select * from `district` where `district`.`id` in (1, 2, 3, 4, 5, 6);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-06-26 11:24:00 [0.15ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-06-26 11:24:00 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` in (39, 2, 3, 5, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-06-26 11:24:00 [0.15ms] */
select * from `district` where `id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-06-26 11:24:00 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 10 - 2025-06-26 11:24:00 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 11 - 2025-06-26 11:24:00 [0.13ms] */
select * from `tax_collection_points` where `region_id` = 1 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 12 - 2025-06-26 11:24:00 [0.15ms] */
select * from `district` where `region_id` = 1 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 13 - 2025-06-26 11:24:00 [0.14ms] */
select * from `branches` where `district_id` = 2 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-06-26 11:24:00 [1.36ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-06-26 11:24:00 [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/service.title-registration-component
   Query 3 - 2025-06-26 11:24:00 [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/party.create-party-person-component
   Query 1 - 2025-06-26 11:24:00 [1.42ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 4 - 2025-06-26 11:24:00 [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/party.create-party-person-component
   Query 2 - 2025-06-26 11:24:00 [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/party.create-party-person-component
   Query 3 - 2025-06-26 11:24:00 [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/party.create-party-person-component
   Query 1 - 2025-06-26 11:24:00 [1.37ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 4 - 2025-06-26 11:24:00 [0.42ms] */
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/party.create-party-person-component
   Query 2 - 2025-06-26 11:24:00 [0.39ms] */
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/party.create-party-person-component
   Query 3 - 2025-06-26 11:24:00 [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/party.create-party-person-component
   Query 4 - 2025-06-26 11:24:00 [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/service.title-registration-component
   Query 5 - 2025-06-26 11:24:00 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-06-26 11:24:00 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-06-26 11:24:00 [0.33ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-06-26 11:24:00 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 1 - 2025-06-26 11:24:02 [2ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 2 - 2025-06-26 11:24:02 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 3 - 2025-06-26 11:24:02 [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/party.create-party-person-component
   Query 4 - 2025-06-26 11:24:02 [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/party.create-party-person-component
   Query 1 - 2025-06-26 11:24:10 [2.12ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 2 - 2025-06-26 11:24:10 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 3 - 2025-06-26 11:24:10 [0.62ms] */
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/party.create-party-person-component
   Query 4 - 2025-06-26 11:24:10 [0.43ms] */
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/party.create-party-person-component
   Query 1 - 2025-06-26 11:24:42 [1.36ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 2 - 2025-06-26 11:24:42 [0.46ms] */
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/party.create-party-person-component
   Query 3 - 2025-06-26 11:24:42 [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/party.create-party-person-component
   Query 4 - 2025-06-26 11:24:42 [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/party.create-party-person-component
   Query 5 - 2025-06-26 11:24:42 [0.61ms] */
insert into `person` (`first_name`, `second_name`, `third_name`, `fourth_name`, `date_of_birth`, `place_of_birth`, `gender`, `eye_color`, `hair_color`, `height`, `weight`, `occupation`, `mother_first_name`, `mother_second_name`, `mother_third_name`, `father_first_name`, `father_second_name`, `father_third_name`, `mother_fourth_name`, `father_fourth_name`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('AXMED', 'MAXAMED', 'SIRAAD', '', '1984-06-26 11:24:42', 'BOSAASO', 'MALE', 'None', 'None', 0, 0, 'G', 'FAADUMO', 'CABDI', 'CASHUUR', 'MAXAMED', 'SIRAAD', '', '', '', 79, 79, '2025-06-26 11:24:42', '2025-06-26 11:24:42');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 6 - 2025-06-26 11:24:42 [0.25ms] */
select * from `person` where `id` = 63856 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 7 - 2025-06-26 11:24:42 [0.35ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('person', '{"attributes":{"first_name":"AXMED","second_name":"MAXAMED","third_name":"SIRAAD","fourth_name":"","date_of_birth":"1984-06-26","gender":"MALE","occupation":"G","place_of_birth":"BOSAASO","height":"0","weight":"0","eye_color":"None","hair_color":"None","mother_first_name":"FAADUMO","mother_second_name":"CABDI","mother_third_name":"CASHUUR","mother_fourth_name":"","father_first_name":"MAXAMED","father_second_name":"SIRAAD","father_third_name":"","father_fourth_name":""}}', 79, 'App\Models\User', 63856, 'Person', 'created', '2025-06-26 11:24:42', '2025-06-26 11:24:42');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 8 - 2025-06-26 11:24:42 [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 ('[]', '{"first_name":"AXMED","second_name":"MAXAMED","third_name":"SIRAAD","fourth_name":"","date_of_birth":"1984-06-26T08:24:42.000000Z","place_of_birth":"BOSAASO","gender":"MALE","eye_color":"None","hair_color":"None","height":"0","weight":"0","occupation":"G","mother_first_name":"FAADUMO","mother_second_name":"CABDI","mother_third_name":"CASHUUR","father_first_name":"MAXAMED","father_second_name":"SIRAAD","father_third_name":"","mother_fourth_name":"","father_fourth_name":"","updated_by":79,"created_by":79,"id":63856}', 'created', 63856, 'Person', 79, 'App\Models\User', null, '41.223.108.50', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36', 'https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component', '2025-06-26 11:24:42', '2025-06-26 11:24:42');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 9 - 2025-06-26 11:24:42 [0.24ms] */
insert into `address` (`district_id`, `address_line_1`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (2, 'BOSAASO', 79, 79, '2025-06-26 11:24:42', '2025-06-26 11:24:42');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 10 - 2025-06-26 11:24:42 [0.17ms] */
select * from `address` where `id` = 66523 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 11 - 2025-06-26 11:24:42 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('address', '{"attributes":{"address_line_1":"BOSAASO","address_line_2":null,"city":null,"state":null,"district_id":2,"country":null}}', 79, 'App\Models\User', 66523, 'Modules\Party\Entities\Address', 'created', '2025-06-26 11:24:42', '2025-06-26 11:24:42');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 12 - 2025-06-26 11:24:42 [0.64ms] */
insert into `party` (`phone_number_1`, `phone_number_2`, `address_id`, `partyable_id`, `partyable_type`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (7728834, null, 66523, 63856, 'Person', 79, 79, '2025-06-26 11:24:42', '2025-06-26 11:24:42');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 13 - 2025-06-26 11:24:42 [0.18ms] */
select * from `party` where `id` = 66523 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 14 - 2025-06-26 11:24:42 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party', '{"attributes":{"address_id":66523,"siinpay_account_number":null,"partyable_id":63856,"partyable_type":"Person","email":null,"phone_number_1":"7728834","phone_number_2":null,"provisional":"N","migration_id":null,"company_migration_id":null}}', 79, 'App\Models\User', 66523, 'Modules\Party\Entities\Party', 'created', '2025-06-26 11:24:42', '2025-06-26 11:24:42');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 15 - 2025-06-26 11:24:42 [0.19ms] */
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 ('[]', '{"phone_number_1":"7728834","phone_number_2":null,"address_id":66523,"partyable_id":63856,"partyable_type":"Person","updated_by":79,"created_by":79,"id":66523}', 'created', 66523, 'Modules\Party\Entities\Party', 79, 'App\Models\User', null, '41.223.108.50', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36', 'https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component', '2025-06-26 11:24:42', '2025-06-26 11:24:42');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 16 - 2025-06-26 11:24:42 [0.73ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63856 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2025-06-26 11:24:43 [1.99ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2025-06-26 11:24:43 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 3 - 2025-06-26 11:24:43 [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/party.select-party-component
   Query 4 - 2025-06-26 11:24:43 [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/party.select-party-component
   Query 5 - 2025-06-26 11:24:43 [127.13ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%7728834%' or `second_name` like '%7728834%' or `third_name` like '%7728834%' or `fourth_name` like '%7728834%' or `phone_number_1` like '%7728834%' or `phone_number_2` like '%7728834%' or `customer_identity_documents`.`id_number` like '%7728834%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-06-26 11:24:43 [1.71ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-06-26 11:24:43 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-06-26 11:24:43 [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/service.title-registration-component
   Query 4 - 2025-06-26 11:24:43 [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/party.select-party-component
   Query 6 - 2025-06-26 11:24:43 [164.3ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%7728834%' or `second_name` like '%7728834%' or `third_name` like '%7728834%' or `fourth_name` like '%7728834%' or `phone_number_1` like '%7728834%' or `phone_number_2` like '%7728834%' or `customer_identity_documents`.`id_number` like '%7728834%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 7 - 2025-06-26 11:24:43 [0.25ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63856 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 8 - 2025-06-26 11:24:43 [0.28ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 66523 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 9 - 2025-06-26 11:24:43 [0.38ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62729 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 10 - 2025-06-26 11:24:43 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65363 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 11 - 2025-06-26 11:24:43 [0.35ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 61159 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 12 - 2025-06-26 11:24:43 [0.13ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63742 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 13 - 2025-06-26 11:24:43 [0.36ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 60612 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 14 - 2025-06-26 11:24:43 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63182 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 15 - 2025-06-26 11:24:43 [0.36ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 61110 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.select-party-component
   Query 16 - 2025-06-26 11:24:43 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 63693 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 5 - 2025-06-26 11:24:43 [0.35ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-06-26 11:24:43 [0.25ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-06-26 11:24:43 [0.43ms] */
select * from `party` where `party`.`id` = 66523 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-06-26 11:24:43 [0.45ms] */
select * from `person` where `person`.`id` = 63856 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-06-26 11:24:43 [0.28ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63856 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 10 - 2025-06-26 11:24:43 [0.4ms] */
select * from `address` where `address`.`id` = 66523 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 11 - 2025-06-26 11:24:43 [0.26ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 12 - 2025-06-26 11:24:43 [0.28ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 13 - 2025-06-26 11:24:43 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 14 - 2025-06-26 11:24:43 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 15 - 2025-06-26 11:24:43 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 16 - 2025-06-26 11:24:43 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-06-26 11:24:44 [1.3ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-06-26 11:24:44 [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/service.title-registration-component
   Query 3 - 2025-06-26 11:24:44 [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/service.title-registration-component
   Query 4 - 2025-06-26 11:24:44 [0.45ms] */
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-registration-component
   Query 5 - 2025-06-26 11:24:44 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-06-26 11:24:44 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-06-26 11:24:44 [0.18ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-06-26 11:24:44 [0.15ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-06-26 11:24:44 [0.43ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 10 - 2025-06-26 11:24:44 [0.25ms] */
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-registration-component
   Query 11 - 2025-06-26 11:24:44 [0.26ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 12 - 2025-06-26 11:24:44 [0.14ms] */
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/vehicle.create-vehicle-component
   Query 1 - 2025-06-26 11:24:47 [1.38ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-06-26 11:24:47 [0.46ms] */
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-06-26 11:24:47 [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-06-26 11:24:47 [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/vehicle.create-vehicle-component
   Query 5 - 2025-06-26 11:24:47 [0.41ms] */
select * from `service` where `name` = 'Title' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 6 - 2025-06-26 11:24:47 [0.3ms] */
select * from `subcategory_service` where `service_id` = 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 7 - 2025-06-26 11:24:47 [0.29ms] */
select * from `sub_category` where `id` not in (18, 19, 20) 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 8 - 2025-06-26 11:24:47 [0.22ms] */
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 9 - 2025-06-26 11:24:47 [0.3ms] */
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 10 - 2025-06-26 11:24:47 [0.28ms] */
select * from `vehicle_type` where `vehicle_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 1 - 2025-06-26 11:24:47 [2.01ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-06-26 11:24:47 [0.81ms] */
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-06-26 11:24:47 [0.73ms] */
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-06-26 11:24:47 [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-06-26 11:24:48 [0.38ms] */
select * from `sub_category` where `sub_category`.`id` in (8, 14, 4, 5, 9, 6, 7, 15, 10, 16, 11, 12, 13, 17, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 6 - 2025-06-26 11:24:48 [0.32ms] */
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-06-26 11:24:48 [0.47ms] */
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-06-26 11:24:48 [0.51ms] */
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-06-26 11:24:48 [0.23ms] */
select * from `service` where `name` = 'Title' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 10 - 2025-06-26 11:24:48 [0.2ms] */
select * from `subcategory_service` where `service_id` = 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 11 - 2025-06-26 11:24:48 [0.23ms] */
select * from `sub_category` where `id` not in (18, 19, 20) 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-06-26 11:24:48 [0.19ms] */
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-06-26 11:24:48 [0.25ms] */
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-06-26 11:24:48 [0.23ms] */
select * from `vehicle_type` where `vehicle_type`.`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-06-26 11:25:10 [2.13ms] */
select * from `users` where `id` = 79 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-06-26 11:25:10 [0.79ms] */
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-06-26 11:25:10 [0.68ms] */
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-06-26 11:25:10 [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/config.select-make-model-component
   Query 5 - 2025-06-26 11:25:10 [0.58ms] */
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-06-26 11:25:10 [0.25ms] */
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 7 - 2025-06-26 11:25:10 [0.52ms] */
select * from `model` where `make_id` = 52 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-06-26 11:25:10 [2.02ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-06-26 11:25:10 [0.58ms] */
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-06-26 11:25:10 [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.create-vehicle-component
   Query 4 - 2025-06-26 11:25:10 [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.create-vehicle-component
   Query 5 - 2025-06-26 11:25:10 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` in (8, 14, 4, 5, 9, 6, 7, 15, 10, 16, 11, 12, 13, 17, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 6 - 2025-06-26 11:25:10 [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-06-26 11:25:10 [0.22ms] */
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-06-26 11:25:10 [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-06-26 11:25:11 [0.34ms] */
select count(*) as aggregate from `vehicle` where `license_plate` = 'LJ455';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 1 - 2025-06-26 11:25:11 [2.07ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-06-26 11:25:11 [0.86ms] */
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-06-26 11:25:11 [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-06-26 11:25:11 [0.42ms] */
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 1 - 2025-06-26 11:25:13 [1.29ms] */
select * from `users` where `id` = 79 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-06-26 11:25:13 [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/config.select-make-model-component
   Query 3 - 2025-06-26 11:25:13 [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/config.select-make-model-component
   Query 4 - 2025-06-26 11:25:13 [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-06-26 11:25:13 [0.58ms] */
select * from `model` where `model`.`id` in (1055, 1057, 1058, 1621, 1093, 1562, 1052, 1059, 1060, 4375, 1061, 1062, 1063, 1051, 1053, 1065, 4372, 1066, 1067, 1068, 1069, 1070, 1614, 1613, 1071, 1072, 1073, 1074, 1075, 1076, 1078, 1079, 1054, 4370, 1619, 1094, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1064, 1087, 1088, 1089, 1090, 1091, 1092, 1056, 1077, 1095);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 6 - 2025-06-26 11:25:13 [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-06-26 11:25:13 [0.23ms] */
select * from `model` where `id` = 1056 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-06-26 11:25:13 [0.21ms] */
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-06-26 11:25:13 [0.17ms] */
select * from `model` where `make_id` = 52 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-06-26 11:25:13 [2.09ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 1 - 2025-06-26 11:25:13 [1.82ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-06-26 11:25:13 [0.7ms] */
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-06-26 11:25:13 [0.67ms] */
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 2 - 2025-06-26 11:25:13 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 3 - 2025-06-26 11:25:13 [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.create-vehicle-component
   Query 4 - 2025-06-26 11:25:13 [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 4 - 2025-06-26 11:25:13 [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.create-vehicle-component
   Query 5 - 2025-06-26 11:25:13 [0.31ms] */
select * from `sub_category` where `sub_category`.`id` in (8, 14, 4, 5, 9, 6, 7, 15, 10, 16, 11, 12, 13, 17, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 6 - 2025-06-26 11:25:13 [0.15ms] */
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-06-26 11:25:13 [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-06-26 11:25:13 [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 1 - 2025-06-26 11:25:37 [1.34ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 2 - 2025-06-26 11:25:37 [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-06-26 11:25:37 [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-06-26 11:25:37 [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-06-26 11:25:37 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` in (8, 14, 4, 5, 9, 6, 7, 15, 10, 16, 11, 12, 13, 17, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 6 - 2025-06-26 11:25:37 [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-06-26 11:25:37 [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-06-26 11:25:37 [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-06-26 11:25:37 [0.15ms] */
select count(*) as aggregate from `vehicle` where `license_plate` = 'LJ455';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 10 - 2025-06-26 11:25:37 [12.02ms] */
insert into `vehicle` (`license_plate`, `sub_category_id`, `model_id`, `odometer`, `vin`, `year`, `vehicle_color_id`, `fuel_type_id`, `vehicle_type_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('LJ455', 11, 1056, 0538773, 'CL87BE00153', 1997, 50, 2, 30, 79, 79, '2025-06-26 11:25:37', '2025-06-26 11:25:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 11 - 2025-06-26 11:25:37 [0.26ms] */
select * from `vehicle` where `id` = 101383 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 12 - 2025-06-26 11:25:37 [3.53ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":{"license_plate":"LJ455","sub_category_id":11,"model_id":1056,"odometer":538773,"vin":"CL87BE00153","year":1997,"smart_tag":null,"smart_tag_status":"UNASSIGNED","vehicle_color_id":50,"fuel_type_id":2,"vehicle_type_id":30,"ban_status":"GOOD_STANDING","provisional":"N","migration_id":null}}', 79, 'App\Models\User', 101383, 'Modules\Vehicle\Entities\Vehicle', 'created', '2025-06-26 11:25:37', '2025-06-26 11:25:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component
   Query 13 - 2025-06-26 11:25:37 [3.49ms] */
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 ('[]', '{"license_plate":"LJ455","sub_category_id":"11","model_id":"1056","odometer":"0538773","vin":"CL87BE00153","year":"1997","vehicle_color_id":"50","fuel_type_id":"2","vehicle_type_id":"30","updated_by":79,"created_by":79,"id":101383}', 'created', 101383, 'Modules\Vehicle\Entities\Vehicle', 79, 'App\Models\User', null, '41.223.108.50', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36', 'https://rta2.puntlandgov.org/livewire/message/vehicle.create-vehicle-component', '2025-06-26 11:25:37', '2025-06-26 11:25:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-06-26 11:25:38 [1.32ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-06-26 11:25:38 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-06-26 11:25:38 [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/service.title-registration-component
   Query 4 - 2025-06-26 11:25:38 [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/service.title-registration-component
   Query 5 - 2025-06-26 11:25:38 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-06-26 11:25:38 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-06-26 11:25:38 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 101383 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-06-26 11:25:38 [0.23ms] */
select * from `model` where `model`.`id` = 1056 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-06-26 11:25:38 [0.14ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 10 - 2025-06-26 11:25:38 [0.13ms] */
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/service.title-registration-component
   Query 11 - 2025-06-26 11:25:38 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 101383 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 12 - 2025-06-26 11:25:38 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 30 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 13 - 2025-06-26 11:25:38 [0.14ms] */
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/service.title-registration-component
   Query 14 - 2025-06-26 11:25:38 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 1 - 2025-06-26 11:25:38 [1.59ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 1 - 2025-06-26 11:25:38 [1.9ms] */
select * from `users` where `id` = 79 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-06-26 11:25:38 [0.45ms] */
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 2 - 2025-06-26 11:25:38 [0.34ms] */
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-06-26 11:25:38 [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/config.select-make-model-component
   Query 3 - 2025-06-26 11:25:38 [0.59ms] */
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-06-26 11:25:38 [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/config.select-make-model-component
   Query 4 - 2025-06-26 11:25:38 [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-06-26 11:25:38 [0.35ms] */
select * from `model` where `model`.`id` in (1055, 1057, 1058, 1621, 1093, 1562, 1052, 1059, 1060, 4375, 1061, 1062, 1063, 1051, 1053, 1065, 4372, 1066, 1067, 1068, 1069, 1070, 1614, 1613, 1071, 1072, 1073, 1074, 1075, 1076, 1078, 1079, 1054, 4370, 1619, 1094, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1064, 1087, 1088, 1089, 1090, 1091, 1092, 1056, 1077, 1095);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-make-model-component
   Query 6 - 2025-06-26 11:25:38 [0.28ms] */
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 5 - 2025-06-26 11:25:38 [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-06-26 11:25:38 [0.21ms] */
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-06-26 11:25:38 [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/config.select-make-model-component
   Query 6 - 2025-06-26 11:25:38 [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 7 - 2025-06-26 11:25:38 [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-registration-component
   Query 1 - 2025-06-26 11:25:39 [2.32ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-06-26 11:25:39 [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/service.title-registration-component
   Query 3 - 2025-06-26 11:25:39 [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/service.title-registration-component
   Query 4 - 2025-06-26 11:25:39 [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/service.title-registration-component
   Query 5 - 2025-06-26 11:25:39 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-06-26 11:25:39 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-06-26 11:25:39 [0.16ms] */
select * from `district` where `id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-06-26 11:25:39 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-06-26 11:25:39 [0.37ms] */
select * from `tax_collection_points` where `region_id` = 1 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 10 - 2025-06-26 11:25:39 [0.3ms] */
select * from `district` where `region_id` = 1 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 11 - 2025-06-26 11:25:39 [0.28ms] */
select * from `branches` where `district_id` = 2 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-06-26 11:25:41 [2ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-06-26 11:25:41 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 3 - 2025-06-26 11:25: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/service.title-registration-component
   Query 4 - 2025-06-26 11:25: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/service.title-registration-component
   Query 5 - 2025-06-26 11:25:41 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-06-26 11:25:41 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-06-26 11:25:42 [1.35ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-06-26 11:25:42 [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-registration-component
   Query 3 - 2025-06-26 11:25:42 [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/service.title-registration-component
   Query 4 - 2025-06-26 11:25:42 [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/service.title-registration-component
   Query 5 - 2025-06-26 11:25:42 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-06-26 11:25:42 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-06-26 11:25:43 [2.03ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-06-26 11:25:43 [0.64ms] */
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-registration-component
   Query 3 - 2025-06-26 11:25:43 [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/service.title-registration-component
   Query 4 - 2025-06-26 11:25:43 [0.56ms] */
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-registration-component
   Query 5 - 2025-06-26 11:25:43 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-06-26 11:25:43 [0.15ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-06-26 11:25:43 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 101383 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-06-26 11:25:43 [0.15ms] */
select * from `model` where `model`.`id` = 1056 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-06-26 11:25:43 [0.18ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 10 - 2025-06-26 11:25:43 [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/service.title-registration-component
   Query 11 - 2025-06-26 11:25:43 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 101383 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 12 - 2025-06-26 11:25:43 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 30 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 13 - 2025-06-26 11:25:43 [0.14ms] */
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/service.title-registration-component
   Query 14 - 2025-06-26 11:25:43 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 15 - 2025-06-26 11:25:43 [0.18ms] */
select * from `party` where `party`.`id` = 66523 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 16 - 2025-06-26 11:25:43 [0.19ms] */
select * from `person` where `person`.`id` = 63856 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 17 - 2025-06-26 11:25:43 [0.23ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63856 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 18 - 2025-06-26 11:25:43 [0.22ms] */
select * from `address` where `address`.`id` = 66523 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 19 - 2025-06-26 11:25:43 [0.22ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 20 - 2025-06-26 11:25:43 [0.2ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 21 - 2025-06-26 11:25:43 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 22 - 2025-06-26 11:25:43 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 23 - 2025-06-26 11:25:43 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 24 - 2025-06-26 11:25:43 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-06-26 11:25:44 [2.07ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-06-26 11:25:44 [0.78ms] */
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-registration-component
   Query 3 - 2025-06-26 11:25:44 [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/service.title-registration-component
   Query 4 - 2025-06-26 11:25:44 [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-registration-component
   Query 5 - 2025-06-26 11:25:44 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-06-26 11:25:44 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-06-26 11:25:44 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 101383 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-06-26 11:25:44 [0.42ms] */
select * from `service_fee` where (`sub_category_id` = 11 and `service_id` = 2 or `sub_category_id` is null and `service_id` = 2) and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-06-26 11:25:44 [0.34ms] */
select * from `service_workflow` where `service_id` = 1 and `service_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-06-26 11:25:45 [1.3ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-06-26 11:25: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/workflow.workflow-checklist-component
   Query 3 - 2025-06-26 11:25:45 [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/workflow.workflow-checklist-component
   Query 4 - 2025-06-26 11:25:45 [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/workflow.workflow-checklist-component
   Query 5 - 2025-06-26 11:25:45 [0.67ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 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` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-06-26 11:25:45 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 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` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-06-26 11:25:49 [1.28ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-06-26 11:25:49 [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/workflow.workflow-checklist-component
   Query 3 - 2025-06-26 11:25:49 [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/workflow.workflow-checklist-component
   Query 4 - 2025-06-26 11:25:49 [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/workflow.workflow-checklist-component
   Query 5 - 2025-06-26 11:25:50 [0.4ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 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` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 1 - 2025-06-26 11:25:50 [1.28ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 2 - 2025-06-26 11:25:50 [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/service.title-registration-component
   Query 3 - 2025-06-26 11:25:50 [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/service.title-registration-component
   Query 4 - 2025-06-26 11:25:50 [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/service.title-registration-component
   Query 5 - 2025-06-26 11:25:50 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 6 - 2025-06-26 11:25:50 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` in (2, 3);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 7 - 2025-06-26 11:25:50 [0.3ms] */
select * from `party` where `party`.`id` = 66523 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 8 - 2025-06-26 11:25:50 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 101383 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 9 - 2025-06-26 11:25:50 [0.21ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 10 - 2025-06-26 11:25:50 [0.27ms] */
select * from `service_workflow` where ((`service_id` = 1)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 11 - 2025-06-26 11:25:50 [0.26ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 12 - 2025-06-26 11:25:50 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 13 - 2025-06-26 11:25:50 [0.14ms] */
select * from `branches` where `branches`.`id` = 2 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 14 - 2025-06-26 11:25:50 [0.59ms] */
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 (66523, 1, 101383, null, 1, 2, 2, 2, 2, 'INPROGRESS', null, null, 79, 79, '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 15 - 2025-06-26 11:25:50 [0.23ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638260, 'INITIATED', '2025-06-26 11:25:50', 5, 79, 79, 79, '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 16 - 2025-06-26 11:25:50 [0.7ms] */
insert into `party_vehicle` (`party_id`, `vehicle_id`, `is_owner`, `classification_id`, `security_interest`, `transaction_id`, `title_number`, `registration_date`, `tax_payment_frequency`, `status`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (66523, 101383, 'Y', 2, 'N', 638260, 'XFW-638260-932', '2025-06-26 11:25:50', null, 'INPROGRESS', 79, 79, '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 17 - 2025-06-26 11:25:50 [0.19ms] */
select * from `party_vehicle` where `id` = 101978 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 18 - 2025-06-26 11:25:50 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"party_id":66523,"tax_payment_frequency":null,"vehicle_id":101383,"is_owner":"Y","transaction_id":638260,"ownership_status":null,"classification_id":2,"security_interest":"N","title_number":"XFW-638260-932","issued_date":null,"registration_date":"2025-06-26","status":"INPROGRESS","sold_date":null,"provisional":"N"}}', 79, 'App\Models\User', 101978, 'Modules\Vehicle\Entities\PartyVehicle', 'created', '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 19 - 2025-06-26 11:25:50 [0.3ms] */
insert into `party_vehicle_purchase` (`buyer_party_id`, `vehicle_id`, `purchase_date`, `purchase_price`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (66523, 101383, '2025-06-26 11:25:50', 33, 638260, 79, 79, '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 20 - 2025-06-26 11:25:50 [0.18ms] */
select * from `party_vehicle_purchase` where `id` = 101961 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 21 - 2025-06-26 11:25:50 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle_purchase', '{"attributes":{"buyer_party_id":66523,"vehicle_id":101383,"seller_party_id":null,"purchase_date":"2025-06-26 11:25:50","sale_date":null,"purchase_price":"33.00","sale_price":null,"transaction_id":638260}}', 79, 'App\Models\User', 101961, 'Modules\Vehicle\Entities\PartyVehiclePurchase', 'created', '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 22 - 2025-06-26 11:25:50 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 101383 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 23 - 2025-06-26 11:25:50 [0.19ms] */
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/service.title-registration-component
   Query 24 - 2025-06-26 11:25:50 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 25 - 2025-06-26 11:25:50 [0.49ms] */
(select * from `service_fee` where `sub_category_id` = 11 and `classification_id` = 2 and `service_id` = 1 and `frequency_type_id` in (4, 1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` in (1, 2, 4) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` = 11 and `classification_id` is null and `frequency_type_id` in (1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` in (4, 1) and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 26 - 2025-06-26 11:25:50 [0.2ms] */
select * from `party` where `party`.`id` = 66523 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 27 - 2025-06-26 11:25:50 [0.29ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638260, '2025-06-26 11:25:50', '2025-07-26 11:25:50', 'OPEN', 66523, 79, 79, '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 28 - 2025-06-26 11:25:50 [0.21ms] */
select * from `invoice` where `id` = 611089 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 29 - 2025-06-26 11:25:50 [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":{"transaction_id":638260,"party_id":66523,"invoice_amount":"0.00","invoice_date":"2025-06-26 11:25:50","due_date":"2025-07-26 11:25:50","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 79, 'App\Models\User', 611089, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 30 - 2025-06-26 11:25:50 [0.29ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Private', 'Service Fee for Title Registration for Private', 1, 10.00, 10.00, 611089, 79, 79, '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 31 - 2025-06-26 11:25:50 [0.17ms] */
select * from `invoice_item` where `id` = 1096431 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 32 - 2025-06-26 11:25:50 [0.23ms] */
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":"Service Fee for Private","description":"Service Fee for Title Registration for Private","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":611089}}', 79, 'App\Models\User', 1096431, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 33 - 2025-06-26 11:25:50 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 611089 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 34 - 2025-06-26 11:25:50 [0.27ms] */
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` = 611089 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 35 - 2025-06-26 11:25:50 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611089 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 36 - 2025-06-26 11:25:50 [0.19ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `discounts` = 0, `total_invoice_amount` = 10, `invoice`.`updated_at` = '2025-06-26 11:25:50' where `id` = 611089;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 37 - 2025-06-26 11:25:50 [0.19ms] */
select * from `invoice` where `id` = 611089 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 38 - 2025-06-26 11:25:50 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 79, 'App\Models\User', 611089, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 39 - 2025-06-26 11:25:50 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-203-611089907', `invoice`.`updated_at` = '2025-06-26 11:25:50' where `id` = 611089;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 40 - 2025-06-26 11:25:50 [0.19ms] */
select * from `invoice` where `id` = 611089 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 41 - 2025-06-26 11:25:50 [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_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00","invoice_number":"INV-203-611089907","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 79, 'App\Models\User', 611089, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-26 11:25:50', '2025-06-26 11:25:50');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 42 - 2025-06-26 11:25:50 [0.2ms] */
update `transaction` set `party_vehicle_id` = 101978, `invoice_id` = 611089, `transaction`.`updated_at` = '2025-06-26 11:25:50' where `id` = 638260;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 43 - 2025-06-26 11:25:50 [0.31ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-registration-component
   Query 44 - 2025-06-26 11:25:50 [0.27ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 1 - 2025-06-26 11:25:50 [1.27ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 2 - 2025-06-26 11:25:50 [0.42ms] */
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/mytrn
   Query 3 - 2025-06-26 11:25:50 [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/mytrn
   Query 4 - 2025-06-26 11:25:50 [0.37ms] */
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/mytrn
   Query 5 - 2025-06-26 11:25:51 [399.28ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 79 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 6 - 2025-06-26 11:25:51 [450.48ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 79 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 7 - 2025-06-26 11:25:51 [0.34ms] */
select * from `region` where `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 8 - 2025-06-26 11:25:51 [0.27ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 9 - 2025-06-26 11:25:51 [0.26ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 10 - 2025-06-26 11:25:51 [0.28ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 11 - 2025-06-26 11:25:51 [0.26ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 12 - 2025-06-26 11:25:51 [0.25ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 13 - 2025-06-26 11:25:51 [0.5ms] */
select * from `party` where `party`.`id` = 66523 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 14 - 2025-06-26 11:25:51 [0.15ms] */
select * from `person` where `person`.`id` = 63856 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 15 - 2025-06-26 11:25:51 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 101383 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 16 - 2025-06-26 11:25:51 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 17 - 2025-06-26 11:25:51 [0.12ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 18 - 2025-06-26 11:25:51 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 19 - 2025-06-26 11:25:51 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 20 - 2025-06-26 11:25:51 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 21 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 22 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 23 - 2025-06-26 11:25:51 [0.23ms] */
select * from `party` where `party`.`id` = 55429 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 24 - 2025-06-26 11:25:51 [0.22ms] */
select * from `person` where `person`.`id` = 55429 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 25 - 2025-06-26 11:25:51 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 101382 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 26 - 2025-06-26 11:25:51 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 27 - 2025-06-26 11:25:51 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 28 - 2025-06-26 11:25:51 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 29 - 2025-06-26 11:25:51 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 30 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 31 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 32 - 2025-06-26 11:25:51 [0.2ms] */
select * from `party` where `party`.`id` = 66522 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 33 - 2025-06-26 11:25:51 [0.24ms] */
select * from `person` where `person`.`id` = 63855 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 34 - 2025-06-26 11:25:51 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 101381 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 35 - 2025-06-26 11:25:51 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 36 - 2025-06-26 11:25:51 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 37 - 2025-06-26 11:25:51 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 38 - 2025-06-26 11:25:51 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 39 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 40 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 41 - 2025-06-26 11:25:51 [0.13ms] */
select * from `party` where `party`.`id` = 55429 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 42 - 2025-06-26 11:25:51 [0.14ms] */
select * from `person` where `person`.`id` = 55429 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 43 - 2025-06-26 11:25:51 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 101382 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 44 - 2025-06-26 11:25:51 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 45 - 2025-06-26 11:25:51 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 46 - 2025-06-26 11:25:51 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 47 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 48 - 2025-06-26 11:25:51 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 49 - 2025-06-26 11:25:51 [0.14ms] */
select * from `party` where `party`.`id` = 66522 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 50 - 2025-06-26 11:25:51 [0.16ms] */
select * from `person` where `person`.`id` = 63855 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 51 - 2025-06-26 11:25:51 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 101381 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 52 - 2025-06-26 11:25:51 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 53 - 2025-06-26 11:25:51 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 54 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 55 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 56 - 2025-06-26 11:25:51 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 57 - 2025-06-26 11:25:51 [0.22ms] */
select * from `party` where `party`.`id` = 66521 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 58 - 2025-06-26 11:25:51 [0.22ms] */
select * from `person` where `person`.`id` = 63854 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 59 - 2025-06-26 11:25:51 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 101380 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 60 - 2025-06-26 11:25:51 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 61 - 2025-06-26 11:25:51 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 62 - 2025-06-26 11:25:51 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 63 - 2025-06-26 11:25:51 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 64 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 65 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 66 - 2025-06-26 11:25:51 [0.13ms] */
select * from `party` where `party`.`id` = 66521 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 67 - 2025-06-26 11:25:51 [0.14ms] */
select * from `person` where `person`.`id` = 63854 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 68 - 2025-06-26 11:25:51 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 101380 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 69 - 2025-06-26 11:25:51 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 70 - 2025-06-26 11:25:51 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 71 - 2025-06-26 11:25:51 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 72 - 2025-06-26 11:25:51 [0.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 73 - 2025-06-26 11:25:51 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 74 - 2025-06-26 11:25:51 [0.56ms] */
select * from `party` where `party`.`id` = 66520 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 75 - 2025-06-26 11:25:51 [0.61ms] */
select * from `person` where `person`.`id` = 63853 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 76 - 2025-06-26 11:25:51 [0.62ms] */
select * from `vehicle` where `vehicle`.`id` = 101379 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 77 - 2025-06-26 11:25:51 [0.23ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 78 - 2025-06-26 11:25:51 [0.22ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 79 - 2025-06-26 11:25:51 [0.22ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 80 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 81 - 2025-06-26 11:25:51 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 82 - 2025-06-26 11:25:51 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 83 - 2025-06-26 11:25:51 [0.14ms] */
select * from `party` where `party`.`id` = 66520 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 84 - 2025-06-26 11:25:51 [0.14ms] */
select * from `person` where `person`.`id` = 63853 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 85 - 2025-06-26 11:25:51 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 101379 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 86 - 2025-06-26 11:25:51 [0.12ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 87 - 2025-06-26 11:25:51 [0.12ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 88 - 2025-06-26 11:25:51 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 89 - 2025-06-26 11:25:51 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 90 - 2025-06-26 11:25:51 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 91 - 2025-06-26 11:25:51 [0.32ms] */
select * from `party` where `party`.`id` = 66519 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 92 - 2025-06-26 11:25:51 [0.32ms] */
select * from `person` where `person`.`id` = 63852 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 93 - 2025-06-26 11:25:51 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 101378 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 94 - 2025-06-26 11:25:51 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 95 - 2025-06-26 11:25:51 [0.12ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 96 - 2025-06-26 11:25:51 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 97 - 2025-06-26 11:25:51 [0.16ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 98 - 2025-06-26 11:25:51 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-26 11:29:20 [2.95ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-26 11:29:20 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-26 11:29:20 [0.3ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-26 11:29:20 [0.27ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-26 11:29:20 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-26 11:29:20 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-26 11:29:20 [0.78ms] */
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` = '1L174' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-26 11:29:20 [0.25ms] */
select * from `vehicle` where `license_plate` = '1L174' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-26 11:30:07 [1.99ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-26 11:30:07 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-26 11:30:07 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-26 11:30:07 [0.3ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-26 11:30:07 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-26 11:30:07 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-26 11:30:07 [0.37ms] */
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` = '1L174' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-26 11:30:07 [0.15ms] */
select * from `vehicle` where `license_plate` = '1L174' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-26 11:30:25 [1.41ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-26 11:30:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-26 11:30:25 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-26 11:30:25 [0.17ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-06-26 11:30:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-26 11:30:25 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-26 11:30:25 [1.54ms] */
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` = 'IL174' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-06-26 11:30:25 [0.28ms] */
select * from `party` where `party`.`id` = 56332 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-26 11:30:25 [0.26ms] */
select * from `company` where `company`.`id` = 619 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-26 11:30:25 [0.23ms] */
select * from `party` where `party`.`id` = 1 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 11 - 2025-06-26 11:30:25 [0.22ms] */
select * from `party` where `party`.`id` = 1 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 12 - 2025-06-26 11:30:25 [0.25ms] */
select * from `person` where `person`.`id` = 1 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 13 - 2025-06-26 11:30:25 [0.25ms] */
select * from `vehicle` where `id` = 93247 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 14 - 2025-06-26 11:30:25 [7.87ms] */
select * from `party_vehicle` where `vehicle_id` = 93247 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-06-26 11:30:27 [2.01ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-26 11:30:27 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-26 11:30:27 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-26 11:30:27 [0.35ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-06-26 11:30:27 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-26 11:30:27 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-26 11:30:27 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 93247 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-26 11:30:27 [0.22ms] */
select * from `vehicle` where `id` = 93247 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-26 11:30:27 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 93247 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-06-26 11:30:27 [1.71ms] */
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` = 93247 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-06-26 11:30:29 [2.29ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-26 11:30:29 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-26 11:30:29 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-26 11:30:29 [0.25ms] */
select * from `users` where `id` = 157 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-06-26 11:30:29 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '1e0eb06e025b2d4aa4b4f595c86fa2d58b3b8e3ca553c7f5f9a4930285da388b49a8fe9b62389c16' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-26 11:30:29 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-26 11:30:29 [0.2ms] */
