select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 9 - 2025-05-02 07:45:34 [27.78ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63237 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-05-02 07:45:34 [0.29ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65887 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 11 - 2025-05-02 07:45:34 [15.26ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 37807 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 12 - 2025-05-02 07:45:34 [0.2ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 37807 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 13 - 2025-05-02 07:45:34 [26.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63236 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 14 - 2025-05-02 07:45:34 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65886 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 15 - 2025-05-02 07:45:34 [26.29ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63235 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 16 - 2025-05-02 07:45:34 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65885 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 17 - 2025-05-02 07:45:34 [24.75ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 59573 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 18 - 2025-05-02 07:45:34 [1.15ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 62124 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 19 - 2025-05-02 07:45:34 [32.07ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63233 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 20 - 2025-05-02 07:45:34 [0.39ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65883 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 21 - 2025-05-02 07:45:34 [25.87ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63234 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 22 - 2025-05-02 07:45:34 [0.3ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65884 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 23 - 2025-05-02 07:45:34 [25.83ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63232 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 24 - 2025-05-02 07:45:34 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65882 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 25 - 2025-05-02 07:45:34 [25.8ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63231 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 26 - 2025-05-02 07:45:34 [0.21ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65881 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 27 - 2025-05-02 07:45:34 [25.77ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 63230 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 28 - 2025-05-02 07:45:34 [0.23ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 65880 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 29 - 2025-05-02 07:45:34 [0.32ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 30 - 2025-05-02 07:45:34 [0.2ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 31 - 2025-05-02 07:45:34 [1.09ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 818 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 32 - 2025-05-02 07:45:34 [0.65ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 818 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 33 - 2025-05-02 07:45:34 [0.95ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 818 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-05-02 07:45:36 [2.04ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-05-02 07:45:36 [0.79ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-05-02 07:45:36 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-05-02 07:45:36 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-05-02 07:45:36 [0.44ms] */
select * from `party` where `party`.`id` = 818 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-05-02 07:45:36 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-05-02 07:45:36 [0.35ms] */
select * from `party` where `party`.`id` in (818) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 8 - 2025-05-02 07:45:36 [0.42ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 9 - 2025-05-02 07:45:36 [0.42ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 84323 order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-05-02 07:45:36 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 11 - 2025-05-02 07:45:36 [0.38ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-05-02 07:45:38 [1.31ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-05-02 07:45:38 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-05-02 07:45:38 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-05-02 07:45:38 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-05-02 07:45:38 [0.21ms] */
select * from `party` where `party`.`id` = 818 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-05-02 07:45:38 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-05-02 07:45:38 [0.15ms] */
select * from `party` where `party`.`id` in (818) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 1 - 2025-05-02 07:45:38 [1.33ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 2 - 2025-05-02 07:45:38 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 3 - 2025-05-02 07:45:38 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 4 - 2025-05-02 07:45:38 [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/party.create-party-vehicle-component
   Query 5 - 2025-05-02 07:45:38 [0.38ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 6 - 2025-05-02 07:45:38 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 1 - 2025-05-02 07:45:41 [1.33ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 2 - 2025-05-02 07:45:41 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 3 - 2025-05-02 07:45:41 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 4 - 2025-05-02 07:45:41 [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/livewire/message/party.create-party-vehicle-component
   Query 5 - 2025-05-02 07:45:41 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 6 - 2025-05-02 07:45:41 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 1 - 2025-05-02 07:45:43 [1.9ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 2 - 2025-05-02 07:45:43 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 3 - 2025-05-02 07:45:43 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 4 - 2025-05-02 07:45:43 [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/party.create-party-vehicle-component
   Query 5 - 2025-05-02 07:45:43 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 6 - 2025-05-02 07:45:43 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (3, 2, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 7 - 2025-05-02 07:45:43 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 8 - 2025-05-02 07:45:43 [11.77ms] */
update `party_vehicle` set `classification_id` = 2, `registration_date` = '2023-01-01 07:45:43', `updated_by` = 89, `party_vehicle`.`updated_at` = '2025-05-02 07:45:43' where `id` = 84323;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 9 - 2025-05-02 07:45:43 [0.54ms] */
select * from `party_vehicle` where `id` = 84323 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.create-party-vehicle-component
   Query 10 - 2025-05-02 07:45:43 [3.43ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"classification_id":2},"old":{"classification_id":1}}', 89, 'App\Models\User', 84323, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2025-05-02 07:45:43', '2025-05-02 07:45:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 1 - 2025-05-02 07:45:44 [2.84ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 2 - 2025-05-02 07:45:44 [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/livewire/message/party.party-vehicle-history-component
   Query 3 - 2025-05-02 07:45:44 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 4 - 2025-05-02 07:45:44 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 5 - 2025-05-02 07:45:44 [0.51ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 6 - 2025-05-02 07:45:44 [0.36ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 84323 order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 7 - 2025-05-02 07:45:44 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/party.party-vehicle-history-component
   Query 8 - 2025-05-02 07:45:44 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-05-02 07:45:47 [1.63ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-05-02 07:45:47 [0.67ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-05-02 07:45:47 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-05-02 07:45:47 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-05-02 07:45:47 [0.31ms] */
select * from `party` where `party`.`id` = 818 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-05-02 07:45:47 [0.39ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-05-02 07:45:47 [0.26ms] */
select * from `party` where `party`.`id` in (818) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 8 - 2025-05-02 07:45:47 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 9 - 2025-05-02 07:45:47 [0.72ms] */
select * from `party_vehicle` where `vehicle_id` = 3471 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-05-02 07:45:47 [0.84ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 3471 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 11 - 2025-05-02 07:45:47 [0.8ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 84323 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 12 - 2025-05-02 07:45:47 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 13 - 2025-05-02 07:45:47 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 14 - 2025-05-02 07:45:47 [0.25ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 15 - 2025-05-02 07:45:47 [0.32ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 16 - 2025-05-02 07:45:47 [0.22ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 17 - 2025-05-02 07:45:47 [0.2ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 18 - 2025-05-02 07:45:47 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 19 - 2025-05-02 07:45:47 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 3471 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 20 - 2025-05-02 07:45:47 [0.22ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 3471 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 21 - 2025-05-02 07:45:47 [0.21ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 84323 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 22 - 2025-05-02 07:45:47 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 23 - 2025-05-02 07:45:47 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 24 - 2025-05-02 07:45:47 [0.19ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 25 - 2025-05-02 07:45:47 [0.2ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 26 - 2025-05-02 07:45:47 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 27 - 2025-05-02 07:45:47 [0.19ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 28 - 2025-05-02 07:45:47 [0.23ms] */
select * from `model` where `model`.`id` = 1056 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 29 - 2025-05-02 07:45:47 [0.21ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 30 - 2025-05-02 07:45:47 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 23 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 31 - 2025-05-02 07:45:47 [0.2ms] */
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/service.title-confirm-registration-component
   Query 32 - 2025-05-02 07:45:47 [0.2ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 8 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 33 - 2025-05-02 07:45:47 [0.2ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 34 - 2025-05-02 07:45:47 [0.5ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 3471 and `party_vehicle`.`vehicle_id` is not null and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 35 - 2025-05-02 07:45:47 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 36 - 2025-05-02 07:45:47 [0.16ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 37 - 2025-05-02 07:45:47 [0.16ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 38 - 2025-05-02 07:45:47 [0.37ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 818 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 39 - 2025-05-02 07:45:47 [0.38ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 818 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 40 - 2025-05-02 07:45:47 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 818 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 41 - 2025-05-02 07:45:47 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 42 - 2025-05-02 07:45:47 [0.13ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 84323 order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 43 - 2025-05-02 07:45:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 44 - 2025-05-02 07:45:47 [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/service.title-confirm-registration-component
   Query 1 - 2025-05-02 07:45:50 [2.31ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-05-02 07:45:50 [0.78ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-05-02 07:45:50 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-05-02 07:45:50 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-05-02 07:45:50 [0.22ms] */
select * from `party` where `party`.`id` = 818 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-05-02 07:45:50 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-05-02 07:45:50 [0.14ms] */
select * from `party` where `party`.`id` in (818) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 8 - 2025-05-02 07:45:50 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 9 - 2025-05-02 07:45:50 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-05-02 07:45:50 [0.44ms] */
select * from `service_fee` where (`sub_category_id` = 13 and `service_id` = 2 or `sub_category_id` is null and `service_id` = 2) and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 11 - 2025-05-02 07:45:50 [0.38ms] */
select * from `service_workflow` where `service_id` = 7 and `service_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-05-02 07:45:50 [2.12ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-05-02 07:45:50 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-05-02 07:45:50 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-05-02 07:45:50 [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/workflow.workflow-checklist-component
   Query 5 - 2025-05-02 07:45:51 [0.67ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-05-02 07:45:51 [0.2ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-05-02 07:46:01 [1.43ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-05-02 07:46:01 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-05-02 07:46:01 [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/workflow.workflow-checklist-component
   Query 4 - 2025-05-02 07:46:01 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-05-02 07:46:01 [0.29ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 1 - 2025-05-02 07:46:02 [1.76ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 2 - 2025-05-02 07:46:02 [0.77ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 3 - 2025-05-02 07:46:02 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 4 - 2025-05-02 07:46:02 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 5 - 2025-05-02 07:46:02 [0.23ms] */
select * from `party` where `party`.`id` = 818 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 6 - 2025-05-02 07:46:02 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 7 - 2025-05-02 07:46:02 [0.16ms] */
select * from `party` where `party`.`id` in (818) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 8 - 2025-05-02 07:46:02 [0.29ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 9 - 2025-05-02 07:46:02 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-05-02 07:46:02 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 11 - 2025-05-02 07:46:02 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 84323 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 12 - 2025-05-02 07:46:02 [0.25ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 13 - 2025-05-02 07:46:02 [79.04ms] */
select * from `transaction` where `service_id` = 7 and `party_vehicle_id` = 84323 and `status` not in ('CANCELED') and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 14 - 2025-05-02 07:46:02 [0.34ms] */
select * from `service_workflow` where ((`service_id` = 7)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 15 - 2025-05-02 07:46:02 [0.31ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 16 - 2025-05-02 07:46:02 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 17 - 2025-05-02 07:46:02 [0.21ms] */
select * from `branches` where `branches`.`id` = 18 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 18 - 2025-05-02 07:46:02 [0.66ms] */
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 (818, 7, 3471, null, 7, 30, 18, 37, 39, 'INPROGRESS', null, null, 89, 89, '2025-05-02 07:46:02', '2025-05-02 07:46:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 19 - 2025-05-02 07:46:02 [0.23ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619724, 'INITIATED', '2025-05-02 07:46:02', 5, 89, 89, 89, '2025-05-02 07:46:02', '2025-05-02 07:46:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 20 - 2025-05-02 07:46:02 [0.18ms] */
update `transaction` set `party_vehicle_id` = 84323, `transaction`.`updated_at` = '2025-05-02 07:46:02' where `id` = 619724;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 21 - 2025-05-02 07:46:02 [0.49ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 22 - 2025-05-02 07:46:02 [0.44ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 1 - 2025-05-02 07:46:02 [1.28ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 2 - 2025-05-02 07:46:02 [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/mytrn
   Query 3 - 2025-05-02 07:46:02 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 4 - 2025-05-02 07:46:02 [0.39ms] */
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-05-02 07:46:02 [38.18ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 89 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-05-02 07:46:02 [34.81ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 89 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 7 - 2025-05-02 07:46:02 [0.41ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 8 - 2025-05-02 07:46:02 [0.32ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 9 - 2025-05-02 07:46:02 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 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 10 - 2025-05-02 07:46:02 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 11 - 2025-05-02 07:46:02 [0.29ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 12 - 2025-05-02 07:46:02 [0.17ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 13 - 2025-05-02 07:46:02 [0.16ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 14 - 2025-05-02 07:46:02 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 15 - 2025-05-02 07:46:02 [0.31ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 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 16 - 2025-05-02 07:46:02 [0.31ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 17 - 2025-05-02 07:46:02 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 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 18 - 2025-05-02 07:46:02 [0.16ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 19 - 2025-05-02 07:46:02 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 20 - 2025-05-02 07:46:02 [0.34ms] */
select * from `party` where `party`.`id` = 53452 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 21 - 2025-05-02 07:46:02 [0.34ms] */
select * from `person` where `person`.`id` = 53452 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 22 - 2025-05-02 07:46:02 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 85141 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 23 - 2025-05-02 07:46:02 [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 24 - 2025-05-02 07:46:02 [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 25 - 2025-05-02 07:46:02 [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 26 - 2025-05-02 07:46:02 [0.32ms] */
select * from `party` where `party`.`id` = 54557 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 27 - 2025-05-02 07:46:02 [0.37ms] */
select * from `person` where `person`.`id` = 54557 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 28 - 2025-05-02 07:46:02 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 87281 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 29 - 2025-05-02 07:46:02 [0.29ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 31 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 30 - 2025-05-02 07:46:02 [0.31ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 31 - 2025-05-02 07:46:02 [0.29ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 32 - 2025-05-02 07:46:02 [0.3ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 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 33 - 2025-05-02 07:46:02 [0.3ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 34 - 2025-05-02 07:46:02 [0.32ms] */
select * from `service` where `service`.`id` = 3 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 35 - 2025-05-02 07:46:02 [0.3ms] */
select * from `party` where `party`.`id` = 65887 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 36 - 2025-05-02 07:46:02 [0.73ms] */
select * from `person` where `person`.`id` = 63237 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 37 - 2025-05-02 07:46:02 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 42160 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 38 - 2025-05-02 07:46:02 [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 39 - 2025-05-02 07:46:02 [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 40 - 2025-05-02 07:46:02 [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-05-02 07:46:02 [0.31ms] */
select * from `party` where `party`.`id` = 61366 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-05-02 07:46:02 [0.32ms] */
select * from `person` where `person`.`id` = 58852 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 43 - 2025-05-02 07:46:02 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 99681 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-05-02 07:46:02 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 31 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 45 - 2025-05-02 07:46:02 [0.3ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 46 - 2025-05-02 07:46:02 [0.29ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 47 - 2025-05-02 07:46:02 [0.32ms] */
select * from `users` where `users`.`id` = 91 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 48 - 2025-05-02 07:46:02 [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 49 - 2025-05-02 07:46:02 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 50 - 2025-05-02 07:46:02 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 51 - 2025-05-02 07:46:02 [0.31ms] */
select * from `party` where `party`.`id` = 51843 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 52 - 2025-05-02 07:46:02 [0.32ms] */
select * from `person` where `person`.`id` = 51843 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 53 - 2025-05-02 07:46:02 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 81879 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 54 - 2025-05-02 07:46:02 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 31 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 55 - 2025-05-02 07:46:02 [0.39ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 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 56 - 2025-05-02 07:46:02 [0.27ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 57 - 2025-05-02 07:46:02 [0.25ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 58 - 2025-05-02 07:46:02 [0.27ms] */
select * from `party` where `party`.`id` = 51843 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 59 - 2025-05-02 07:46:02 [0.3ms] */
select * from `person` where `person`.`id` = 51843 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 60 - 2025-05-02 07:46:02 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 81879 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 61 - 2025-05-02 07:46:02 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 62 - 2025-05-02 07:46:02 [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 63 - 2025-05-02 07:46:02 [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 64 - 2025-05-02 07:46:02 [0.33ms] */
select * from `party` where `party`.`id` = 32302 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 65 - 2025-05-02 07:46:02 [0.85ms] */
select * from `person` where `person`.`id` = 32302 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 66 - 2025-05-02 07:46:02 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 42160 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 67 - 2025-05-02 07:46:02 [0.25ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 31 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 68 - 2025-05-02 07:46:02 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 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 69 - 2025-05-02 07:46:02 [0.14ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 70 - 2025-05-02 07:46:02 [0.14ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 71 - 2025-05-02 07:46:02 [0.13ms] */
select * from `party` where `party`.`id` = 32302 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 72 - 2025-05-02 07:46:02 [0.15ms] */
select * from `person` where `person`.`id` = 32302 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 73 - 2025-05-02 07:46:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42160 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 74 - 2025-05-02 07:46:02 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 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-05-02 07:46:02 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 76 - 2025-05-02 07:46:02 [0.13ms] */
select * from `service` where `service`.`id` = 7 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-05-02 07:46:02 [0.33ms] */
select * from `party` where `party`.`id` = 49670 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-05-02 07:46:02 [0.32ms] */
select * from `person` where `person`.`id` = 49670 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 79 - 2025-05-02 07:46:02 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 76163 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-05-02 07:46:02 [0.18ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 81 - 2025-05-02 07:46:02 [0.14ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/logout
   Query 1 - 2025-05-02 07:46:11 [2.36ms] */
select * from `users` where `id` = 89 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/logout
   Query 2 - 2025-05-02 07:46:11 [0.82ms] */
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/logout
   Query 3 - 2025-05-02 07:46:11 [0.35ms] */
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/logout
   Query 4 - 2025-05-02 07:46:11 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-05-02 07:46:49 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-05-02 07:46:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-05-02 07:46:49 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-05-02 07:46:49 [0.19ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-05-02 07:46:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-05-02 07:46:49 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-05-02 07:46:49 [0.8ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'WU724' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-05-02 07:46:49 [0.16ms] */
select * from `party` where `party`.`id` = 59759 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-05-02 07:46:49 [0.23ms] */
select * from `vehicle` where `id` = 91579 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-05-02 07:46:49 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 91579 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-05-02 07:46:49 [2.22ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-05-02 07:46:49 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-05-02 07:46:49 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-05-02 07:46:49 [0.32ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-05-02 07:46:49 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-05-02 07:46:49 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-05-02 07:46:49 [0.52ms] */
select * from `vehicle` where `vehicle`.`id` = 91579 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-05-02 07:46:49 [0.28ms] */
select * from `vehicle` where `id` = 91579 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-05-02 07:46:49 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 91579 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-05-02 07:46:49 [0.81ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 91579 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-05-02 07:46:50 [2.1ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-05-02 07:46:50 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-05-02 07:46:50 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-05-02 07:46:50 [0.27ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-05-02 07:46:50 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-05-02 07:46:50 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-05-02 07:46:50 [0.24ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-05-02 07:46:50 [1.91ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-05-02 07:46:50 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-05-02 07:46:50 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-05-02 07:46:50 [0.26ms] */
select * from `users` where `id` = 149 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-05-02 07:46:50 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '6323ccf79f2c72894bde6f21cfe2f1eeb5c509922a5ef1f9bf792abb6aa8b2278a4629496593f6ba' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-05-02 07:46:50 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-05-02 07:46:50 [0.26ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 1 - 2025-05-02 07:47:06 [2.28ms] */
select * from `users` where `email` = 'officer.sanaag@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 2 - 2025-05-02 07:47:06 [0.23ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 3 - 2025-05-02 07:47:06 [0.29ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 90 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 4 - 2025-05-02 07:47:06 [11.05ms] */
update `userprofiles` set `last_ip` = '102.220.40.249', `login_count` = 570, `last_login` = '2025-05-02 07:47:06', `userprofiles`.`updated_at` = '2025-05-02 07:47:06' where `id` = 90;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 5 - 2025-05-02 07:47:06 [0.72ms] */
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/login
   Query 6 - 2025-05-02 07:47:06 [0.97ms] */
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/login
   Query 7 - 2025-05-02 07:47:06 [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
   Query 1 - 2025-05-02 07:47:06 [2.13ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 2 - 2025-05-02 07:47:06 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 3 - 2025-05-02 07:47:06 [0.47ms] */
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
   Query 4 - 2025-05-02 07:47:06 [0.39ms] */
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
   Query 5 - 2025-05-02 07:47:06 [0.19ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 6 - 2025-05-02 07:47:06 [0.13ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-05-02' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 7 - 2025-05-02 07:47:06 [17.95ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 8 - 2025-05-02 07:47:06 [29.43ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-05-02' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-05-02 07:47:06 [82.25ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-05-01' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 10 - 2025-05-02 07:47:06 [51.4ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-05-01' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-05-02 07:47:07 [451.05ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-05-02' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-05-02 07:47:09 [1805.93ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-05-02' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 13 - 2025-05-02 07:47:09 [0.32ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 14 - 2025-05-02 07:47:09 [0.17ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 1 - 2025-05-02 07:47:18 [2.03ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 2 - 2025-05-02 07:47:18 [0.62ms] */
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
   Query 3 - 2025-05-02 07:47:18 [0.46ms] */
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
   Query 4 - 2025-05-02 07:47:18 [0.36ms] */
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
   Query 5 - 2025-05-02 07:47:18 [0.22ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 6 - 2025-05-02 07:47:18 [0.15ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-05-02 07:47:18 [161.55ms] */
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 `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 8 - 2025-05-02 07:47:18 [304.38ms] */
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 `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null order by `vehicle`.`updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 9 - 2025-05-02 07:47:18 [0.53ms] */
select * from `model` where `model`.`id` in (1056, 1335, 1366, 1367, 1371, 1396, 1448, 1559) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 10 - 2025-05-02 07:47:18 [0.39ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (11, 15, 20, 22, 23, 26) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 11 - 2025-05-02 07:47:18 [0.33ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (8, 26, 37, 43, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 12 - 2025-05-02 07:47:18 [0.33ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 13 - 2025-05-02 07:47:18 [0.33ms] */
select * from `sub_category` where `sub_category`.`id` in (4, 7, 9, 13) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 14 - 2025-05-02 07:47:18 [0.58ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (3471, 42673, 62290, 66914, 68482, 70184, 72308, 84252, 88093, 93362) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 15 - 2025-05-02 07:47:18 [0.23ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 16 - 2025-05-02 07:47:18 [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
   Query 17 - 2025-05-02 07:47:18 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 18 - 2025-05-02 07:47:18 [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
   Query 19 - 2025-05-02 07:47:18 [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
   Query 20 - 2025-05-02 07:47:18 [0.44ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 3471 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 21 - 2025-05-02 07:47:18 [0.15ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 22 - 2025-05-02 07:47:18 [0.15ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 23 - 2025-05-02 07:47:18 [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
   Query 24 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 25 - 2025-05-02 07:47:18 [0.35ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 26 - 2025-05-02 07:47:18 [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
   Query 27 - 2025-05-02 07:47:18 [0.34ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 28 - 2025-05-02 07:47:18 [0.38ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 66914 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 29 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 46189 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 30 - 2025-05-02 07:47:18 [0.14ms] */
select * from `person` where `person`.`id` = 46189 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 31 - 2025-05-02 07:47:18 [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
   Query 32 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 46189 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 33 - 2025-05-02 07:47:18 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 34 - 2025-05-02 07:47:18 [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
   Query 35 - 2025-05-02 07:47:18 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 36 - 2025-05-02 07:47:18 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 84252 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 37 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 53059 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 38 - 2025-05-02 07:47:18 [0.14ms] */
select * from `person` where `person`.`id` = 53059 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 39 - 2025-05-02 07:47:18 [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
   Query 40 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 53059 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 41 - 2025-05-02 07:47:18 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 42 - 2025-05-02 07:47:18 [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
   Query 43 - 2025-05-02 07:47:18 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 72308 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 44 - 2025-05-02 07:47:18 [0.35ms] */
select * from `party` where `party`.`id` = 35157 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 45 - 2025-05-02 07:47:18 [0.36ms] */
select * from `person` where `person`.`id` = 35157 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 46 - 2025-05-02 07:47:18 [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
   Query 47 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 35157 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 48 - 2025-05-02 07:47:18 [0.31ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 49 - 2025-05-02 07:47:18 [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
   Query 50 - 2025-05-02 07:47:18 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 51 - 2025-05-02 07:47:18 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 62290 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 52 - 2025-05-02 07:47:18 [0.33ms] */
select * from `party` where `party`.`id` = 41615 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 53 - 2025-05-02 07:47:18 [0.34ms] */
select * from `person` where `person`.`id` = 41615 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 54 - 2025-05-02 07:47:18 [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
   Query 55 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 41615 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 56 - 2025-05-02 07:47:18 [0.31ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 57 - 2025-05-02 07:47:18 [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
   Query 58 - 2025-05-02 07:47:18 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 59 - 2025-05-02 07:47:18 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 42673 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 60 - 2025-05-02 07:47:18 [0.34ms] */
select * from `party` where `party`.`id` = 33917 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 61 - 2025-05-02 07:47:18 [0.35ms] */
select * from `person` where `person`.`id` = 33917 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 62 - 2025-05-02 07:47:18 [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
   Query 63 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 33917 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 64 - 2025-05-02 07:47:18 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 65 - 2025-05-02 07:47:18 [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
   Query 66 - 2025-05-02 07:47:18 [0.31ms] */
select * from `make` where `make`.`id` = 51 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 67 - 2025-05-02 07:47:18 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 93362 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 68 - 2025-05-02 07:47:18 [0.35ms] */
select * from `party` where `party`.`id` = 44820 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 69 - 2025-05-02 07:47:18 [0.35ms] */
select * from `person` where `person`.`id` = 44820 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 70 - 2025-05-02 07:47:18 [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
   Query 71 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 44820 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 72 - 2025-05-02 07:47:18 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 73 - 2025-05-02 07:47:18 [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
   Query 74 - 2025-05-02 07:47:18 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 88093 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 75 - 2025-05-02 07:47:18 [0.33ms] */
select * from `party` where `party`.`id` = 55115 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 76 - 2025-05-02 07:47:18 [0.35ms] */
select * from `person` where `person`.`id` = 55115 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 77 - 2025-05-02 07:47:18 [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
   Query 78 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 55115 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 79 - 2025-05-02 07:47:18 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 80 - 2025-05-02 07:47:18 [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
   Query 81 - 2025-05-02 07:47:18 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 82 - 2025-05-02 07:47:18 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 70184 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 83 - 2025-05-02 07:47:18 [0.32ms] */
select * from `party` where `party`.`id` = 47512 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 84 - 2025-05-02 07:47:18 [0.35ms] */
select * from `person` where `person`.`id` = 47512 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 85 - 2025-05-02 07:47:18 [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
   Query 86 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 47512 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 87 - 2025-05-02 07:47:18 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 88 - 2025-05-02 07:47:18 [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
   Query 89 - 2025-05-02 07:47:18 [0.15ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 90 - 2025-05-02 07:47:18 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 68482 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 91 - 2025-05-02 07:47:18 [0.34ms] */
select * from `party` where `party`.`id` = 18584 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 92 - 2025-05-02 07:47:18 [0.34ms] */
select * from `person` where `person`.`id` = 18584 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 93 - 2025-05-02 07:47:18 [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
   Query 94 - 2025-05-02 07:47:18 [0.14ms] */
select * from `party` where `party`.`id` = 18584 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 95 - 2025-05-02 07:47:18 [0.2ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 96 - 2025-05-02 07:47:18 [0.14ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 1 - 2025-05-02 07:47:24 [2.13ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 2 - 2025-05-02 07:47:24 [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/party/818
   Query 3 - 2025-05-02 07:47:24 [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/party/818
   Query 4 - 2025-05-02 07:47:24 [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/party/818
   Query 5 - 2025-05-02 07:47:24 [0.49ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 6 - 2025-05-02 07:47:24 [0.22ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 7 - 2025-05-02 07:47:24 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 818 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 8 - 2025-05-02 07:47:24 [0.36ms] */
select * from `address` where `address`.`id` = 818 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 9 - 2025-05-02 07:47:24 [0.29ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 10 - 2025-05-02 07:47:24 [0.2ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 11 - 2025-05-02 07:47:24 [0.18ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 12 - 2025-05-02 07:47:24 [0.16ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 13 - 2025-05-02 07:47:24 [19.27ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 818 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 14 - 2025-05-02 07:47:24 [0.89ms] */
select count(*) as aggregate from `transaction` where `party_id` = 818 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 15 - 2025-05-02 07:47:24 [0.58ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 818 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 16 - 2025-05-02 07:47:24 [0.42ms] */
select count(*) as aggregate from `invoice` where `party_id` = 818 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 17 - 2025-05-02 07:47:24 [0.32ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 18 - 2025-05-02 07:47:24 [0.29ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 19 - 2025-05-02 07:47:24 [0.26ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 818 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 20 - 2025-05-02 07:47:24 [0.27ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 818 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 21 - 2025-05-02 07:47:24 [0.27ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 818 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 22 - 2025-05-02 07:47:24 [0.76ms] */
select * from `person_bio_photo` where `party_id` = 818 and `person_bio_photo`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 23 - 2025-05-02 07:47:24 [0.74ms] */
select * from `person_bio_iris` where `party_id` = 818 and `person_bio_iris`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 24 - 2025-05-02 07:47:24 [27.52ms] */
select * from `party_vehicle` where `party_id` = 818 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 25 - 2025-05-02 07:47:24 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 26 - 2025-05-02 07:47:24 [0.14ms] */
select * from `model` where `model`.`id` = 1056 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 27 - 2025-05-02 07:47:24 [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/party/818
   Query 28 - 2025-05-02 07:47:24 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 29 - 2025-05-02 07:47:24 [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/party/818
   Query 30 - 2025-05-02 07:47:24 [0.13ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 31 - 2025-05-02 07:47:24 [0.15ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 32 - 2025-05-02 07:47:24 [0.46ms] */
select * from `transaction` where `transaction`.`id` = 84323 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 33 - 2025-05-02 07:47:24 [0.38ms] */
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/party/818
   Query 34 - 2025-05-02 07:47:24 [0.31ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 35 - 2025-05-02 07:47:24 [0.35ms] */
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/party/818
   Query 36 - 2025-05-02 07:47:24 [0.34ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 37 - 2025-05-02 07:47:24 [0.44ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (818) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 38 - 2025-05-02 07:47:24 [0.38ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (818) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 39 - 2025-05-02 07:47:24 [0.36ms] */
select * from `transaction` where `transaction`.`id` in (84323) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 40 - 2025-05-02 07:47:24 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` in (3471) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 41 - 2025-05-02 07:47:24 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 42 - 2025-05-02 07:47:24 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 43 - 2025-05-02 07:47:24 [0.34ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 44 - 2025-05-02 07:47:24 [0.14ms] */
select * from `party` where `party`.`id` in (818) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 45 - 2025-05-02 07:47:24 [0.33ms] */
select * from `address` where `address`.`id` in (818) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 46 - 2025-05-02 07:47:24 [0.15ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 47 - 2025-05-02 07:47:24 [0.15ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 48 - 2025-05-02 07:47:24 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 49 - 2025-05-02 07:47:24 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 50 - 2025-05-02 07:47:24 [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` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 51 - 2025-05-02 07:47:24 [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` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 52 - 2025-05-02 07:47:24 [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`.`party_id` = 818 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 39 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 53 - 2025-05-02 07:47:24 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 54 - 2025-05-02 07:47:24 [0.35ms] */
select count(*) as aggregate from `discount` where `party_id` = 818 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 55 - 2025-05-02 07:47:24 [0.22ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 56 - 2025-05-02 07:47:24 [0.22ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 57 - 2025-05-02 07:47:24 [0.22ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 818 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 58 - 2025-05-02 07:47:24 [0.19ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 59 - 2025-05-02 07:47:24 [0.14ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=818&model=Person
   Query 1 - 2025-05-02 07:47:25 [2.01ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=818&model=Person
   Query 2 - 2025-05-02 07:47:25 [0.68ms] */
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=818&model=Person
   Query 3 - 2025-05-02 07:47:25 [0.61ms] */
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=818&model=Person
   Query 4 - 2025-05-02 07:47:25 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=818&model=Person
   Query 5 - 2025-05-02 07:47:25 [0.29ms] */
select * from `party` where `id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=818&model=Person
   Query 6 - 2025-05-02 07:47:25 [0.46ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, ur.first_name,last_name 
            FROM audits a 
            left join users ur on a.user_id = ur.id 
            left join person p on a.auditable_id = p.id 
            where auditable_id = 818 and a.auditable_type = 'Person' ORDER BY a.id DESC
            ;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-05-02 07:47:27 [2.22ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-05-02 07:47:27 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-05-02 07:47:27 [0.65ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-05-02 07:47:27 [0.65ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-05-02 07:47:27 [0.41ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-05-02 07:47:27 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-05-02 07:47:27 [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/config.select-district-component
   Query 8 - 2025-05-02 07:47:27 [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/config.select-district-component
   Query 9 - 2025-05-02 07:47:27 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-05-02 07:47:30 [2ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-05-02 07:47:30 [0.8ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-05-02 07:47:30 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-05-02 07:47:30 [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/config.select-district-component
   Query 5 - 2025-05-02 07:47:30 [0.24ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-05-02 07:47:30 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-05-02 07:47:30 [0.38ms] */
select * from `tax_collection_points` where `region_id` = 8 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-05-02 07:47:30 [0.31ms] */
select * from `district` where `region_id` = 8 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-05-02 07:47:30 [0.28ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-05-02 07:47:32 [1.34ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-05-02 07:47:32 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-05-02 07:47:32 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-05-02 07:47:32 [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/config.select-district-component
   Query 5 - 2025-05-02 07:47:33 [0.43ms] */
select * from `district` where `district`.`id` in (39, 40, 41, 42, 43, 44);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-05-02 07:47:33 [0.16ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-05-02 07:47:33 [0.27ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` in (47, 33, 32, 35, 34, 37, 31, 36);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-05-02 07:47:33 [0.25ms] */
select * from `district` where `id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-05-02 07:47:33 [0.18ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 10 - 2025-05-02 07:47:33 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 11 - 2025-05-02 07:47:33 [0.14ms] */
select * from `tax_collection_points` where `region_id` = 8 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 12 - 2025-05-02 07:47:33 [0.14ms] */
select * from `district` where `region_id` = 8 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 13 - 2025-05-02 07:47:33 [0.36ms] */
select * from `branches` where `district_id` = 39 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-05-02 07:47:35 [1.94ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-05-02 07:47:35 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-05-02 07:47:35 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-05-02 07:47:35 [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/config.select-district-component
   Query 5 - 2025-05-02 07:47:35 [0.21ms] */
select * from `district` where `district`.`id` in (39, 40, 41, 42, 43, 44);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-05-02 07:47:35 [0.26ms] */
select * from `branches` where `branches`.`id` in (18);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-05-02 07:47:35 [0.15ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-05-02 07:47:35 [0.15ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` in (47, 33, 32, 35, 34, 37, 31, 36);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-05-02 07:47:35 [0.17ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 10 - 2025-05-02 07:47:35 [0.22ms] */
select * from `address` where `address`.`id` = 818 and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 11 - 2025-05-02 07:47:35 [11.05ms] */
update `address` set `address_line_1` = null, `district_id` = 39, `updated_by` = 90, `address`.`updated_at` = '2025-05-02 07:47:35' where `id` = 818;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 12 - 2025-05-02 07:47:35 [0.24ms] */
select * from `address` where `id` = 818 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 13 - 2025-05-02 07:47:35 [3.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('address', '{"attributes":{"address_line_1":null,"district_id":39},"old":{"address_line_1":"","district_id":null}}', 90, 'App\Models\User', 818, 'Modules\Party\Entities\Address', 'updated', '2025-05-02 07:47:35', '2025-05-02 07:47:35');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 14 - 2025-05-02 07:47:35 [0.58ms] */
select * from `transaction` where `party_id` = 818 and `status` <> 'PAID' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 15 - 2025-05-02 07:47:35 [5.01ms] */
update `transaction` set `deliver_district_id` = 39, `district_id` = 39, `updated_by` = 90, `transaction`.`updated_at` = '2025-05-02 07:47:35' where `id` = 84323;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 16 - 2025-05-02 07:47:35 [3.48ms] */
update `transaction` set `deliver_district_id` = 39, `branch_id` = null, `updated_by` = 90, `transaction`.`updated_at` = '2025-05-02 07:47:35' where `id` = 619724;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/en/m/party/818
   Query 1 - 2025-05-02 07:47:35 [2ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/en/m/party/818
   Query 2 - 2025-05-02 07:47:35 [0.84ms] */
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/en/m/party/818
   Query 3 - 2025-05-02 07:47:35 [0.63ms] */
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/en/m/party/818
   Query 4 - 2025-05-02 07:47:35 [0.68ms] */
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/party/818
   Query 1 - 2025-05-02 07:47:35 [1.46ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 2 - 2025-05-02 07:47:35 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 3 - 2025-05-02 07:47:35 [0.47ms] */
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/party/818
   Query 4 - 2025-05-02 07:47:35 [0.51ms] */
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/party/818
   Query 5 - 2025-05-02 07:47:35 [0.24ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 6 - 2025-05-02 07:47:35 [0.2ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 7 - 2025-05-02 07:47:35 [0.19ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 818 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 8 - 2025-05-02 07:47:35 [0.34ms] */
select * from `address` where `address`.`id` = 818 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 9 - 2025-05-02 07:47:35 [0.26ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 10 - 2025-05-02 07:47:35 [0.23ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 11 - 2025-05-02 07:47:35 [0.23ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 12 - 2025-05-02 07:47:35 [0.2ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 13 - 2025-05-02 07:47:35 [0.18ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 14 - 2025-05-02 07:47:35 [0.18ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 15 - 2025-05-02 07:47:35 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 818 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 16 - 2025-05-02 07:47:35 [0.42ms] */
select count(*) as aggregate from `transaction` where `party_id` = 818 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 17 - 2025-05-02 07:47:35 [0.26ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 818 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 18 - 2025-05-02 07:47:35 [0.24ms] */
select count(*) as aggregate from `invoice` where `party_id` = 818 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 19 - 2025-05-02 07:47:35 [0.25ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 20 - 2025-05-02 07:47:35 [0.22ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 21 - 2025-05-02 07:47:35 [0.61ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 818 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 22 - 2025-05-02 07:47:35 [0.73ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 818 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 23 - 2025-05-02 07:47:35 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 818 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 24 - 2025-05-02 07:47:35 [0.27ms] */
select * from `person_bio_photo` where `party_id` = 818 and `person_bio_photo`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 25 - 2025-05-02 07:47:35 [0.27ms] */
select * from `person_bio_iris` where `party_id` = 818 and `person_bio_iris`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 26 - 2025-05-02 07:47:35 [0.36ms] */
select * from `party_vehicle` where `party_id` = 818 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 27 - 2025-05-02 07:47:36 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 28 - 2025-05-02 07:47:36 [0.14ms] */
select * from `model` where `model`.`id` = 1056 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 29 - 2025-05-02 07:47:36 [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/party/818
   Query 30 - 2025-05-02 07:47:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 31 - 2025-05-02 07:47:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 32 - 2025-05-02 07:47:36 [0.13ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 33 - 2025-05-02 07:47:36 [0.14ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 34 - 2025-05-02 07:47:36 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 84323 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 35 - 2025-05-02 07:47:36 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 36 - 2025-05-02 07:47:36 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 37 - 2025-05-02 07:47:36 [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/party/818
   Query 38 - 2025-05-02 07:47:36 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 39 - 2025-05-02 07:47:36 [0.15ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (818) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 40 - 2025-05-02 07:47:36 [0.15ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (818) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 41 - 2025-05-02 07:47:36 [0.25ms] */
select * from `transaction` where `transaction`.`id` in (84323) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 42 - 2025-05-02 07:47:36 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` in (3471) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 43 - 2025-05-02 07:47:36 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 44 - 2025-05-02 07:47:36 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 45 - 2025-05-02 07:47:36 [0.12ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 46 - 2025-05-02 07:47:36 [0.13ms] */
select * from `party` where `party`.`id` in (818) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 47 - 2025-05-02 07:47:36 [0.2ms] */
select * from `address` where `address`.`id` in (818) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 48 - 2025-05-02 07:47:36 [0.14ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 49 - 2025-05-02 07:47:36 [0.14ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 50 - 2025-05-02 07:47:36 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 51 - 2025-05-02 07:47:36 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 52 - 2025-05-02 07:47:36 [0.15ms] */
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` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 53 - 2025-05-02 07:47:36 [0.15ms] */
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` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 54 - 2025-05-02 07:47:36 [0.41ms] */
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`.`party_id` = 818 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 39 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 55 - 2025-05-02 07:47:36 [0.37ms] */
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`.`party_id` = 818 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 39 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/party/818
   Query 56 - 2025-05-02 07:47:36 [0.13ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 57 - 2025-05-02 07:47:36 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 58 - 2025-05-02 07:47:36 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 59 - 2025-05-02 07:47:36 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 60 - 2025-05-02 07:47:36 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 61 - 2025-05-02 07:47:36 [0.14ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 62 - 2025-05-02 07:47:36 [0.15ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 63 - 2025-05-02 07:47:36 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 64 - 2025-05-02 07:47:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 65 - 2025-05-02 07:47:36 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 66 - 2025-05-02 07:47:36 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 619724 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/party/818
   Query 67 - 2025-05-02 07:47:36 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 68 - 2025-05-02 07:47:36 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 69 - 2025-05-02 07:47:36 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 619724 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 70 - 2025-05-02 07:47:36 [0.14ms] */
select count(*) as aggregate from `discount` where `party_id` = 818 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 71 - 2025-05-02 07:47:36 [0.13ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 72 - 2025-05-02 07:47:36 [0.13ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 73 - 2025-05-02 07:47:36 [0.13ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 818 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 74 - 2025-05-02 07:47:36 [0.18ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/818
   Query 75 - 2025-05-02 07:47:36 [0.13ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=818&model=Person
   Query 1 - 2025-05-02 07:47:36 [1.31ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=818&model=Person
   Query 2 - 2025-05-02 07:47:36 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=818&model=Person
   Query 3 - 2025-05-02 07:47:36 [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/audit-details?audit_ids=818&model=Person
   Query 4 - 2025-05-02 07:47:36 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=818&model=Person
   Query 5 - 2025-05-02 07:47:36 [0.2ms] */
select * from `party` where `id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=818&model=Person
   Query 6 - 2025-05-02 07:47:36 [0.17ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, ur.first_name,last_name 
            FROM audits a 
            left join users ur on a.user_id = ur.id 
            left join person p on a.auditable_id = p.id 
            where auditable_id = 818 and a.auditable_type = 'Person' ORDER BY a.id DESC
            ;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 1 - 2025-05-02 07:47:38 [1.35ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 2 - 2025-05-02 07:47:38 [0.45ms] */
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/w/wkflw
   Query 3 - 2025-05-02 07:47:38 [0.48ms] */
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/w/wkflw
   Query 4 - 2025-05-02 07:47:38 [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/w/wkflw
   Query 5 - 2025-05-02 07:47:38 [0.28ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 6 - 2025-05-02 07:47:38 [0.47ms] */
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/w/wkflw
   Query 7 - 2025-05-02 07:47:38 [0.17ms] */
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` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 8 - 2025-05-02 07:47:38 [0.16ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 90 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-05-02 07:47:38 [146ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (6) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 39 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-05-02 07:47:38 [81.52ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (6) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 39 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/w/wkflw
   Query 11 - 2025-05-02 07:47:38 [0.2ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 12 - 2025-05-02 07:47:38 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 13 - 2025-05-02 07:47:38 [0.14ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 14 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 15 - 2025-05-02 07:47:38 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 16 - 2025-05-02 07:47:38 [0.15ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 17 - 2025-05-02 07:47:38 [0.16ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 18 - 2025-05-02 07:47:38 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 19 - 2025-05-02 07:47:38 [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/w/wkflw
   Query 20 - 2025-05-02 07:47:38 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 21 - 2025-05-02 07:47:38 [0.18ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 619724 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/w/wkflw
   Query 22 - 2025-05-02 07:47:38 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 23 - 2025-05-02 07:47:38 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 24 - 2025-05-02 07:47:38 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 619724 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 25 - 2025-05-02 07:47:38 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 26 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 27 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 28 - 2025-05-02 07:47:38 [0.47ms] */
select * from `vehicle` where `vehicle`.`id` = 46773 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 29 - 2025-05-02 07:47:38 [0.39ms] */
select * from `party` where `party`.`id` = 37499 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 30 - 2025-05-02 07:47:38 [0.42ms] */
select * from `person` where `person`.`id` = 37499 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 31 - 2025-05-02 07:47:38 [1ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 46184 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 32 - 2025-05-02 07:47:38 [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/w/wkflw
   Query 33 - 2025-05-02 07:47:38 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 34 - 2025-05-02 07:47:38 [0.97ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 597856 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/w/wkflw
   Query 35 - 2025-05-02 07:47:38 [0.3ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 36 - 2025-05-02 07:47:38 [0.23ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 37 - 2025-05-02 07:47:38 [0.6ms] */
select * from `transaction_workflow` where `transaction_id` = 597856 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 38 - 2025-05-02 07:47:38 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 39 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 40 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 41 - 2025-05-02 07:47:38 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 65515 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 42 - 2025-05-02 07:47:38 [0.23ms] */
select * from `party` where `party`.`id` = 45312 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 43 - 2025-05-02 07:47:38 [0.26ms] */
select * from `person` where `person`.`id` = 45312 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 44 - 2025-05-02 07:47:38 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 56616 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 45 - 2025-05-02 07:47:38 [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/w/wkflw
   Query 46 - 2025-05-02 07:47:38 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 47 - 2025-05-02 07:47:38 [0.88ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 597369 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/w/wkflw
   Query 48 - 2025-05-02 07:47:38 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 49 - 2025-05-02 07:47:38 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 50 - 2025-05-02 07:47:38 [0.51ms] */
select * from `transaction_workflow` where `transaction_id` = 597369 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 51 - 2025-05-02 07:47:38 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 52 - 2025-05-02 07:47:38 [0.15ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 53 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 54 - 2025-05-02 07:47:38 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 44203 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 55 - 2025-05-02 07:47:38 [0.74ms] */
select * from `party` where `party`.`id` = 34376 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 56 - 2025-05-02 07:47:38 [0.27ms] */
select * from `person` where `person`.`id` = 34376 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 57 - 2025-05-02 07:47:38 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 86131 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 58 - 2025-05-02 07:47:38 [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/w/wkflw
   Query 59 - 2025-05-02 07:47:38 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 60 - 2025-05-02 07:47:38 [0.33ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 578662 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/w/wkflw
   Query 61 - 2025-05-02 07:47:38 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 62 - 2025-05-02 07:47:38 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 63 - 2025-05-02 07:47:38 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 578662 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 64 - 2025-05-02 07:47:38 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 65 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 66 - 2025-05-02 07:47:38 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 67 - 2025-05-02 07:47:38 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 47083 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 68 - 2025-05-02 07:47:38 [1.32ms] */
select * from `party` where `party`.`id` = 37843 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 69 - 2025-05-02 07:47:38 [0.24ms] */
select * from `person` where `person`.`id` = 37843 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 70 - 2025-05-02 07:47:38 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 32877 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 71 - 2025-05-02 07:47:38 [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/w/wkflw
   Query 72 - 2025-05-02 07:47:38 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 73 - 2025-05-02 07:47:38 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 578549 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/w/wkflw
   Query 74 - 2025-05-02 07:47:38 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 75 - 2025-05-02 07:47:38 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 76 - 2025-05-02 07:47:38 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 578549 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 77 - 2025-05-02 07:47:38 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 78 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 79 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 80 - 2025-05-02 07:47:38 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 76460 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 81 - 2025-05-02 07:47:38 [0.23ms] */
select * from `party` where `party`.`id` = 42904 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 82 - 2025-05-02 07:47:38 [0.73ms] */
select * from `person` where `person`.`id` = 42904 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 83 - 2025-05-02 07:47:38 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 16192 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 84 - 2025-05-02 07:47:38 [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/w/wkflw
   Query 85 - 2025-05-02 07:47:38 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 86 - 2025-05-02 07:47:38 [1.13ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 494339 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/w/wkflw
   Query 87 - 2025-05-02 07:47:38 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 88 - 2025-05-02 07:47:38 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 89 - 2025-05-02 07:47:38 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 494339 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 90 - 2025-05-02 07:47:38 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 91 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 92 - 2025-05-02 07:47:38 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 93 - 2025-05-02 07:47:38 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 84181 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 94 - 2025-05-02 07:47:38 [0.22ms] */
select * from `party` where `party`.`id` = 52251 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 95 - 2025-05-02 07:47:38 [0.23ms] */
select * from `person` where `person`.`id` = 52251 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 96 - 2025-05-02 07:47:38 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 31645 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 97 - 2025-05-02 07:47:38 [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/w/wkflw
   Query 98 - 2025-05-02 07:47:38 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 99 - 2025-05-02 07:47:38 [0.71ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 493503 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/w/wkflw
   Query 100 - 2025-05-02 07:47:38 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 101 - 2025-05-02 07:47:38 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 102 - 2025-05-02 07:47:38 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 493503 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 103 - 2025-05-02 07:47:38 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 104 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 105 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 106 - 2025-05-02 07:47:38 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 53190 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 107 - 2025-05-02 07:47:38 [0.24ms] */
select * from `party` where `party`.`id` = 39736 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 108 - 2025-05-02 07:47:38 [0.25ms] */
select * from `person` where `person`.`id` = 39736 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 109 - 2025-05-02 07:47:38 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 33631 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 110 - 2025-05-02 07:47:38 [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/w/wkflw
   Query 111 - 2025-05-02 07:47:38 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 112 - 2025-05-02 07:47:38 [1.21ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 491932 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/w/wkflw
   Query 113 - 2025-05-02 07:47:38 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 114 - 2025-05-02 07:47:38 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 115 - 2025-05-02 07:47:38 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 491932 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 116 - 2025-05-02 07:47:38 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 117 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 118 - 2025-05-02 07:47:38 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 119 - 2025-05-02 07:47:38 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 57336 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 120 - 2025-05-02 07:47:38 [0.23ms] */
select * from `party` where `party`.`id` = 57243 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 121 - 2025-05-02 07:47:38 [0.7ms] */
select * from `company` where `company`.`id` = 1530 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 122 - 2025-05-02 07:47:38 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 77658 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 123 - 2025-05-02 07:47:38 [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/w/wkflw
   Query 124 - 2025-05-02 07:47:38 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 125 - 2025-05-02 07:47:38 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 491327 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/w/wkflw
   Query 126 - 2025-05-02 07:47:38 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 127 - 2025-05-02 07:47:38 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 128 - 2025-05-02 07:47:38 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 491327 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 129 - 2025-05-02 07:47:38 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 130 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 131 - 2025-05-02 07:47:38 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 132 - 2025-05-02 07:47:38 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 66648 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 133 - 2025-05-02 07:47:38 [0.21ms] */
select * from `party` where `party`.`id` = 44207 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 134 - 2025-05-02 07:47:38 [0.23ms] */
select * from `person` where `person`.`id` = 44207 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 135 - 2025-05-02 07:47:38 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 77909 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 136 - 2025-05-02 07:47:38 [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/w/wkflw
   Query 137 - 2025-05-02 07:47:38 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 138 - 2025-05-02 07:47:38 [0.93ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 486009 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/w/wkflw
   Query 139 - 2025-05-02 07:47:38 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 140 - 2025-05-02 07:47:38 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 141 - 2025-05-02 07:47:38 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 486009 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 142 - 2025-05-02 07:47:38 [0.24ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 143 - 2025-05-02 07:47:38 [0.14ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 1 - 2025-05-02 07:47:43 [1.42ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 2 - 2025-05-02 07:47:43 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 3 - 2025-05-02 07:47:43 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 4 - 2025-05-02 07:47:43 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 5 - 2025-05-02 07:47:43 [0.39ms] */
select * from `service` where `service`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 6 - 2025-05-02 07:47:43 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 619724 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 7 - 2025-05-02 07:47:43 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 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/workflow.list-workflow-queue-component
   Query 8 - 2025-05-02 07:47:43 [0.21ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-05-02 07:47:43 [1.83ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619724, 'CLAIMED', '2025-05-02 07:47:43', 6, 90, 90, 90, '2025-05-02 07:47:43', '2025-05-02 07:47:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-05-02 07:47:43 [0.28ms] */
update `transaction` set `assigned_to` = 90, `transaction`.`updated_at` = '2025-05-02 07:47:43' where `id` = 619724;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 1 - 2025-05-02 07:47:43 [1.33ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 2 - 2025-05-02 07:47:43 [0.44ms] */
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/w/wkflw/619724
   Query 3 - 2025-05-02 07:47:43 [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/w/wkflw/619724
   Query 4 - 2025-05-02 07:47:43 [0.44ms] */
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/w/wkflw/619724
   Query 5 - 2025-05-02 07:47:43 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 619724 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 6 - 2025-05-02 07:47:43 [0.34ms] */
select * from `transaction_workflow` where `transaction_id` = 619724 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 7 - 2025-05-02 07:47:43 [1.36ms] */
select * from `invoice` where `transaction_id` = 619724 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 8 - 2025-05-02 07:47:43 [16.43ms] */
select * from `payment_documents` where `transaction_id` = 619724;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 9 - 2025-05-02 07:47:43 [1.28ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 619724 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 10 - 2025-05-02 07:47:43 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 11 - 2025-05-02 07:47:43 [0.14ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 12 - 2025-05-02 07:47:43 [0.34ms] */
select * from `users` where `users`.`id` = 90 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 13 - 2025-05-02 07:47:43 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 14 - 2025-05-02 07:47:43 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 15 - 2025-05-02 07:47:43 [1.35ms] */
select * from `workflow` where `workflow`.`id` = 7 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 16 - 2025-05-02 07:47:43 [0.45ms] */
select * from `transaction_workflow` where `transaction_id` = 619724 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 17 - 2025-05-02 07:47:44 [392.66ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 18 - 2025-05-02 07:47:44 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 19 - 2025-05-02 07:47:44 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 20 - 2025-05-02 07:47:44 [0.18ms] */
select * from `party_vehicle` where `vehicle_id` = 3471 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 21 - 2025-05-02 07:47:44 [0.81ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 3471 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 22 - 2025-05-02 07:47:44 [0.72ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 84323 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 23 - 2025-05-02 07:47:44 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 24 - 2025-05-02 07:47:44 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 25 - 2025-05-02 07:47:44 [0.15ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 26 - 2025-05-02 07:47:44 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 27 - 2025-05-02 07:47:44 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 28 - 2025-05-02 07:47:44 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 29 - 2025-05-02 07:47:44 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 30 - 2025-05-02 07:47:44 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 3471 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 31 - 2025-05-02 07:47:44 [0.14ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 3471 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 32 - 2025-05-02 07:47:44 [0.11ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 84323 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 33 - 2025-05-02 07:47:44 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 34 - 2025-05-02 07:47:44 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 35 - 2025-05-02 07:47:44 [0.21ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 36 - 2025-05-02 07:47:44 [0.2ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 37 - 2025-05-02 07:47:44 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 38 - 2025-05-02 07:47:44 [0.19ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 39 - 2025-05-02 07:47:44 [0.21ms] */
select * from `model` where `model`.`id` = 1056 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 40 - 2025-05-02 07:47:44 [0.21ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 41 - 2025-05-02 07:47:44 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 23 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 42 - 2025-05-02 07:47:44 [1.19ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 43 - 2025-05-02 07:47:44 [0.17ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 8 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 44 - 2025-05-02 07:47:44 [0.17ms] */
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/w/wkflw/619724
   Query 45 - 2025-05-02 07:47:44 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 3471 and `party_vehicle`.`vehicle_id` is not null and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 46 - 2025-05-02 07:47:44 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 47 - 2025-05-02 07:47:44 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 619724 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 48 - 2025-05-02 07:47:44 [0.13ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 49 - 2025-05-02 07:47:44 [0.16ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 50 - 2025-05-02 07:47:44 [0.16ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 51 - 2025-05-02 07:47:44 [0.17ms] */
select * from `person` where `person`.`id` = 818 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 52 - 2025-05-02 07:47:44 [0.15ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 818 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 53 - 2025-05-02 07:47:44 [0.14ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 818 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 54 - 2025-05-02 07:47:44 [0.18ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 818 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 55 - 2025-05-02 07:47:44 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 619724 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 56 - 2025-05-02 07:47:44 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 57 - 2025-05-02 07:47:44 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 58 - 2025-05-02 07:47:44 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 59 - 2025-05-02 07:47:44 [0.41ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 84323 order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 60 - 2025-05-02 07:47:44 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 61 - 2025-05-02 07:47:44 [0.17ms] */
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/w/wkflw/619724
   Query 62 - 2025-05-02 07:47:44 [0.42ms] */
select * from `transaction_workflow` where `transaction_id` = 619724 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 63 - 2025-05-02 07:47:44 [0.22ms] */
select * from `users` where `users`.`id` = 90 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 64 - 2025-05-02 07:47:44 [0.16ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 65 - 2025-05-02 07:47:44 [0.33ms] */
select * from `users` where `users`.`id` = 89 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 66 - 2025-05-02 07:47:44 [0.24ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 67 - 2025-05-02 07:47:44 [0.4ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 68 - 2025-05-02 07:47:44 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 69 - 2025-05-02 07:47:44 [0.15ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 70 - 2025-05-02 07:47:44 [0.22ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 71 - 2025-05-02 07:47:44 [0.32ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 72 - 2025-05-02 07:47:44 [0.41ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 73 - 2025-05-02 07:47:44 [0.28ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/619724
   Query 74 - 2025-05-02 07:47:44 [0.16ms] */
select * from `region` where `region`.`id` = 8 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-05-02 07:47:52 [1.38ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-05-02 07:47:52 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-05-02 07:47:52 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-05-02 07:47:53 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-05-02 07:47:53 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 619724 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-05-02 07:47:53 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` in (7) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-05-02 07:47:53 [0.22ms] */
select * from `service` where `service`.`id` in (7) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-05-02 07:47:53 [0.25ms] */
select * from `workflow` where `workflow`.`id` in (7) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-05-02 07:47:53 [0.23ms] */
select * from `users` where `users`.`id` in (90) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-05-02 07:47:53 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (30) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-05-02 07:47:53 [0.22ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-05-02 07:47:53 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (3471) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-05-02 07:47:53 [0.16ms] */
select * from `party` where `party`.`id` in (818) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-05-02 07:47:53 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (84323) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-05-02 07:47:53 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 619724 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-05-02 07:47:53 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 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/workflow.view-workflow-transaction-component
   Query 17 - 2025-05-02 07:47:53 [0.24ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-05-02 07:47:53 [0.25ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-05-02 07:47:53 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 619724 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-05-02 07:47:53 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 619724 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-05-02 07:47:53 [0.28ms] */
select * from `invoice` where `transaction_id` = 619724 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-05-02 07:47:53 [0.23ms] */
select * from `payment_documents` where `transaction_id` = 619724;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-05-02 07:47:53 [0.25ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 619724 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-05-02 07:47:53 [0.25ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 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/workflow.view-workflow-transaction-component
   Query 25 - 2025-05-02 07:47:53 [0.21ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-05-02 07:47:53 [0.27ms] */
select * from `users` where `users`.`id` = 90 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-05-02 07:47:53 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 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/workflow.view-workflow-transaction-component
   Query 28 - 2025-05-02 07:47:53 [0.21ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-05-02 07:47:53 [0.16ms] */
select * from `workflow` where `workflow`.`id` = 7 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-05-02 07:47:53 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 619724 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-05-02 07:47:53 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-05-02 07:47:53 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 619724 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-05-02 07:47:53 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-05-02 07:47:53 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 619724 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-05-02 07:47:53 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-05-02 07:47:53 [2.11ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-05-02 07:47:53 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-05-02 07:47:53 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-05-02 07:47:53 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-05-02 07:47:53 [0.59ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 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` = 6 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-05-02 07:47:53 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 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` = 6 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-05-02 07:47:56 [2.02ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-05-02 07:47:56 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-05-02 07:47:56 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-05-02 07:47:56 [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/workflow.workflow-checklist-component
   Query 5 - 2025-05-02 07:47:56 [0.26ms] */
(select * from `workflow_checklist` where `workflow_id` = 7 and `role_id` = 6 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 7 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` = 6 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-05-02 07:47:57 [2.02ms] */
select * from `users` where `id` = 90 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-05-02 07:47:57 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2025-05-02 07:47:57 [0.49ms] */
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.view-workflow-transaction-component
   Query 4 - 2025-05-02 07:47:57 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2025-05-02 07:47:57 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 619724 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-05-02 07:47:57 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (7) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2025-05-02 07:47:57 [0.14ms] */
select * from `service` where `service`.`id` in (7) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2025-05-02 07:47:57 [0.17ms] */
select * from `workflow` where `workflow`.`id` in (7) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2025-05-02 07:47:57 [0.15ms] */
select * from `users` where `users`.`id` in (90) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-05-02 07:47:57 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (30) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-05-02 07:47:57 [0.13ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-05-02 07:47:57 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 619724 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-05-02 07:47:57 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 619724 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-05-02 07:47:57 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 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/workflow.view-workflow-transaction-component
   Query 15 - 2025-05-02 07:47:57 [0.18ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-05-02 07:47:57 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 30 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/workflow.view-workflow-transaction-component
   Query 17 - 2025-05-02 07:47:57 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-05-02 07:47:57 [0.32ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619724, 'APPROVED', '2025-05-02 07:47:57', 6, 90, null, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-05-02 07:47:57 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2025-05-02 07:47:57 [0.31ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 31, `status` = 'END', `transaction`.`updated_at` = '2025-05-02 07:47:57' where `id` = 619724;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-05-02 07:47:57 [0.2ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-05-02 07:47:57 [0.16ms] */
select * from `party` where `party`.`id` = 818 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-05-02 07:47:57 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-05-02 07:47:57 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 84323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-05-02 07:47:57 [0.36ms] */
update `party_vehicle` set `updated_by` = 90, `party_vehicle`.`updated_at` = '2025-05-02 07:47:57' where `id` = 84323;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-05-02 07:47:57 [0.19ms] */
select * from `party_vehicle` where `id` = 84323 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-05-02 07:47:57 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":[],"old":[]}', 90, 'App\Models\User', 84323, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-05-02 07:47:57 [0.32ms] */
update `party` set `updated_by` = 90, `party`.`updated_at` = '2025-05-02 07:47:57' where `id` = 818;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-05-02 07:47:57 [0.17ms] */
select * from `party` where `id` = 818 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-05-02 07:47:57 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party', '{"attributes":[],"old":[]}', 90, 'App\Models\User', 818, 'Modules\Party\Entities\Party', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-05-02 07:47:57 [0.31ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":1}', '{"updated_by":90}', 'updated', 818, 'Modules\Party\Entities\Party', 90, 'App\Models\User', null, '102.220.40.249', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0', 'https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-05-02 07:47:57 [0.24ms] */
update `vehicle` set `provisional` = 'N', `updated_by` = 90, `vehicle`.`updated_at` = '2025-05-02 07:47:57' where `id` = 3471;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-05-02 07:47:57 [0.19ms] */
select * from `vehicle` where `id` = 3471 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-05-02 07:47:57 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":{"provisional":"N"},"old":{"provisional":"Y"}}', 90, 'App\Models\User', 3471, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-05-02 07:47:57 [0.19ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"provisional":"Y","updated_by":89}', '{"provisional":"N","updated_by":90}', 'updated', 3471, 'Modules\Vehicle\Entities\Vehicle', 90, 'App\Models\User', null, '102.220.40.249', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0', 'https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-05-02 07:47:57 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 3471 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-05-02 07:47:57 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 3471 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2025-05-02 07:47:57 [0.21ms] */
select * from `party_vehicle` where `vehicle_id` = 3471 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/workflow.view-workflow-transaction-component
   Query 39 - 2025-05-02 07:47:57 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 84323 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-05-02 07:47:57 [0.18ms] */
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/workflow.view-workflow-transaction-component
   Query 41 - 2025-05-02 07:47:57 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2025-05-02 07:47:57 [0.38ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2025-05-02 07:47:57 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 3471 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2025-05-02 07:47:57 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2025-05-02 07:47:57 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 3471 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/workflow.view-workflow-transaction-component
   Query 46 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 47 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 48 - 2025-05-02 07:47:57 [0.14ms] */
select * from `branches` where `branches`.`id` = 18 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 49 - 2025-05-02 07:47:57 [0.39ms] */
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 (818, 2, 3471, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 50 - 2025-05-02 07:47:57 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619725, 'INITIATED', '2025-05-02 07:47:57', 5, 90, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 52 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 53 - 2025-05-02 07:47:57 [0.21ms] */
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/workflow.view-workflow-transaction-component
   Query 54 - 2025-05-02 07:47:57 [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', '68P-84323-483', 3471, 93, 818, 84323, 619725, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2025-05-02 07:47:57 [0.18ms] */
select * from `vehicle_tax` where `id` = 489679 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 56 - 2025-05-02 07:47:57 [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":"OPEN","tax_number":"68P-84323-483","tax_sticker_id":null,"vehicle_id":3471,"term_id":93,"party_id":818,"transaction_id":619725,"party_vehicle_id":84323,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 489679, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 57 - 2025-05-02 07:47:57 [0.19ms] */
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/workflow.view-workflow-transaction-component
   Query 58 - 2025-05-02 07:47:57 [0.56ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 59 - 2025-05-02 07:47:57 [0.17ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 60 - 2025-05-02 07:47:57 [0.19ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 61 - 2025-05-02 07:47:57 [0.29ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619725, '2023-01-01 00:00:00', '2022-12-01 00:00:00', 'OPEN', 818, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 62 - 2025-05-02 07:47:57 [0.19ms] */
select * from `invoice` where `id` = 593304 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 63 - 2025-05-02 07:47:57 [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":619725,"party_id":818,"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}}', 90, 'App\Models\User', 593304, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 64 - 2025-05-02 07:47:57 [0.25ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly tax fee for 7-12 TANS', 'Yearly tax fee for 7-12 TANS', 1, 119.00, 119.00, 593304, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 65 - 2025-05-02 07:47:57 [0.17ms] */
select * from `invoice_item` where `id` = 1068079 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 66 - 2025-05-02 07:47:57 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly tax fee for 7-12 TANS","description":"Yearly tax fee for 7-12 TANS","unit_price":"119.00","quantity":1,"total_price":"119.00","invoice_id":593304}}', 90, 'App\Models\User', 1068079, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 67 - 2025-05-02 07:47:57 [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, 593304, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 68 - 2025-05-02 07:47:57 [0.16ms] */
select * from `invoice_item` where `id` = 1068080 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 69 - 2025-05-02 07:47:57 [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 Yearly Tax","description":"Service Fee for Yearly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":593304}}', 90, 'App\Models\User', 1068080, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 70 - 2025-05-02 07:47:57 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 593304 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 71 - 2025-05-02 07:47:57 [0.3ms] */
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` = 593304 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 72 - 2025-05-02 07:47:57 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 593304 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 73 - 2025-05-02 07:47:57 [0.21ms] */
update `invoice` set `invoice_amount` = 127, `outstanding_balance` = 127, `discounts` = 0, `total_invoice_amount` = 127, `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593304;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 74 - 2025-05-02 07:47:57 [0.18ms] */
select * from `invoice` where `id` = 593304 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 75 - 2025-05-02 07:47:57 [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":"127.00","outstanding_balance":"127.00","discounts":"0.00","total_invoice_amount":"127.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 593304, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 76 - 2025-05-02 07:47:57 [0.18ms] */
update `invoice` set `invoice_number` = 'INV-606-593304964', `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593304;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 77 - 2025-05-02 07:47:57 [0.18ms] */
select * from `invoice` where `id` = 593304 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 78 - 2025-05-02 07:47:57 [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":"127.00","outstanding_balance":"127.00","discounts":"0.00","total_invoice_amount":"127.00","invoice_number":"INV-606-593304964","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 593304, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 79 - 2025-05-02 07:47:57 [0.19ms] */
update `transaction` set `party_vehicle_id` = 84323, `vehicle_tax_id` = 489679, `invoice_id` = 593304, `transaction`.`updated_at` = '2025-05-02 07:47:57' where `id` = 619725;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 80 - 2025-05-02 07:47:57 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 3471 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/workflow.view-workflow-transaction-component
   Query 81 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 82 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 83 - 2025-05-02 07:47:57 [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 (818, 2, 3471, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 84 - 2025-05-02 07:47:57 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619726, 'INITIATED', '2025-05-02 07:47:57', 5, 90, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 85 - 2025-05-02 07:47:57 [0.2ms] */
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/workflow.view-workflow-transaction-component
   Query 86 - 2025-05-02 07:47:57 [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', '8R5-84323-983', 3471, 94, 818, 84323, 619726, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 87 - 2025-05-02 07:47:57 [0.55ms] */
select * from `vehicle_tax` where `id` = 489680 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 88 - 2025-05-02 07:47:57 [0.42ms] */
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":"8R5-84323-983","tax_sticker_id":null,"vehicle_id":3471,"term_id":94,"party_id":818,"transaction_id":619726,"party_vehicle_id":84323,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 489680, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 89 - 2025-05-02 07:47:57 [0.95ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 90 - 2025-05-02 07:47:57 [0.87ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 91 - 2025-05-02 07:47:57 [0.36ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 92 - 2025-05-02 07:47:57 [0.41ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 93 - 2025-05-02 07:47:57 [6.56ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619726, '2023-03-01 00:00:00', '2023-03-01 00:00:00', 'OPEN', 818, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 94 - 2025-05-02 07:47:57 [0.25ms] */
select * from `invoice` where `id` = 593305 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 95 - 2025-05-02 07:47:57 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":619726,"party_id":818,"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}}', 90, 'App\Models\User', 593305, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 96 - 2025-05-02 07:47:57 [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 7-12 TANS', '7-12 TANS Quarterly Tax', 1, 86.00, 86.00, 593305, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 97 - 2025-05-02 07:47:57 [0.16ms] */
select * from `invoice_item` where `id` = 1068081 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 98 - 2025-05-02 07:47:57 [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 7-12 TANS","description":"7-12 TANS Quarterly Tax","unit_price":"86.00","quantity":1,"total_price":"86.00","invoice_id":593305}}', 90, 'App\Models\User', 1068081, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 99 - 2025-05-02 07:47:57 [0.15ms] */
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, 593305, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 100 - 2025-05-02 07:47:57 [0.16ms] */
select * from `invoice_item` where `id` = 1068082 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 101 - 2025-05-02 07:47:57 [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":593305}}', 90, 'App\Models\User', 1068082, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 102 - 2025-05-02 07:47:57 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 593305 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 103 - 2025-05-02 07:47:57 [0.39ms] */
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` = 593305 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 104 - 2025-05-02 07:47:57 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 593305 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 105 - 2025-05-02 07:47:57 [0.29ms] */
update `invoice` set `invoice_amount` = 94, `outstanding_balance` = 94, `discounts` = 0, `total_invoice_amount` = 94, `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593305;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 106 - 2025-05-02 07:47:57 [0.29ms] */
select * from `invoice` where `id` = 593305 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 107 - 2025-05-02 07:47:57 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"94.00","outstanding_balance":"94.00","discounts":"0.00","total_invoice_amount":"94.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 593305, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 108 - 2025-05-02 07:47:57 [0.25ms] */
update `invoice` set `invoice_number` = 'INV-791-593305955', `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593305;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 109 - 2025-05-02 07:47:57 [0.31ms] */
select * from `invoice` where `id` = 593305 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 110 - 2025-05-02 07:47:57 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"94.00","outstanding_balance":"94.00","discounts":"0.00","total_invoice_amount":"94.00","invoice_number":"INV-791-593305955","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 593305, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 111 - 2025-05-02 07:47:57 [0.3ms] */
update `transaction` set `party_vehicle_id` = 84323, `vehicle_tax_id` = 489680, `invoice_id` = 593305, `transaction`.`updated_at` = '2025-05-02 07:47:57' where `id` = 619726;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 112 - 2025-05-02 07:47:57 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 3471 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/workflow.view-workflow-transaction-component
   Query 113 - 2025-05-02 07:47:57 [0.3ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 114 - 2025-05-02 07:47:57 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 115 - 2025-05-02 07:47:57 [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 (818, 2, 3471, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 116 - 2025-05-02 07:47:57 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619727, 'INITIATED', '2025-05-02 07:47:57', 5, 90, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 117 - 2025-05-02 07:47:57 [0.21ms] */
select * from `term` where `year` = 2023 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 118 - 2025-05-02 07:47:57 [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', 'F81-84323-612', 3471, 95, 818, 84323, 619727, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 119 - 2025-05-02 07:47:57 [0.17ms] */
select * from `vehicle_tax` where `id` = 489681 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 120 - 2025-05-02 07:47:57 [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":"F81-84323-612","tax_sticker_id":null,"vehicle_id":3471,"term_id":95,"party_id":818,"transaction_id":619727,"party_vehicle_id":84323,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 489681, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 121 - 2025-05-02 07:47:57 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 122 - 2025-05-02 07:47:57 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 123 - 2025-05-02 07:47:57 [0.16ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 124 - 2025-05-02 07:47:57 [0.18ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 125 - 2025-05-02 07:47:57 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619727, '2023-06-01 00:00:00', '2023-06-01 00:00:00', 'OPEN', 818, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 126 - 2025-05-02 07:47:57 [0.18ms] */
select * from `invoice` where `id` = 593306 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 127 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":619727,"party_id":818,"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}}', 90, 'App\Models\User', 593306, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 128 - 2025-05-02 07:47:57 [0.15ms] */
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 7-12 TANS', '7-12 TANS Quarterly Tax', 1, 86.00, 86.00, 593306, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 129 - 2025-05-02 07:47:57 [0.16ms] */
select * from `invoice_item` where `id` = 1068083 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 130 - 2025-05-02 07:47:57 [0.3ms] */
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 7-12 TANS","description":"7-12 TANS Quarterly Tax","unit_price":"86.00","quantity":1,"total_price":"86.00","invoice_id":593306}}', 90, 'App\Models\User', 1068083, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 131 - 2025-05-02 07:47:57 [0.15ms] */
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, 593306, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 132 - 2025-05-02 07:47:57 [0.16ms] */
select * from `invoice_item` where `id` = 1068084 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 133 - 2025-05-02 07:47:57 [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":593306}}', 90, 'App\Models\User', 1068084, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 134 - 2025-05-02 07:47:57 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 593306 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 135 - 2025-05-02 07:47:57 [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` = 593306 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 136 - 2025-05-02 07:47:57 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 593306 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 137 - 2025-05-02 07:47:57 [0.18ms] */
update `invoice` set `invoice_amount` = 94, `outstanding_balance` = 94, `discounts` = 0, `total_invoice_amount` = 94, `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593306;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 138 - 2025-05-02 07:47:57 [0.18ms] */
select * from `invoice` where `id` = 593306 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 139 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"94.00","outstanding_balance":"94.00","discounts":"0.00","total_invoice_amount":"94.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 593306, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 140 - 2025-05-02 07:47:57 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-326-593306240', `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593306;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 141 - 2025-05-02 07:47:57 [0.18ms] */
select * from `invoice` where `id` = 593306 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 142 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"94.00","outstanding_balance":"94.00","discounts":"0.00","total_invoice_amount":"94.00","invoice_number":"INV-326-593306240","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 593306, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 143 - 2025-05-02 07:47:57 [0.19ms] */
update `transaction` set `party_vehicle_id` = 84323, `vehicle_tax_id` = 489681, `invoice_id` = 593306, `transaction`.`updated_at` = '2025-05-02 07:47:57' where `id` = 619727;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 144 - 2025-05-02 07:47:57 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 3471 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/workflow.view-workflow-transaction-component
   Query 145 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 146 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 147 - 2025-05-02 07:47:57 [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 (818, 2, 3471, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 148 - 2025-05-02 07:47:57 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619728, 'INITIATED', '2025-05-02 07:47:57', 5, 90, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 149 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 150 - 2025-05-02 07:47:57 [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', 'NRC-84323-249', 3471, 96, 818, 84323, 619728, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 151 - 2025-05-02 07:47:57 [0.18ms] */
select * from `vehicle_tax` where `id` = 489682 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 152 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"NRC-84323-249","tax_sticker_id":null,"vehicle_id":3471,"term_id":96,"party_id":818,"transaction_id":619728,"party_vehicle_id":84323,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 489682, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 153 - 2025-05-02 07:47:57 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 154 - 2025-05-02 07:47:57 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 155 - 2025-05-02 07:47:57 [0.16ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 156 - 2025-05-02 07:47:57 [0.18ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 157 - 2025-05-02 07:47:57 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619728, '2023-09-01 00:00:00', '2023-09-01 00:00:00', 'OPEN', 818, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 158 - 2025-05-02 07:47:57 [0.19ms] */
select * from `invoice` where `id` = 593307 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 159 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":619728,"party_id":818,"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}}', 90, 'App\Models\User', 593307, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 160 - 2025-05-02 07:47:57 [0.15ms] */
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 7-12 TANS', '7-12 TANS Quarterly Tax', 1, 86.00, 86.00, 593307, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 161 - 2025-05-02 07:47:57 [0.16ms] */
select * from `invoice_item` where `id` = 1068085 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 162 - 2025-05-02 07:47:57 [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 7-12 TANS","description":"7-12 TANS Quarterly Tax","unit_price":"86.00","quantity":1,"total_price":"86.00","invoice_id":593307}}', 90, 'App\Models\User', 1068085, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 163 - 2025-05-02 07:47:57 [0.15ms] */
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, 593307, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 164 - 2025-05-02 07:47:57 [0.16ms] */
select * from `invoice_item` where `id` = 1068086 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 165 - 2025-05-02 07:47:57 [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":593307}}', 90, 'App\Models\User', 1068086, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 166 - 2025-05-02 07:47:57 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 593307 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 167 - 2025-05-02 07:47:57 [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` = 593307 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 168 - 2025-05-02 07:47:57 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 593307 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 169 - 2025-05-02 07:47:57 [0.17ms] */
update `invoice` set `invoice_amount` = 94, `outstanding_balance` = 94, `discounts` = 0, `total_invoice_amount` = 94, `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593307;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 170 - 2025-05-02 07:47:57 [0.18ms] */
select * from `invoice` where `id` = 593307 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 171 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"94.00","outstanding_balance":"94.00","discounts":"0.00","total_invoice_amount":"94.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 593307, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 172 - 2025-05-02 07:47:57 [0.28ms] */
update `invoice` set `invoice_number` = 'INV-519-593307934', `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593307;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 173 - 2025-05-02 07:47:57 [0.18ms] */
select * from `invoice` where `id` = 593307 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 174 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"94.00","outstanding_balance":"94.00","discounts":"0.00","total_invoice_amount":"94.00","invoice_number":"INV-519-593307934","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 593307, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 175 - 2025-05-02 07:47:57 [0.19ms] */
update `transaction` set `party_vehicle_id` = 84323, `vehicle_tax_id` = 489682, `invoice_id` = 593307, `transaction`.`updated_at` = '2025-05-02 07:47:57' where `id` = 619728;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 176 - 2025-05-02 07:47:57 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 3471 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/workflow.view-workflow-transaction-component
   Query 177 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 178 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 179 - 2025-05-02 07:47:57 [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 (818, 2, 3471, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 180 - 2025-05-02 07:47:57 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619729, 'INITIATED', '2025-05-02 07:47:57', 5, 90, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 181 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 182 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 183 - 2025-05-02 07:47:57 [0.41ms] */
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/workflow.view-workflow-transaction-component
   Query 184 - 2025-05-02 07:47:57 [0.39ms] */
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', '9CC-84323-697', 3471, 97, 818, 84323, 619729, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 185 - 2025-05-02 07:47:57 [0.36ms] */
select * from `vehicle_tax` where `id` = 489683 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 186 - 2025-05-02 07:47:57 [0.38ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"9CC-84323-697","tax_sticker_id":null,"vehicle_id":3471,"term_id":97,"party_id":818,"transaction_id":619729,"party_vehicle_id":84323,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 489683, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 187 - 2025-05-02 07:47:57 [0.37ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 188 - 2025-05-02 07:47:57 [0.26ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 189 - 2025-05-02 07:47:57 [0.28ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 190 - 2025-05-02 07:47:57 [0.29ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619729, '2023-12-01 00:00:00', '2023-12-01 00:00:00', 'OPEN', 818, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 191 - 2025-05-02 07:47:57 [0.3ms] */
select * from `invoice` where `id` = 593308 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 192 - 2025-05-02 07:47:57 [0.26ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":619729,"party_id":818,"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}}', 90, 'App\Models\User', 593308, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 193 - 2025-05-02 07:47:57 [0.24ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly tax fee for 7-12 TANS', 'Yearly tax fee for 7-12 TANS', 1, 119.00, 119.00, 593308, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 194 - 2025-05-02 07:47:57 [0.26ms] */
select * from `invoice_item` where `id` = 1068087 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 195 - 2025-05-02 07:47:57 [0.36ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly tax fee for 7-12 TANS","description":"Yearly tax fee for 7-12 TANS","unit_price":"119.00","quantity":1,"total_price":"119.00","invoice_id":593308}}', 90, 'App\Models\User', 1068087, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 196 - 2025-05-02 07:47:57 [0.23ms] */
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, 593308, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 197 - 2025-05-02 07:47:57 [0.26ms] */
select * from `invoice_item` where `id` = 1068088 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 198 - 2025-05-02 07:47:57 [0.25ms] */
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":593308}}', 90, 'App\Models\User', 1068088, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 199 - 2025-05-02 07:47:57 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 593308 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 200 - 2025-05-02 07:47:57 [0.42ms] */
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` = 593308 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 201 - 2025-05-02 07:47:57 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 593308 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 202 - 2025-05-02 07:47:57 [0.31ms] */
update `invoice` set `invoice_amount` = 127, `outstanding_balance` = 127, `discounts` = 0, `total_invoice_amount` = 127, `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593308;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 203 - 2025-05-02 07:47:57 [0.29ms] */
select * from `invoice` where `id` = 593308 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 204 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"127.00","outstanding_balance":"127.00","discounts":"0.00","total_invoice_amount":"127.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 593308, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 205 - 2025-05-02 07:47:57 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-421-593308455', `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593308;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 206 - 2025-05-02 07:47:57 [0.19ms] */
select * from `invoice` where `id` = 593308 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 207 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"127.00","outstanding_balance":"127.00","discounts":"0.00","total_invoice_amount":"127.00","invoice_number":"INV-421-593308455","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 593308, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 208 - 2025-05-02 07:47:57 [0.2ms] */
update `transaction` set `party_vehicle_id` = 84323, `vehicle_tax_id` = 489683, `invoice_id` = 593308, `transaction`.`updated_at` = '2025-05-02 07:47:57' where `id` = 619729;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 209 - 2025-05-02 07:47:57 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 3471 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/workflow.view-workflow-transaction-component
   Query 210 - 2025-05-02 07:47:57 [0.21ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 211 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 212 - 2025-05-02 07:47:57 [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 (818, 2, 3471, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 213 - 2025-05-02 07:47:57 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619730, 'INITIATED', '2025-05-02 07:47:57', 5, 90, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 214 - 2025-05-02 07:47:57 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 215 - 2025-05-02 07:47:57 [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', 'KL4-84323-887', 3471, 98, 818, 84323, 619730, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 216 - 2025-05-02 07:47:57 [0.17ms] */
select * from `vehicle_tax` where `id` = 489684 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 217 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"KL4-84323-887","tax_sticker_id":null,"vehicle_id":3471,"term_id":98,"party_id":818,"transaction_id":619730,"party_vehicle_id":84323,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 489684, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 218 - 2025-05-02 07:47:57 [0.23ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 219 - 2025-05-02 07:47:57 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 220 - 2025-05-02 07:47:57 [0.18ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 221 - 2025-05-02 07:47:57 [0.18ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 222 - 2025-05-02 07:47:57 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619730, '2024-03-01 00:00:00', '2024-03-01 00:00:00', 'OPEN', 818, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 223 - 2025-05-02 07:47:57 [0.18ms] */
select * from `invoice` where `id` = 593309 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 224 - 2025-05-02 07:47:57 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":619730,"party_id":818,"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}}', 90, 'App\Models\User', 593309, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 225 - 2025-05-02 07:47:57 [0.15ms] */
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 7-12 TANS', '7-12 TANS Quarterly Tax', 1, 86.00, 86.00, 593309, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 226 - 2025-05-02 07:47:57 [0.16ms] */
select * from `invoice_item` where `id` = 1068089 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 227 - 2025-05-02 07:47:57 [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 7-12 TANS","description":"7-12 TANS Quarterly Tax","unit_price":"86.00","quantity":1,"total_price":"86.00","invoice_id":593309}}', 90, 'App\Models\User', 1068089, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 228 - 2025-05-02 07:47:57 [0.15ms] */
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, 593309, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 229 - 2025-05-02 07:47:57 [0.16ms] */
select * from `invoice_item` where `id` = 1068090 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 230 - 2025-05-02 07:47:57 [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":593309}}', 90, 'App\Models\User', 1068090, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 231 - 2025-05-02 07:47:57 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 593309 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 232 - 2025-05-02 07:47:57 [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` = 593309 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 233 - 2025-05-02 07:47:57 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 593309 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 234 - 2025-05-02 07:47:57 [0.18ms] */
update `invoice` set `invoice_amount` = 94, `outstanding_balance` = 94, `discounts` = 0, `total_invoice_amount` = 94, `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593309;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 235 - 2025-05-02 07:47:57 [0.19ms] */
select * from `invoice` where `id` = 593309 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 236 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"94.00","outstanding_balance":"94.00","discounts":"0.00","total_invoice_amount":"94.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 90, 'App\Models\User', 593309, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 237 - 2025-05-02 07:47:57 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-390-593309990', `invoice`.`updated_at` = '2025-05-02 07:47:57' where `id` = 593309;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 238 - 2025-05-02 07:47:57 [0.19ms] */
select * from `invoice` where `id` = 593309 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 239 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"94.00","outstanding_balance":"94.00","discounts":"0.00","total_invoice_amount":"94.00","invoice_number":"INV-390-593309990","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 90, 'App\Models\User', 593309, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 240 - 2025-05-02 07:47:57 [0.18ms] */
update `transaction` set `party_vehicle_id` = 84323, `vehicle_tax_id` = 489684, `invoice_id` = 593309, `transaction`.`updated_at` = '2025-05-02 07:47:57' where `id` = 619730;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 241 - 2025-05-02 07:47:57 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 3471 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/workflow.view-workflow-transaction-component
   Query 242 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 243 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 244 - 2025-05-02 07:47:57 [0.26ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (818, 2, 3471, null, 2, 6, 18, 39, 39, 'OPEN', null, null, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 245 - 2025-05-02 07:47:57 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619731, 'INITIATED', '2025-05-02 07:47:57', 5, 90, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 246 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 247 - 2025-05-02 07:47:57 [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', 'Y8Q-84323-416', 3471, 99, 818, 84323, 619731, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 248 - 2025-05-02 07:47:57 [0.17ms] */
select * from `vehicle_tax` where `id` = 489685 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 249 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"Y8Q-84323-416","tax_sticker_id":null,"vehicle_id":3471,"term_id":99,"party_id":818,"transaction_id":619731,"party_vehicle_id":84323,"exempt":"N","migration_id":null}}', 90, 'App\Models\User', 489685, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 250 - 2025-05-02 07:47:57 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 251 - 2025-05-02 07:47:57 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 13 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` = 13 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/workflow.view-workflow-transaction-component
   Query 252 - 2025-05-02 07:47:57 [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/workflow.view-workflow-transaction-component
   Query 253 - 2025-05-02 07:47:57 [0.18ms] */
select * from `party` where `party`.`id` = 818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 254 - 2025-05-02 07:47:57 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (619731, '2024-06-01 00:00:00', '2024-06-01 00:00:00', 'OPEN', 818, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 255 - 2025-05-02 07:47:57 [0.18ms] */
select * from `invoice` where `id` = 593310 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 256 - 2025-05-02 07:47:57 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":619731,"party_id":818,"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}}', 90, 'App\Models\User', 593310, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 257 - 2025-05-02 07:47:57 [0.15ms] */
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 7-12 TANS', '7-12 TANS Quarterly Tax', 1, 86.00, 86.00, 593310, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 258 - 2025-05-02 07:47:57 [0.16ms] */
select * from `invoice_item` where `id` = 1068091 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 259 - 2025-05-02 07:47:57 [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 7-12 TANS","description":"7-12 TANS Quarterly Tax","unit_price":"86.00","quantity":1,"total_price":"86.00","invoice_id":593310}}', 90, 'App\Models\User', 1068091, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 260 - 2025-05-02 07:47:57 [0.15ms] */
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, 593310, 90, 90, '2025-05-02 07:47:57', '2025-05-02 07:47:57');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 261 - 2025-05-02 07:47:57 [0.17ms] */
