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/vehicle/17355
   Query 108 - 2025-07-04 10:28:19 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 109 - 2025-07-04 10:28:19 [0.13ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 110 - 2025-07-04 10:28:19 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 111 - 2025-07-04 10:28:19 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 112 - 2025-07-04 10:28:19 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 113 - 2025-07-04 10:28:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 114 - 2025-07-04 10:28:19 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 115 - 2025-07-04 10:28:19 [0.15ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 116 - 2025-07-04 10:28:19 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 40820 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 117 - 2025-07-04 10:28:19 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 118 - 2025-07-04 10:28:19 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 119 - 2025-07-04 10:28:19 [0.26ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 17355 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 120 - 2025-07-04 10:28:19 [0.25ms] */
select * from `title_reprint_history` where `vehicle_id` = 17355 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 121 - 2025-07-04 10:28:19 [0.18ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 122 - 2025-07-04 10:28:19 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=17355&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-07-04 10:28:23 [1.28ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=17355&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-07-04 10:28:23 [0.41ms] */
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/audit-details?audit_ids=17355&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-07-04 10:28:23 [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/audit-details?audit_ids=17355&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-07-04 10:28:23 [0.4ms] */
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/audit-details?audit_ids=17355&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-07-04 10:28:23 [0.58ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 17355 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 1 - 2025-07-04 10:28:25 [2.16ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 2 - 2025-07-04 10:28:25 [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/vehicle.view-vehicle-full-component
   Query 3 - 2025-07-04 10:28:25 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 4 - 2025-07-04 10:28:25 [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.view-vehicle-full-component
   Query 5 - 2025-07-04 10:28:25 [0.42ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 6 - 2025-07-04 10:28:25 [0.21ms] */
select * from `model` where `model`.`id` in (1367) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 7 - 2025-07-04 10:28:25 [0.19ms] */
select * from `make` where `make`.`id` in (74) and `make`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 8 - 2025-07-04 10:28:25 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` in (7) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 9 - 2025-07-04 10:28:25 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (17355) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 10 - 2025-07-04 10:28:25 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 11 - 2025-07-04 10:28:25 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (14) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 12 - 2025-07-04 10:28:25 [0.19ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 13 - 2025-07-04 10:28:25 [0.2ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 14 - 2025-07-04 10:28:25 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 17355 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 15 - 2025-07-04 10:28:25 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 16 - 2025-07-04 10:28:25 [0.37ms] */
select * from `service_fee` where (`sub_category_id` = 7 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/vehicle.view-vehicle-full-component
   Query 17 - 2025-07-04 10:28:25 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 17355 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 18 - 2025-07-04 10:28:25 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 17355 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 19 - 2025-07-04 10:28:25 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 17355 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 20 - 2025-07-04 10:28:25 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 40820 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 21 - 2025-07-04 10:28:25 [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): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 22 - 2025-07-04 10:28:25 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 23 - 2025-07-04 10:28:25 [0.23ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 24 - 2025-07-04 10:28:25 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 25 - 2025-07-04 10:28:25 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 26 - 2025-07-04 10:28:25 [0.29ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2023 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 27 - 2025-07-04 10:28:25 [59.72ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 28 - 2025-07-04 10:28:25 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2023 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 29 - 2025-07-04 10:28:25 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 30 - 2025-07-04 10:28:25 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2023 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 31 - 2025-07-04 10:28:25 [0.13ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 32 - 2025-07-04 10:28:25 [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/livewire/message/vehicle.view-vehicle-full-component
   Query 33 - 2025-07-04 10:28:25 [0.13ms] */
select * from `branches` where `branches`.`id` = 12 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 34 - 2025-07-04 10:28:25 [0.74ms] */
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 (12022, 2, 17355, null, 2, 6, 12, 34, 34, 'OPEN', null, null, 42, 42, '2025-07-04 10:28:25', '2025-07-04 10:28:25');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 35 - 2025-07-04 10:28:25 [0.32ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642388, 'INITIATED', '2025-07-04 10:28:25', 5, 42, 42, 42, '2025-07-04 10:28:25', '2025-07-04 10:28:25');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 36 - 2025-07-04 10:28:25 [0.21ms] */
select * from `term` where `year` = 2023 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 37 - 2025-07-04 10:28:25 [0.32ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'JH5-40820-192', 17355, 95, 12022, 40820, 642388, 42, 42, '2025-07-04 10:28:25', '2025-07-04 10:28:25');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 38 - 2025-07-04 10:28:25 [0.17ms] */
select * from `vehicle_tax` where `id` = 501452 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 39 - 2025-07-04 10:28:25 [0.35ms] */
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":"OPEN","tax_number":"JH5-40820-192","tax_sticker_id":null,"vehicle_id":17355,"term_id":95,"party_id":12022,"transaction_id":642388,"party_vehicle_id":40820,"exempt":"N","migration_id":null}}', 42, 'App\Models\User', 501452, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-07-04 10:28:25', '2025-07-04 10:28:25');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 40 - 2025-07-04 10:28:25 [0.46ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 41 - 2025-07-04 10:28:25 [0.99ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 42 - 2025-07-04 10:28:26 [0.83ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 43 - 2025-07-04 10:28:26 [0.35ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 44 - 2025-07-04 10:28:26 [0.4ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 45 - 2025-07-04 10:28:26 [0.69ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642388, '2023-06-01 00:00:00', '2023-06-01 00:00:00', 'OPEN', 12022, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 46 - 2025-07-04 10:28:26 [0.38ms] */
select * from `invoice` where `id` = 615148 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 47 - 2025-07-04 10:28:26 [0.48ms] */
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":642388,"party_id":12022,"invoice_amount":"0.00","invoice_date":"2023-06-01 00:00:00","due_date":"2023-06-01 00:00:00","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}}', 42, 'App\Models\User', 615148, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 48 - 2025-07-04 10:28:26 [0.53ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 24 HP', '24 HP Quarterly Tax', 1, 65.00, 65.00, 615148, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 49 - 2025-07-04 10:28:26 [0.35ms] */
select * from `invoice_item` where `id` = 1101966 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 50 - 2025-07-04 10:28:26 [0.37ms] */
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":"Quarterly TaxFee for 24 HP","description":"24 HP Quarterly Tax","unit_price":"65.00","quantity":1,"total_price":"65.00","invoice_id":615148}}', 42, 'App\Models\User', 1101966, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 51 - 2025-07-04 10:28:26 [0.36ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 615148, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 52 - 2025-07-04 10:28:26 [0.34ms] */
select * from `invoice_item` where `id` = 1101967 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 53 - 2025-07-04 10:28:26 [0.38ms] */
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 Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":615148}}', 42, 'App\Models\User', 1101967, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 54 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615148 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 55 - 2025-07-04 10:28:26 [0.31ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 615148 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 56 - 2025-07-04 10:28:26 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 615148 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 57 - 2025-07-04 10:28:26 [0.27ms] */
update `invoice` set `invoice_amount` = 73, `outstanding_balance` = 73, `discounts` = 0, `total_invoice_amount` = 73, `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615148;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 58 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `id` = 615148 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 59 - 2025-07-04 10:28:26 [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":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 42, 'App\Models\User', 615148, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 60 - 2025-07-04 10:28:26 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-726-615148459', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615148;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 61 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615148 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 62 - 2025-07-04 10:28:26 [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":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00","invoice_number":"INV-726-615148459","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 42, 'App\Models\User', 615148, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 63 - 2025-07-04 10:28:26 [0.19ms] */
update `transaction` set `party_vehicle_id` = 40820, `vehicle_tax_id` = 501452, `invoice_id` = 615148, `transaction`.`updated_at` = '2025-07-04 10:28:26' where `id` = 642388;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 64 - 2025-07-04 10:28:26 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2023 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 65 - 2025-07-04 10:28:26 [0.22ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 66 - 2025-07-04 10:28:26 [0.25ms] */
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/livewire/message/vehicle.view-vehicle-full-component
   Query 67 - 2025-07-04 10:28:26 [0.25ms] */
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 (12022, 2, 17355, null, 2, 6, 12, 34, 34, 'OPEN', null, null, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 68 - 2025-07-04 10:28:26 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642389, 'INITIATED', '2025-07-04 10:28:26', 5, 42, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 69 - 2025-07-04 10:28:26 [0.21ms] */
select * from `term` where `year` = 2023 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 70 - 2025-07-04 10:28:26 [0.21ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '699-40820-878', 17355, 96, 12022, 40820, 642389, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 71 - 2025-07-04 10:28:26 [0.17ms] */
select * from `vehicle_tax` where `id` = 501453 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 72 - 2025-07-04 10:28:26 [0.34ms] */
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":"OPEN","tax_number":"699-40820-878","tax_sticker_id":null,"vehicle_id":17355,"term_id":96,"party_id":12022,"transaction_id":642389,"party_vehicle_id":40820,"exempt":"N","migration_id":null}}', 42, 'App\Models\User', 501453, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 73 - 2025-07-04 10:28:26 [0.24ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 74 - 2025-07-04 10:28:26 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 75 - 2025-07-04 10:28:26 [0.17ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 76 - 2025-07-04 10:28:26 [0.19ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 77 - 2025-07-04 10:28:26 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642389, '2023-09-01 00:00:00', '2023-09-01 00:00:00', 'OPEN', 12022, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 78 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615149 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 79 - 2025-07-04 10:28:26 [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":642389,"party_id":12022,"invoice_amount":"0.00","invoice_date":"2023-09-01 00:00:00","due_date":"2023-09-01 00:00:00","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}}', 42, 'App\Models\User', 615149, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 80 - 2025-07-04 10:28:26 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 24 HP', '24 HP Quarterly Tax', 1, 65.00, 65.00, 615149, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 81 - 2025-07-04 10:28:26 [0.17ms] */
select * from `invoice_item` where `id` = 1101968 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 82 - 2025-07-04 10:28:26 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 24 HP","description":"24 HP Quarterly Tax","unit_price":"65.00","quantity":1,"total_price":"65.00","invoice_id":615149}}', 42, 'App\Models\User', 1101968, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 83 - 2025-07-04 10:28:26 [0.16ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 615149, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 84 - 2025-07-04 10:28:26 [0.17ms] */
select * from `invoice_item` where `id` = 1101969 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 85 - 2025-07-04 10:28:26 [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":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":615149}}', 42, 'App\Models\User', 1101969, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 86 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615149 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 87 - 2025-07-04 10:28:26 [0.23ms] */
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` = 615149 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 88 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 615149 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 89 - 2025-07-04 10:28:26 [0.19ms] */
update `invoice` set `invoice_amount` = 73, `outstanding_balance` = 73, `discounts` = 0, `total_invoice_amount` = 73, `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615149;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 90 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `id` = 615149 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 91 - 2025-07-04 10:28:26 [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":{"invoice_amount":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 42, 'App\Models\User', 615149, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 92 - 2025-07-04 10:28:26 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-841-615149507', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615149;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 93 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `id` = 615149 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 94 - 2025-07-04 10:28:26 [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":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00","invoice_number":"INV-841-615149507","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 42, 'App\Models\User', 615149, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 95 - 2025-07-04 10:28:26 [0.18ms] */
update `transaction` set `party_vehicle_id` = 40820, `vehicle_tax_id` = 501453, `invoice_id` = 615149, `transaction`.`updated_at` = '2025-07-04 10:28:26' where `id` = 642389;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 96 - 2025-07-04 10:28:26 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2024 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 97 - 2025-07-04 10:28:26 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 98 - 2025-07-04 10:28:26 [0.19ms] */
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/livewire/message/vehicle.view-vehicle-full-component
   Query 99 - 2025-07-04 10:28:26 [0.22ms] */
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 (12022, 2, 17355, null, 2, 6, 12, 34, 34, 'OPEN', null, null, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 100 - 2025-07-04 10:28:26 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642390, 'INITIATED', '2025-07-04 10:28:26', 5, 42, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 101 - 2025-07-04 10:28:26 [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/livewire/message/vehicle.view-vehicle-full-component
   Query 102 - 2025-07-04 10:28:26 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 103 - 2025-07-04 10:28:26 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 104 - 2025-07-04 10:28:26 [0.19ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '8DY-40820-777', 17355, 97, 12022, 40820, 642390, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 105 - 2025-07-04 10:28:26 [0.18ms] */
select * from `vehicle_tax` where `id` = 501454 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 106 - 2025-07-04 10:28:26 [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":"OPEN","tax_number":"8DY-40820-777","tax_sticker_id":null,"vehicle_id":17355,"term_id":97,"party_id":12022,"transaction_id":642390,"party_vehicle_id":40820,"exempt":"N","migration_id":null}}', 42, 'App\Models\User', 501454, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 107 - 2025-07-04 10:28:26 [0.45ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 108 - 2025-07-04 10:28:26 [0.17ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 109 - 2025-07-04 10:28:26 [0.62ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 110 - 2025-07-04 10:28:26 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642390, '2023-12-01 00:00:00', '2023-12-01 00:00:00', 'OPEN', 12022, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 111 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615150 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 112 - 2025-07-04 10:28:26 [0.26ms] */
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":642390,"party_id":12022,"invoice_amount":"0.00","invoice_date":"2023-12-01 00:00:00","due_date":"2023-12-01 00:00:00","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}}', 42, 'App\Models\User', 615150, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 113 - 2025-07-04 10:28:26 [0.18ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly Tax fee for 24 HP', 'Yearly Tax fee for 24 HP', 1, 98.00, 98.00, 615150, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 114 - 2025-07-04 10:28:26 [0.17ms] */
select * from `invoice_item` where `id` = 1101970 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 115 - 2025-07-04 10:28:26 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly Tax fee for 24 HP","description":"Yearly Tax fee for 24 HP","unit_price":"98.00","quantity":1,"total_price":"98.00","invoice_id":615150}}', 42, 'App\Models\User', 1101970, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 116 - 2025-07-04 10:28:26 [0.17ms] */
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 Yearly Tax', 'Service Fee for Yearly Tax', 1, 8.00, 8.00, 615150, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 117 - 2025-07-04 10:28:26 [0.17ms] */
select * from `invoice_item` where `id` = 1101971 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 118 - 2025-07-04 10:28:26 [0.17ms] */
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 Yearly Tax","description":"Service Fee for Yearly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":615150}}', 42, 'App\Models\User', 1101971, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 119 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 615150 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 120 - 2025-07-04 10:28:26 [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` = 615150 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 121 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 615150 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 122 - 2025-07-04 10:28:26 [0.19ms] */
update `invoice` set `invoice_amount` = 106, `outstanding_balance` = 106, `discounts` = 0, `total_invoice_amount` = 106, `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615150;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 123 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615150 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 124 - 2025-07-04 10:28:26 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"106.00","outstanding_balance":"106.00","discounts":"0.00","total_invoice_amount":"106.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 42, 'App\Models\User', 615150, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 125 - 2025-07-04 10:28:26 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-875-615150889', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615150;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 126 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `id` = 615150 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 127 - 2025-07-04 10:28:26 [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":"106.00","outstanding_balance":"106.00","discounts":"0.00","total_invoice_amount":"106.00","invoice_number":"INV-875-615150889","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 42, 'App\Models\User', 615150, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 128 - 2025-07-04 10:28:26 [0.18ms] */
update `transaction` set `party_vehicle_id` = 40820, `vehicle_tax_id` = 501454, `invoice_id` = 615150, `transaction`.`updated_at` = '2025-07-04 10:28:26' where `id` = 642390;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 129 - 2025-07-04 10:28:26 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 130 - 2025-07-04 10:28:26 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 131 - 2025-07-04 10:28:26 [0.2ms] */
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/livewire/message/vehicle.view-vehicle-full-component
   Query 132 - 2025-07-04 10:28:26 [0.22ms] */
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 (12022, 2, 17355, null, 2, 6, 12, 34, 34, 'OPEN', null, null, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 133 - 2025-07-04 10:28:26 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642391, 'INITIATED', '2025-07-04 10:28:26', 5, 42, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 134 - 2025-07-04 10:28:26 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 135 - 2025-07-04 10:28:26 [0.19ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'Q89-40820-821', 17355, 98, 12022, 40820, 642391, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 136 - 2025-07-04 10:28:26 [0.18ms] */
select * from `vehicle_tax` where `id` = 501455 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 137 - 2025-07-04 10:28:26 [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":"OPEN","tax_number":"Q89-40820-821","tax_sticker_id":null,"vehicle_id":17355,"term_id":98,"party_id":12022,"transaction_id":642391,"party_vehicle_id":40820,"exempt":"N","migration_id":null}}', 42, 'App\Models\User', 501455, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 138 - 2025-07-04 10:28:26 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 139 - 2025-07-04 10:28:26 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 140 - 2025-07-04 10:28:26 [0.2ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 141 - 2025-07-04 10:28:26 [0.19ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 142 - 2025-07-04 10:28:26 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642391, '2024-03-01 00:00:00', '2024-03-01 00:00:00', 'OPEN', 12022, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 143 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615151 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 144 - 2025-07-04 10:28:26 [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":{"transaction_id":642391,"party_id":12022,"invoice_amount":"0.00","invoice_date":"2024-03-01 00:00:00","due_date":"2024-03-01 00:00:00","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}}', 42, 'App\Models\User', 615151, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 145 - 2025-07-04 10:28:26 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 24 HP', '24 HP Quarterly Tax', 1, 65.00, 65.00, 615151, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 146 - 2025-07-04 10:28:26 [0.16ms] */
select * from `invoice_item` where `id` = 1101972 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 147 - 2025-07-04 10:28:26 [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":"Quarterly TaxFee for 24 HP","description":"24 HP Quarterly Tax","unit_price":"65.00","quantity":1,"total_price":"65.00","invoice_id":615151}}', 42, 'App\Models\User', 1101972, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 148 - 2025-07-04 10:28:26 [0.16ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 615151, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 149 - 2025-07-04 10:28:26 [0.16ms] */
select * from `invoice_item` where `id` = 1101973 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 150 - 2025-07-04 10:28:26 [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":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":615151}}', 42, 'App\Models\User', 1101973, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 151 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 615151 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 152 - 2025-07-04 10:28:26 [0.25ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 615151 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 153 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 615151 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 154 - 2025-07-04 10:28:26 [0.19ms] */
update `invoice` set `invoice_amount` = 73, `outstanding_balance` = 73, `discounts` = 0, `total_invoice_amount` = 73, `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615151;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 155 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `id` = 615151 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 156 - 2025-07-04 10:28:26 [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":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 42, 'App\Models\User', 615151, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 157 - 2025-07-04 10:28:26 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-527-615151614', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615151;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 158 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice` where `id` = 615151 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 159 - 2025-07-04 10:28:26 [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":{"invoice_amount":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00","invoice_number":"INV-527-615151614","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 42, 'App\Models\User', 615151, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 160 - 2025-07-04 10:28:26 [0.17ms] */
update `transaction` set `party_vehicle_id` = 40820, `vehicle_tax_id` = 501455, `invoice_id` = 615151, `transaction`.`updated_at` = '2025-07-04 10:28:26' where `id` = 642391;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 161 - 2025-07-04 10:28:26 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 162 - 2025-07-04 10:28:26 [0.18ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 163 - 2025-07-04 10:28:26 [0.19ms] */
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/livewire/message/vehicle.view-vehicle-full-component
   Query 164 - 2025-07-04 10:28:26 [0.22ms] */
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 (12022, 2, 17355, null, 2, 6, 12, 34, 34, 'OPEN', null, null, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 165 - 2025-07-04 10:28:26 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642392, 'INITIATED', '2025-07-04 10:28:26', 5, 42, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 166 - 2025-07-04 10:28:26 [0.21ms] */
select * from `term` where `year` = 2024 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 167 - 2025-07-04 10:28:26 [0.19ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'AK0-40820-772', 17355, 99, 12022, 40820, 642392, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 168 - 2025-07-04 10:28:26 [0.17ms] */
select * from `vehicle_tax` where `id` = 501456 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 169 - 2025-07-04 10:28:26 [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":"OPEN","tax_number":"AK0-40820-772","tax_sticker_id":null,"vehicle_id":17355,"term_id":99,"party_id":12022,"transaction_id":642392,"party_vehicle_id":40820,"exempt":"N","migration_id":null}}', 42, 'App\Models\User', 501456, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 170 - 2025-07-04 10:28:26 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 171 - 2025-07-04 10:28:26 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 172 - 2025-07-04 10:28:26 [0.17ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 173 - 2025-07-04 10:28:26 [0.19ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 174 - 2025-07-04 10:28:26 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642392, '2024-06-01 00:00:00', '2024-06-01 00:00:00', 'OPEN', 12022, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 175 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice` where `id` = 615152 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 176 - 2025-07-04 10:28:26 [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":642392,"party_id":12022,"invoice_amount":"0.00","invoice_date":"2024-06-01 00:00:00","due_date":"2024-06-01 00:00:00","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}}', 42, 'App\Models\User', 615152, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 177 - 2025-07-04 10:28:26 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 24 HP', '24 HP Quarterly Tax', 1, 65.00, 65.00, 615152, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 178 - 2025-07-04 10:28:26 [0.17ms] */
select * from `invoice_item` where `id` = 1101974 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 179 - 2025-07-04 10:28:26 [0.17ms] */
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":"Quarterly TaxFee for 24 HP","description":"24 HP Quarterly Tax","unit_price":"65.00","quantity":1,"total_price":"65.00","invoice_id":615152}}', 42, 'App\Models\User', 1101974, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 180 - 2025-07-04 10:28:26 [0.16ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 615152, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 181 - 2025-07-04 10:28:26 [0.16ms] */
select * from `invoice_item` where `id` = 1101975 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 182 - 2025-07-04 10:28:26 [0.17ms] */
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 Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":615152}}', 42, 'App\Models\User', 1101975, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 183 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615152 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 184 - 2025-07-04 10:28:26 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 615152 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 185 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 615152 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 186 - 2025-07-04 10:28:26 [0.19ms] */
update `invoice` set `invoice_amount` = 73, `outstanding_balance` = 73, `discounts` = 0, `total_invoice_amount` = 73, `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615152;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 187 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `id` = 615152 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 188 - 2025-07-04 10:28:26 [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":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 42, 'App\Models\User', 615152, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 189 - 2025-07-04 10:28:26 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-442-615152690', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615152;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 190 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `id` = 615152 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 191 - 2025-07-04 10:28:26 [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":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00","invoice_number":"INV-442-615152690","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 42, 'App\Models\User', 615152, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 192 - 2025-07-04 10:28:26 [0.18ms] */
update `transaction` set `party_vehicle_id` = 40820, `vehicle_tax_id` = 501456, `invoice_id` = 615152, `transaction`.`updated_at` = '2025-07-04 10:28:26' where `id` = 642392;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 193 - 2025-07-04 10:28:26 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 194 - 2025-07-04 10:28:26 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 195 - 2025-07-04 10:28:26 [0.19ms] */
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/livewire/message/vehicle.view-vehicle-full-component
   Query 196 - 2025-07-04 10:28:26 [0.22ms] */
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 (12022, 2, 17355, null, 2, 6, 12, 34, 34, 'OPEN', null, null, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 197 - 2025-07-04 10:28:26 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642393, 'INITIATED', '2025-07-04 10:28:26', 5, 42, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 198 - 2025-07-04 10:28:26 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 199 - 2025-07-04 10:28:26 [0.19ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'KGK-40820-472', 17355, 100, 12022, 40820, 642393, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 200 - 2025-07-04 10:28:26 [0.18ms] */
select * from `vehicle_tax` where `id` = 501457 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 201 - 2025-07-04 10:28:26 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"KGK-40820-472","tax_sticker_id":null,"vehicle_id":17355,"term_id":100,"party_id":12022,"transaction_id":642393,"party_vehicle_id":40820,"exempt":"N","migration_id":null}}', 42, 'App\Models\User', 501457, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 202 - 2025-07-04 10:28:26 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 203 - 2025-07-04 10:28:26 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 204 - 2025-07-04 10:28:26 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 205 - 2025-07-04 10:28:26 [0.19ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 206 - 2025-07-04 10:28:26 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642393, '2024-09-01 00:00:00', '2024-09-01 00:00:00', 'OPEN', 12022, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 207 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `id` = 615153 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 208 - 2025-07-04 10:28:26 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":642393,"party_id":12022,"invoice_amount":"0.00","invoice_date":"2024-09-01 00:00:00","due_date":"2024-09-01 00:00:00","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}}', 42, 'App\Models\User', 615153, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 209 - 2025-07-04 10:28:26 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 24 HP', '24 HP Quarterly Tax', 1, 65.00, 65.00, 615153, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 210 - 2025-07-04 10:28:26 [0.17ms] */
select * from `invoice_item` where `id` = 1101976 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 211 - 2025-07-04 10:28:26 [0.17ms] */
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":"Quarterly TaxFee for 24 HP","description":"24 HP Quarterly Tax","unit_price":"65.00","quantity":1,"total_price":"65.00","invoice_id":615153}}', 42, 'App\Models\User', 1101976, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 212 - 2025-07-04 10:28:26 [0.17ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 615153, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 213 - 2025-07-04 10:28:26 [0.16ms] */
select * from `invoice_item` where `id` = 1101977 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 214 - 2025-07-04 10:28:26 [0.17ms] */
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 Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":615153}}', 42, 'App\Models\User', 1101977, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 215 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615153 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 216 - 2025-07-04 10:28:26 [0.23ms] */
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` = 615153 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 217 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 615153 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 218 - 2025-07-04 10:28:26 [0.19ms] */
update `invoice` set `invoice_amount` = 73, `outstanding_balance` = 73, `discounts` = 0, `total_invoice_amount` = 73, `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615153;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 219 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `id` = 615153 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 220 - 2025-07-04 10:28:26 [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":{"invoice_amount":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 42, 'App\Models\User', 615153, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 221 - 2025-07-04 10:28:26 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-633-615153229', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615153;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 222 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615153 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 223 - 2025-07-04 10:28:26 [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":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00","invoice_number":"INV-633-615153229","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 42, 'App\Models\User', 615153, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 224 - 2025-07-04 10:28:26 [0.18ms] */
update `transaction` set `party_vehicle_id` = 40820, `vehicle_tax_id` = 501457, `invoice_id` = 615153, `transaction`.`updated_at` = '2025-07-04 10:28:26' where `id` = 642393;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 225 - 2025-07-04 10:28:26 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 226 - 2025-07-04 10:28:26 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 227 - 2025-07-04 10:28:26 [0.2ms] */
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/livewire/message/vehicle.view-vehicle-full-component
   Query 228 - 2025-07-04 10:28:26 [0.23ms] */
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 (12022, 2, 17355, null, 2, 6, 12, 34, 34, 'OPEN', null, null, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 229 - 2025-07-04 10:28:26 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642394, 'INITIATED', '2025-07-04 10:28:26', 5, 42, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 230 - 2025-07-04 10:28:26 [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/livewire/message/vehicle.view-vehicle-full-component
   Query 231 - 2025-07-04 10:28:26 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 232 - 2025-07-04 10:28:26 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 233 - 2025-07-04 10:28:26 [0.21ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'PZG-40820-115', 17355, 103, 12022, 40820, 642394, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 234 - 2025-07-04 10:28:26 [0.17ms] */
select * from `vehicle_tax` where `id` = 501458 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 235 - 2025-07-04 10:28:26 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"PZG-40820-115","tax_sticker_id":null,"vehicle_id":17355,"term_id":103,"party_id":12022,"transaction_id":642394,"party_vehicle_id":40820,"exempt":"N","migration_id":null}}', 42, 'App\Models\User', 501458, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 236 - 2025-07-04 10:28:26 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 237 - 2025-07-04 10:28:26 [0.17ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 238 - 2025-07-04 10:28:26 [0.19ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 239 - 2025-07-04 10:28:26 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642394, '2024-12-01 00:00:00', '2024-12-01 00:00:00', 'OPEN', 12022, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 240 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615154 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 241 - 2025-07-04 10:28:26 [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":642394,"party_id":12022,"invoice_amount":"0.00","invoice_date":"2024-12-01 00:00:00","due_date":"2024-12-01 00:00:00","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}}', 42, 'App\Models\User', 615154, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 242 - 2025-07-04 10:28:26 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly Tax fee for 24 HP', 'Yearly Tax fee for 24 HP', 1, 98.00, 98.00, 615154, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 243 - 2025-07-04 10:28:26 [0.17ms] */
select * from `invoice_item` where `id` = 1101978 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 244 - 2025-07-04 10:28:26 [0.17ms] */
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":"Yearly Tax fee for 24 HP","description":"Yearly Tax fee for 24 HP","unit_price":"98.00","quantity":1,"total_price":"98.00","invoice_id":615154}}', 42, 'App\Models\User', 1101978, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 245 - 2025-07-04 10:28:26 [0.16ms] */
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 Yearly Tax', 'Service Fee for Yearly Tax', 1, 8.00, 8.00, 615154, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 246 - 2025-07-04 10:28:26 [0.16ms] */
select * from `invoice_item` where `id` = 1101979 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 247 - 2025-07-04 10:28:26 [0.26ms] */
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 Yearly Tax","description":"Service Fee for Yearly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":615154}}', 42, 'App\Models\User', 1101979, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 248 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615154 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 249 - 2025-07-04 10:28:26 [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` = 615154 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 250 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 615154 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 251 - 2025-07-04 10:28:26 [0.2ms] */
update `invoice` set `invoice_amount` = 106, `outstanding_balance` = 106, `discounts` = 0, `total_invoice_amount` = 106, `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615154;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 252 - 2025-07-04 10:28:26 [0.23ms] */
select * from `invoice` where `id` = 615154 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 253 - 2025-07-04 10:28:26 [0.36ms] */
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":"106.00","outstanding_balance":"106.00","discounts":"0.00","total_invoice_amount":"106.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 42, 'App\Models\User', 615154, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 254 - 2025-07-04 10:28:26 [0.34ms] */
update `invoice` set `invoice_number` = 'INV-836-615154789', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615154;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 255 - 2025-07-04 10:28:26 [0.35ms] */
select * from `invoice` where `id` = 615154 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 256 - 2025-07-04 10:28:26 [0.31ms] */
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":"106.00","outstanding_balance":"106.00","discounts":"0.00","total_invoice_amount":"106.00","invoice_number":"INV-836-615154789","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 42, 'App\Models\User', 615154, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 257 - 2025-07-04 10:28:26 [0.35ms] */
update `transaction` set `party_vehicle_id` = 40820, `vehicle_tax_id` = 501458, `invoice_id` = 615154, `transaction`.`updated_at` = '2025-07-04 10:28:26' where `id` = 642394;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 258 - 2025-07-04 10:28:26 [0.51ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 259 - 2025-07-04 10:28:26 [0.36ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 260 - 2025-07-04 10:28:26 [0.39ms] */
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/livewire/message/vehicle.view-vehicle-full-component
   Query 261 - 2025-07-04 10:28:26 [0.74ms] */
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 (12022, 2, 17355, null, 2, 6, 12, 34, 34, 'OPEN', null, null, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 262 - 2025-07-04 10:28:26 [0.38ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642395, 'INITIATED', '2025-07-04 10:28:26', 5, 42, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 263 - 2025-07-04 10:28:26 [0.44ms] */
select * from `term` where `year` = 2025 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 264 - 2025-07-04 10:28:26 [0.55ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'GO9-40820-329', 17355, 104, 12022, 40820, 642395, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 265 - 2025-07-04 10:28:26 [0.18ms] */
select * from `vehicle_tax` where `id` = 501459 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 266 - 2025-07-04 10:28:26 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"GO9-40820-329","tax_sticker_id":null,"vehicle_id":17355,"term_id":104,"party_id":12022,"transaction_id":642395,"party_vehicle_id":40820,"exempt":"N","migration_id":null}}', 42, 'App\Models\User', 501459, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 267 - 2025-07-04 10:28:26 [0.24ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 268 - 2025-07-04 10:28:26 [0.18ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 269 - 2025-07-04 10:28:26 [0.17ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 270 - 2025-07-04 10:28:26 [0.3ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 271 - 2025-07-04 10:28:26 [0.38ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642395, '2025-03-01 00:00:00', '2025-03-01 00:00:00', 'OPEN', 12022, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 272 - 2025-07-04 10:28:26 [0.37ms] */
select * from `invoice` where `id` = 615155 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 273 - 2025-07-04 10:28:26 [0.34ms] */
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":642395,"party_id":12022,"invoice_amount":"0.00","invoice_date":"2025-03-01 00:00:00","due_date":"2025-03-01 00:00:00","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}}', 42, 'App\Models\User', 615155, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 274 - 2025-07-04 10:28:26 [0.34ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 24 HP', '24 HP Quarterly Tax', 1, 65.00, 65.00, 615155, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 275 - 2025-07-04 10:28:26 [0.33ms] */
select * from `invoice_item` where `id` = 1101980 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 276 - 2025-07-04 10:28:26 [0.34ms] */
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":"Quarterly TaxFee for 24 HP","description":"24 HP Quarterly Tax","unit_price":"65.00","quantity":1,"total_price":"65.00","invoice_id":615155}}', 42, 'App\Models\User', 1101980, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 277 - 2025-07-04 10:28:26 [0.51ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 615155, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 278 - 2025-07-04 10:28:26 [0.33ms] */
select * from `invoice_item` where `id` = 1101981 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 279 - 2025-07-04 10:28:26 [0.39ms] */
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 Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":615155}}', 42, 'App\Models\User', 1101981, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 280 - 2025-07-04 10:28:26 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 615155 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 281 - 2025-07-04 10:28:26 [0.46ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 615155 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 282 - 2025-07-04 10:28:26 [0.39ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 615155 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 283 - 2025-07-04 10:28:26 [0.42ms] */
update `invoice` set `invoice_amount` = 73, `outstanding_balance` = 73, `discounts` = 0, `total_invoice_amount` = 73, `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615155;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 284 - 2025-07-04 10:28:26 [0.35ms] */
select * from `invoice` where `id` = 615155 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 285 - 2025-07-04 10:28:26 [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":{"invoice_amount":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 42, 'App\Models\User', 615155, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 286 - 2025-07-04 10:28:26 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-254-615155923', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615155;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 287 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615155 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 288 - 2025-07-04 10:28:26 [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":{"invoice_amount":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00","invoice_number":"INV-254-615155923","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 42, 'App\Models\User', 615155, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 289 - 2025-07-04 10:28:26 [0.18ms] */
update `transaction` set `party_vehicle_id` = 40820, `vehicle_tax_id` = 501459, `invoice_id` = 615155, `transaction`.`updated_at` = '2025-07-04 10:28:26' where `id` = 642395;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 290 - 2025-07-04 10:28:26 [0.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 291 - 2025-07-04 10:28:26 [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/livewire/message/vehicle.view-vehicle-full-component
   Query 292 - 2025-07-04 10:28:26 [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/livewire/message/vehicle.view-vehicle-full-component
   Query 293 - 2025-07-04 10:28:26 [0.26ms] */
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 (12022, 2, 17355, null, 2, 6, 12, 34, 34, 'OPEN', null, null, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 294 - 2025-07-04 10:28:26 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642396, 'INITIATED', '2025-07-04 10:28:26', 5, 42, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 295 - 2025-07-04 10:28:26 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 296 - 2025-07-04 10:28:26 [0.21ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '8KQ-40820-988', 17355, 105, 12022, 40820, 642396, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 297 - 2025-07-04 10:28:26 [0.17ms] */
select * from `vehicle_tax` where `id` = 501460 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 298 - 2025-07-04 10:28:26 [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":"OPEN","tax_number":"8KQ-40820-988","tax_sticker_id":null,"vehicle_id":17355,"term_id":105,"party_id":12022,"transaction_id":642396,"party_vehicle_id":40820,"exempt":"N","migration_id":null}}', 42, 'App\Models\User', 501460, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 299 - 2025-07-04 10:28:26 [0.25ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 300 - 2025-07-04 10:28:26 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 301 - 2025-07-04 10:28:26 [0.17ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 302 - 2025-07-04 10:28:26 [0.19ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 303 - 2025-07-04 10:28:26 [0.19ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642396, '2025-06-01 00:00:00', '2025-06-01 00:00:00', 'OPEN', 12022, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 304 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `id` = 615156 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 305 - 2025-07-04 10:28:26 [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":642396,"party_id":12022,"invoice_amount":"0.00","invoice_date":"2025-06-01 00:00:00","due_date":"2025-06-01 00:00:00","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}}', 42, 'App\Models\User', 615156, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 306 - 2025-07-04 10:28:26 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 24 HP', '24 HP Quarterly Tax', 1, 65.00, 65.00, 615156, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 307 - 2025-07-04 10:28:26 [0.17ms] */
select * from `invoice_item` where `id` = 1101982 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 308 - 2025-07-04 10:28:26 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 24 HP","description":"24 HP Quarterly Tax","unit_price":"65.00","quantity":1,"total_price":"65.00","invoice_id":615156}}', 42, 'App\Models\User', 1101982, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 309 - 2025-07-04 10:28:26 [0.16ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 615156, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 310 - 2025-07-04 10:28:26 [0.16ms] */
select * from `invoice_item` where `id` = 1101983 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 311 - 2025-07-04 10:28:26 [0.17ms] */
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 Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":615156}}', 42, 'App\Models\User', 1101983, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 312 - 2025-07-04 10:28:26 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 615156 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 313 - 2025-07-04 10:28:26 [0.23ms] */
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` = 615156 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 314 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 615156 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 315 - 2025-07-04 10:28:26 [0.19ms] */
update `invoice` set `invoice_amount` = 73, `outstanding_balance` = 73, `discounts` = 0, `total_invoice_amount` = 73, `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615156;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 316 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615156 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 317 - 2025-07-04 10:28:26 [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":{"invoice_amount":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 42, 'App\Models\User', 615156, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 318 - 2025-07-04 10:28:26 [0.2ms] */
update `invoice` set `invoice_number` = 'INV-427-615156804', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615156;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 319 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615156 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 320 - 2025-07-04 10:28:26 [0.27ms] */
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":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00","invoice_number":"INV-427-615156804","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 42, 'App\Models\User', 615156, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 321 - 2025-07-04 10:28:26 [0.18ms] */
update `transaction` set `party_vehicle_id` = 40820, `vehicle_tax_id` = 501460, `invoice_id` = 615156, `transaction`.`updated_at` = '2025-07-04 10:28:26' where `id` = 642396;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 322 - 2025-07-04 10:28:26 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 17355 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 323 - 2025-07-04 10:28:26 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 324 - 2025-07-04 10:28:26 [0.2ms] */
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/livewire/message/vehicle.view-vehicle-full-component
   Query 325 - 2025-07-04 10:28:26 [0.25ms] */
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 (12022, 2, 17355, null, 2, 6, 12, 34, 34, 'OPEN', null, null, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 326 - 2025-07-04 10:28:26 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642397, 'INITIATED', '2025-07-04 10:28:26', 5, 42, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 327 - 2025-07-04 10:28:26 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 328 - 2025-07-04 10:28:26 [0.22ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'SA1-40820-161', 17355, 106, 12022, 40820, 642397, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 329 - 2025-07-04 10:28:26 [0.17ms] */
select * from `vehicle_tax` where `id` = 501461 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 330 - 2025-07-04 10:28:26 [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":"OPEN","tax_number":"SA1-40820-161","tax_sticker_id":null,"vehicle_id":17355,"term_id":106,"party_id":12022,"transaction_id":642397,"party_vehicle_id":40820,"exempt":"N","migration_id":null}}', 42, 'App\Models\User', 501461, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 331 - 2025-07-04 10:28:26 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 332 - 2025-07-04 10:28:26 [0.55ms] */
(select * from `service_fee` where `sub_category_id` = 7 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 7 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 333 - 2025-07-04 10:28:26 [0.37ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 334 - 2025-07-04 10:28:26 [0.38ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 335 - 2025-07-04 10:28:26 [0.43ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642397, '2025-09-01 00:00:00', '2025-09-01 00:00:00', 'OPEN', 12022, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 336 - 2025-07-04 10:28:26 [0.39ms] */
select * from `invoice` where `id` = 615157 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 337 - 2025-07-04 10:28:26 [0.36ms] */
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":642397,"party_id":12022,"invoice_amount":"0.00","invoice_date":"2025-09-01 00:00:00","due_date":"2025-09-01 00:00:00","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}}', 42, 'App\Models\User', 615157, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 338 - 2025-07-04 10:28:26 [0.33ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 24 HP', '24 HP Quarterly Tax', 1, 65.00, 65.00, 615157, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 339 - 2025-07-04 10:28:26 [0.32ms] */
select * from `invoice_item` where `id` = 1101984 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 340 - 2025-07-04 10:28:26 [0.37ms] */
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":"Quarterly TaxFee for 24 HP","description":"24 HP Quarterly Tax","unit_price":"65.00","quantity":1,"total_price":"65.00","invoice_id":615157}}', 42, 'App\Models\User', 1101984, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 341 - 2025-07-04 10:28:26 [0.32ms] */
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 Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 615157, 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 342 - 2025-07-04 10:28:26 [0.31ms] */
select * from `invoice_item` where `id` = 1101985 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 343 - 2025-07-04 10:28:26 [0.36ms] */
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 Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":615157}}', 42, 'App\Models\User', 1101985, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 344 - 2025-07-04 10:28:26 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 615157 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 345 - 2025-07-04 10:28:26 [0.51ms] */
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` = 615157 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 346 - 2025-07-04 10:28:26 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 615157 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 347 - 2025-07-04 10:28:26 [0.2ms] */
update `invoice` set `invoice_amount` = 73, `outstanding_balance` = 73, `discounts` = 0, `total_invoice_amount` = 73, `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615157;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 348 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615157 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 349 - 2025-07-04 10:28:26 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 42, 'App\Models\User', 615157, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 350 - 2025-07-04 10:28:26 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-359-615157984', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615157;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 351 - 2025-07-04 10:28:26 [0.18ms] */
select * from `invoice` where `id` = 615157 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 352 - 2025-07-04 10:28:26 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"73.00","outstanding_balance":"73.00","discounts":"0.00","total_invoice_amount":"73.00","invoice_number":"INV-359-615157984","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 42, 'App\Models\User', 615157, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 353 - 2025-07-04 10:28:26 [0.19ms] */
update `transaction` set `party_vehicle_id` = 40820, `vehicle_tax_id` = 501461, `invoice_id` = 615157, `transaction`.`updated_at` = '2025-07-04 10:28:26' where `id` = 642397;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 354 - 2025-07-04 10:28:26 [0.15ms] */
select `id` from `term` where `year` < 2025 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 355 - 2025-07-04 10:28:26 [4.41ms] */
select * from `vehicle_tax` where `party_vehicle_id` = 40820 and `status` = 'OPEN' and `term_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, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 356 - 2025-07-04 10:28:26 [0.66ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 501452 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 357 - 2025-07-04 10:28:26 [3.56ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-07-04 10:28:26' where `id` = 501452;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 358 - 2025-07-04 10:28:26 [0.59ms] */
select * from `vehicle_tax` where `id` = 501452 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 359 - 2025-07-04 10:28:26 [3.24ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 42, 'App\Models\User', 501452, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 360 - 2025-07-04 10:28:26 [0.7ms] */
select * from `invoice` where `transaction_id` = 642388 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 361 - 2025-07-04 10:28:26 [3.24ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615148;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 362 - 2025-07-04 10:28:26 [0.51ms] */
select * from `invoice` where `id` = 615148 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 363 - 2025-07-04 10:28:26 [3.73ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 42, 'App\Models\User', 615148, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 364 - 2025-07-04 10:28:26 [0.31ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 501453 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 365 - 2025-07-04 10:28:26 [3.85ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-07-04 10:28:26' where `id` = 501453;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 366 - 2025-07-04 10:28:26 [0.46ms] */
select * from `vehicle_tax` where `id` = 501453 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 367 - 2025-07-04 10:28:26 [3.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 42, 'App\Models\User', 501453, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 368 - 2025-07-04 10:28:26 [0.52ms] */
select * from `invoice` where `transaction_id` = 642389 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 369 - 2025-07-04 10:28:26 [3.2ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615149;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 370 - 2025-07-04 10:28:26 [0.48ms] */
select * from `invoice` where `id` = 615149 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 371 - 2025-07-04 10:28:26 [3.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 42, 'App\Models\User', 615149, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 372 - 2025-07-04 10:28:26 [0.47ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 501454 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 373 - 2025-07-04 10:28:26 [3.31ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-07-04 10:28:26' where `id` = 501454;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 374 - 2025-07-04 10:28:26 [0.71ms] */
select * from `vehicle_tax` where `id` = 501454 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 375 - 2025-07-04 10:28:26 [3.38ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 42, 'App\Models\User', 501454, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 376 - 2025-07-04 10:28:26 [0.59ms] */
select * from `invoice` where `transaction_id` = 642390 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 377 - 2025-07-04 10:28:26 [3.12ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615150;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 378 - 2025-07-04 10:28:26 [0.48ms] */
select * from `invoice` where `id` = 615150 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 379 - 2025-07-04 10:28:26 [3.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 42, 'App\Models\User', 615150, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 380 - 2025-07-04 10:28:26 [0.47ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 501455 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 381 - 2025-07-04 10:28:26 [3.23ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-07-04 10:28:26' where `id` = 501455;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 382 - 2025-07-04 10:28:26 [0.46ms] */
select * from `vehicle_tax` where `id` = 501455 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 383 - 2025-07-04 10:28:26 [3.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 42, 'App\Models\User', 501455, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 384 - 2025-07-04 10:28:26 [0.53ms] */
select * from `invoice` where `transaction_id` = 642391 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 385 - 2025-07-04 10:28:26 [2.95ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615151;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 386 - 2025-07-04 10:28:26 [0.47ms] */
select * from `invoice` where `id` = 615151 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 387 - 2025-07-04 10:28:26 [3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 42, 'App\Models\User', 615151, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 388 - 2025-07-04 10:28:26 [0.47ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 501456 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 389 - 2025-07-04 10:28:26 [3.04ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-07-04 10:28:26' where `id` = 501456;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 390 - 2025-07-04 10:28:26 [0.46ms] */
select * from `vehicle_tax` where `id` = 501456 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 391 - 2025-07-04 10:28:26 [3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 42, 'App\Models\User', 501456, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 392 - 2025-07-04 10:28:26 [0.51ms] */
select * from `invoice` where `transaction_id` = 642392 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 393 - 2025-07-04 10:28:26 [3.28ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615152;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 394 - 2025-07-04 10:28:26 [0.47ms] */
select * from `invoice` where `id` = 615152 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 395 - 2025-07-04 10:28:26 [3.37ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 42, 'App\Models\User', 615152, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 396 - 2025-07-04 10:28:26 [0.5ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 501457 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 397 - 2025-07-04 10:28:26 [3.11ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-07-04 10:28:26' where `id` = 501457;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 398 - 2025-07-04 10:28:26 [0.49ms] */
select * from `vehicle_tax` where `id` = 501457 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 399 - 2025-07-04 10:28:26 [2.98ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 42, 'App\Models\User', 501457, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 400 - 2025-07-04 10:28:26 [0.54ms] */
select * from `invoice` where `transaction_id` = 642393 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 401 - 2025-07-04 10:28:26 [4.72ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-07-04 10:28:26' where `id` = 615153;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 402 - 2025-07-04 10:28:26 [0.47ms] */
select * from `invoice` where `id` = 615153 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 403 - 2025-07-04 10:28:26 [3.01ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 42, 'App\Models\User', 615153, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 404 - 2025-07-04 10:28:26 [28.02ms] */
select * from `discount` where `vehicle_tax` = 501452 and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 405 - 2025-07-04 10:28:26 [2.91ms] */
insert into `discount` (`description`, `service_id`, `vehicle_tax`, `vehicle_id`, `party_id`, `expiry_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Exempt Before 2025 Taxes', 2, '[501452,501453,501454,501455,501456,501457]', 17355, 12022, '2025-09-01 10:28:26', 42, 42, '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 406 - 2025-07-04 10:28:26 [0.31ms] */
select * from `discount` where `id` = 27077 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 407 - 2025-07-04 10:28:26 [2.89ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('discount', '{"attributes":{"description":"Exempt Before 2025 Taxes","percentage":null,"vehicle_id":17355,"amount":null,"expiry_date":"2025-09-01 10:28:26","party_id":12022,"service_id":2,"vehicle_tax":[501452,501453,501454,501455,501456,501457],"party_vehicle_id":null}}', 42, 'App\Models\User', 27077, 'Modules\Transaction\Entities\Discount', 'created', '2025-07-04 10:28:26', '2025-07-04 10:28:26');
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 1 - 2025-07-04 10:28:26 [2.07ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 2 - 2025-07-04 10:28:26 [0.58ms] */
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/vehicle/17355
   Query 3 - 2025-07-04 10:28:26 [0.34ms] */
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/vehicle/17355
   Query 4 - 2025-07-04 10:28:26 [0.41ms] */
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/vehicle/17355
   Query 5 - 2025-07-04 10:28:27 [0.21ms] */
select * from `vehicle` where `id` = 17355 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 6 - 2025-07-04 10:28:27 [0.16ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 17355 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 7 - 2025-07-04 10:28:27 [0.15ms] */
select * from `vehicle` where `id` = 17355 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 8 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 17355 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 9 - 2025-07-04 10:28:27 [0.24ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 10 - 2025-07-04 10:28:27 [0.13ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 11 - 2025-07-04 10:28:27 [0.15ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 12 - 2025-07-04 10:28:27 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 13 - 2025-07-04 10:28:27 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 14 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 17355 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 15 - 2025-07-04 10:28:27 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 16 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 14 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 17 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 18 - 2025-07-04 10:28:27 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 19 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 17355 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 20 - 2025-07-04 10:28:27 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 21 - 2025-07-04 10:28:27 [0.14ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 22 - 2025-07-04 10:28:27 [0.15ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 23 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 24 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 25 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 26 - 2025-07-04 10:28:27 [0.16ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 27 - 2025-07-04 10:28:27 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 40820 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 28 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 29 - 2025-07-04 10:28:27 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 30 - 2025-07-04 10:28:27 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 31 - 2025-07-04 10:28:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 32 - 2025-07-04 10:28:27 [0.56ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 17355 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 33 - 2025-07-04 10:28:27 [0.14ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 34 - 2025-07-04 10:28:27 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 35 - 2025-07-04 10:28:27 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 36 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 37 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 38 - 2025-07-04 10:28:27 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 92811 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 39 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 40 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 41 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 42 - 2025-07-04 10:28:27 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 43 - 2025-07-04 10:28:27 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 44 - 2025-07-04 10:28:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 45 - 2025-07-04 10:28:27 [0.13ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 46 - 2025-07-04 10:28:27 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 47 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 48 - 2025-07-04 10:28:27 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 49 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 50 - 2025-07-04 10:28:27 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 92812 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 51 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 52 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 53 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 54 - 2025-07-04 10:28:27 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 55 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 56 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 57 - 2025-07-04 10:28:27 [0.14ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 58 - 2025-07-04 10:28:27 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 59 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 60 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 61 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 62 - 2025-07-04 10:28:27 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 642388 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 63 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 64 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 65 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 66 - 2025-07-04 10:28:27 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 67 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 68 - 2025-07-04 10:28:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 69 - 2025-07-04 10:28:27 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 70 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 71 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 72 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 73 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 74 - 2025-07-04 10:28:27 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 642389 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 75 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 76 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 77 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 78 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 79 - 2025-07-04 10:28:27 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 80 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 81 - 2025-07-04 10:28:27 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 82 - 2025-07-04 10:28:27 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 83 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 84 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 85 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 86 - 2025-07-04 10:28:27 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 642390 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 87 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 88 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 89 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 90 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 91 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 92 - 2025-07-04 10:28:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 93 - 2025-07-04 10:28:27 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 94 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 95 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 96 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 97 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 98 - 2025-07-04 10:28:27 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 642391 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 99 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 100 - 2025-07-04 10:28:27 [0.14ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 101 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 102 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 103 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 104 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 105 - 2025-07-04 10:28:27 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 106 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 107 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 108 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 109 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 110 - 2025-07-04 10:28:27 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 642392 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 111 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 112 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 113 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 114 - 2025-07-04 10:28:27 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 115 - 2025-07-04 10:28:27 [0.29ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 116 - 2025-07-04 10:28:27 [0.24ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 117 - 2025-07-04 10:28:27 [0.26ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 118 - 2025-07-04 10:28:27 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 119 - 2025-07-04 10:28:27 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 120 - 2025-07-04 10:28:27 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 121 - 2025-07-04 10:28:27 [0.29ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 122 - 2025-07-04 10:28:27 [0.54ms] */
select * from `transaction` where `transaction`.`id` = 642393 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 123 - 2025-07-04 10:28:27 [0.21ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 124 - 2025-07-04 10:28:27 [0.23ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 125 - 2025-07-04 10:28:27 [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): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 126 - 2025-07-04 10:28:27 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 127 - 2025-07-04 10:28:27 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 128 - 2025-07-04 10:28:27 [0.2ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 129 - 2025-07-04 10:28:27 [0.21ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 130 - 2025-07-04 10:28:27 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 131 - 2025-07-04 10:28:27 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 132 - 2025-07-04 10:28:27 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 133 - 2025-07-04 10:28:27 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 134 - 2025-07-04 10:28:27 [0.54ms] */
select * from `transaction` where `transaction`.`id` = 642394 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 135 - 2025-07-04 10:28:27 [0.23ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 136 - 2025-07-04 10:28:27 [0.23ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 137 - 2025-07-04 10:28:27 [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): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 138 - 2025-07-04 10:28:27 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 139 - 2025-07-04 10:28:27 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 140 - 2025-07-04 10:28:27 [0.19ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 141 - 2025-07-04 10:28:27 [0.21ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 142 - 2025-07-04 10:28:27 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 143 - 2025-07-04 10:28:27 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 144 - 2025-07-04 10:28:27 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 145 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 146 - 2025-07-04 10:28:27 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 642395 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 147 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 148 - 2025-07-04 10:28:27 [0.14ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 149 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 150 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 151 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 152 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 153 - 2025-07-04 10:28:27 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 154 - 2025-07-04 10:28:27 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 155 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 156 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 157 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 158 - 2025-07-04 10:28:27 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 642396 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 159 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 160 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 161 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 162 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 163 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 164 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 165 - 2025-07-04 10:28:27 [0.14ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 166 - 2025-07-04 10:28:27 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 167 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 168 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 169 - 2025-07-04 10:28:27 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 170 - 2025-07-04 10:28:27 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 642397 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 171 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 172 - 2025-07-04 10:28:27 [0.14ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 173 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 174 - 2025-07-04 10:28:27 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 175 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 176 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 177 - 2025-07-04 10:28:27 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 178 - 2025-07-04 10:28:27 [0.4ms] */
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/vehicle/17355
   Query 179 - 2025-07-04 10:28:27 [0.16ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 42 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 180 - 2025-07-04 10:28:27 [0.46ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 17355 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 181 - 2025-07-04 10:28:27 [0.51ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 17355 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 182 - 2025-07-04 10:28:27 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 183 - 2025-07-04 10:28:27 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 184 - 2025-07-04 10:28:27 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 185 - 2025-07-04 10:28:27 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 186 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 187 - 2025-07-04 10:28:27 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 188 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 189 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 190 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 191 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 192 - 2025-07-04 10:28:27 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 193 - 2025-07-04 10:28:27 [0.14ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 194 - 2025-07-04 10:28:27 [0.4ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 642389 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 195 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 196 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 197 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 198 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 199 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 200 - 2025-07-04 10:28:27 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 201 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 202 - 2025-07-04 10:28:27 [0.14ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 203 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 204 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 205 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 206 - 2025-07-04 10:28:27 [0.13ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 207 - 2025-07-04 10:28:27 [0.39ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 642390 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 208 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 209 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 210 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 211 - 2025-07-04 10:28:27 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 212 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 213 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 214 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 215 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 216 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 217 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 218 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 219 - 2025-07-04 10:28:27 [0.13ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 220 - 2025-07-04 10:28:27 [0.34ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 642391 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 221 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 222 - 2025-07-04 10:28:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 223 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 224 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 225 - 2025-07-04 10:28:27 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 226 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 227 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 228 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 229 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 230 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 231 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 232 - 2025-07-04 10:28:27 [0.14ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 233 - 2025-07-04 10:28:27 [0.35ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 642392 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 234 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 235 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 236 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 237 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 238 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 239 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 240 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 241 - 2025-07-04 10:28:27 [0.14ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 242 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 243 - 2025-07-04 10:28:27 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 244 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 245 - 2025-07-04 10:28:27 [0.14ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 246 - 2025-07-04 10:28:27 [0.34ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 642393 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 247 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 248 - 2025-07-04 10:28:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 249 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 250 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 251 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 252 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 253 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 254 - 2025-07-04 10:28:27 [0.14ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 255 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 256 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 257 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 258 - 2025-07-04 10:28:27 [0.13ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 259 - 2025-07-04 10:28:27 [0.35ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 642394 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 260 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 261 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 262 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 263 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 264 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 265 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 266 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 267 - 2025-07-04 10:28:27 [0.14ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 268 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 269 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 270 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 271 - 2025-07-04 10:28:27 [0.13ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 272 - 2025-07-04 10:28:27 [0.36ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 642395 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 273 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 274 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 275 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 276 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 277 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 278 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 279 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 280 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 281 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 282 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 283 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 284 - 2025-07-04 10:28:27 [0.13ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 285 - 2025-07-04 10:28:27 [0.34ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 642396 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 286 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 287 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 288 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 289 - 2025-07-04 10:28:27 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 290 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 291 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 292 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 293 - 2025-07-04 10:28:27 [0.14ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 294 - 2025-07-04 10:28:27 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 295 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 296 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 297 - 2025-07-04 10:28:27 [0.14ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 298 - 2025-07-04 10:28:27 [0.36ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 642397 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 299 - 2025-07-04 10:28:27 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 300 - 2025-07-04 10:28:27 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 301 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 302 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 303 - 2025-07-04 10:28:27 [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/vehicle/17355
   Query 304 - 2025-07-04 10:28:27 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17355 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 305 - 2025-07-04 10:28:27 [0.13ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 306 - 2025-07-04 10:28:27 [0.15ms] */
select * from `person` where `person`.`id` = 12022 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 307 - 2025-07-04 10:28:27 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 40820 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 308 - 2025-07-04 10:28:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 309 - 2025-07-04 10:28:27 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 310 - 2025-07-04 10:28:27 [0.13ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 311 - 2025-07-04 10:28:27 [0.34ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 642388 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 312 - 2025-07-04 10:28:27 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 313 - 2025-07-04 10:28:27 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 314 - 2025-07-04 10:28:27 [0.14ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 17355 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 315 - 2025-07-04 10:28:27 [0.13ms] */
select * from `title_reprint_history` where `vehicle_id` = 17355 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 316 - 2025-07-04 10:28:27 [0.17ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/17355
   Query 317 - 2025-07-04 10:28:27 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-07-04 10:28:30 [2.26ms] */
select * from `users` where `email` = 'mahmed.hassan@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=17355&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-07-04 10:28:30 [1.33ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=17355&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-07-04 10:28:30 [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/audit-details?audit_ids=17355&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-07-04 10:28:30 [0.32ms] */
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/audit-details?audit_ids=17355&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-07-04 10:28:30 [0.42ms] */
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/audit-details?audit_ids=17355&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-07-04 10:28:30 [0.19ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 17355 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-07-04 10:28:33 [1.33ms] */
select * from `users` where `email` = 'mahmed.hassan@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-07-04 10:28:48 [1.64ms] */
select * from `users` where `email` = 'mahmed.hassan@puntalndgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-07-04 10:29:01 [3.07ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-07-04 10:29:01 [0.32ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-07-04 10:29:01 [0.33ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-07-04 10:29:01 [0.28ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-07-04 10:29:01 [0.21ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-07-04 10:29:01 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-07-04 10:29:01 [1.15ms] */
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` = 'QT536' 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-07-04 10:29:01 [0.22ms] */
select * from `party` where `party`.`id` = 39617 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-07-04 10:29:01 [0.22ms] */
select * from `vehicle` where `id` = 75303 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-07-04 10:29:01 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 75303 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-07-04 10:29:02 [1.31ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-07-04 10:29:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-07-04 10:29:02 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-07-04 10:29:02 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-07-04 10:29:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-07-04 10:29:02 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-07-04 10:29:02 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 75303 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-07-04 10:29:02 [0.22ms] */
select * from `vehicle` where `id` = 75303 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-07-04 10:29:02 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 75303 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-07-04 10:29:02 [1.03ms] */
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` = 75303 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-07-04 10:29:02 [1.25ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-07-04 10:29:02 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-07-04 10:29:02 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-07-04 10:29:02 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-07-04 10:29:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-07-04 10:29:02 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-07-04 10:29:02 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 10:29:02 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 10:29:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 10:29:02 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 10:29:02 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 10:29:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 10:29:02 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 10:29:02 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-07-04 10:29:10 [2.49ms] */
select * from `users` where `email` = 'mahamed.hassan@puntalndgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-07-04 10:29:19 [1.29ms] */
select * from `users` where `email` = 'mahamed.hassan@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-07-04 10:29:32 [1.32ms] */
select * from `users` where `email` = 'mahamed.hassan@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-07-04 10:29:32 [0.16ms] */
select * from `users` where `id` = 156 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-07-04 10:29:32 [0.43ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 156 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-07-04 10:29:32 [11.16ms] */
update `userprofiles` set `login_count` = 51, `last_login` = '2025-07-04 10:29:32', `userprofiles`.`updated_at` = '2025-07-04 10:29:32' where `id` = 156;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-07-04 10:29:32 [0.31ms] */
select * from `users` where `email` = 'mahamed.hassan@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-07-04 10:29:32 [0.67ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-07-04 10:29:32 [0.29ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (156) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-07-04 10:29:32 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-07-04 10:29:32 [0.11ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-07-04 10:29:32 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-07-04 10:29:32 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-07-04 10:29:32 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-07-04 10:29:32 [3.25ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6', 156, 5, '[]', 0, '2025-07-04 10:29:32', '2025-07-04 10:29:32', '2026-07-04 10:29:32');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-07-04 10:29:32 [0.35ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-07-04 10:29:32 [3.07ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-07-04 10:29:47 [1.51ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-07-04 10:29:47 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-07-04 10:29:47 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-07-04 10:29:47 [0.17ms] */
select * from `users` where `id` = 156 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-07-04 10:29:47 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-07-04 10:29:47 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-07-04 10:29:47 [0.89ms] */
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` = 'KF185' 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-07-04 10:29:47 [0.33ms] */
select * from `party` where `party`.`id` = 55416 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-07-04 10:29:47 [0.32ms] */
select * from `vehicle` where `id` = 88557 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-07-04 10:29:47 [0.42ms] */
select * from `party_vehicle` where `vehicle_id` = 88557 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-07-04 10:29:47 [1.99ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-07-04 10:29:47 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-07-04 10:29:47 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-07-04 10:29:47 [0.31ms] */
select * from `users` where `id` = 156 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-07-04 10:29:47 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-07-04 10:29:47 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-07-04 10:29:47 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 88557 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-07-04 10:29:47 [0.22ms] */
select * from `vehicle` where `id` = 88557 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-07-04 10:29:47 [0.32ms] */
select * from `party_vehicle` where `vehicle_id` = 88557 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-07-04 10:29:47 [0.64ms] */
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` = 88557 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-07-04 10:29:48 [1.26ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-07-04 10:29:48 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-07-04 10:29:48 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-07-04 10:29:48 [0.16ms] */
select * from `users` where `id` = 156 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-07-04 10:29:48 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-07-04 10:29:48 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-07-04 10:29:48 [0.26ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 10:29:48 [1.26ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 10:29:48 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 10:29:48 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 10:29:48 [0.16ms] */
select * from `users` where `id` = 156 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 10:29:48 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '7c20b823dcd00e8319808cf3d570e7c3fe349a17d384482138cf2684fad290a02f7138897d2bb3c6' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 10:29:48 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 10:29:48 [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/vehicle.select-vehicle-component
   Query 1 - 2025-07-04 10:30:30 [1.4ms] */
select * from `users` where `id` = 64 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-07-04 10:30:30 [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.select-vehicle-component
   Query 3 - 2025-07-04 10:30:30 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-07-04 10:30:30 [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.select-vehicle-component
   Query 5 - 2025-07-04 10:30:30 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-07-04 10:30:30 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-07-04 10:30:30 [118.65ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%28170%' or `vin` like '%28170%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-07-04 10:30:30 [135.64ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%28170%' or `vin` like '%28170%') and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-07-04 10:30:30 [0.21ms] */
select * from `model` where `model`.`id` in (1, 1367) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-07-04 10:30:30 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 14) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-07-04 10:30:30 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-07-04 10:30:30 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 2) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-07-04 10:30:30 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 7) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-07-04 10:30:30 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (8163, 17355, 50372) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-07-04 10:30:30 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-07-04 10:30:30 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-07-04 10:30:30 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-07-04 10:30:30 [0.14ms] */
select * from `party` where `party`.`id` = 4719 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-07-04 10:30:30 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-07-04 10:30:30 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-07-04 10:30:30 [0.14ms] */
select * from `party` where `party`.`id` = 28552 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-07-04 10:30:30 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 23 - 2025-07-04 10:30:30 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 24 - 2025-07-04 10:30:30 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 25 - 2025-07-04 10:30:30 [0.15ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-07-04 10:30:33 [1.33ms] */
select * from `users` where `id` = 64 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-07-04 10:30:33 [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.select-vehicle-component
   Query 3 - 2025-07-04 10:30:33 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-07-04 10:30:33 [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/vehicle.select-vehicle-component
   Query 5 - 2025-07-04 10:30:33 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-07-04 10:30:33 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-07-04 10:30:33 [0.19ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%28170%' or `vin` like '%28170%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-07-04 10:30:33 [0.18ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%28170%' or `vin` like '%28170%') and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-07-04 10:30:33 [0.15ms] */
select * from `model` where `model`.`id` in (1, 1367) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-07-04 10:30:33 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 14) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-07-04 10:30:33 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-07-04 10:30:33 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 2) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-07-04 10:30:33 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 7) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-07-04 10:30:33 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (8163, 17355, 50372) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-07-04 10:30:33 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-07-04 10:30:33 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-07-04 10:30:33 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-07-04 10:30:33 [0.15ms] */
select * from `party` where `party`.`id` = 4719 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-07-04 10:30:33 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-07-04 10:30:33 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-07-04 10:30:33 [0.31ms] */
select * from `party` where `party`.`id` = 28552 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-07-04 10:30:33 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 23 - 2025-07-04 10:30:33 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 24 - 2025-07-04 10:30:33 [0.25ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 25 - 2025-07-04 10:30:33 [0.26ms] */
select * from `party` where `party`.`id` = 12022 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-07-04 10:30:37 [2.36ms] */
select * from `users` where `id` = 64 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-07-04 10:30:37 [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/vehicle.select-vehicle-component
   Query 3 - 2025-07-04 10:30:37 [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/vehicle.select-vehicle-component
   Query 4 - 2025-07-04 10:30:37 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 5 - 2025-07-04 10:30:37 [0.45ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-07-04 10:30:37 [0.45ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-07-04 10:30:37 [117.35ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%2817%' or `vin` like '%2817%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-07-04 10:30:37 [24.32ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%2817%' or `vin` like '%2817%') and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-07-04 10:30:37 [0.19ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-07-04 10:30:37 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-07-04 10:30:37 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-07-04 10:30:37 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-07-04 10:30:37 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` in (1) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-07-04 10:30:37 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (1147, 7274, 8163, 16152, 16807, 17642) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-07-04 10:30:37 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-07-04 10:30:37 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-07-04 10:30:37 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-07-04 10:30:37 [0.14ms] */
select * from `party` where `party`.`id` = 4719 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-07-04 10:30:37 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-07-04 10:30:37 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-07-04 10:30:37 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 1147 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-07-04 10:30:37 [0.14ms] */
select * from `party` where `party`.`id` = 56281 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 23 - 2025-07-04 10:30:37 [0.14ms] */
select * from `company` where `company`.`id` = 568 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 24 - 2025-07-04 10:30:37 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 25 - 2025-07-04 10:30:37 [0.14ms] */
select * from `party` where `party`.`id` = 56281 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 26 - 2025-07-04 10:30:37 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 27 - 2025-07-04 10:30:37 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 28 - 2025-07-04 10:30:37 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 7274 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 29 - 2025-07-04 10:30:37 [0.14ms] */
select * from `party` where `party`.`id` = 3942 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 30 - 2025-07-04 10:30:37 [0.15ms] */
select * from `person` where `person`.`id` = 3942 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 31 - 2025-07-04 10:30:37 [0.35ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 32 - 2025-07-04 10:30:37 [0.29ms] */
select * from `party` where `party`.`id` = 3942 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 33 - 2025-07-04 10:30:37 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 34 - 2025-07-04 10:30:37 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 35 - 2025-07-04 10:30:37 [0.31ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 16152 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 36 - 2025-07-04 10:30:37 [0.27ms] */
select * from `party` where `party`.`id` = 11194 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 37 - 2025-07-04 10:30:37 [0.29ms] */
select * from `person` where `person`.`id` = 11194 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 38 - 2025-07-04 10:30:37 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 39 - 2025-07-04 10:30:37 [0.28ms] */
select * from `party` where `party`.`id` = 11194 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 40 - 2025-07-04 10:30:37 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 41 - 2025-07-04 10:30:37 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 42 - 2025-07-04 10:30:37 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 16807 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 43 - 2025-07-04 10:30:37 [0.27ms] */
select * from `party` where `party`.`id` = 11674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 44 - 2025-07-04 10:30:37 [0.32ms] */
select * from `person` where `person`.`id` = 11674 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 45 - 2025-07-04 10:30:37 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 46 - 2025-07-04 10:30:37 [0.14ms] */
select * from `party` where `party`.`id` = 11674 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 47 - 2025-07-04 10:30:37 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 48 - 2025-07-04 10:30:37 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 49 - 2025-07-04 10:30:37 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 17642 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 50 - 2025-07-04 10:30:37 [0.16ms] */
select * from `party` where `party`.`id` = 12222 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 51 - 2025-07-04 10:30:37 [0.14ms] */
select * from `person` where `person`.`id` = 12222 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 52 - 2025-07-04 10:30:37 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 53 - 2025-07-04 10:30:37 [0.14ms] */
select * from `party` where `party`.`id` = 12222 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-07-04 10:30:38 [1.32ms] */
select * from `users` where `id` = 64 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-07-04 10:30:38 [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/vehicle.select-vehicle-component
   Query 3 - 2025-07-04 10:30: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/vehicle.select-vehicle-component
   Query 4 - 2025-07-04 10:30:38 [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.select-vehicle-component
   Query 5 - 2025-07-04 10:30:38 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-07-04 10:30:38 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-07-04 10:30:39 [1.32ms] */
select * from `users` where `id` = 64 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-07-04 10:30:39 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 3 - 2025-07-04 10:30: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/vehicle.select-vehicle-component
   Query 4 - 2025-07-04 10:30:39 [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.select-vehicle-component
   Query 5 - 2025-07-04 10:30:39 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-07-04 10:30:39 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-07-04 10:30:39 [143.15ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%o%' or `vin` like '%o%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-07-04 10:30:39 [1.7ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%o%' or `vin` like '%o%') and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-07-04 10:30:39 [0.15ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-07-04 10:30:39 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-07-04 10:30:39 [0.12ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-07-04 10:30:39 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-07-04 10:30:39 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` in (1) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-07-04 10:30:39 [0.58ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (3263, 7300, 7538, 7574, 8175, 8220) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-07-04 10:30:39 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-07-04 10:30:39 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-07-04 10:30:39 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-07-04 10:30:39 [0.35ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 8220 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-07-04 10:30:39 [0.33ms] */
select * from `party` where `party`.`id` = 4777 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-07-04 10:30:39 [0.69ms] */
select * from `person` where `person`.`id` = 4777 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-07-04 10:30:39 [0.28ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-07-04 10:30:39 [0.31ms] */
select * from `party` where `party`.`id` = 4777 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 23 - 2025-07-04 10:30:39 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 24 - 2025-07-04 10:30:39 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 25 - 2025-07-04 10:30:39 [0.52ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 7574 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 26 - 2025-07-04 10:30:39 [0.47ms] */
select * from `party` where `party`.`id` = 4191 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 27 - 2025-07-04 10:30:39 [0.37ms] */
select * from `person` where `person`.`id` = 4191 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 28 - 2025-07-04 10:30:39 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 29 - 2025-07-04 10:30:39 [0.22ms] */
select * from `party` where `party`.`id` = 4191 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 30 - 2025-07-04 10:30:39 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 31 - 2025-07-04 10:30:39 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 32 - 2025-07-04 10:30:39 [0.4ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 7538 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 33 - 2025-07-04 10:30:39 [0.32ms] */
select * from `party` where `party`.`id` = 4162 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 34 - 2025-07-04 10:30:39 [0.36ms] */
select * from `person` where `person`.`id` = 4162 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 35 - 2025-07-04 10:30:39 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 36 - 2025-07-04 10:30:39 [0.24ms] */
select * from `party` where `party`.`id` = 4162 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 37 - 2025-07-04 10:30:39 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 38 - 2025-07-04 10:30:39 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 39 - 2025-07-04 10:30:39 [0.39ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 8175 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 40 - 2025-07-04 10:30:39 [0.32ms] */
select * from `party` where `party`.`id` = 4729 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 41 - 2025-07-04 10:30:39 [0.37ms] */
select * from `person` where `person`.`id` = 4729 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 42 - 2025-07-04 10:30:39 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 43 - 2025-07-04 10:30:39 [0.14ms] */
select * from `party` where `party`.`id` = 4729 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 44 - 2025-07-04 10:30:39 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 45 - 2025-07-04 10:30:39 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 46 - 2025-07-04 10:30:39 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 3263 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 47 - 2025-07-04 10:30:39 [0.22ms] */
select * from `party` where `party`.`id` = 595 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 48 - 2025-07-04 10:30:39 [0.23ms] */
select * from `person` where `person`.`id` = 595 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 49 - 2025-07-04 10:30:39 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 50 - 2025-07-04 10:30:39 [0.15ms] */
select * from `party` where `party`.`id` = 595 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 51 - 2025-07-04 10:30:39 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 52 - 2025-07-04 10:30:39 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 53 - 2025-07-04 10:30:39 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 7300 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 54 - 2025-07-04 10:30:39 [0.22ms] */
select * from `party` where `party`.`id` = 3967 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 55 - 2025-07-04 10:30:39 [0.24ms] */
select * from `person` where `person`.`id` = 3967 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 56 - 2025-07-04 10:30:39 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 57 - 2025-07-04 10:30:39 [0.14ms] */
select * from `party` where `party`.`id` = 3967 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 1 - 2025-07-04 10:30:40 [1.99ms] */
select * from `users` where `id` = 64 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 2 - 2025-07-04 10:30:40 [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.select-vehicle-component
   Query 3 - 2025-07-04 10:30:40 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 4 - 2025-07-04 10:30:40 [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.select-vehicle-component
   Query 5 - 2025-07-04 10:30:40 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 6 - 2025-07-04 10:30:40 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-07-04 10:30:40 [110.37ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%ou%' or `vin` like '%ou%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-07-04 10:30:40 [61.52ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `vehicle`.`provisional` = 'Y' and (`license_plate` like '%ou%' or `vin` like '%ou%') and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 9 - 2025-07-04 10:30:40 [0.2ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 10 - 2025-07-04 10:30:40 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 11 - 2025-07-04 10:30:40 [0.12ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 12 - 2025-07-04 10:30:40 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 13 - 2025-07-04 10:30:40 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` in (1) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 14 - 2025-07-04 10:30:40 [0.42ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (1414, 9920, 17418, 32827, 35937, 38934) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 15 - 2025-07-04 10:30:40 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 16 - 2025-07-04 10:30:40 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 17 - 2025-07-04 10:30:40 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 18 - 2025-07-04 10:30:40 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 9920 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 19 - 2025-07-04 10:30:40 [0.24ms] */
select * from `party` where `party`.`id` = 6128 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 20 - 2025-07-04 10:30:40 [0.24ms] */
select * from `person` where `person`.`id` = 6128 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 21 - 2025-07-04 10:30:40 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 22 - 2025-07-04 10:30:40 [0.14ms] */
select * from `party` where `party`.`id` = 6128 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 23 - 2025-07-04 10:30:40 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 24 - 2025-07-04 10:30:40 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 25 - 2025-07-04 10:30:40 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 1414 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 26 - 2025-07-04 10:30:40 [0.22ms] */
select * from `party` where `party`.`id` = 36694 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 27 - 2025-07-04 10:30:40 [0.23ms] */
select * from `person` where `person`.`id` = 36694 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 28 - 2025-07-04 10:30:40 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 29 - 2025-07-04 10:30:40 [0.13ms] */
select * from `party` where `party`.`id` = 36694 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 30 - 2025-07-04 10:30:40 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 31 - 2025-07-04 10:30:40 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 32 - 2025-07-04 10:30:40 [0.45ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 32827 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 33 - 2025-07-04 10:30:40 [0.21ms] */
select * from `party` where `party`.`id` = 23899 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 34 - 2025-07-04 10:30:40 [0.68ms] */
select * from `person` where `person`.`id` = 23899 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 35 - 2025-07-04 10:30:40 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 36 - 2025-07-04 10:30:40 [0.27ms] */
select * from `party` where `party`.`id` = 23899 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 37 - 2025-07-04 10:30:40 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 38 - 2025-07-04 10:30:40 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 39 - 2025-07-04 10:30:40 [0.71ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 35937 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 40 - 2025-07-04 10:30:40 [0.64ms] */
select * from `party` where `party`.`id` = 24429 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 41 - 2025-07-04 10:30:40 [0.65ms] */
select * from `person` where `person`.`id` = 24429 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 42 - 2025-07-04 10:30:40 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 43 - 2025-07-04 10:30:40 [0.26ms] */
select * from `party` where `party`.`id` = 24429 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 44 - 2025-07-04 10:30:40 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 45 - 2025-07-04 10:30:40 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 46 - 2025-07-04 10:30:40 [1.05ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 17418 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 47 - 2025-07-04 10:30:40 [0.33ms] */
select * from `party` where `party`.`id` = 12060 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 48 - 2025-07-04 10:30:40 [0.35ms] */
select * from `person` where `person`.`id` = 12060 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 49 - 2025-07-04 10:30:40 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 50 - 2025-07-04 10:30:40 [0.14ms] */
select * from `party` where `party`.`id` = 12060 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 51 - 2025-07-04 10:30:40 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 52 - 2025-07-04 10:30:40 [0.13ms] */
