select * from `party` where `party`.`id` = 17249 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 37 - 2025-06-28 11:38:12 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 38 - 2025-06-28 11:38:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 39 - 2025-06-28 11:38:12 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26302 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 40 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 17250 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 41 - 2025-06-28 11:38:12 [0.15ms] */
select * from `person` where `person`.`id` = 17250 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 42 - 2025-06-28 11:38:12 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 43 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 17250 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 44 - 2025-06-28 11:38:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 45 - 2025-06-28 11:38:12 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 46 - 2025-06-28 11:38:12 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 50164 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 47 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 57082 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 48 - 2025-06-28 11:38:12 [0.14ms] */
select * from `company` where `company`.`id` = 1369 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 49 - 2025-06-28 11:38:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 50 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 57082 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 51 - 2025-06-28 11:38:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 52 - 2025-06-28 11:38:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 53 - 2025-06-28 11:38:12 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 50185 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 54 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 38949 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 55 - 2025-06-28 11:38:12 [0.15ms] */
select * from `person` where `person`.`id` = 38949 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 56 - 2025-06-28 11:38:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 57 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 38949 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 58 - 2025-06-28 11:38:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 59 - 2025-06-28 11:38:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 60 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46182 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 61 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 37095 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 62 - 2025-06-28 11:38:12 [0.15ms] */
select * from `person` where `person`.`id` = 37095 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 63 - 2025-06-28 11:38:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 64 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 37095 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 65 - 2025-06-28 11:38:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 66 - 2025-06-28 11:38:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 67 - 2025-06-28 11:38:12 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46187 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 68 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 37100 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 69 - 2025-06-28 11:38:12 [0.15ms] */
select * from `person` where `person`.`id` = 37100 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 70 - 2025-06-28 11:38:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 71 - 2025-06-28 11:38:12 [0.15ms] */
select * from `party` where `party`.`id` = 37100 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 72 - 2025-06-28 11:38:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 73 - 2025-06-28 11:38:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 74 - 2025-06-28 11:38:12 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 50471 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 75 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 39534 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 76 - 2025-06-28 11:38:12 [0.17ms] */
select * from `person` where `person`.`id` = 39534 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 77 - 2025-06-28 11:38:12 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 78 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 39534 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 79 - 2025-06-28 11:38:12 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 80 - 2025-06-28 11:38:12 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 81 - 2025-06-28 11:38:12 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 19031 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 82 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 13226 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 83 - 2025-06-28 11:38:12 [0.14ms] */
select * from `person` where `person`.`id` = 13226 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 84 - 2025-06-28 11:38:12 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 85 - 2025-06-28 11:38:12 [0.14ms] */
select * from `party` where `party`.`id` = 13226 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-06-28 11:38:12 [1.36ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-06-28 11:38:12 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-06-28 11:38:12 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-06-28 11:38:12 [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.list-vehicle-component
   Query 5 - 2025-06-28 11:38:13 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-06-28 11:38:13 [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/api/make_payment
   Query 1 - 2025-06-28 11:38:13 [1.84ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-06-28 11:38:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-06-28 11:38:13 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-06-28 11:38:13 [0.16ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-06-28 11:38:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-06-28 11:38:13 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-06-28 11:38:13 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-06-28 11:38:13 [0.44ms] */
select `transaction_id` from `vehicle_tax` where `id` in (463725) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-06-28 11:38:13 [0.2ms] */
select `parent_id` from `transaction` where `id` in (573314) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-06-28 11:38:13 [0.16ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-06-28 11:38:13 [0.2ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-06-28 11:38:13 [0.23ms] */
select * from `transaction` where `id` in (573314) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-06-28 11:38:13 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 549014 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 14 - 2025-06-28 11:38:13 [11.75ms] */
update `invoice` set `updated_by` = 150, `invoice`.`updated_at` = '2025-06-28 11:38:13' where `id` = 549014;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 15 - 2025-06-28 11:38:13 [0.38ms] */
select * from `invoice` where `id` = 549014 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-06-28 11:38:13 [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":[]}', 150, 'App\Models\User', 549014, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-06-28 11:38:13 [0.23ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-06-28 11:38:13 [0.26ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-06-28 11:38:13 [3.25ms] */
update `transaction` set `updated_by` = 150, `transaction`.`updated_at` = '2025-06-28 11:38:13' where `id` = 573314;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 20 - 2025-06-28 11:38:13 [3.28ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-06-28 11:38:13' where `id` in (463725) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 21 - 2025-06-28 11:38:13 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 99400 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 22 - 2025-06-28 11:38:13 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 23 - 2025-06-28 11:38:13 [0.36ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 99400 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 24 - 2025-06-28 11:38:13 [0.41ms] */
select * from `party_vehicle` where `vehicle_id` = 99400 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 25 - 2025-06-28 11:38:13 [0.41ms] */
select * from `party` where `party`.`id` = 59659 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 26 - 2025-06-28 11:38:13 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 99400 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 27 - 2025-06-28 11:38:13 [0.21ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 28 - 2025-06-28 11:38:13 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 29 - 2025-06-28 11:38:13 [0.22ms] */
select * from `branches` where `branches`.`id` = 17 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 30 - 2025-06-28 11:38:13 [0.81ms] */
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 (59659, 2, 99400, null, 2, 6, 17, 37, 37, 'OPEN', 25, null, 150, 150, '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 31 - 2025-06-28 11:38:13 [0.51ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638367, 'INITIATED', '2025-06-28 11:38:13', 5, 150, 150, 150, '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 32 - 2025-06-28 11:38:13 [0.29ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 99747, `transaction`.`updated_at` = '2025-06-28 11:38:13' where `id` = 638367;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 33 - 2025-06-28 11:38:13 [0.35ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (463725) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 34 - 2025-06-28 11:38:13 [0.31ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (463725) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 35 - 2025-06-28 11:38:13 [0.42ms] */
insert into `invoice` (`transaction_id`, `party_id`, `invoice_date`, `due_date`, `invoice_amount`, `discounts`, `total_invoice_amount`, `outstanding_balance`, `taxes`, `status`, `grouped`, `parent`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638367, 59659, '2025-06-28 11:38:13', '2025-06-28 11:38:13', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 150, 150, '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 36 - 2025-06-28 11:38:13 [0.3ms] */
select * from `invoice` where `id` = 611193 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 37 - 2025-06-28 11:38:13 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":638367,"party_id":59659,"invoice_amount":"31.00","invoice_date":"2025-06-28 11:38:13","due_date":"2025-06-28 11:38:13","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 150, 'App\Models\User', 611193, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 38 - 2025-06-28 11:38:13 [0.25ms] */
select `invoice`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (463725) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 39 - 2025-06-28 11:38:13 [0.28ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Quarterly Tax Fees', 1, 31.00, 31, 611193, 150, 150, '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 40 - 2025-06-28 11:38:13 [0.19ms] */
select * from `invoice_item` where `id` = 1096592 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 41 - 2025-06-28 11:38:13 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Quarterly Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":611193}}', 150, 'App\Models\User', 1096592, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 42 - 2025-06-28 11:38:13 [0.23ms] */
update `invoice` set `invoice_number` = 'INV-706-611193329', `invoice`.`updated_at` = '2025-06-28 11:38:13' where `id` = 611193;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 43 - 2025-06-28 11:38:13 [0.2ms] */
select * from `invoice` where `id` = 611193 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 44 - 2025-06-28 11:38:13 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_number":"INV-706-611193329"},"old":{"invoice_number":null}}', 150, 'App\Models\User', 611193, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 45 - 2025-06-28 11:38:13 [0.21ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 463725 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-06-28 11:38:13 [158.93ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%CM%' or `vin` like '%CM%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 46 - 2025-06-28 11:38:13 [0.17ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 150, `vehicle_tax`.`updated_at` = '2025-06-28 11:38:13' where `id` = 463725;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 47 - 2025-06-28 11:38:13 [0.18ms] */
select * from `vehicle_tax` where `id` = 463725 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-06-28 11:38:13 [0.72ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%CM%' or `vin` like '%CM%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 48 - 2025-06-28 11:38:13 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 150, 'App\Models\User', 463725, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 49 - 2025-06-28 11:38:13 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 573314 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-06-28 11:38:13 [0.14ms] */
select * from `model` where `model`.`id` in (1, 1056, 1059, 1335) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 50 - 2025-06-28 11:38:13 [0.24ms] */
update `transaction` set `tax_collection_point_id` = 25, `deliver_district_id` = 37, `parent_id` = 638367, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-06-28 11:38:13' where `id` = 573314;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-06-28 11:38:13 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 15, 20, 26) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 51 - 2025-06-28 11:38:13 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 549014 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-06-28 11:38:13 [0.15ms] */
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/api/make_payment
   Query 52 - 2025-06-28 11:38:13 [0.23ms] */
update `invoice` set `parent_id` = 611193, `grouped` = 'Y', `invoice`.`updated_at` = '2025-06-28 11:38:13' where `id` = 549014;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 53 - 2025-06-28 11:38:13 [0.19ms] */
select * from `invoice` where `id` = 549014 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-06-28 11:38:13 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-06-28 11:38:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 8, 11, 13) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 54 - 2025-06-28 11:38:13 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":611193,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 150, 'App\Models\User', 549014, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-06-28 11:38:13 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (19031, 26301, 26302, 46182, 46777, 47170, 64806, 64879, 64956, 74096) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 55 - 2025-06-28 11:38:13 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 573314 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 56 - 2025-06-28 11:38:13 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 57 - 2025-06-28 11:38:13 [0.21ms] */
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.list-vehicle-component
   Query 15 - 2025-06-28 11:38:13 [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/api/make_payment
   Query 58 - 2025-06-28 11:38:13 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-06-28 11:38:13 [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/api/make_payment
   Query 59 - 2025-06-28 11:38:13 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-06-28 11:38:13 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 60 - 2025-06-28 11:38:13 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 18 - 2025-06-28 11:38:13 [0.14ms] */
select * from `party` where `party`.`id` = 17249 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2025-06-28 11:38:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2025-06-28 11:38:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-06-28 11:38:13 [0.13ms] */
select * from `party` where `party`.`id` = 17250 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 22 - 2025-06-28 11:38:13 [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/api/make_payment
   Query 61 - 2025-06-28 11:38:13 [0.22ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (573314, 'APPROVED', '2025-06-28 11:38:13', 5, 150, null, 150, 150, '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 23 - 2025-06-28 11:38:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 24 - 2025-06-28 11:38:13 [0.13ms] */
select * from `party` where `party`.`id` = 37095 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 62 - 2025-06-28 11:38:13 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 25 - 2025-06-28 11:38:13 [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/api/make_payment
   Query 63 - 2025-06-28 11:38:13 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-06-28 11:38:13' where `id` = 573314;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 26 - 2025-06-28 11:38:13 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 27 - 2025-06-28 11:38:13 [0.14ms] */
select * from `party` where `party`.`id` = 13226 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 64 - 2025-06-28 11:38:13 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 65 - 2025-06-28 11:38:13 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 549014 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 28 - 2025-06-28 11:38:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 29 - 2025-06-28 11:38:13 [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/api/make_payment
   Query 66 - 2025-06-28 11:38:13 [0.18ms] */
update `transaction` set `invoice_id` = 611193, `transaction`.`updated_at` = '2025-06-28 11:38:13' where `id` = 638367;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 67 - 2025-06-28 11:38:13 [0.22ms] */
update `vehicle` set `updated_by` = 150, `vehicle`.`updated_at` = '2025-06-28 11:38:13' where `id` = 99400;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 68 - 2025-06-28 11:38:13 [0.18ms] */
select * from `vehicle` where `id` = 99400 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 30 - 2025-06-28 11:38:13 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 64806 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 69 - 2025-06-28 11:38:13 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 150, 'App\Models\User', 99400, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 31 - 2025-06-28 11:38:13 [0.14ms] */
select * from `party` where `party`.`id` = 42209 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 32 - 2025-06-28 11:38:13 [0.16ms] */
select * from `person` where `person`.`id` = 42209 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 70 - 2025-06-28 11:38:13 [0.21ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":137}', '{"updated_by":150}', 'updated', 99400, 'Modules\Vehicle\Entities\Vehicle', 150, 'App\Models\User', null, '41.223.109.136', 'Dart/3.4 (dart:io)', 'https://rta2.puntlandgov.org/api/make_payment', '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 33 - 2025-06-28 11:38:13 [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/api/make_payment
   Query 71 - 2025-06-28 11:38:13 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 638367 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 34 - 2025-06-28 11:38:13 [0.14ms] */
select * from `party` where `party`.`id` = 42209 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 72 - 2025-06-28 11:38:13 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 73 - 2025-06-28 11:38:13 [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.list-vehicle-component
   Query 35 - 2025-06-28 11:38:13 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 36 - 2025-06-28 11:38:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 74 - 2025-06-28 11:38:13 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 37 - 2025-06-28 11:38:13 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 75 - 2025-06-28 11:38:13 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638367, 'APPROVED', '2025-06-28 11:38:13', 5, 150, null, 150, 150, '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 38 - 2025-06-28 11:38:13 [0.16ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 74096 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 76 - 2025-06-28 11:38:13 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 39 - 2025-06-28 11:38:13 [0.14ms] */
select * from `party` where `party`.`id` = 48218 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 77 - 2025-06-28 11:38:13 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-06-28 11:38:13' where `id` = 638367;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 40 - 2025-06-28 11:38:13 [0.15ms] */
select * from `person` where `person`.`id` = 48218 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 41 - 2025-06-28 11:38:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 78 - 2025-06-28 11:38:13 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 79 - 2025-06-28 11:38:13 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 611193 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 42 - 2025-06-28 11:38:13 [0.14ms] */
select * from `party` where `party`.`id` = 48218 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 43 - 2025-06-28 11:38:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 44 - 2025-06-28 11:38:13 [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.list-vehicle-component
   Query 45 - 2025-06-28 11:38:13 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 46 - 2025-06-28 11:38:13 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 64879 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 47 - 2025-06-28 11:38:13 [0.14ms] */
select * from `party` where `party`.`id` = 57390 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 48 - 2025-06-28 11:38:13 [0.14ms] */
select * from `company` where `company`.`id` = 1677 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 49 - 2025-06-28 11:38:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 80 - 2025-06-28 11:38:13 [0.21ms] */
select `transaction_id` from `vehicle_tax` where `id` in (463725) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 81 - 2025-06-28 11:38:13 [0.29ms] */
select * from `invoice` where `transaction_id` = 573314 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 50 - 2025-06-28 11:38:13 [0.19ms] */
select * from `party` where `party`.`id` = 57390 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 82 - 2025-06-28 11:38:13 [0.34ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 549014 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.list-vehicle-component
   Query 51 - 2025-06-28 11:38:13 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 52 - 2025-06-28 11:38:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 83 - 2025-06-28 11:38:13 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 573314 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 53 - 2025-06-28 11:38:13 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 54 - 2025-06-28 11:38:13 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46777 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 55 - 2025-06-28 11:38:13 [0.16ms] */
select * from `party` where `party`.`id` = 37402 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 56 - 2025-06-28 11:38:13 [0.15ms] */
select * from `person` where `person`.`id` = 37402 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 57 - 2025-06-28 11:38:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 58 - 2025-06-28 11:38:13 [0.17ms] */
select * from `party` where `party`.`id` = 37402 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 59 - 2025-06-28 11:38:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 60 - 2025-06-28 11:38:13 [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/api/make_payment
   Query 84 - 2025-06-28 11:38:13 [3.22ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-06-28 11:38:13' where `id` = 573314;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 61 - 2025-06-28 11:38:13 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 47170 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 85 - 2025-06-28 11:38:13 [0.21ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 62 - 2025-06-28 11:38:13 [0.14ms] */
select * from `party` where `party`.`id` = 37912 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 63 - 2025-06-28 11:38:13 [0.15ms] */
select * from `person` where `person`.`id` = 37912 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 86 - 2025-06-28 11:38:13 [0.22ms] */
select * from `user_accounts` where `user_id` = 150 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 64 - 2025-06-28 11:38:13 [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/api/make_payment
   Query 87 - 2025-06-28 11:38:13 [0.22ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 65 - 2025-06-28 11:38:13 [0.15ms] */
select * from `party` where `party`.`id` = 37912 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 88 - 2025-06-28 11:38:13 [0.2ms] */
select * from `user_accounts` where `user_id` = 150 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 66 - 2025-06-28 11:38:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 67 - 2025-06-28 11:38:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 68 - 2025-06-28 11:38:13 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 64956 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 69 - 2025-06-28 11:38:13 [0.14ms] */
select * from `party` where `party`.`id` = 39478 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 70 - 2025-06-28 11:38:13 [0.15ms] */
select * from `person` where `person`.`id` = 39478 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 71 - 2025-06-28 11:38:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 72 - 2025-06-28 11:38:13 [0.14ms] */
select * from `party` where `party`.`id` = 39478 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-06-28 11:38:13 [2.05ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-06-28 11:38:13 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-06-28 11:38:13 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-06-28 11:38:13 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-06-28 11:38:13 [0.29ms] */
(select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 8 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-06-28 11:38:13 [1.44ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-06-28 11:38:13 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-06-28 11:38:13 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-06-28 11:38:13 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 5 - 2025-06-28 11:38:13 [0.3ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-06-28 11:38:13 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-06-28 11:38:13 [143.28ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%CM71%' or `vin` like '%CM71%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 1 - 2025-06-28 11:38:13 [1.61ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-06-28 11:38:13 [1.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-06-28 11:38:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-06-28 11:38:13 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-06-28 11:38:13 [0.16ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 2 - 2025-06-28 11:38:13 [0.75ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-06-28 11:38:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-06-28 11:38:13 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 3 - 2025-06-28 11:38:13 [0.54ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-06-28 11:38:13 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-06-28 11:38:13 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (463725) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-06-28 11:38:13 [0.29ms] */
select `parent_id` from `transaction` where `id` in (573314) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 4 - 2025-06-28 11:38:13 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 5 - 2025-06-28 11:38:13 [0.48ms] */
select * from `vehicle` where `vehicle`.`id` = 99400 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 6 - 2025-06-28 11:38:13 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 99400 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 7 - 2025-06-28 11:38:13 [0.21ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 8 - 2025-06-28 11:38:13 [0.25ms] */
select * from `service_workflow` where ((`service_id` = 8)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 9 - 2025-06-28 11:38:13 [0.27ms] */
select * from `workflow_definition` where `workflow_id` = 8 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 10 - 2025-06-28 11:38:13 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 8 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 11 - 2025-06-28 11:38:13 [0.43ms] */
select * from `branches` where `branches`.`id` = 14 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 12 - 2025-06-28 11:38:13 [0.78ms] */
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 (null, 8, 99400, null, 8, 33, 14, 37, 37, 'INPROGRESS', null, null, 137, 137, '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-component
   Query 13 - 2025-06-28 11:38:13 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638368, 'INITIATED', '2025-06-28 11:38:13', 5, 137, 137, 137, '2025-06-28 11:38:13', '2025-06-28 11:38:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-06-28 11:38:14 [221.79ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%CM71%' or `vin` like '%CM71%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-06-28 11:38:14 [0.24ms] */
select * from `model` where `model`.`id` in (1, 1562) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-06-28 11:38:14 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 24) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-06-28 11:38:14 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-06-28 11:38:14 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 2) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-06-28 11:38:14 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 5) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-06-28 11:38:14 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (15499, 35510, 49664, 52922) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-06-28 11:38:14 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-06-28 11:38:14 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-06-28 11:38:14 [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.list-vehicle-component
   Query 18 - 2025-06-28 11:38:14 [0.16ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 52922 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2025-06-28 11:38:14 [0.15ms] */
select * from `party` where `party`.`id` = 40550 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2025-06-28 11:38:14 [0.16ms] */
select * from `person` where `person`.`id` = 40550 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-06-28 11:38:14 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 22 - 2025-06-28 11:38:14 [0.4ms] */
select * from `party` where `party`.`id` = 40550 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 23 - 2025-06-28 11:38:14 [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.list-vehicle-component
   Query 24 - 2025-06-28 11:38:14 [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.list-vehicle-component
   Query 25 - 2025-06-28 11:38:14 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 35510 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 26 - 2025-06-28 11:38:14 [0.26ms] */
select * from `party` where `party`.`id` = 23789 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 27 - 2025-06-28 11:38:14 [0.28ms] */
select * from `person` where `person`.`id` = 23789 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 28 - 2025-06-28 11:38:14 [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.list-vehicle-component
   Query 29 - 2025-06-28 11:38:14 [0.26ms] */
select * from `party` where `party`.`id` = 23789 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 30 - 2025-06-28 11:38:14 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 31 - 2025-06-28 11:38:14 [0.28ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 32 - 2025-06-28 11:38:14 [0.25ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 33 - 2025-06-28 11:38:14 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 15499 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 34 - 2025-06-28 11:38:14 [0.14ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 35 - 2025-06-28 11:38:14 [0.15ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 36 - 2025-06-28 11:38:14 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 37 - 2025-06-28 11:38:14 [0.15ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 38 - 2025-06-28 11:38:14 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 39 - 2025-06-28 11:38:14 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-06-28 11:38:14 [188.49ms] */
select `id` from `transaction` where `parent_id` in (638367) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 40 - 2025-06-28 11:38:14 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 49664 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-06-28 11:38:14 [0.31ms] */
select * from `transaction` where `id` in (638367) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-06-28 11:38:14 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (463725) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 41 - 2025-06-28 11:38:14 [0.14ms] */
select * from `party` where `party`.`id` = 29229 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 42 - 2025-06-28 11:38:14 [0.15ms] */
select * from `person` where `person`.`id` = 29229 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-06-28 11:38:14 [0.19ms] */
select * from `invoice` where `transaction_id` = 573314 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 43 - 2025-06-28 11:38:14 [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/api/make_payment
   Query 14 - 2025-06-28 11:38:14 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 549014 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.list-vehicle-component
   Query 44 - 2025-06-28 11:38:14 [0.14ms] */
select * from `party` where `party`.`id` = 29229 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 15 - 2025-06-28 11:38:14 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 573314 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-06-28 11:38:14 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-06-28 11:38:14 [0.16ms] */
select * from `user_accounts` where `user_id` = 150 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-06-28 11:38:14 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-06-28 11:38:14 [0.13ms] */
select * from `user_accounts` where `user_id` = 150 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 1 - 2025-06-28 11:38:14 [1.91ms] */
select * from `users` where `id` = 137 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 2 - 2025-06-28 11:38:14 [0.82ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 3 - 2025-06-28 11:38:14 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 4 - 2025-06-28 11:38:14 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 5 - 2025-06-28 11:38:14 [7.46ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 137 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 6 - 2025-06-28 11:38:14 [7.53ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 137 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 1 - 2025-06-28 11:38:14 [2.11ms] */
select * from `users` where `id` = 79 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 7 - 2025-06-28 11:38:14 [0.3ms] */
select * from `region` where `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 8 - 2025-06-28 11:38:14 [0.29ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 9 - 2025-06-28 11:38:14 [0.27ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 2 - 2025-06-28 11:38:14 [0.75ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 10 - 2025-06-28 11:38:14 [0.31ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 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/party.create-party-person-component
   Query 3 - 2025-06-28 11:38:14 [0.65ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 11 - 2025-06-28 11:38:14 [0.27ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 12 - 2025-06-28 11:38:14 [0.26ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 13 - 2025-06-28 11:38:14 [0.41ms] */
select * from `vehicle` where `vehicle`.`id` = 99400 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-06-28 11:38:14 [1.82ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 14 - 2025-06-28 11:38:14 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 15 - 2025-06-28 11:38:14 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 16 - 2025-06-28 11:38:14 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 17 - 2025-06-28 11:38:14 [0.14ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 4 - 2025-06-28 11:38:14 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-06-28 11:38:14 [0.77ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 18 - 2025-06-28 11:38:14 [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/mytrn
   Query 19 - 2025-06-28 11:38:14 [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/mytrn
   Query 20 - 2025-06-28 11:38:14 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 21 - 2025-06-28 11:38:14 [0.14ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-06-28 11:38:14 [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/m/mytrn
   Query 22 - 2025-06-28 11:38:14 [0.2ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 23 - 2025-06-28 11:38:14 [0.4ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 24 - 2025-06-28 11:38:14 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 25 - 2025-06-28 11:38:14 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 26 - 2025-06-28 11:38:14 [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/mytrn
   Query 27 - 2025-06-28 11:38:14 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-06-28 11:38:14 [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/mytrn
   Query 28 - 2025-06-28 11:38:14 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 29 - 2025-06-28 11:38:14 [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/mytrn
   Query 30 - 2025-06-28 11:38:14 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 31 - 2025-06-28 11:38:14 [0.15ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 32 - 2025-06-28 11:38:14 [0.16ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 33 - 2025-06-28 11:38:14 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 34 - 2025-06-28 11:38:14 [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/mytrn
   Query 35 - 2025-06-28 11:38:14 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 36 - 2025-06-28 11:38:14 [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/mytrn
   Query 37 - 2025-06-28 11:38:14 [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/mytrn
   Query 38 - 2025-06-28 11:38:14 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 39 - 2025-06-28 11:38:14 [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/mytrn
   Query 40 - 2025-06-28 11:38:14 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 41 - 2025-06-28 11:38:14 [0.14ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 42 - 2025-06-28 11:38:14 [0.15ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 43 - 2025-06-28 11:38:14 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 44 - 2025-06-28 11:38:14 [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/mytrn
   Query 45 - 2025-06-28 11:38:14 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 46 - 2025-06-28 11:38:14 [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/mytrn
   Query 47 - 2025-06-28 11:38:14 [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/mytrn
   Query 48 - 2025-06-28 11:38:14 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 49 - 2025-06-28 11:38:14 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 50 - 2025-06-28 11:38:14 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 51 - 2025-06-28 11:38:14 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 52 - 2025-06-28 11:38:14 [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/mytrn
   Query 53 - 2025-06-28 11:38:14 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 54 - 2025-06-28 11:38:14 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 55 - 2025-06-28 11:38:14 [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/mytrn
   Query 56 - 2025-06-28 11:38:14 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 57 - 2025-06-28 11:38:14 [0.29ms] */
select * from `party` where `party`.`id` = 56889 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 58 - 2025-06-28 11:38:14 [0.28ms] */
select * from `company` where `company`.`id` = 1176 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 59 - 2025-06-28 11:38:14 [0.46ms] */
select * from `vehicle` where `vehicle`.`id` = 73325 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 60 - 2025-06-28 11:38:14 [0.25ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 61 - 2025-06-28 11:38:14 [0.24ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 62 - 2025-06-28 11:38:14 [0.25ms] */
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/mytrn
   Query 63 - 2025-06-28 11:38:14 [0.23ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 64 - 2025-06-28 11:38:14 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 65 - 2025-06-28 11:38:14 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 66 - 2025-06-28 11:38:14 [0.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 67 - 2025-06-28 11:38:14 [0.14ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 68 - 2025-06-28 11:38:14 [0.15ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 69 - 2025-06-28 11:38:14 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 49207 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 70 - 2025-06-28 11:38:14 [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/mytrn
   Query 71 - 2025-06-28 11:38:14 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 72 - 2025-06-28 11:38:14 [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/mytrn
   Query 73 - 2025-06-28 11:38:14 [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/mytrn
   Query 74 - 2025-06-28 11:38:14 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 75 - 2025-06-28 11:38:14 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 76 - 2025-06-28 11:38:14 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 77 - 2025-06-28 11:38:14 [0.14ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 78 - 2025-06-28 11:38:14 [0.15ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 79 - 2025-06-28 11:38:14 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 49207 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 80 - 2025-06-28 11:38:14 [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/mytrn
   Query 81 - 2025-06-28 11:38:14 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 82 - 2025-06-28 11:38:14 [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/mytrn
   Query 83 - 2025-06-28 11:38:14 [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/mytrn
   Query 84 - 2025-06-28 11:38:14 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 85 - 2025-06-28 11:38:14 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 86 - 2025-06-28 11:38:14 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 87 - 2025-06-28 11:38:14 [0.14ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 88 - 2025-06-28 11:38:14 [0.16ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 89 - 2025-06-28 11:38:14 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 49207 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 90 - 2025-06-28 11:38:14 [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/mytrn
   Query 91 - 2025-06-28 11:38:14 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 92 - 2025-06-28 11:38:14 [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/mytrn
   Query 93 - 2025-06-28 11:38:14 [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/mytrn
   Query 94 - 2025-06-28 11:38:14 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 95 - 2025-06-28 11:38:14 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 96 - 2025-06-28 11:38:14 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 97 - 2025-06-28 11:38:14 [0.14ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 98 - 2025-06-28 11:38:14 [0.15ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 99 - 2025-06-28 11:38:14 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 49207 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 100 - 2025-06-28 11:38:14 [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/mytrn
   Query 101 - 2025-06-28 11:38:14 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 102 - 2025-06-28 11:38:14 [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/mytrn
   Query 103 - 2025-06-28 11:38:14 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 5 - 2025-06-28 11:38:14 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-06-28 11:38:14 [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/party.create-party-person-component
   Query 5 - 2025-06-28 11:38:14 [0.2ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 6 - 2025-06-28 11:38:14 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 7 - 2025-06-28 11:38:14 [0.13ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-person-component
   Query 8 - 2025-06-28 11:38:14 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 104 - 2025-06-28 11:38:14 [0.31ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 105 - 2025-06-28 11:38:14 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-06-28 11:38:14 [145.54ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%CM714%' or `vin` like '%CM714%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 1 - 2025-06-28 11:38:14 [1.81ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 2 - 2025-06-28 11:38:14 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 3 - 2025-06-28 11:38:14 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 4 - 2025-06-28 11:38:14 [0.21ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 5 - 2025-06-28 11:38:14 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 6 - 2025-06-28 11:38:14 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 7 - 2025-06-28 11:38:14 [0.43ms] */
select * from `transaction` where `id` = 638367 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 8 - 2025-06-28 11:38:14 [0.41ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 638367 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 9 - 2025-06-28 11:38:14 [0.32ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 638367 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 10 - 2025-06-28 11:38:14 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 611193 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 11 - 2025-06-28 11:38:14 [0.44ms] */
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` = 611193 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-06-28 11:38:14 [279.77ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%CM714%' or `vin` like '%CM714%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-06-28 11:38:14 [0.24ms] */
select * from `model` where `model`.`id` in (1562) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-06-28 11:38:14 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (24) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-06-28 11:38:14 [0.12ms] */
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.list-vehicle-component
   Query 12 - 2025-06-28 11:38:14 [0.12ms] */
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.list-vehicle-component
   Query 13 - 2025-06-28 11:38:14 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` in (5) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-06-28 11:38:14 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (15499) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-06-28 11:38:14 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-06-28 11:38:14 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-06-28 11:38:14 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 18 - 2025-06-28 11:38:14 [0.13ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-28 11:38:15 [2.26ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-28 11:38:15 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-28 11:38:15 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-28 11:38:15 [0.29ms] */
select * from `users` where `id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-06-28 11:38:15 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '3b3719c62552f7b366f127418edff2b4727660c08258caef738ac0eec118ef60db657598ba57856e' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-28 11:38:15 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-28 11:38:15 [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): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 1 - 2025-06-28 11:38:15 [1.29ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 2 - 2025-06-28 11:38:15 [0.43ms] */
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/15499
   Query 3 - 2025-06-28 11:38:15 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 4 - 2025-06-28 11:38:15 [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/15499
   Query 5 - 2025-06-28 11:38:15 [0.34ms] */
select * from `vehicle` where `id` = 15499 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 6 - 2025-06-28 11:38:15 [0.16ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 15499 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 7 - 2025-06-28 11:38:15 [0.14ms] */
select * from `vehicle` where `id` = 15499 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 8 - 2025-06-28 11:38:15 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 15499 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 9 - 2025-06-28 11:38:15 [0.23ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 10 - 2025-06-28 11:38:15 [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/15499
   Query 11 - 2025-06-28 11:38:15 [0.15ms] */
select * from `model` where `model`.`id` = 1562 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 12 - 2025-06-28 11:38:15 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 13 - 2025-06-28 11:38:15 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 14 - 2025-06-28 11:38:15 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 15499 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 15 - 2025-06-28 11:38:15 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 16 - 2025-06-28 11:38:15 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 17 - 2025-06-28 11:38:15 [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/15499
   Query 18 - 2025-06-28 11:38:15 [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/15499
   Query 19 - 2025-06-28 11:38:15 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 15499 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 20 - 2025-06-28 11:38:15 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 21 - 2025-06-28 11:38:15 [0.14ms] */
select * from `model` where `model`.`id` = 1562 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 22 - 2025-06-28 11:38:15 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 23 - 2025-06-28 11:38:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 24 - 2025-06-28 11:38:15 [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/15499
   Query 25 - 2025-06-28 11:38:15 [0.15ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 26 - 2025-06-28 11:38:15 [0.18ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 27 - 2025-06-28 11:38:15 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 32707 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 28 - 2025-06-28 11:38:15 [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/15499
   Query 29 - 2025-06-28 11:38:15 [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/15499
   Query 30 - 2025-06-28 11:38:15 [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/15499
   Query 31 - 2025-06-28 11:38:15 [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/15499
   Query 32 - 2025-06-28 11:38:15 [0.52ms] */
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` = 15499 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 33 - 2025-06-28 11:38:15 [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/15499
   Query 34 - 2025-06-28 11:38:15 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 35 - 2025-06-28 11:38:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 36 - 2025-06-28 11:38:15 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32707 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/15499
   Query 37 - 2025-06-28 11:38:15 [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/15499
   Query 38 - 2025-06-28 11:38:15 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 638362 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 39 - 2025-06-28 11:38:15 [0.14ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 40 - 2025-06-28 11:38:15 [0.18ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 41 - 2025-06-28 11:38:15 [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/15499
   Query 42 - 2025-06-28 11:38:15 [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/15499
   Query 43 - 2025-06-28 11:38:15 [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/15499
   Query 44 - 2025-06-28 11:38:15 [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/15499
   Query 45 - 2025-06-28 11:38:15 [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/15499
   Query 46 - 2025-06-28 11:38:15 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 47 - 2025-06-28 11:38:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 48 - 2025-06-28 11:38:15 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32707 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/15499
   Query 49 - 2025-06-28 11:38:15 [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/15499
   Query 50 - 2025-06-28 11:38:15 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 638363 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 51 - 2025-06-28 11:38:15 [0.14ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 52 - 2025-06-28 11:38:15 [0.15ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 53 - 2025-06-28 11:38:15 [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/15499
   Query 54 - 2025-06-28 11:38:15 [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/15499
   Query 55 - 2025-06-28 11:38:15 [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/15499
   Query 56 - 2025-06-28 11:38:15 [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/15499
   Query 57 - 2025-06-28 11:38:15 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 58 - 2025-06-28 11:38:15 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 59 - 2025-06-28 11:38:15 [0.32ms] */
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` = 74 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 60 - 2025-06-28 11:38:15 [0.29ms] */
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` = 74 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 61 - 2025-06-28 11:38:15 [0.48ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`vehicle_id` = 15499 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 62 - 2025-06-28 11:38:15 [0.39ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`vehicle_id` = 15499 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 2 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/15499
   Query 63 - 2025-06-28 11:38:15 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 64 - 2025-06-28 11:38:15 [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/15499
   Query 65 - 2025-06-28 11:38:15 [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/15499
   Query 66 - 2025-06-28 11:38:15 [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/15499
   Query 67 - 2025-06-28 11:38:15 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 68 - 2025-06-28 11:38:15 [0.14ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 69 - 2025-06-28 11:38:15 [0.16ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 70 - 2025-06-28 11:38:15 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32707 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 71 - 2025-06-28 11:38:15 [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/15499
   Query 72 - 2025-06-28 11:38:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 73 - 2025-06-28 11:38:15 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 638362 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/15499
   Query 74 - 2025-06-28 11:38:15 [0.16ms] */
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/15499
   Query 75 - 2025-06-28 11:38:15 [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/15499
   Query 76 - 2025-06-28 11:38:15 [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/15499
   Query 77 - 2025-06-28 11:38:15 [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/15499
   Query 78 - 2025-06-28 11:38:15 [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/15499
   Query 79 - 2025-06-28 11:38:15 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 80 - 2025-06-28 11:38:15 [0.14ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 81 - 2025-06-28 11:38:15 [0.15ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 82 - 2025-06-28 11:38:15 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32707 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 83 - 2025-06-28 11:38:15 [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/15499
   Query 84 - 2025-06-28 11:38:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 85 - 2025-06-28 11:38:15 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 638363 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/15499
   Query 86 - 2025-06-28 11:38:15 [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/15499
   Query 87 - 2025-06-28 11:38:15 [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/15499
   Query 88 - 2025-06-28 11:38:15 [0.14ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 15499 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 89 - 2025-06-28 11:38:15 [0.13ms] */
select * from `title_reprint_history` where `vehicle_id` = 15499 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 90 - 2025-06-28 11:38:16 [0.17ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 91 - 2025-06-28 11:38:16 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=15499&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-06-28 11:38:16 [1.55ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=15499&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-06-28 11:38:16 [0.63ms] */
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=15499&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-06-28 11:38:16 [0.56ms] */
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=15499&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-06-28 11:38:16 [0.59ms] */
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=15499&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-06-28 11:38:16 [0.7ms] */
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 = 15499 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-06-28 11:38:18 [1.29ms] */
select * from `users` where `id` = 74 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-06-28 11:38:18 [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.view-vehicle-full-component
   Query 3 - 2025-06-28 11:38:18 [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.view-vehicle-full-component
   Query 4 - 2025-06-28 11:38:18 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 5 - 2025-06-28 11:38:19 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 6 - 2025-06-28 11:38:19 [0.14ms] */
select * from `model` where `model`.`id` in (1562) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 7 - 2025-06-28 11:38:19 [0.27ms] */
select * from `make` where `make`.`id` in (52) and `make`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 8 - 2025-06-28 11:38:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` in (5) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 9 - 2025-06-28 11:38:19 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (15499) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 10 - 2025-06-28 11:38:19 [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-06-28 11:38:19 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (24) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 12 - 2025-06-28 11:38:19 [0.13ms] */
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-06-28 11:38:19 [0.13ms] */
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-06-28 11:38:19 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 15499 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-06-28 11:38:19 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 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-06-28 11:38:19 [0.16ms] */
select * from `service_fee` where (`sub_category_id` = 5 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-06-28 11:38:19 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 15499 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-06-28 11:38:19 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 15499 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-06-28 11:38:19 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 15499 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-06-28 11:38:19 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 32707 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-06-28 11:38:19 [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-06-28 11:38:19 [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-06-28 11:38:19 [0.15ms] */
select * from `party` where `party`.`id` = 10716 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-06-28 11:38:19 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 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-06-28 11:38:19 [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-06-28 11:38:19 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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-06-28 11:38:19 [0.14ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 28 - 2025-06-28 11:38:19 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 29 - 2025-06-28 11:38:19 [0.14ms] */
select * from `branches` where `branches`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 30 - 2025-06-28 11:38:19 [0.52ms] */
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 (10716, 2, 15499, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 31 - 2025-06-28 11:38:19 [0.24ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638369, 'INITIATED', '2025-06-28 11:38:19', 5, 74, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 32 - 2025-06-28 11:38:19 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 33 - 2025-06-28 11:38:19 [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 34 - 2025-06-28 11:38:19 [0.14ms] */
select * from `term` where `year` = 2023 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 35 - 2025-06-28 11:38:19 [0.35ms] */
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', 'H4H-32707-583', 15499, 93, 10716, 32707, 638369, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 36 - 2025-06-28 11:38:19 [0.18ms] */
select * from `vehicle_tax` where `id` = 500007 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 37 - 2025-06-28 11:38:19 [0.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":{"status":"OPEN","tax_number":"H4H-32707-583","tax_sticker_id":null,"vehicle_id":15499,"term_id":93,"party_id":10716,"transaction_id":638369,"party_vehicle_id":32707,"exempt":"N","migration_id":null}}', 74, 'App\Models\User', 500007, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 38 - 2025-06-28 11:38:19 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 39 - 2025-06-28 11:38:19 [0.25ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 40 - 2025-06-28 11:38:19 [0.2ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 41 - 2025-06-28 11:38:19 [0.21ms] */
select * from `party` where `party`.`id` = 10716 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 42 - 2025-06-28 11:38:19 [0.32ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638369, '2023-01-01 00:00:00', '2022-12-01 00:00:00', 'OPEN', 10716, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 43 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611194 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 44 - 2025-06-28 11:38:19 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":638369,"party_id":10716,"invoice_amount":"0.00","invoice_date":"2023-01-01 00:00:00","due_date":"2022-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}}', 74, 'App\Models\User', 611194, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 45 - 2025-06-28 11:38:19 [0.33ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly tax for 18 HP', 'Yearly tax for 18 HP', 1, 63.00, 63.00, 611194, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 46 - 2025-06-28 11:38:19 [0.18ms] */
select * from `invoice_item` where `id` = 1096593 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 47 - 2025-06-28 11:38:19 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly tax for 18 HP","description":"Yearly tax for 18 HP","unit_price":"63.00","quantity":1,"total_price":"63.00","invoice_id":611194}}', 74, 'App\Models\User', 1096593, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 48 - 2025-06-28 11:38:19 [0.18ms] */
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, 611194, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 49 - 2025-06-28 11:38:19 [0.18ms] */
select * from `invoice_item` where `id` = 1096594 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 50 - 2025-06-28 11:38:19 [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":611194}}', 74, 'App\Models\User', 1096594, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 51 - 2025-06-28 11:38:19 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 611194 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 52 - 2025-06-28 11:38:19 [0.32ms] */
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` = 611194 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 53 - 2025-06-28 11:38:19 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611194 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 54 - 2025-06-28 11:38:19 [0.54ms] */
update `invoice` set `invoice_amount` = 71, `outstanding_balance` = 71, `discounts` = 0, `total_invoice_amount` = 71, `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611194;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 55 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611194 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 56 - 2025-06-28 11:38:19 [0.35ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"71.00","outstanding_balance":"71.00","discounts":"0.00","total_invoice_amount":"71.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 74, 'App\Models\User', 611194, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 57 - 2025-06-28 11:38:19 [0.31ms] */
update `invoice` set `invoice_number` = 'INV-607-611194950', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611194;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 58 - 2025-06-28 11:38:19 [0.34ms] */
select * from `invoice` where `id` = 611194 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 59 - 2025-06-28 11:38:19 [0.45ms] */
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":"71.00","outstanding_balance":"71.00","discounts":"0.00","total_invoice_amount":"71.00","invoice_number":"INV-607-611194950","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 74, 'App\Models\User', 611194, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 60 - 2025-06-28 11:38:19 [0.36ms] */
update `transaction` set `party_vehicle_id` = 32707, `vehicle_tax_id` = 500007, `invoice_id` = 611194, `transaction`.`updated_at` = '2025-06-28 11:38:19' where `id` = 638369;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 61 - 2025-06-28 11:38:19 [0.5ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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 62 - 2025-06-28 11:38:19 [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 63 - 2025-06-28 11:38:19 [0.42ms] */
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 64 - 2025-06-28 11:38:19 [0.47ms] */
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 (10716, 2, 15499, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 65 - 2025-06-28 11:38:19 [0.33ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638370, 'INITIATED', '2025-06-28 11:38:19', 5, 74, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 66 - 2025-06-28 11:38:19 [0.38ms] */
select * from `term` where `year` = 2023 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 67 - 2025-06-28 11:38:19 [0.34ms] */
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', '6QM-32707-743', 15499, 94, 10716, 32707, 638370, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 68 - 2025-06-28 11:38:19 [0.32ms] */
select * from `vehicle_tax` where `id` = 500008 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 69 - 2025-06-28 11:38:19 [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":"6QM-32707-743","tax_sticker_id":null,"vehicle_id":15499,"term_id":94,"party_id":10716,"transaction_id":638370,"party_vehicle_id":32707,"exempt":"N","migration_id":null}}', 74, 'App\Models\User', 500008, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 70 - 2025-06-28 11:38:19 [0.41ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 71 - 2025-06-28 11:38:19 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 72 - 2025-06-28 11:38:19 [0.17ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 73 - 2025-06-28 11:38:19 [0.19ms] */
select * from `party` where `party`.`id` = 10716 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 74 - 2025-06-28 11:38:19 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638370, '2023-03-01 00:00:00', '2023-03-01 00:00:00', 'OPEN', 10716, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 75 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611195 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 76 - 2025-06-28 11:38:19 [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":638370,"party_id":10716,"invoice_amount":"0.00","invoice_date":"2023-03-01 00:00:00","due_date":"2023-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}}', 74, 'App\Models\User', 611195, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 77 - 2025-06-28 11:38:19 [0.18ms] */
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 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 611195, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 78 - 2025-06-28 11:38:19 [0.17ms] */
select * from `invoice_item` where `id` = 1096595 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 79 - 2025-06-28 11:38:19 [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 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":611195}}', 74, 'App\Models\User', 1096595, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 80 - 2025-06-28 11:38:19 [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, 611195, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 81 - 2025-06-28 11:38:19 [0.17ms] */
select * from `invoice_item` where `id` = 1096596 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 82 - 2025-06-28 11:38:19 [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":611195}}', 74, 'App\Models\User', 1096596, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 83 - 2025-06-28 11:38:19 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 611195 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 84 - 2025-06-28 11:38:19 [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` = 611195 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 85 - 2025-06-28 11:38:19 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611195 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 86 - 2025-06-28 11:38:19 [0.18ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611195;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 87 - 2025-06-28 11:38:19 [0.18ms] */
select * from `invoice` where `id` = 611195 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 88 - 2025-06-28 11:38:19 [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":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 74, 'App\Models\User', 611195, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 89 - 2025-06-28 11:38:19 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-456-611195438', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611195;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 90 - 2025-06-28 11:38:19 [0.18ms] */
select * from `invoice` where `id` = 611195 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 91 - 2025-06-28 11:38:19 [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":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-456-611195438","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 74, 'App\Models\User', 611195, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 92 - 2025-06-28 11:38:19 [0.18ms] */
update `transaction` set `party_vehicle_id` = 32707, `vehicle_tax_id` = 500008, `invoice_id` = 611195, `transaction`.`updated_at` = '2025-06-28 11:38:19' where `id` = 638370;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 93 - 2025-06-28 11:38:19 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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 94 - 2025-06-28 11:38:19 [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 95 - 2025-06-28 11:38:19 [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 96 - 2025-06-28 11:38:19 [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 (10716, 2, 15499, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 97 - 2025-06-28 11:38:19 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638371, 'INITIATED', '2025-06-28 11:38:19', 5, 74, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 98 - 2025-06-28 11:38:19 [0.2ms] */
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 99 - 2025-06-28 11:38:19 [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', '5VI-32707-945', 15499, 95, 10716, 32707, 638371, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 100 - 2025-06-28 11:38:19 [0.18ms] */
select * from `vehicle_tax` where `id` = 500009 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 101 - 2025-06-28 11:38:19 [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":"5VI-32707-945","tax_sticker_id":null,"vehicle_id":15499,"term_id":95,"party_id":10716,"transaction_id":638371,"party_vehicle_id":32707,"exempt":"N","migration_id":null}}', 74, 'App\Models\User', 500009, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 102 - 2025-06-28 11:38:19 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 103 - 2025-06-28 11:38:19 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 104 - 2025-06-28 11:38:19 [0.17ms] */
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 105 - 2025-06-28 11:38:19 [0.19ms] */
select * from `party` where `party`.`id` = 10716 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 106 - 2025-06-28 11:38:19 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638371, '2023-06-01 00:00:00', '2023-06-01 00:00:00', 'OPEN', 10716, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 107 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611196 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 108 - 2025-06-28 11:38:19 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":638371,"party_id":10716,"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}}', 74, 'App\Models\User', 611196, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 109 - 2025-06-28 11:38:19 [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 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 611196, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 110 - 2025-06-28 11:38:19 [0.17ms] */
select * from `invoice_item` where `id` = 1096597 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 111 - 2025-06-28 11:38:19 [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 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":611196}}', 74, 'App\Models\User', 1096597, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 112 - 2025-06-28 11:38:19 [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, 611196, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 113 - 2025-06-28 11:38:19 [0.16ms] */
select * from `invoice_item` where `id` = 1096598 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 114 - 2025-06-28 11:38:19 [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":611196}}', 74, 'App\Models\User', 1096598, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 115 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 611196 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 116 - 2025-06-28 11:38:19 [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` = 611196 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 117 - 2025-06-28 11:38:19 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611196 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 118 - 2025-06-28 11:38:19 [0.18ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611196;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 119 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611196 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 120 - 2025-06-28 11:38:19 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 74, 'App\Models\User', 611196, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 121 - 2025-06-28 11:38:19 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-698-611196443', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611196;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 122 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611196 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 123 - 2025-06-28 11:38:19 [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":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-698-611196443","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 74, 'App\Models\User', 611196, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 124 - 2025-06-28 11:38:19 [0.18ms] */
update `transaction` set `party_vehicle_id` = 32707, `vehicle_tax_id` = 500009, `invoice_id` = 611196, `transaction`.`updated_at` = '2025-06-28 11:38:19' where `id` = 638371;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 125 - 2025-06-28 11:38:19 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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 126 - 2025-06-28 11:38:19 [0.2ms] */
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 127 - 2025-06-28 11:38:19 [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 128 - 2025-06-28 11:38:19 [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 (10716, 2, 15499, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 129 - 2025-06-28 11:38:19 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638372, 'INITIATED', '2025-06-28 11:38:19', 5, 74, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 130 - 2025-06-28 11:38:19 [0.2ms] */
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 131 - 2025-06-28 11:38:19 [0.18ms] */
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', 'B3F-32707-786', 15499, 96, 10716, 32707, 638372, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 132 - 2025-06-28 11:38:19 [0.18ms] */
select * from `vehicle_tax` where `id` = 500010 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 133 - 2025-06-28 11:38:19 [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":"B3F-32707-786","tax_sticker_id":null,"vehicle_id":15499,"term_id":96,"party_id":10716,"transaction_id":638372,"party_vehicle_id":32707,"exempt":"N","migration_id":null}}', 74, 'App\Models\User', 500010, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 134 - 2025-06-28 11:38:19 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 135 - 2025-06-28 11:38:19 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 136 - 2025-06-28 11:38:19 [0.19ms] */
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 137 - 2025-06-28 11:38:19 [0.49ms] */
select * from `party` where `party`.`id` = 10716 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 138 - 2025-06-28 11:38:19 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638372, '2023-09-01 00:00:00', '2023-09-01 00:00:00', 'OPEN', 10716, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 139 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611197 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 140 - 2025-06-28 11:38:19 [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":638372,"party_id":10716,"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}}', 74, 'App\Models\User', 611197, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 141 - 2025-06-28 11:38:19 [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 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 611197, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 142 - 2025-06-28 11:38:19 [0.17ms] */
select * from `invoice_item` where `id` = 1096599 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 143 - 2025-06-28 11:38:19 [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 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":611197}}', 74, 'App\Models\User', 1096599, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 144 - 2025-06-28 11:38:19 [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, 611197, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 145 - 2025-06-28 11:38:19 [0.17ms] */
select * from `invoice_item` where `id` = 1096600 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 146 - 2025-06-28 11:38:19 [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":611197}}', 74, 'App\Models\User', 1096600, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 147 - 2025-06-28 11:38:19 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 611197 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 148 - 2025-06-28 11:38:19 [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` = 611197 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 149 - 2025-06-28 11:38:19 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611197 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 150 - 2025-06-28 11:38:19 [0.18ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611197;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 151 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611197 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 152 - 2025-06-28 11:38:19 [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":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 74, 'App\Models\User', 611197, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 153 - 2025-06-28 11:38:19 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-956-611197607', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611197;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 154 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611197 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 155 - 2025-06-28 11:38:19 [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":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-956-611197607","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 74, 'App\Models\User', 611197, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 156 - 2025-06-28 11:38:19 [0.18ms] */
update `transaction` set `party_vehicle_id` = 32707, `vehicle_tax_id` = 500010, `invoice_id` = 611197, `transaction`.`updated_at` = '2025-06-28 11:38:19' where `id` = 638372;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 157 - 2025-06-28 11:38:19 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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 158 - 2025-06-28 11:38:19 [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 159 - 2025-06-28 11:38:19 [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 160 - 2025-06-28 11:38:19 [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 (10716, 2, 15499, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 161 - 2025-06-28 11:38:19 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638373, 'INITIATED', '2025-06-28 11:38:19', 5, 74, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 162 - 2025-06-28 11:38:19 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 163 - 2025-06-28 11:38:19 [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 164 - 2025-06-28 11:38:19 [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 165 - 2025-06-28 11:38:19 [0.18ms] */
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', 'W1P-32707-905', 15499, 97, 10716, 32707, 638373, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 166 - 2025-06-28 11:38:19 [0.17ms] */
select * from `vehicle_tax` where `id` = 500011 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 167 - 2025-06-28 11:38:19 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"W1P-32707-905","tax_sticker_id":null,"vehicle_id":15499,"term_id":97,"party_id":10716,"transaction_id":638373,"party_vehicle_id":32707,"exempt":"N","migration_id":null}}', 74, 'App\Models\User', 500011, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 168 - 2025-06-28 11:38:19 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 169 - 2025-06-28 11:38:19 [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 170 - 2025-06-28 11:38:19 [0.19ms] */
select * from `party` where `party`.`id` = 10716 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 171 - 2025-06-28 11:38:19 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638373, '2023-12-01 00:00:00', '2023-12-01 00:00:00', 'OPEN', 10716, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 172 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611198 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 173 - 2025-06-28 11:38:19 [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":638373,"party_id":10716,"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}}', 74, 'App\Models\User', 611198, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 174 - 2025-06-28 11:38:19 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly tax for 18 HP', 'Yearly tax for 18 HP', 1, 63.00, 63.00, 611198, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 175 - 2025-06-28 11:38:19 [0.17ms] */
select * from `invoice_item` where `id` = 1096601 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 176 - 2025-06-28 11:38:19 [0.24ms] */
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 for 18 HP","description":"Yearly tax for 18 HP","unit_price":"63.00","quantity":1,"total_price":"63.00","invoice_id":611198}}', 74, 'App\Models\User', 1096601, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 177 - 2025-06-28 11:38:19 [0.31ms] */
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, 611198, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 178 - 2025-06-28 11:38:19 [0.34ms] */
select * from `invoice_item` where `id` = 1096602 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 179 - 2025-06-28 11:38:19 [0.33ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_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":611198}}', 74, 'App\Models\User', 1096602, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 180 - 2025-06-28 11:38:19 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 611198 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 181 - 2025-06-28 11:38:19 [0.5ms] */
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` = 611198 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 182 - 2025-06-28 11:38:19 [0.39ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611198 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 183 - 2025-06-28 11:38:19 [0.34ms] */
update `invoice` set `invoice_amount` = 71, `outstanding_balance` = 71, `discounts` = 0, `total_invoice_amount` = 71, `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611198;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 184 - 2025-06-28 11:38:19 [0.36ms] */
select * from `invoice` where `id` = 611198 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 185 - 2025-06-28 11:38:19 [0.4ms] */
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":"71.00","outstanding_balance":"71.00","discounts":"0.00","total_invoice_amount":"71.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 74, 'App\Models\User', 611198, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 186 - 2025-06-28 11:38:19 [0.33ms] */
update `invoice` set `invoice_number` = 'INV-803-611198362', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611198;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 187 - 2025-06-28 11:38:19 [0.39ms] */
select * from `invoice` where `id` = 611198 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 188 - 2025-06-28 11:38:19 [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":"71.00","outstanding_balance":"71.00","discounts":"0.00","total_invoice_amount":"71.00","invoice_number":"INV-803-611198362","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 74, 'App\Models\User', 611198, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 189 - 2025-06-28 11:38:19 [0.31ms] */
update `transaction` set `party_vehicle_id` = 32707, `vehicle_tax_id` = 500011, `invoice_id` = 611198, `transaction`.`updated_at` = '2025-06-28 11:38:19' where `id` = 638373;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 190 - 2025-06-28 11:38:19 [0.46ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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 191 - 2025-06-28 11:38:19 [0.32ms] */
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 192 - 2025-06-28 11:38:19 [0.31ms] */
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 193 - 2025-06-28 11:38:19 [0.36ms] */
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 (10716, 2, 15499, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 194 - 2025-06-28 11:38:19 [0.26ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638374, 'INITIATED', '2025-06-28 11:38:19', 5, 74, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 195 - 2025-06-28 11:38:19 [0.32ms] */
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 196 - 2025-06-28 11:38:19 [0.29ms] */
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', 'OP7-32707-422', 15499, 98, 10716, 32707, 638374, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 197 - 2025-06-28 11:38:19 [0.28ms] */
select * from `vehicle_tax` where `id` = 500012 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 198 - 2025-06-28 11:38:19 [0.28ms] */
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":"OP7-32707-422","tax_sticker_id":null,"vehicle_id":15499,"term_id":98,"party_id":10716,"transaction_id":638374,"party_vehicle_id":32707,"exempt":"N","migration_id":null}}', 74, 'App\Models\User', 500012, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 199 - 2025-06-28 11:38:19 [0.33ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 200 - 2025-06-28 11:38:19 [0.31ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 201 - 2025-06-28 11:38:19 [0.3ms] */
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 202 - 2025-06-28 11:38:19 [0.3ms] */
select * from `party` where `party`.`id` = 10716 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 203 - 2025-06-28 11:38:19 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638374, '2024-03-01 00:00:00', '2024-03-01 00:00:00', 'OPEN', 10716, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 204 - 2025-06-28 11:38:19 [0.18ms] */
select * from `invoice` where `id` = 611199 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 205 - 2025-06-28 11:38:19 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":638374,"party_id":10716,"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}}', 74, 'App\Models\User', 611199, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 206 - 2025-06-28 11:38:19 [0.18ms] */
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 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 611199, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 207 - 2025-06-28 11:38:19 [0.16ms] */
select * from `invoice_item` where `id` = 1096603 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 208 - 2025-06-28 11:38:19 [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 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":611199}}', 74, 'App\Models\User', 1096603, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 209 - 2025-06-28 11:38:19 [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, 611199, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 210 - 2025-06-28 11:38:19 [0.17ms] */
select * from `invoice_item` where `id` = 1096604 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 211 - 2025-06-28 11:38:19 [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":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":611199}}', 74, 'App\Models\User', 1096604, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 212 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 611199 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 213 - 2025-06-28 11:38:19 [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` = 611199 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 214 - 2025-06-28 11:38:19 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611199 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 215 - 2025-06-28 11:38:19 [0.17ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611199;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 216 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611199 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 217 - 2025-06-28 11:38:19 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 74, 'App\Models\User', 611199, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 218 - 2025-06-28 11:38:19 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-137-611199137', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611199;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 219 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611199 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 220 - 2025-06-28 11:38:19 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-137-611199137","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 74, 'App\Models\User', 611199, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 221 - 2025-06-28 11:38:19 [0.18ms] */
update `transaction` set `party_vehicle_id` = 32707, `vehicle_tax_id` = 500012, `invoice_id` = 611199, `transaction`.`updated_at` = '2025-06-28 11:38:19' where `id` = 638374;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 222 - 2025-06-28 11:38:19 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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 223 - 2025-06-28 11:38:19 [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 224 - 2025-06-28 11:38:19 [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 225 - 2025-06-28 11:38:19 [0.29ms] */
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 (10716, 2, 15499, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 226 - 2025-06-28 11:38:19 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638375, 'INITIATED', '2025-06-28 11:38:19', 5, 74, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 227 - 2025-06-28 11:38:19 [0.2ms] */
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 228 - 2025-06-28 11:38:19 [0.4ms] */
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', 'SHL-32707-765', 15499, 99, 10716, 32707, 638375, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 229 - 2025-06-28 11:38:19 [0.17ms] */
select * from `vehicle_tax` where `id` = 500013 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 230 - 2025-06-28 11:38:19 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"SHL-32707-765","tax_sticker_id":null,"vehicle_id":15499,"term_id":99,"party_id":10716,"transaction_id":638375,"party_vehicle_id":32707,"exempt":"N","migration_id":null}}', 74, 'App\Models\User', 500013, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 231 - 2025-06-28 11:38:19 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 232 - 2025-06-28 11:38:19 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 233 - 2025-06-28 11:38:19 [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 234 - 2025-06-28 11:38:19 [0.19ms] */
select * from `party` where `party`.`id` = 10716 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 235 - 2025-06-28 11:38:19 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638375, '2024-06-01 00:00:00', '2024-06-01 00:00:00', 'OPEN', 10716, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 236 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611200 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 237 - 2025-06-28 11:38:19 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":638375,"party_id":10716,"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}}', 74, 'App\Models\User', 611200, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 238 - 2025-06-28 11:38:19 [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 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 611200, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 239 - 2025-06-28 11:38:19 [0.16ms] */
select * from `invoice_item` where `id` = 1096605 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 240 - 2025-06-28 11:38:19 [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 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":611200}}', 74, 'App\Models\User', 1096605, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 241 - 2025-06-28 11:38:19 [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, 611200, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 242 - 2025-06-28 11:38:19 [0.16ms] */
select * from `invoice_item` where `id` = 1096606 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 243 - 2025-06-28 11:38:19 [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":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":611200}}', 74, 'App\Models\User', 1096606, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 244 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 611200 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 245 - 2025-06-28 11:38:19 [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` = 611200 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 246 - 2025-06-28 11:38:19 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611200 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 247 - 2025-06-28 11:38:19 [0.17ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611200;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 248 - 2025-06-28 11:38:19 [0.18ms] */
select * from `invoice` where `id` = 611200 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 249 - 2025-06-28 11:38:19 [0.32ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 74, 'App\Models\User', 611200, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 250 - 2025-06-28 11:38:19 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-455-611200686', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611200;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 251 - 2025-06-28 11:38:19 [0.18ms] */
select * from `invoice` where `id` = 611200 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 252 - 2025-06-28 11:38:19 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-455-611200686","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 74, 'App\Models\User', 611200, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 253 - 2025-06-28 11:38:19 [0.2ms] */
update `transaction` set `party_vehicle_id` = 32707, `vehicle_tax_id` = 500013, `invoice_id` = 611200, `transaction`.`updated_at` = '2025-06-28 11:38:19' where `id` = 638375;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 254 - 2025-06-28 11:38:19 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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 255 - 2025-06-28 11:38:19 [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 256 - 2025-06-28 11:38:19 [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 257 - 2025-06-28 11:38:19 [0.24ms] */
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 (10716, 2, 15499, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 258 - 2025-06-28 11:38:19 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638376, 'INITIATED', '2025-06-28 11:38:19', 5, 74, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 259 - 2025-06-28 11:38:19 [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 260 - 2025-06-28 11:38:19 [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', 'O7M-32707-598', 15499, 100, 10716, 32707, 638376, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 261 - 2025-06-28 11:38:19 [0.18ms] */
select * from `vehicle_tax` where `id` = 500014 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 262 - 2025-06-28 11:38:19 [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":"O7M-32707-598","tax_sticker_id":null,"vehicle_id":15499,"term_id":100,"party_id":10716,"transaction_id":638376,"party_vehicle_id":32707,"exempt":"N","migration_id":null}}', 74, 'App\Models\User', 500014, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 263 - 2025-06-28 11:38:19 [0.23ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 264 - 2025-06-28 11:38:19 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 265 - 2025-06-28 11:38:19 [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 266 - 2025-06-28 11:38:19 [0.19ms] */
select * from `party` where `party`.`id` = 10716 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 267 - 2025-06-28 11:38:19 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638376, '2024-09-01 00:00:00', '2024-09-01 00:00:00', 'OPEN', 10716, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 268 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611201 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 269 - 2025-06-28 11:38:19 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":638376,"party_id":10716,"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}}', 74, 'App\Models\User', 611201, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 270 - 2025-06-28 11:38:19 [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 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 611201, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 271 - 2025-06-28 11:38:19 [0.16ms] */
select * from `invoice_item` where `id` = 1096607 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 272 - 2025-06-28 11:38:19 [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 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":611201}}', 74, 'App\Models\User', 1096607, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 273 - 2025-06-28 11:38:19 [0.18ms] */
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, 611201, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 274 - 2025-06-28 11:38:19 [0.17ms] */
select * from `invoice_item` where `id` = 1096608 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 275 - 2025-06-28 11:38:19 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_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":611201}}', 74, 'App\Models\User', 1096608, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 276 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 611201 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 277 - 2025-06-28 11:38:19 [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` = 611201 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 278 - 2025-06-28 11:38:19 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611201 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 279 - 2025-06-28 11:38:19 [0.17ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611201;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 280 - 2025-06-28 11:38:19 [0.18ms] */
select * from `invoice` where `id` = 611201 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 281 - 2025-06-28 11:38:19 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 74, 'App\Models\User', 611201, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 282 - 2025-06-28 11:38:19 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-182-611201967', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611201;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 283 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611201 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 284 - 2025-06-28 11:38:19 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-182-611201967","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 74, 'App\Models\User', 611201, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 285 - 2025-06-28 11:38:19 [0.2ms] */
update `transaction` set `party_vehicle_id` = 32707, `vehicle_tax_id` = 500014, `invoice_id` = 611201, `transaction`.`updated_at` = '2025-06-28 11:38:19' where `id` = 638376;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 286 - 2025-06-28 11:38:19 [0.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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 287 - 2025-06-28 11:38:19 [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 288 - 2025-06-28 11:38:19 [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 289 - 2025-06-28 11:38:19 [0.24ms] */
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 (10716, 2, 15499, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 290 - 2025-06-28 11:38:19 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638377, 'INITIATED', '2025-06-28 11:38:19', 5, 74, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 291 - 2025-06-28 11:38:19 [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 292 - 2025-06-28 11:38:19 [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 293 - 2025-06-28 11:38:19 [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 294 - 2025-06-28 11:38:19 [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', 'X1S-32707-331', 15499, 103, 10716, 32707, 638377, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 295 - 2025-06-28 11:38:19 [0.17ms] */
select * from `vehicle_tax` where `id` = 500015 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 296 - 2025-06-28 11:38:19 [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":"X1S-32707-331","tax_sticker_id":null,"vehicle_id":15499,"term_id":103,"party_id":10716,"transaction_id":638377,"party_vehicle_id":32707,"exempt":"N","migration_id":null}}', 74, 'App\Models\User', 500015, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 297 - 2025-06-28 11:38:19 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 298 - 2025-06-28 11:38:19 [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 299 - 2025-06-28 11:38:19 [0.19ms] */
select * from `party` where `party`.`id` = 10716 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 300 - 2025-06-28 11:38:19 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638377, '2024-12-01 00:00:00', '2024-12-01 00:00:00', 'OPEN', 10716, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 301 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611202 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 302 - 2025-06-28 11:38:19 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":638377,"party_id":10716,"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}}', 74, 'App\Models\User', 611202, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 303 - 2025-06-28 11:38:19 [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 for 18 HP', 'Yearly tax for 18 HP', 1, 63.00, 63.00, 611202, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 304 - 2025-06-28 11:38:19 [0.17ms] */
select * from `invoice_item` where `id` = 1096609 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 305 - 2025-06-28 11:38:19 [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 for 18 HP","description":"Yearly tax for 18 HP","unit_price":"63.00","quantity":1,"total_price":"63.00","invoice_id":611202}}', 74, 'App\Models\User', 1096609, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 306 - 2025-06-28 11:38:19 [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, 611202, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 307 - 2025-06-28 11:38:19 [0.17ms] */
select * from `invoice_item` where `id` = 1096610 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 308 - 2025-06-28 11:38:19 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_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":611202}}', 74, 'App\Models\User', 1096610, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 309 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 611202 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 310 - 2025-06-28 11:38:19 [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` = 611202 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 311 - 2025-06-28 11:38:19 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611202 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 312 - 2025-06-28 11:38:19 [0.17ms] */
update `invoice` set `invoice_amount` = 71, `outstanding_balance` = 71, `discounts` = 0, `total_invoice_amount` = 71, `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611202;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 313 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611202 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 314 - 2025-06-28 11:38:19 [0.44ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"71.00","outstanding_balance":"71.00","discounts":"0.00","total_invoice_amount":"71.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 74, 'App\Models\User', 611202, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 315 - 2025-06-28 11:38:19 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-948-611202489', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611202;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 316 - 2025-06-28 11:38:19 [0.18ms] */
select * from `invoice` where `id` = 611202 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 317 - 2025-06-28 11:38:19 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"71.00","outstanding_balance":"71.00","discounts":"0.00","total_invoice_amount":"71.00","invoice_number":"INV-948-611202489","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 74, 'App\Models\User', 611202, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 318 - 2025-06-28 11:38:19 [0.2ms] */
update `transaction` set `party_vehicle_id` = 32707, `vehicle_tax_id` = 500015, `invoice_id` = 611202, `transaction`.`updated_at` = '2025-06-28 11:38:19' where `id` = 638377;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 319 - 2025-06-28 11:38:19 [0.29ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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 320 - 2025-06-28 11:38:19 [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 321 - 2025-06-28 11:38:19 [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 322 - 2025-06-28 11:38:19 [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 (10716, 2, 15499, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 323 - 2025-06-28 11:38:19 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638378, 'INITIATED', '2025-06-28 11:38:19', 5, 74, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 324 - 2025-06-28 11:38:19 [0.22ms] */
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 325 - 2025-06-28 11:38:19 [0.26ms] */
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', 'PXU-32707-288', 15499, 104, 10716, 32707, 638378, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 326 - 2025-06-28 11:38:19 [0.17ms] */
select * from `vehicle_tax` where `id` = 500016 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 327 - 2025-06-28 11:38:19 [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":"PXU-32707-288","tax_sticker_id":null,"vehicle_id":15499,"term_id":104,"party_id":10716,"transaction_id":638378,"party_vehicle_id":32707,"exempt":"N","migration_id":null}}', 74, 'App\Models\User', 500016, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 328 - 2025-06-28 11:38:19 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 329 - 2025-06-28 11:38:19 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 5 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` = 5 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 330 - 2025-06-28 11:38:19 [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 331 - 2025-06-28 11:38:19 [0.19ms] */
select * from `party` where `party`.`id` = 10716 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 332 - 2025-06-28 11:38:19 [0.2ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (638378, '2025-03-01 00:00:00', '2025-03-01 00:00:00', 'OPEN', 10716, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 333 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611203 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 334 - 2025-06-28 11:38:19 [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":638378,"party_id":10716,"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}}', 74, 'App\Models\User', 611203, 'Modules\Transaction\Entities\Invoice', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 335 - 2025-06-28 11:38:19 [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 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 611203, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 336 - 2025-06-28 11:38:19 [0.16ms] */
select * from `invoice_item` where `id` = 1096611 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 337 - 2025-06-28 11:38:19 [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 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":611203}}', 74, 'App\Models\User', 1096611, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 338 - 2025-06-28 11:38:19 [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, 611203, 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 339 - 2025-06-28 11:38:19 [0.16ms] */
select * from `invoice_item` where `id` = 1096612 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 340 - 2025-06-28 11:38:19 [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":611203}}', 74, 'App\Models\User', 1096612, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 341 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 611203 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 342 - 2025-06-28 11:38:19 [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` = 611203 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 343 - 2025-06-28 11:38:19 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 611203 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 344 - 2025-06-28 11:38:19 [0.18ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611203;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 345 - 2025-06-28 11:38:19 [0.19ms] */
select * from `invoice` where `id` = 611203 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 346 - 2025-06-28 11:38:19 [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":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 74, 'App\Models\User', 611203, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 347 - 2025-06-28 11:38:19 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-444-611203240', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611203;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 348 - 2025-06-28 11:38:19 [0.18ms] */
select * from `invoice` where `id` = 611203 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 349 - 2025-06-28 11:38:19 [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":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-444-611203240","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 74, 'App\Models\User', 611203, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 350 - 2025-06-28 11:38:19 [0.27ms] */
update `transaction` set `party_vehicle_id` = 32707, `vehicle_tax_id` = 500016, `invoice_id` = 611203, `transaction`.`updated_at` = '2025-06-28 11:38:19' where `id` = 638378;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 351 - 2025-06-28 11:38:19 [0.49ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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 352 - 2025-06-28 11:38:19 [146.13ms] */
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 353 - 2025-06-28 11:38:19 [0.66ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 15499 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 354 - 2025-06-28 11:38:19 [61.46ms] */
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 355 - 2025-06-28 11:38:19 [0.32ms] */
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 356 - 2025-06-28 11:38:19 [15.85ms] */
select * from `vehicle_tax` where `party_vehicle_id` = 32707 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 357 - 2025-06-28 11:38:19 [0.28ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 500007 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 358 - 2025-06-28 11:38:19 [3.22ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-06-28 11:38:19' where `id` = 500007;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 359 - 2025-06-28 11:38:19 [0.22ms] */
select * from `vehicle_tax` where `id` = 500007 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 360 - 2025-06-28 11:38:19 [3.58ms] */
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"}}', 74, 'App\Models\User', 500007, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 361 - 2025-06-28 11:38:19 [0.4ms] */
select * from `invoice` where `transaction_id` = 638369 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 362 - 2025-06-28 11:38:19 [2.9ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611194;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 363 - 2025-06-28 11:38:19 [0.34ms] */
select * from `invoice` where `id` = 611194 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 364 - 2025-06-28 11:38:19 [3.1ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 74, 'App\Models\User', 611194, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 365 - 2025-06-28 11:38:19 [0.31ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 500008 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 366 - 2025-06-28 11:38:19 [3.24ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-06-28 11:38:19' where `id` = 500008;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 367 - 2025-06-28 11:38:19 [1.32ms] */
select * from `vehicle_tax` where `id` = 500008 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 368 - 2025-06-28 11:38:19 [3.07ms] */
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"}}', 74, 'App\Models\User', 500008, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 369 - 2025-06-28 11:38:19 [1.35ms] */
select * from `invoice` where `transaction_id` = 638370 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 370 - 2025-06-28 11:38:19 [3.14ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611195;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 371 - 2025-06-28 11:38:19 [0.32ms] */
select * from `invoice` where `id` = 611195 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 372 - 2025-06-28 11:38:19 [3.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 74, 'App\Models\User', 611195, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 373 - 2025-06-28 11:38:19 [0.31ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 500009 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 374 - 2025-06-28 11:38:19 [4.52ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-06-28 11:38:19' where `id` = 500009;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 375 - 2025-06-28 11:38:19 [0.28ms] */
select * from `vehicle_tax` where `id` = 500009 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 376 - 2025-06-28 11:38:19 [3.12ms] */
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"}}', 74, 'App\Models\User', 500009, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 377 - 2025-06-28 11:38:19 [0.36ms] */
select * from `invoice` where `transaction_id` = 638371 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 378 - 2025-06-28 11:38:19 [3.08ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611196;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 379 - 2025-06-28 11:38:19 [0.31ms] */
select * from `invoice` where `id` = 611196 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 380 - 2025-06-28 11:38:19 [3.39ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 74, 'App\Models\User', 611196, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 381 - 2025-06-28 11:38:19 [0.31ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 500010 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 382 - 2025-06-28 11:38:19 [3.18ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-06-28 11:38:19' where `id` = 500010;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 383 - 2025-06-28 11:38:19 [0.29ms] */
select * from `vehicle_tax` where `id` = 500010 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 384 - 2025-06-28 11:38:19 [3.37ms] */
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"}}', 74, 'App\Models\User', 500010, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 385 - 2025-06-28 11:38:19 [0.35ms] */
select * from `invoice` where `transaction_id` = 638372 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 386 - 2025-06-28 11:38:19 [2.92ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611197;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 387 - 2025-06-28 11:38:19 [0.32ms] */
select * from `invoice` where `id` = 611197 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 388 - 2025-06-28 11:38:19 [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":[]}', 74, 'App\Models\User', 611197, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 389 - 2025-06-28 11:38:19 [0.3ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 500011 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 390 - 2025-06-28 11:38:19 [2.98ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-06-28 11:38:19' where `id` = 500011;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 391 - 2025-06-28 11:38:19 [0.29ms] */
select * from `vehicle_tax` where `id` = 500011 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 392 - 2025-06-28 11:38:19 [3.25ms] */
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"}}', 74, 'App\Models\User', 500011, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 393 - 2025-06-28 11:38:19 [0.37ms] */
select * from `invoice` where `transaction_id` = 638373 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 394 - 2025-06-28 11:38:19 [5ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611198;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 395 - 2025-06-28 11:38:19 [0.32ms] */
select * from `invoice` where `id` = 611198 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 396 - 2025-06-28 11:38:19 [3.26ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 74, 'App\Models\User', 611198, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 397 - 2025-06-28 11:38:19 [0.3ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 500012 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 398 - 2025-06-28 11:38:19 [3.13ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-06-28 11:38:19' where `id` = 500012;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 399 - 2025-06-28 11:38:19 [0.28ms] */
select * from `vehicle_tax` where `id` = 500012 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 400 - 2025-06-28 11:38:19 [3.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":{"exempt":"Y"},"old":{"exempt":"N"}}', 74, 'App\Models\User', 500012, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 401 - 2025-06-28 11:38:19 [0.36ms] */
select * from `invoice` where `transaction_id` = 638374 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 402 - 2025-06-28 11:38:19 [2.92ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611199;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 403 - 2025-06-28 11:38:19 [0.31ms] */
select * from `invoice` where `id` = 611199 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 404 - 2025-06-28 11:38:19 [3.1ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 74, 'App\Models\User', 611199, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 405 - 2025-06-28 11:38:19 [0.31ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 500013 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 406 - 2025-06-28 11:38:19 [3.05ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-06-28 11:38:19' where `id` = 500013;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 407 - 2025-06-28 11:38:19 [0.29ms] */
select * from `vehicle_tax` where `id` = 500013 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 408 - 2025-06-28 11:38:19 [3.03ms] */
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"}}', 74, 'App\Models\User', 500013, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 409 - 2025-06-28 11:38:19 [0.36ms] */
select * from `invoice` where `transaction_id` = 638375 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 410 - 2025-06-28 11:38:19 [2.98ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611200;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 411 - 2025-06-28 11:38:19 [0.32ms] */
select * from `invoice` where `id` = 611200 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 412 - 2025-06-28 11:38:19 [3.04ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 74, 'App\Models\User', 611200, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 413 - 2025-06-28 11:38:19 [0.31ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 500014 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 414 - 2025-06-28 11:38:19 [5.09ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-06-28 11:38:19' where `id` = 500014;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 415 - 2025-06-28 11:38:19 [0.28ms] */
select * from `vehicle_tax` where `id` = 500014 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 416 - 2025-06-28 11:38:19 [2.85ms] */
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"}}', 74, 'App\Models\User', 500014, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 417 - 2025-06-28 11:38:19 [0.35ms] */
select * from `invoice` where `transaction_id` = 638376 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 418 - 2025-06-28 11:38:19 [2.95ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-06-28 11:38:19' where `id` = 611201;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 419 - 2025-06-28 11:38:19 [0.31ms] */
select * from `invoice` where `id` = 611201 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 420 - 2025-06-28 11:38:19 [3.03ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 74, 'App\Models\User', 611201, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 421 - 2025-06-28 11:38:19 [44.24ms] */
select * from `discount` where `vehicle_tax` = 500007 and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 422 - 2025-06-28 11:38:19 [3.39ms] */
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, '[500007,500008,500009,500010,500011,500012,500013,500014]', 15499, 10716, '2025-09-01 11:38:19', 74, 74, '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 423 - 2025-06-28 11:38:19 [0.25ms] */
select * from `discount` where `id` = 26826 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 424 - 2025-06-28 11:38:19 [3.17ms] */
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":15499,"amount":null,"expiry_date":"2025-09-01 11:38:19","party_id":10716,"service_id":2,"vehicle_tax":[500007,500008,500009,500010,500011,500012,500013,500014],"party_vehicle_id":null}}', 74, 'App\Models\User', 26826, 'Modules\Transaction\Entities\Discount', 'created', '2025-06-28 11:38:19', '2025-06-28 11:38:19');
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 1 - 2025-06-28 11:38:19 [1.96ms] */
select * from `users` where `id` = 74 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 2 - 2025-06-28 11:38:19 [0.61ms] */
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/15499
   Query 3 - 2025-06-28 11:38:19 [0.49ms] */
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/15499
   Query 4 - 2025-06-28 11:38:19 [0.56ms] */
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/15499
   Query 5 - 2025-06-28 11:38:19 [0.21ms] */
select * from `vehicle` where `id` = 15499 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 6 - 2025-06-28 11:38:19 [0.19ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 15499 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 7 - 2025-06-28 11:38:19 [0.15ms] */
select * from `vehicle` where `id` = 15499 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 8 - 2025-06-28 11:38:19 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 15499 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 9 - 2025-06-28 11:38:19 [0.23ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 10 - 2025-06-28 11:38:19 [0.14ms] */
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/15499
   Query 11 - 2025-06-28 11:38:19 [0.16ms] */
select * from `model` where `model`.`id` = 1562 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 12 - 2025-06-28 11:38:19 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 13 - 2025-06-28 11:38:19 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 14 - 2025-06-28 11:38:19 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 15499 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 15 - 2025-06-28 11:38:19 [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/15499
   Query 16 - 2025-06-28 11:38:19 [0.15ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 17 - 2025-06-28 11:38:19 [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/15499
   Query 18 - 2025-06-28 11:38:19 [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/15499
   Query 19 - 2025-06-28 11:38:19 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 15499 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 20 - 2025-06-28 11:38:19 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 21 - 2025-06-28 11:38:19 [0.14ms] */
select * from `model` where `model`.`id` = 1562 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 22 - 2025-06-28 11:38:19 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 23 - 2025-06-28 11:38:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 24 - 2025-06-28 11:38: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/15499
   Query 25 - 2025-06-28 11:38:19 [0.15ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 26 - 2025-06-28 11:38:20 [0.17ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 27 - 2025-06-28 11:38:20 [0.54ms] */
select * from `transaction` where `transaction`.`id` = 32707 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 28 - 2025-06-28 11:38:20 [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/15499
   Query 29 - 2025-06-28 11:38:20 [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/15499
   Query 30 - 2025-06-28 11:38:20 [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/15499
   Query 31 - 2025-06-28 11:38:20 [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/15499
   Query 32 - 2025-06-28 11:38:20 [0.8ms] */
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` = 15499 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 33 - 2025-06-28 11:38:20 [0.15ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 34 - 2025-06-28 11:38:20 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 35 - 2025-06-28 11:38:20 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 36 - 2025-06-28 11:38:20 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32707 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/15499
   Query 37 - 2025-06-28 11:38:20 [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/15499
   Query 38 - 2025-06-28 11:38:20 [0.42ms] */
select * from `transaction` where `transaction`.`id` = 638362 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 39 - 2025-06-28 11:38:20 [0.15ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 40 - 2025-06-28 11:38:20 [0.16ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 41 - 2025-06-28 11:38:20 [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/15499
   Query 42 - 2025-06-28 11:38:20 [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/15499
   Query 43 - 2025-06-28 11:38:20 [0.15ms] */
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/15499
   Query 44 - 2025-06-28 11:38:20 [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/15499
   Query 45 - 2025-06-28 11:38:20 [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/15499
   Query 46 - 2025-06-28 11:38:20 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 47 - 2025-06-28 11:38:20 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 48 - 2025-06-28 11:38:20 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32707 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/15499
   Query 49 - 2025-06-28 11:38:20 [0.16ms] */
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/15499
   Query 50 - 2025-06-28 11:38:20 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 638363 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 51 - 2025-06-28 11:38:20 [0.14ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 52 - 2025-06-28 11:38:20 [0.15ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 53 - 2025-06-28 11:38:20 [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/15499
   Query 54 - 2025-06-28 11:38:20 [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/15499
   Query 55 - 2025-06-28 11:38:20 [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/15499
   Query 56 - 2025-06-28 11:38:20 [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/15499
   Query 57 - 2025-06-28 11:38:20 [0.14ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 58 - 2025-06-28 11:38:20 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 59 - 2025-06-28 11:38:20 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 60 - 2025-06-28 11:38:20 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32707 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/15499
   Query 61 - 2025-06-28 11:38:20 [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/15499
   Query 62 - 2025-06-28 11:38:20 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 638369 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 63 - 2025-06-28 11:38:20 [0.14ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 64 - 2025-06-28 11:38:20 [0.15ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 65 - 2025-06-28 11:38:20 [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/15499
   Query 66 - 2025-06-28 11:38:20 [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/15499
   Query 67 - 2025-06-28 11:38:20 [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/15499
   Query 68 - 2025-06-28 11:38:20 [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/15499
   Query 69 - 2025-06-28 11:38:20 [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/15499
   Query 70 - 2025-06-28 11:38:20 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 71 - 2025-06-28 11:38:20 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 72 - 2025-06-28 11:38:20 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32707 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/15499
   Query 73 - 2025-06-28 11:38:20 [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/15499
   Query 74 - 2025-06-28 11:38:20 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 638370 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 75 - 2025-06-28 11:38:20 [0.15ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 76 - 2025-06-28 11:38:20 [0.15ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 77 - 2025-06-28 11:38:20 [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/15499
   Query 78 - 2025-06-28 11:38:20 [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/15499
   Query 79 - 2025-06-28 11:38:20 [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/15499
   Query 80 - 2025-06-28 11:38:20 [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/15499
   Query 81 - 2025-06-28 11:38:20 [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/15499
   Query 82 - 2025-06-28 11:38:20 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 83 - 2025-06-28 11:38:20 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 84 - 2025-06-28 11:38:20 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32707 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/15499
   Query 85 - 2025-06-28 11:38:20 [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/15499
   Query 86 - 2025-06-28 11:38:20 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 638371 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 87 - 2025-06-28 11:38:20 [0.14ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 88 - 2025-06-28 11:38:20 [0.16ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 89 - 2025-06-28 11:38:20 [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/15499
   Query 90 - 2025-06-28 11:38:20 [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/15499
   Query 91 - 2025-06-28 11:38:20 [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/15499
   Query 92 - 2025-06-28 11:38:20 [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/15499
   Query 93 - 2025-06-28 11:38:20 [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/15499
   Query 94 - 2025-06-28 11:38:20 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 15499 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 95 - 2025-06-28 11:38:20 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 96 - 2025-06-28 11:38:20 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32707 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/15499
   Query 97 - 2025-06-28 11:38:20 [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/15499
   Query 98 - 2025-06-28 11:38:20 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 638372 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 99 - 2025-06-28 11:38:20 [0.14ms] */
select * from `party` where `party`.`id` = 10716 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 100 - 2025-06-28 11:38:20 [0.15ms] */
select * from `person` where `person`.`id` = 10716 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/15499
   Query 101 - 2025-06-28 11:38:20 [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/15499
   Query 102 - 2025-06-28 11:38:20 [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/15499
   Query 103 - 2025-06-28 11:38:20 [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/15499
   Query 104 - 2025-06-28 11:38:20 [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/15499
   Query 105 - 2025-06-28 11:38:20 [0.14ms] */
