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/party/43873
   Query 154 - 2025-05-23 20:09:49 [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/party/43873
   Query 155 - 2025-05-23 20:09:49 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 156 - 2025-05-23 20:09:49 [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/party/43873
   Query 157 - 2025-05-23 20:09:49 [0.12ms] */
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/party/43873
   Query 158 - 2025-05-23 20:09:49 [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/party/43873
   Query 159 - 2025-05-23 20:09:49 [0.12ms] */
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/party/43873
   Query 160 - 2025-05-23 20:09:49 [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/party/43873
   Query 161 - 2025-05-23 20:09:49 [0.12ms] */
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/party/43873
   Query 162 - 2025-05-23 20:09:49 [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/party/43873
   Query 163 - 2025-05-23 20:09:49 [0.12ms] */
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/party/43873
   Query 164 - 2025-05-23 20:09:49 [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/party/43873
   Query 165 - 2025-05-23 20:09:49 [0.12ms] */
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/party/43873
   Query 166 - 2025-05-23 20:09:49 [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/party/43873
   Query 167 - 2025-05-23 20:09:49 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 168 - 2025-05-23 20:09:49 [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/party/43873
   Query 169 - 2025-05-23 20:09:49 [0.12ms] */
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/party/43873
   Query 170 - 2025-05-23 20:09:49 [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/party/43873
   Query 171 - 2025-05-23 20:09:49 [0.12ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 172 - 2025-05-23 20:09:49 [0.13ms] */
select * from `party` where `party`.`id` in (43873) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 173 - 2025-05-23 20:09:49 [0.35ms] */
select * from `address` where `address`.`id` in (43873) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 174 - 2025-05-23 20:09:49 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 175 - 2025-05-23 20:09:49 [0.15ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 176 - 2025-05-23 20:09:49 [0.15ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 177 - 2025-05-23 20:09:49 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 178 - 2025-05-23 20:09:49 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 179 - 2025-05-23 20:09:49 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 180 - 2025-05-23 20:09:49 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 181 - 2025-05-23 20:09:49 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 182 - 2025-05-23 20:09:49 [0.13ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 183 - 2025-05-23 20:09:49 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 184 - 2025-05-23 20:09:49 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 185 - 2025-05-23 20:09:49 [0.25ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 186 - 2025-05-23 20:09:49 [0.25ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 187 - 2025-05-23 20:09:49 [0.27ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 188 - 2025-05-23 20:09:49 [0.26ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 189 - 2025-05-23 20:09:49 [0.27ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 190 - 2025-05-23 20:09:49 [0.27ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 191 - 2025-05-23 20:09:49 [0.26ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 192 - 2025-05-23 20:09:49 [0.25ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 193 - 2025-05-23 20:09:49 [0.27ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 194 - 2025-05-23 20:09:49 [0.19ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 195 - 2025-05-23 20:09:49 [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/43873
   Query 196 - 2025-05-23 20:09:49 [0.33ms] */
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` = 76 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 197 - 2025-05-23 20:09:49 [0.28ms] */
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` = 76 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/43873
   Query 198 - 2025-05-23 20:09:49 [0.58ms] */
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` = 43873 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 199 - 2025-05-23 20:09:49 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 200 - 2025-05-23 20:09:49 [0.41ms] */
select count(*) as aggregate from `discount` where `party_id` = 43873 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 201 - 2025-05-23 20:09:49 [0.25ms] */
select * from `discount` where `party_id` = 43873 and `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 202 - 2025-05-23 20:09:49 [0.15ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 203 - 2025-05-23 20:09:49 [0.15ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 204 - 2025-05-23 20:09:49 [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/party/43873
   Query 205 - 2025-05-23 20:09:49 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 206 - 2025-05-23 20:09:49 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 207 - 2025-05-23 20:09:49 [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/party/43873
   Query 208 - 2025-05-23 20:09:49 [0.15ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 209 - 2025-05-23 20:09:49 [0.12ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 210 - 2025-05-23 20:09:49 [0.22ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 43873 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 211 - 2025-05-23 20:09:49 [0.21ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 212 - 2025-05-23 20:09:49 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=43873&model=Person
   Query 1 - 2025-05-23 20:09:50 [1.33ms] */
select * from `users` where `id` = 76 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=43873&model=Person
   Query 2 - 2025-05-23 20:09:50 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=43873&model=Person
   Query 3 - 2025-05-23 20:09:50 [0.33ms] */
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=43873&model=Person
   Query 4 - 2025-05-23 20:09:50 [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/audit-details?audit_ids=43873&model=Person
   Query 5 - 2025-05-23 20:09:50 [0.33ms] */
select * from `party` where `id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=43873&model=Person
   Query 6 - 2025-05-23 20:09:50 [0.67ms] */
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 = 43873 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-23 20:09:52 [2.3ms] */
select * from `users` where `id` = 76 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-23 20:09:52 [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-23 20:09:52 [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/config.select-district-component
   Query 4 - 2025-05-23 20:09:52 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-05-23 20:09:52 [0.22ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-05-23 20:09:52 [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-23 20:09:52 [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-23 20:09:52 [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-23 20:09:52 [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-23 20:09:56 [1.31ms] */
select * from `users` where `id` = 76 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-23 20:09:56 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-05-23 20:09:56 [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-23 20:09:56 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-05-23 20:09:56 [0.23ms] */
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-23 20:09:56 [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-23 20:09:56 [0.58ms] */
select * from `tax_collection_points` where `region_id` = 1 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-05-23 20:09:56 [0.39ms] */
select * from `district` where `region_id` = 1 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-05-23 20:09:56 [0.14ms] */
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-23 20:09:59 [1.98ms] */
select * from `users` where `id` = 76 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-23 20:09:59 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-05-23 20:09:59 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-05-23 20:09:59 [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-23 20:09:59 [0.34ms] */
select * from `district` where `district`.`id` in (1, 2, 3, 4, 5, 6);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-05-23 20:09:59 [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-23 20:09:59 [0.25ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` in (39, 2, 3, 5, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-05-23 20:09:59 [0.23ms] */
select * from `district` where `id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-05-23 20:09:59 [0.15ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 10 - 2025-05-23 20:09:59 [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-23 20:09:59 [0.13ms] */
select * from `tax_collection_points` where `region_id` = 1 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 12 - 2025-05-23 20:09:59 [0.14ms] */
select * from `district` where `region_id` = 1 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 13 - 2025-05-23 20:09:59 [0.3ms] */
select * from `branches` where `district_id` = 2 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-05-23 20:10:00 [1.39ms] */
select * from `users` where `id` = 76 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-23 20:10:00 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-05-23 20:10:00 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-05-23 20:10:00 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-05-23 20:10:00 [0.27ms] */
select * from `district` where `district`.`id` in (1, 2, 3, 4, 5, 6);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-05-23 20:10:00 [0.4ms] */
select * from `branches` where `branches`.`id` in (2, 3, 1);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-05-23 20:10:00 [0.15ms] */
select * from `region` where `region`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-05-23 20:10:00 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` in (39, 2, 3, 5, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-05-23 20:10:00 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 10 - 2025-05-23 20:10:00 [0.13ms] */
select * from `tax_collection_points` where `region_id` = 1 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 11 - 2025-05-23 20:10:00 [0.14ms] */
select * from `district` where `region_id` = 1 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 12 - 2025-05-23 20:10:00 [0.13ms] */
select * from `branches` where `district_id` = 2 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-05-23 20:10:01 [1.61ms] */
select * from `users` where `id` = 76 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-23 20:10:01 [0.65ms] */
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-23 20:10:01 [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/config.select-district-component
   Query 4 - 2025-05-23 20:10:01 [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/config.select-district-component
   Query 5 - 2025-05-23 20:10:01 [0.33ms] */
select * from `district` where `district`.`id` in (1, 2, 3, 4, 5, 6);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-05-23 20:10:01 [0.25ms] */
select * from `branches` where `branches`.`id` in (2, 3, 1);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-05-23 20:10:01 [0.25ms] */
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-23 20:10:01 [0.25ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` in (39, 2, 3, 5, 1, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-05-23 20:10:01 [0.26ms] */
select * from `party` where `party`.`id` = 43873 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-23 20:10:01 [0.42ms] */
select * from `address` where `address`.`id` = 43873 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-23 20:10:01 [3.68ms] */
update `address` set `address_line_1` = 'NEW BOSASO', `district_id` = 2, `updated_by` = 76, `address`.`updated_at` = '2025-05-23 20:10:01' where `id` = 43873;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 12 - 2025-05-23 20:10:01 [0.42ms] */
select * from `address` where `id` = 43873 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 13 - 2025-05-23 20:10:01 [3.2ms] */
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":"NEW BOSASO","district_id":2},"old":{"address_line_1":null,"district_id":39}}', 76, 'App\Models\User', 43873, 'Modules\Party\Entities\Address', 'updated', '2025-05-23 20:10:01', '2025-05-23 20:10:01');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 14 - 2025-05-23 20:10:01 [2.74ms] */
select * from `transaction` where `party_id` = 43873 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-23 20:10:01 [4.3ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 10611;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 16 - 2025-05-23 20:10:01 [4.72ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 27422;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 17 - 2025-05-23 20:10:01 [3.99ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 36144;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 18 - 2025-05-23 20:10:01 [3.94ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 42211;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 19 - 2025-05-23 20:10:01 [4.95ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 58448;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 20 - 2025-05-23 20:10:01 [8.1ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 59225;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 21 - 2025-05-23 20:10:01 [6.81ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 70556;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 22 - 2025-05-23 20:10:01 [12.72ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 79001;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 23 - 2025-05-23 20:10:01 [7.88ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 79351;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 24 - 2025-05-23 20:10:01 [12.74ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 84313;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 25 - 2025-05-23 20:10:01 [8.66ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 99867;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 26 - 2025-05-23 20:10:01 [4.58ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 104900;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 27 - 2025-05-23 20:10:01 [4.22ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 104901;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 28 - 2025-05-23 20:10:01 [3.86ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 163787;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 29 - 2025-05-23 20:10:01 [12.73ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 163790;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 30 - 2025-05-23 20:10:01 [3.89ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 163791;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 31 - 2025-05-23 20:10:01 [3.51ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 163792;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 32 - 2025-05-23 20:10:01 [3.23ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 163793;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 33 - 2025-05-23 20:10:01 [3.46ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 163800;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 34 - 2025-05-23 20:10:01 [3.4ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 323157;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 35 - 2025-05-23 20:10:01 [3.96ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 323158;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 36 - 2025-05-23 20:10:01 [3.14ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 323159;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 37 - 2025-05-23 20:10:01 [3.91ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 323160;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 38 - 2025-05-23 20:10:01 [3.81ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 325236;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 39 - 2025-05-23 20:10:01 [4.37ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 336222;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 40 - 2025-05-23 20:10:01 [3.85ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 369246;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 41 - 2025-05-23 20:10:01 [2.92ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 369247;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 42 - 2025-05-23 20:10:01 [3.41ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 369248;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 43 - 2025-05-23 20:10:01 [3.15ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 369249;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 44 - 2025-05-23 20:10:01 [3.4ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 601434;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 45 - 2025-05-23 20:10:01 [3.47ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603046;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 46 - 2025-05-23 20:10:01 [4.59ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603048;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 47 - 2025-05-23 20:10:01 [2.93ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603049;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 48 - 2025-05-23 20:10:01 [2.91ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603050;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 49 - 2025-05-23 20:10:01 [3.49ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603051;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 50 - 2025-05-23 20:10:01 [2.91ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603052;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 51 - 2025-05-23 20:10:01 [2.99ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603053;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 52 - 2025-05-23 20:10:01 [1.63ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603054;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 53 - 2025-05-23 20:10:01 [3.07ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603055;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 54 - 2025-05-23 20:10:01 [2.89ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603056;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 55 - 2025-05-23 20:10:01 [2.96ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603057;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 56 - 2025-05-23 20:10:01 [2.87ms] */
update `transaction` set `deliver_district_id` = 2, `district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 603070;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.select-district-component
   Query 57 - 2025-05-23 20:10:01 [1.61ms] */
update `transaction` set `deliver_district_id` = 2, `branch_id` = null, `updated_by` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:01' where `id` = 629251;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/en/m/party/43873
   Query 1 - 2025-05-23 20:10:02 [1.41ms] */
select * from `users` where `id` = 76 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/en/m/party/43873
   Query 2 - 2025-05-23 20:10:02 [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/en/m/party/43873
   Query 3 - 2025-05-23 20:10: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/en/m/party/43873
   Query 4 - 2025-05-23 20:10:02 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 1 - 2025-05-23 20:10:03 [1.95ms] */
select * from `users` where `id` = 76 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 2 - 2025-05-23 20:10:03 [0.81ms] */
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/43873
   Query 3 - 2025-05-23 20:10:03 [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/party/43873
   Query 4 - 2025-05-23 20:10:03 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 5 - 2025-05-23 20:10:03 [0.24ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 6 - 2025-05-23 20:10:03 [0.16ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 7 - 2025-05-23 20:10:03 [0.17ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 43873 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 8 - 2025-05-23 20:10:03 [0.31ms] */
select * from `address` where `address`.`id` = 43873 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 9 - 2025-05-23 20:10:03 [0.15ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 10 - 2025-05-23 20:10:03 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 11 - 2025-05-23 20:10:03 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 12 - 2025-05-23 20:10:03 [0.15ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 13 - 2025-05-23 20:10:03 [0.13ms] */
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/43873
   Query 14 - 2025-05-23 20:10:03 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 15 - 2025-05-23 20:10:03 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 43873 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 16 - 2025-05-23 20:10:03 [0.58ms] */
select count(*) as aggregate from `transaction` where `party_id` = 43873 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 17 - 2025-05-23 20:10:03 [0.13ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 43873 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 18 - 2025-05-23 20:10:03 [0.12ms] */
select count(*) as aggregate from `invoice` where `party_id` = 43873 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 19 - 2025-05-23 20:10:03 [0.15ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 20 - 2025-05-23 20:10:03 [0.16ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 21 - 2025-05-23 20:10:03 [0.46ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 43873 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 22 - 2025-05-23 20:10:03 [0.42ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 43873 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 23 - 2025-05-23 20:10:03 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 43873 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 24 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person_bio_photo` where `party_id` = 43873 and `person_bio_photo`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 25 - 2025-05-23 20:10:03 [0.16ms] */
select * from `person_bio_iris` where `party_id` = 43873 and `person_bio_iris`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 26 - 2025-05-23 20:10:03 [0.17ms] */
select * from `party_vehicle` where `party_id` = 43873 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 27 - 2025-05-23 20:10:03 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 62791 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 28 - 2025-05-23 20:10:03 [0.15ms] */
select * from `model` where `model`.`id` = 1381 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 29 - 2025-05-23 20:10:03 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 30 - 2025-05-23 20:10:03 [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/party/43873
   Query 31 - 2025-05-23 20:10:03 [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/43873
   Query 32 - 2025-05-23 20:10:03 [0.16ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 33 - 2025-05-23 20:10:03 [0.16ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 34 - 2025-05-23 20:10:03 [0.45ms] */
select * from `transaction` where `transaction`.`id` = 79001 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 35 - 2025-05-23 20:10:03 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 36 - 2025-05-23 20:10:03 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 37 - 2025-05-23 20:10:03 [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/43873
   Query 38 - 2025-05-23 20:10:03 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 39 - 2025-05-23 20:10:03 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 72593 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 40 - 2025-05-23 20:10:03 [0.14ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 41 - 2025-05-23 20:10:03 [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/party/43873
   Query 42 - 2025-05-23 20:10:03 [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/party/43873
   Query 43 - 2025-05-23 20:10:03 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 44 - 2025-05-23 20:10:03 [0.16ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 45 - 2025-05-23 20:10:03 [0.15ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 46 - 2025-05-23 20:10:03 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 42211 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 47 - 2025-05-23 20:10:03 [0.16ms] */
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/43873
   Query 48 - 2025-05-23 20:10:03 [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/43873
   Query 49 - 2025-05-23 20:10:03 [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/43873
   Query 50 - 2025-05-23 20:10:03 [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/43873
   Query 51 - 2025-05-23 20:10:03 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 63738 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 52 - 2025-05-23 20:10:03 [0.14ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 53 - 2025-05-23 20:10:03 [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/party/43873
   Query 54 - 2025-05-23 20:10:03 [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/party/43873
   Query 55 - 2025-05-23 20:10:03 [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/43873
   Query 56 - 2025-05-23 20:10:03 [0.15ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 57 - 2025-05-23 20:10:03 [0.2ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 58 - 2025-05-23 20:10:03 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 70556 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 59 - 2025-05-23 20:10:03 [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/43873
   Query 60 - 2025-05-23 20:10:03 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 61 - 2025-05-23 20:10:03 [0.57ms] */
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/43873
   Query 62 - 2025-05-23 20:10:03 [0.29ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 63 - 2025-05-23 20:10:03 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 71795 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 64 - 2025-05-23 20:10:03 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 65 - 2025-05-23 20:10:03 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 66 - 2025-05-23 20:10:03 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 67 - 2025-05-23 20:10:03 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 68 - 2025-05-23 20:10:03 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 69 - 2025-05-23 20:10:03 [0.15ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 70 - 2025-05-23 20:10:03 [0.47ms] */
select * from `transaction` where `transaction`.`id` = 84313 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 71 - 2025-05-23 20:10:03 [0.16ms] */
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/43873
   Query 72 - 2025-05-23 20:10:03 [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/43873
   Query 73 - 2025-05-23 20:10:03 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 74 - 2025-05-23 20:10:03 [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/43873
   Query 75 - 2025-05-23 20:10:03 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 63881 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 76 - 2025-05-23 20:10:03 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 77 - 2025-05-23 20:10:03 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 78 - 2025-05-23 20:10:03 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 79 - 2025-05-23 20:10:03 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 80 - 2025-05-23 20:10:03 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 81 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 82 - 2025-05-23 20:10:03 [0.47ms] */
select * from `transaction` where `transaction`.`id` = 79351 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 83 - 2025-05-23 20:10:03 [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/43873
   Query 84 - 2025-05-23 20:10:03 [0.38ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 85 - 2025-05-23 20:10:03 [0.3ms] */
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/43873
   Query 86 - 2025-05-23 20:10:03 [0.28ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 87 - 2025-05-23 20:10:03 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 64128 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 88 - 2025-05-23 20:10:03 [0.21ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 89 - 2025-05-23 20:10:03 [0.19ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 90 - 2025-05-23 20:10:03 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 91 - 2025-05-23 20:10:03 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 92 - 2025-05-23 20:10:03 [0.21ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 93 - 2025-05-23 20:10:03 [0.23ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 94 - 2025-05-23 20:10:03 [0.49ms] */
select * from `transaction` where `transaction`.`id` = 59225 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 95 - 2025-05-23 20:10:03 [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/43873
   Query 96 - 2025-05-23 20:10:03 [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/43873
   Query 97 - 2025-05-23 20:10:03 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 98 - 2025-05-23 20:10:03 [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/43873
   Query 99 - 2025-05-23 20:10:03 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 60596 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 100 - 2025-05-23 20:10:03 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 101 - 2025-05-23 20:10:03 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 102 - 2025-05-23 20:10:03 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 103 - 2025-05-23 20:10:03 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 104 - 2025-05-23 20:10:03 [0.13ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 105 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 106 - 2025-05-23 20:10:03 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 58448 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 107 - 2025-05-23 20:10:03 [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/43873
   Query 108 - 2025-05-23 20:10:03 [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/43873
   Query 109 - 2025-05-23 20:10:03 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 110 - 2025-05-23 20:10:03 [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/43873
   Query 111 - 2025-05-23 20:10:03 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 63149 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 112 - 2025-05-23 20:10:03 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 113 - 2025-05-23 20:10:03 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 114 - 2025-05-23 20:10:03 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 115 - 2025-05-23 20:10:03 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 116 - 2025-05-23 20:10:03 [0.13ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 117 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 118 - 2025-05-23 20:10:03 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 36144 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 119 - 2025-05-23 20:10:03 [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/43873
   Query 120 - 2025-05-23 20:10:03 [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/43873
   Query 121 - 2025-05-23 20:10:03 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 122 - 2025-05-23 20:10:03 [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/43873
   Query 123 - 2025-05-23 20:10:03 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 76763 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 124 - 2025-05-23 20:10:03 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 125 - 2025-05-23 20:10:03 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 126 - 2025-05-23 20:10:03 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 127 - 2025-05-23 20:10:03 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 128 - 2025-05-23 20:10:03 [0.13ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 129 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 130 - 2025-05-23 20:10:03 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 27422 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 131 - 2025-05-23 20:10:03 [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/43873
   Query 132 - 2025-05-23 20:10:03 [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/43873
   Query 133 - 2025-05-23 20:10:03 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 134 - 2025-05-23 20:10:03 [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/43873
   Query 135 - 2025-05-23 20:10:03 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 65556 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 136 - 2025-05-23 20:10:03 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 137 - 2025-05-23 20:10:03 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 138 - 2025-05-23 20:10:03 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 139 - 2025-05-23 20:10:03 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 140 - 2025-05-23 20:10:03 [0.13ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 141 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 142 - 2025-05-23 20:10:03 [0.57ms] */
select * from `transaction` where `transaction`.`id` = 10611 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 143 - 2025-05-23 20:10:03 [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/43873
   Query 144 - 2025-05-23 20:10:03 [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/43873
   Query 145 - 2025-05-23 20:10:03 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 146 - 2025-05-23 20:10:03 [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/43873
   Query 147 - 2025-05-23 20:10:03 [0.16ms] */
select count(*) as aggregate from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (43873) and `status` <> 'CANCELED' and `status` <> 'CANCELED' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 148 - 2025-05-23 20:10:03 [0.18ms] */
select * from `invoice` where `invoice`.`invoice_amount` <> 0.00 and `party_id` in (43873) 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/43873
   Query 149 - 2025-05-23 20:10:03 [0.39ms] */
select * from `transaction` where `transaction`.`id` in (603048, 603049, 603050, 603051, 603052, 603053, 603054, 603055, 603056, 603070) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 150 - 2025-05-23 20:10:03 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` in (72593) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 151 - 2025-05-23 20:10:03 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 152 - 2025-05-23 20:10:03 [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/party/43873
   Query 153 - 2025-05-23 20:10:03 [0.12ms] */
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/party/43873
   Query 154 - 2025-05-23 20:10:03 [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/party/43873
   Query 155 - 2025-05-23 20:10:03 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 156 - 2025-05-23 20:10:03 [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/party/43873
   Query 157 - 2025-05-23 20:10:03 [0.12ms] */
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/party/43873
   Query 158 - 2025-05-23 20:10:03 [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/party/43873
   Query 159 - 2025-05-23 20:10:03 [0.12ms] */
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/party/43873
   Query 160 - 2025-05-23 20:10:03 [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/party/43873
   Query 161 - 2025-05-23 20:10:03 [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/party/43873
   Query 162 - 2025-05-23 20:10:03 [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/party/43873
   Query 163 - 2025-05-23 20:10:03 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 164 - 2025-05-23 20:10:03 [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/party/43873
   Query 165 - 2025-05-23 20:10:03 [0.12ms] */
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/party/43873
   Query 166 - 2025-05-23 20:10:03 [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/party/43873
   Query 167 - 2025-05-23 20:10:03 [0.12ms] */
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/party/43873
   Query 168 - 2025-05-23 20:10:03 [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/party/43873
   Query 169 - 2025-05-23 20:10:03 [0.12ms] */
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/party/43873
   Query 170 - 2025-05-23 20:10:03 [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/party/43873
   Query 171 - 2025-05-23 20:10:03 [0.12ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 172 - 2025-05-23 20:10:03 [0.13ms] */
select * from `party` where `party`.`id` in (43873) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 173 - 2025-05-23 20:10:03 [0.23ms] */
select * from `address` where `address`.`id` in (43873) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 174 - 2025-05-23 20:10:03 [0.15ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 175 - 2025-05-23 20:10:03 [0.15ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 176 - 2025-05-23 20:10:03 [0.13ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 177 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 178 - 2025-05-23 20:10:03 [0.13ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 179 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 180 - 2025-05-23 20:10:03 [0.13ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 181 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 182 - 2025-05-23 20:10:03 [0.13ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 183 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 184 - 2025-05-23 20:10:03 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 185 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 186 - 2025-05-23 20:10:03 [0.13ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 187 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 188 - 2025-05-23 20:10:03 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 189 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 190 - 2025-05-23 20:10:03 [0.13ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 191 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 192 - 2025-05-23 20:10:03 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 193 - 2025-05-23 20:10:03 [0.16ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 194 - 2025-05-23 20:10:03 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 195 - 2025-05-23 20:10:03 [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/43873
   Query 196 - 2025-05-23 20:10:03 [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` = 76 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 197 - 2025-05-23 20:10:03 [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` = 76 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/43873
   Query 198 - 2025-05-23 20:10:03 [2.24ms] */
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` = 43873 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 199 - 2025-05-23 20:10:03 [1.83ms] */
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` = 43873 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 6 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 200 - 2025-05-23 20:10:03 [0.26ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 201 - 2025-05-23 20:10:03 [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/m/party/43873
   Query 202 - 2025-05-23 20:10:03 [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/43873
   Query 203 - 2025-05-23 20:10:03 [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/party/43873
   Query 204 - 2025-05-23 20:10:03 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 62791 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 205 - 2025-05-23 20:10:03 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 206 - 2025-05-23 20:10:03 [0.15ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 207 - 2025-05-23 20:10:03 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79001 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 208 - 2025-05-23 20:10:03 [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/43873
   Query 209 - 2025-05-23 20:10:03 [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/party/43873
   Query 210 - 2025-05-23 20:10:03 [0.43ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 629251 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/43873
   Query 211 - 2025-05-23 20:10:03 [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/m/party/43873
   Query 212 - 2025-05-23 20:10:03 [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/43873
   Query 213 - 2025-05-23 20:10:03 [0.41ms] */
select * from `transaction_workflow` where `transaction_id` = 629251 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 214 - 2025-05-23 20:10:03 [0.15ms] */
select count(*) as aggregate from `discount` where `party_id` = 43873 and `discount`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 215 - 2025-05-23 20:10:03 [0.14ms] */
select * from `discount` where `party_id` = 43873 and `discount`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 216 - 2025-05-23 20:10:03 [0.14ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 217 - 2025-05-23 20:10:03 [0.15ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 218 - 2025-05-23 20:10:03 [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/party/43873
   Query 219 - 2025-05-23 20:10:03 [0.16ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 220 - 2025-05-23 20:10:03 [0.14ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 221 - 2025-05-23 20:10:03 [0.15ms] */
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/party/43873
   Query 222 - 2025-05-23 20:10:03 [0.13ms] */
select * from `customer_identity_types` where `customer_identity_types`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 223 - 2025-05-23 20:10:03 [0.12ms] */
select * from `countries` where `countries`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 224 - 2025-05-23 20:10:03 [0.13ms] */
select count(*) as aggregate from `customer_identity_documents` where `party_id` = 43873 and `customer_identity_documents`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 225 - 2025-05-23 20:10:03 [0.21ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/party/43873
   Query 226 - 2025-05-23 20:10:03 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 1 - 2025-05-23 20:10:05 [1.37ms] */
select * from `users` where `id` = 76 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 2 - 2025-05-23 20:10:05 [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/w/wkflw
   Query 3 - 2025-05-23 20:10:05 [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
   Query 4 - 2025-05-23 20:10:05 [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/w/wkflw
   Query 5 - 2025-05-23 20:10:05 [0.2ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 6 - 2025-05-23 20:10:05 [0.39ms] */
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-23 20:10:05 [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` = 76 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 8 - 2025-05-23 20:10:05 [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` = 76 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-23 20:10:05 [6.16ms] */
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` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-05-23 20:10:05 [5.86ms] */
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` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 11 - 2025-05-23 20:10:05 [0.17ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 12 - 2025-05-23 20:10:05 [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/w/wkflw
   Query 13 - 2025-05-23 20:10:05 [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-23 20:10:05 [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-23 20:10:05 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 62791 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-23 20:10:05 [0.15ms] */
select * from `party` where `party`.`id` = 43873 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-23 20:10:05 [0.16ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 18 - 2025-05-23 20:10:05 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79001 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 19 - 2025-05-23 20:10:05 [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-23 20:10:05 [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 21 - 2025-05-23 20:10:05 [0.16ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 629251 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-23 20:10:05 [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-23 20:10:05 [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-23 20:10:05 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 629251 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-23 20:10:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 26 - 2025-05-23 20:10:05 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 27 - 2025-05-23 20:10:05 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 28 - 2025-05-23 20:10:05 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 97870 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-23 20:10:05 [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 30 - 2025-05-23 20:10:05 [0.37ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 627429 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 31 - 2025-05-23 20:10:05 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 32 - 2025-05-23 20:10:05 [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 33 - 2025-05-23 20:10:05 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 627429 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 34 - 2025-05-23 20:10:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 35 - 2025-05-23 20:10:05 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 36 - 2025-05-23 20:10:05 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 37 - 2025-05-23 20:10:05 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 97368 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 38 - 2025-05-23 20:10:05 [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 39 - 2025-05-23 20:10:05 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 623866 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 40 - 2025-05-23 20:10:05 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 41 - 2025-05-23 20:10:05 [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 42 - 2025-05-23 20:10:05 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 623866 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 43 - 2025-05-23 20:10:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 44 - 2025-05-23 20:10:05 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 45 - 2025-05-23 20:10:05 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 46 - 2025-05-23 20:10:05 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 81484 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 47 - 2025-05-23 20:10:05 [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 48 - 2025-05-23 20:10:05 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 620925 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 49 - 2025-05-23 20:10:05 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 50 - 2025-05-23 20:10:05 [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 51 - 2025-05-23 20:10:05 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 620925 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 52 - 2025-05-23 20:10:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 53 - 2025-05-23 20:10:05 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 54 - 2025-05-23 20:10:05 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 55 - 2025-05-23 20:10:05 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 42429 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 56 - 2025-05-23 20:10:05 [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 57 - 2025-05-23 20:10:05 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 616451 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 58 - 2025-05-23 20:10:05 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 59 - 2025-05-23 20:10:05 [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 60 - 2025-05-23 20:10:05 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 616451 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 61 - 2025-05-23 20:10:05 [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 62 - 2025-05-23 20:10:05 [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 63 - 2025-05-23 20:10:05 [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 64 - 2025-05-23 20:10:05 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 33713 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 65 - 2025-05-23 20:10:05 [0.23ms] */
select * from `party` where `party`.`id` = 22462 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 66 - 2025-05-23 20:10:05 [0.3ms] */
select * from `person` where `person`.`id` = 22462 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 67 - 2025-05-23 20:10:05 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 44595 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 68 - 2025-05-23 20:10:05 [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 69 - 2025-05-23 20:10:05 [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 70 - 2025-05-23 20:10:05 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 613790 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 71 - 2025-05-23 20:10:05 [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 72 - 2025-05-23 20:10:05 [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 73 - 2025-05-23 20:10:05 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 613790 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 74 - 2025-05-23 20:10:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 75 - 2025-05-23 20:10:05 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 76 - 2025-05-23 20:10:05 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 77 - 2025-05-23 20:10:05 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 82630 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 78 - 2025-05-23 20:10:05 [0.14ms] */
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/w/wkflw
   Query 79 - 2025-05-23 20:10:05 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 611171 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 80 - 2025-05-23 20:10:05 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 81 - 2025-05-23 20:10:05 [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 82 - 2025-05-23 20:10:05 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 611171 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 83 - 2025-05-23 20:10:05 [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 84 - 2025-05-23 20:10:05 [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 85 - 2025-05-23 20:10:05 [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 86 - 2025-05-23 20:10:05 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 76153 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 87 - 2025-05-23 20:10:05 [0.48ms] */
select * from `party` where `party`.`id` = 48651 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 88 - 2025-05-23 20:10:05 [0.46ms] */
select * from `person` where `person`.`id` = 48651 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 89 - 2025-05-23 20:10:05 [0.44ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 9179 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 90 - 2025-05-23 20:10:05 [0.24ms] */
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 91 - 2025-05-23 20:10:05 [0.23ms] */
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 92 - 2025-05-23 20:10:05 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 610012 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 93 - 2025-05-23 20:10:05 [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 94 - 2025-05-23 20:10:05 [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 95 - 2025-05-23 20:10:05 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 610012 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 96 - 2025-05-23 20:10:06 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 97 - 2025-05-23 20:10:06 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 98 - 2025-05-23 20:10:06 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 99 - 2025-05-23 20:10:06 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 23299 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 100 - 2025-05-23 20:10:06 [0.13ms] */
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/w/wkflw
   Query 101 - 2025-05-23 20:10:06 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 608215 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 102 - 2025-05-23 20:10:06 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 103 - 2025-05-23 20:10:06 [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 104 - 2025-05-23 20:10:06 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 608215 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 105 - 2025-05-23 20:10:06 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 106 - 2025-05-23 20:10:06 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 107 - 2025-05-23 20:10:06 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 108 - 2025-05-23 20:10:06 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 89619 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 109 - 2025-05-23 20:10:06 [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 110 - 2025-05-23 20:10:06 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 607263 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 111 - 2025-05-23 20:10:06 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 112 - 2025-05-23 20:10:06 [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 113 - 2025-05-23 20:10:06 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 607263 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 114 - 2025-05-23 20:10:06 [0.17ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 115 - 2025-05-23 20:10:06 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=43873&model=Person
   Query 1 - 2025-05-23 20:10:06 [1.99ms] */
select * from `users` where `id` = 76 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=43873&model=Person
   Query 2 - 2025-05-23 20:10:06 [0.89ms] */
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=43873&model=Person
   Query 3 - 2025-05-23 20:10:06 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=43873&model=Person
   Query 4 - 2025-05-23 20:10:06 [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/audit-details?audit_ids=43873&model=Person
   Query 5 - 2025-05-23 20:10:06 [0.19ms] */
select * from `party` where `id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=43873&model=Person
   Query 6 - 2025-05-23 20:10:06 [0.19ms] */
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 = 43873 and a.auditable_type = 'Person' ORDER BY a.id DESC
            ;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 1 - 2025-05-23 20:10:08 [1.62ms] */
select * from `users` where `id` = 76 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-23 20:10:08 [0.81ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 3 - 2025-05-23 20:10:08 [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/workflow.list-workflow-queue-component
   Query 4 - 2025-05-23 20:10:08 [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.list-workflow-queue-component
   Query 5 - 2025-05-23 20:10:08 [0.22ms] */
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-23 20:10:08 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 629251 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-23 20:10:08 [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): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 8 - 2025-05-23 20:10:08 [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.list-workflow-queue-component
   Query 9 - 2025-05-23 20:10:08 [0.36ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629251, 'CLAIMED', '2025-05-23 20:10:08', 6, 76, 76, 76, '2025-05-23 20:10:08', '2025-05-23 20:10:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-05-23 20:10:08 [0.31ms] */
update `transaction` set `assigned_to` = 76, `transaction`.`updated_at` = '2025-05-23 20:10:08' where `id` = 629251;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 1 - 2025-05-23 20:10:09 [2.03ms] */
select * from `users` where `id` = 76 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 2 - 2025-05-23 20:10:09 [0.74ms] */
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/629251
   Query 3 - 2025-05-23 20:10:09 [0.69ms] */
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/629251
   Query 4 - 2025-05-23 20:10:09 [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/629251
   Query 5 - 2025-05-23 20:10:09 [0.51ms] */
select * from `transaction` where `transaction`.`id` = 629251 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 6 - 2025-05-23 20:10:09 [0.43ms] */
select * from `transaction_workflow` where `transaction_id` = 629251 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 7 - 2025-05-23 20:10:09 [0.39ms] */
select * from `invoice` where `transaction_id` = 629251 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 8 - 2025-05-23 20:10:09 [9.93ms] */
select * from `payment_documents` where `transaction_id` = 629251;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 9 - 2025-05-23 20:10:09 [0.38ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 629251 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 10 - 2025-05-23 20:10:09 [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/629251
   Query 11 - 2025-05-23 20:10:09 [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/629251
   Query 12 - 2025-05-23 20:10:09 [0.35ms] */
select * from `users` where `users`.`id` = 76 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 13 - 2025-05-23 20:10:09 [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/629251
   Query 14 - 2025-05-23 20:10:09 [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/629251
   Query 15 - 2025-05-23 20:10:09 [0.16ms] */
select * from `workflow` where `workflow`.`id` = 7 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 16 - 2025-05-23 20:10:09 [0.42ms] */
select * from `transaction_workflow` where `transaction_id` = 629251 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 17 - 2025-05-23 20:10:09 [408.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 18 - 2025-05-23 20:10:09 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 62791 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 19 - 2025-05-23 20:10:09 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 62791 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 20 - 2025-05-23 20:10:09 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 62791 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 21 - 2025-05-23 20:10:09 [0.65ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 62791 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 22 - 2025-05-23 20:10:09 [0.42ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 79001 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 23 - 2025-05-23 20:10:09 [0.14ms] */
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/629251
   Query 24 - 2025-05-23 20:10:09 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 25 - 2025-05-23 20:10:09 [0.14ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 26 - 2025-05-23 20:10:09 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 27 - 2025-05-23 20:10:09 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 28 - 2025-05-23 20:10:09 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 29 - 2025-05-23 20:10:09 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 62791 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 30 - 2025-05-23 20:10:09 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 62791 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 31 - 2025-05-23 20:10:09 [0.13ms] */
select * from `activity_log` where `log_name` = 'vehicle' and `subject_id` = 62791 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 32 - 2025-05-23 20:10:09 [0.12ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 79001 and `properties` != '{"attributes":[],"old":[]}' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 33 - 2025-05-23 20:10:09 [0.12ms] */
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/629251
   Query 34 - 2025-05-23 20:10:09 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 35 - 2025-05-23 20:10:09 [0.13ms] */
select * from `model` where `model`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 36 - 2025-05-23 20:10:09 [0.11ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 37 - 2025-05-23 20:10:09 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 38 - 2025-05-23 20:10:09 [0.11ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 39 - 2025-05-23 20:10:09 [0.15ms] */
select * from `model` where `model`.`id` = 1381 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 40 - 2025-05-23 20:10:09 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 41 - 2025-05-23 20:10:09 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 24 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 42 - 2025-05-23 20:10:09 [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/629251
   Query 43 - 2025-05-23 20:10:09 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 44 - 2025-05-23 20:10:09 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 45 - 2025-05-23 20:10:09 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 62791 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/629251
   Query 46 - 2025-05-23 20:10:09 [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/629251
   Query 47 - 2025-05-23 20:10:09 [0.18ms] */
select * from `transaction_workflow` where `transaction_id` = 629251 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 48 - 2025-05-23 20:10:09 [0.14ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 49 - 2025-05-23 20:10:09 [0.21ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 50 - 2025-05-23 20:10:09 [0.22ms] */
select * from `party` where `party`.`id` = 43873 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 51 - 2025-05-23 20:10:09 [0.19ms] */
select * from `person` where `person`.`id` = 43873 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 52 - 2025-05-23 20:10:09 [0.17ms] */
select * from `activity_log` where `log_name` = 'party' and `subject_id` = 43873 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 53 - 2025-05-23 20:10:09 [0.16ms] */
select * from `activity_log` where `log_name` = 'person' and `subject_id` = 43873 and `description` = 'updated' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 54 - 2025-05-23 20:10:09 [0.18ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 43873 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 55 - 2025-05-23 20:10:09 [0.17ms] */
select * from `transaction_workflow` where `transaction_id` = 629251 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 56 - 2025-05-23 20:10:09 [0.15ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 57 - 2025-05-23 20:10:09 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79001 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 58 - 2025-05-23 20:10:09 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79001 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 59 - 2025-05-23 20:10:09 [0.68ms] */
select * from `activity_log` where `log_name` = 'party_vehicle' and `subject_id` = 79001 order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 60 - 2025-05-23 20:10:09 [0.18ms] */
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/629251
   Query 61 - 2025-05-23 20:10:09 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 62 - 2025-05-23 20:10:09 [0.57ms] */
select * from `transaction_workflow` where `transaction_id` = 629251 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 63 - 2025-05-23 20:10:09 [0.18ms] */
select * from `users` where `users`.`id` = 76 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 64 - 2025-05-23 20:10:09 [0.14ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 65 - 2025-05-23 20:10:09 [0.44ms] */
select * from `users` where `users`.`id` = 83 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 66 - 2025-05-23 20:10:09 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 67 - 2025-05-23 20:10:09 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 7 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 68 - 2025-05-23 20:10:09 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 69 - 2025-05-23 20:10:09 [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/629251
   Query 70 - 2025-05-23 20:10:09 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 71 - 2025-05-23 20:10:09 [0.25ms] */
(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/629251
   Query 72 - 2025-05-23 20:10:09 [0.16ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 73 - 2025-05-23 20:10:09 [0.2ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/629251
   Query 74 - 2025-05-23 20:10:09 [0.18ms] */
select * from `region` where `region`.`id` = 1 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-23 20:10:11 [2.23ms] */
select * from `users` where `id` = 76 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-23 20:10:11 [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/workflow.view-workflow-transaction-component
   Query 3 - 2025-05-23 20:10:11 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-05-23 20:10:11 [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.view-workflow-transaction-component
   Query 5 - 2025-05-23 20:10:11 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 629251 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-05-23 20:10:11 [0.14ms] */
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-23 20:10:11 [0.13ms] */
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-23 20:10:11 [0.13ms] */
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-23 20:10:11 [0.32ms] */
select * from `users` where `users`.`id` in (76) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-05-23 20:10:11 [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-23 20:10:11 [0.12ms] */
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-23 20:10:11 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` in (62791) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-05-23 20:10:11 [0.14ms] */
select * from `party` where `party`.`id` in (43873) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2025-05-23 20:10:11 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (79001) 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-23 20:10:11 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 629251 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-23 20:10:11 [0.13ms] */
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-23 20:10:11 [0.13ms] */
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-23 20:10:11 [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): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-05-23 20:10:11 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 629251 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-23 20:10:11 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 629251 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-23 20:10:11 [0.14ms] */
select * from `invoice` where `transaction_id` = 629251 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-23 20:10:11 [0.12ms] */
select * from `payment_documents` where `transaction_id` = 629251;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-05-23 20:10:11 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 629251 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-23 20:10:11 [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 25 - 2025-05-23 20:10:11 [0.13ms] */
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-23 20:10:11 [0.14ms] */
select * from `users` where `users`.`id` = 76 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-23 20:10:11 [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): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-05-23 20:10:11 [0.12ms] */
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-23 20:10:11 [0.15ms] */
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-23 20:10:11 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 629251 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-23 20:10:11 [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-23 20:10:11 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 629251 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-23 20:10:11 [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-23 20:10:11 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 629251 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-23 20:10:11 [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-23 20:10:13 [1.55ms] */
select * from `users` where `id` = 76 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-23 20:10:13 [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-23 20:10:13 [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.workflow-checklist-component
   Query 4 - 2025-05-23 20:10:13 [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 5 - 2025-05-23 20:10:13 [0.41ms] */
(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-23 20:10:13 [0.31ms] */
(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-23 20:10:15 [2.33ms] */
select * from `users` where `id` = 76 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-23 20:10:15 [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/workflow.workflow-checklist-component
   Query 3 - 2025-05-23 20:10:15 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-05-23 20:10:15 [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-23 20:10:15 [0.33ms] */
(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-23 20:10:16 [1.95ms] */
select * from `users` where `id` = 76 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-23 20:10:16 [0.83ms] */
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-23 20:10:16 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2025-05-23 20:10:16 [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.view-workflow-transaction-component
   Query 5 - 2025-05-23 20:10:16 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 629251 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-05-23 20:10:16 [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-23 20:10:16 [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-23 20:10:16 [0.13ms] */
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-23 20:10:16 [0.15ms] */
select * from `users` where `users`.`id` in (76) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2025-05-23 20:10:16 [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-23 20:10:16 [0.12ms] */
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-23 20:10:16 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 629251 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-23 20:10:16 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 629251 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-23 20:10:16 [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 15 - 2025-05-23 20:10:16 [0.13ms] */
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-23 20:10:16 [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-23 20:10:16 [0.14ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2025-05-23 20:10:16 [0.31ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629251, 'APPROVED', '2025-05-23 20:10:16', 6, 76, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2025-05-23 20:10:16 [0.14ms] */
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-23 20:10:16 [0.33ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 31, `status` = 'END', `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629251;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-05-23 20:10:16 [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): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-05-23 20:10:16 [0.15ms] */
select * from `party` where `party`.`id` = 43873 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-23 20:10:16 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 62791 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-23 20:10:16 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 79001 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-23 20:10:16 [0.22ms] */
update `party_vehicle` set `updated_by` = 76, `party_vehicle`.`updated_at` = '2025-05-23 20:10:16' where `id` = 79001;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-05-23 20:10:16 [0.19ms] */
select * from `party_vehicle` where `id` = 79001 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-05-23 20:10:16 [0.23ms] */
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":[]}', 76, 'App\Models\User', 79001, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-05-23 20:10:16 [0.53ms] */
update `party` set `updated_by` = 76, `party`.`updated_at` = '2025-05-23 20:10:16' where `id` = 43873;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-05-23 20:10:16 [0.42ms] */
select * from `party` where `id` = 43873 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party', '{"attributes":[],"old":[]}', 76, 'App\Models\User', 43873, 'Modules\Party\Entities\Party', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-05-23 20:10:16 [0.28ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":90}', '{"updated_by":76}', 'updated', 43873, 'Modules\Party\Entities\Party', 76, 'App\Models\User', null, '41.223.108.50', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0', 'https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-05-23 20:10:16 [0.26ms] */
update `vehicle` set `provisional` = 'N', `updated_by` = 76, `vehicle`.`updated_at` = '2025-05-23 20:10:16' where `id` = 62791;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-05-23 20:10:16 [0.19ms] */
select * from `vehicle` where `id` = 62791 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":{"provisional":"N"},"old":{"provisional":"Y"}}', 76, 'App\Models\User', 62791, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-05-23 20:10:16 [0.18ms] */
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":83}', '{"provisional":"N","updated_by":76}', 'updated', 62791, 'Modules\Vehicle\Entities\Vehicle', 76, 'App\Models\User', null, '41.223.108.50', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0', 'https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-05-23 20:10:16 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 62791 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-23 20:10:16 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 62791 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-23 20:10:16 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 62791 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-23 20:10:16 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 79001 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-23 20:10:16 [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): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-05-23 20:10:16 [0.13ms] */
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-23 20:10:16 [0.19ms] */
select * from `party` where `party`.`id` = 43873 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-23 20:10:16 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 62791 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-23 20:10:16 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2025-05-23 20:10:16 [0.39ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 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-23 20:10:16 [82.66ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2025-05-23 20:10:16 [0.59ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 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 48 - 2025-05-23 20:10:16 [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 49 - 2025-05-23 20:10:16 [1.59ms] */
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 50 - 2025-05-23 20:10:16 [0.19ms] */
select * from `branches` where `branches`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-05-23 20:10:16 [21.34ms] */
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 (43873, 2, 62791, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 52 - 2025-05-23 20:10:16 [0.44ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629252, 'INITIATED', '2025-05-23 20:10:16', 5, 76, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 53 - 2025-05-23 20:10:16 [0.5ms] */
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 54 - 2025-05-23 20:10:16 [3.45ms] */
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', 'AQW-79001-874', 62791, 94, 43873, 79001, 629252, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2025-05-23 20:10:16 [0.27ms] */
select * from `vehicle_tax` where `id` = 494729 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 56 - 2025-05-23 20:10:16 [0.33ms] */
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":"AQW-79001-874","tax_sticker_id":null,"vehicle_id":62791,"term_id":94,"party_id":43873,"transaction_id":629252,"party_vehicle_id":79001,"exempt":"N","migration_id":null}}', 76, 'App\Models\User', 494729, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 57 - 2025-05-23 20:10:16 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 58 - 2025-05-23 20:10:16 [0.35ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 59 - 2025-05-23 20:10:16 [0.3ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 60 - 2025-05-23 20:10:16 [0.25ms] */
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 61 - 2025-05-23 20:10:16 [0.29ms] */
select * from `party` where `party`.`id` = 43873 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 62 - 2025-05-23 20:10:16 [0.47ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629252, '2023-03-01 00:00:00', '2023-03-01 00:00:00', 'OPEN', 43873, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 63 - 2025-05-23 20:10:16 [0.18ms] */
select * from `invoice` where `id` = 602427 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 64 - 2025-05-23 20:10:16 [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":629252,"party_id":43873,"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}}', 76, 'App\Models\User', 602427, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 65 - 2025-05-23 20:10:16 [0.27ms] */
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 14 HP', '14 HP Quarterly Time Fee', 1, 23.00, 23.00, 602427, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 66 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082416 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 67 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"14 HP Quarterly Time Fee","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":602427}}', 76, 'App\Models\User', 1082416, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 68 - 2025-05-23 20:10:16 [0.17ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 602427, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 69 - 2025-05-23 20:10:16 [0.18ms] */
select * from `invoice_item` where `id` = 1082417 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 70 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":602427}}', 76, 'App\Models\User', 1082417, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 71 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 602427 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 72 - 2025-05-23 20:10:16 [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` = 602427 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 73 - 2025-05-23 20:10:16 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 602427 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 74 - 2025-05-23 20:10:16 [0.24ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602427;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 75 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602427 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 76 - 2025-05-23 20:10:16 [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":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 76, 'App\Models\User', 602427, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 77 - 2025-05-23 20:10:16 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-402-602427435', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602427;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 78 - 2025-05-23 20:10:16 [0.18ms] */
select * from `invoice` where `id` = 602427 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 79 - 2025-05-23 20:10:16 [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":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-402-602427435","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 76, 'App\Models\User', 602427, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 80 - 2025-05-23 20:10:16 [0.2ms] */
update `transaction` set `party_vehicle_id` = 79001, `vehicle_tax_id` = 494729, `invoice_id` = 602427, `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629252;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 81 - 2025-05-23 20:10:16 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 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 82 - 2025-05-23 20:10:16 [0.22ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 83 - 2025-05-23 20:10:16 [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 84 - 2025-05-23 20:10:16 [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 (43873, 2, 62791, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 85 - 2025-05-23 20:10:16 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629253, 'INITIATED', '2025-05-23 20:10:16', 5, 76, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 86 - 2025-05-23 20:10:16 [0.2ms] */
select * from `term` where `year` = 2023 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 87 - 2025-05-23 20:10:16 [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', 'LML-79001-666', 62791, 95, 43873, 79001, 629253, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 88 - 2025-05-23 20:10:16 [0.17ms] */
select * from `vehicle_tax` where `id` = 494730 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 89 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"LML-79001-666","tax_sticker_id":null,"vehicle_id":62791,"term_id":95,"party_id":43873,"transaction_id":629253,"party_vehicle_id":79001,"exempt":"N","migration_id":null}}', 76, 'App\Models\User', 494730, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 90 - 2025-05-23 20:10:16 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 91 - 2025-05-23 20:10:16 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 92 - 2025-05-23 20:10:16 [0.19ms] */
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 93 - 2025-05-23 20:10:16 [0.19ms] */
select * from `party` where `party`.`id` = 43873 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 94 - 2025-05-23 20:10:16 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629253, '2023-06-01 00:00:00', '2023-06-01 00:00:00', 'OPEN', 43873, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 95 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602428 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 96 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":629253,"party_id":43873,"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}}', 76, 'App\Models\User', 602428, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 97 - 2025-05-23 20:10:16 [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 14 HP', '14 HP Quarterly Time Fee', 1, 23.00, 23.00, 602428, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 98 - 2025-05-23 20:10:16 [0.16ms] */
select * from `invoice_item` where `id` = 1082418 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 99 - 2025-05-23 20:10:16 [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 14 HP","description":"14 HP Quarterly Time Fee","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":602428}}', 76, 'App\Models\User', 1082418, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 100 - 2025-05-23 20:10:16 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 602428, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 101 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082419 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 102 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":602428}}', 76, 'App\Models\User', 1082419, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 103 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 602428 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 104 - 2025-05-23 20:10:16 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 602428 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 105 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 602428 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 106 - 2025-05-23 20:10:16 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602428;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 107 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602428 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 108 - 2025-05-23 20:10:16 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 76, 'App\Models\User', 602428, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 109 - 2025-05-23 20:10:16 [0.18ms] */
update `invoice` set `invoice_number` = 'INV-682-602428529', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602428;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 110 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602428 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 111 - 2025-05-23 20:10:16 [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":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-682-602428529","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 76, 'App\Models\User', 602428, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 112 - 2025-05-23 20:10:16 [0.19ms] */
update `transaction` set `party_vehicle_id` = 79001, `vehicle_tax_id` = 494730, `invoice_id` = 602428, `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629253;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 113 - 2025-05-23 20:10:16 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 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 114 - 2025-05-23 20:10:16 [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 115 - 2025-05-23 20:10:16 [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 116 - 2025-05-23 20:10:16 [0.23ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (43873, 2, 62791, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 117 - 2025-05-23 20:10:16 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629254, 'INITIATED', '2025-05-23 20:10:16', 5, 76, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 118 - 2025-05-23 20:10:16 [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 119 - 2025-05-23 20:10:16 [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', 'G6H-79001-770', 62791, 96, 43873, 79001, 629254, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 120 - 2025-05-23 20:10:16 [0.18ms] */
select * from `vehicle_tax` where `id` = 494731 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 121 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"G6H-79001-770","tax_sticker_id":null,"vehicle_id":62791,"term_id":96,"party_id":43873,"transaction_id":629254,"party_vehicle_id":79001,"exempt":"N","migration_id":null}}', 76, 'App\Models\User', 494731, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 122 - 2025-05-23 20:10:16 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 123 - 2025-05-23 20:10:16 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 124 - 2025-05-23 20:10:16 [0.17ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 125 - 2025-05-23 20:10:16 [0.19ms] */
select * from `party` where `party`.`id` = 43873 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 126 - 2025-05-23 20:10:16 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629254, '2023-09-01 00:00:00', '2023-09-01 00:00:00', 'OPEN', 43873, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 127 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602429 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 128 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":629254,"party_id":43873,"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}}', 76, 'App\Models\User', 602429, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 129 - 2025-05-23 20:10:16 [0.17ms] */
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 14 HP', '14 HP Quarterly Time Fee', 1, 23.00, 23.00, 602429, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 130 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082420 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 131 - 2025-05-23 20:10:16 [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 14 HP","description":"14 HP Quarterly Time Fee","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":602429}}', 76, 'App\Models\User', 1082420, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 132 - 2025-05-23 20:10:16 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 602429, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 133 - 2025-05-23 20:10:16 [0.18ms] */
select * from `invoice_item` where `id` = 1082421 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 134 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":602429}}', 76, 'App\Models\User', 1082421, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 135 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 602429 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 136 - 2025-05-23 20:10:16 [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` = 602429 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 137 - 2025-05-23 20:10:16 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 602429 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 138 - 2025-05-23 20:10:16 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602429;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 139 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602429 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 140 - 2025-05-23 20:10:16 [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":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 76, 'App\Models\User', 602429, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 141 - 2025-05-23 20:10:16 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-796-602429740', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602429;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 142 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice` where `id` = 602429 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 143 - 2025-05-23 20:10:16 [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":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-796-602429740","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 76, 'App\Models\User', 602429, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 144 - 2025-05-23 20:10:16 [0.19ms] */
update `transaction` set `party_vehicle_id` = 79001, `vehicle_tax_id` = 494731, `invoice_id` = 602429, `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629254;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 145 - 2025-05-23 20:10:16 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 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 146 - 2025-05-23 20:10:16 [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 147 - 2025-05-23 20:10:16 [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 148 - 2025-05-23 20:10:16 [0.23ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (43873, 2, 62791, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 149 - 2025-05-23 20:10:16 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629255, 'INITIATED', '2025-05-23 20:10:16', 5, 76, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 150 - 2025-05-23 20:10:16 [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 151 - 2025-05-23 20:10:16 [0.19ms] */
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 152 - 2025-05-23 20:10:16 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 153 - 2025-05-23 20:10:16 [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', 'BCB-79001-538', 62791, 97, 43873, 79001, 629255, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 154 - 2025-05-23 20:10:16 [0.17ms] */
select * from `vehicle_tax` where `id` = 494732 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 155 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"BCB-79001-538","tax_sticker_id":null,"vehicle_id":62791,"term_id":97,"party_id":43873,"transaction_id":629255,"party_vehicle_id":79001,"exempt":"N","migration_id":null}}', 76, 'App\Models\User', 494732, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 156 - 2025-05-23 20:10:16 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 157 - 2025-05-23 20:10:16 [0.17ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 158 - 2025-05-23 20:10:16 [0.2ms] */
select * from `party` where `party`.`id` = 43873 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 159 - 2025-05-23 20:10:16 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629255, '2023-12-01 00:00:00', '2023-12-01 00:00:00', 'OPEN', 43873, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 160 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602430 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 161 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":629255,"party_id":43873,"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}}', 76, 'App\Models\User', 602430, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 162 - 2025-05-23 20:10:16 [0.18ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly fee for 14 HP', 'Yearly fee for 14 HP', 1, 56.00, 56.00, 602430, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 163 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082422 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 164 - 2025-05-23 20:10:16 [0.32ms] */
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 fee for 14 HP","description":"Yearly fee for 14 HP","unit_price":"56.00","quantity":1,"total_price":"56.00","invoice_id":602430}}', 76, 'App\Models\User', 1082422, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 165 - 2025-05-23 20:10:16 [0.18ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Yearly Tax', 'Service Fee for Yearly Tax', 1, 8.00, 8.00, 602430, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 166 - 2025-05-23 20:10:16 [0.16ms] */
select * from `invoice_item` where `id` = 1082423 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 167 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Yearly Tax","description":"Service Fee for Yearly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":602430}}', 76, 'App\Models\User', 1082423, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 168 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 602430 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 169 - 2025-05-23 20:10:16 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 602430 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 170 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 602430 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 171 - 2025-05-23 20:10:16 [0.18ms] */
update `invoice` set `invoice_amount` = 64, `outstanding_balance` = 64, `discounts` = 0, `total_invoice_amount` = 64, `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602430;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 172 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602430 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 173 - 2025-05-23 20:10:16 [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":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 76, 'App\Models\User', 602430, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 174 - 2025-05-23 20:10:16 [0.23ms] */
update `invoice` set `invoice_number` = 'INV-312-602430275', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602430;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 175 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602430 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 176 - 2025-05-23 20:10:16 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00","invoice_number":"INV-312-602430275","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 76, 'App\Models\User', 602430, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 177 - 2025-05-23 20:10:16 [0.2ms] */
update `transaction` set `party_vehicle_id` = 79001, `vehicle_tax_id` = 494732, `invoice_id` = 602430, `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629255;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 178 - 2025-05-23 20:10:16 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 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 179 - 2025-05-23 20:10:16 [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 180 - 2025-05-23 20:10:16 [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 181 - 2025-05-23 20:10:16 [0.23ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (43873, 2, 62791, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 182 - 2025-05-23 20:10:16 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629256, 'INITIATED', '2025-05-23 20:10:16', 5, 76, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 183 - 2025-05-23 20:10:16 [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 184 - 2025-05-23 20:10:16 [0.21ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'OKE-79001-874', 62791, 98, 43873, 79001, 629256, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 185 - 2025-05-23 20:10:16 [0.18ms] */
select * from `vehicle_tax` where `id` = 494733 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 186 - 2025-05-23 20:10:16 [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":"OKE-79001-874","tax_sticker_id":null,"vehicle_id":62791,"term_id":98,"party_id":43873,"transaction_id":629256,"party_vehicle_id":79001,"exempt":"N","migration_id":null}}', 76, 'App\Models\User', 494733, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 187 - 2025-05-23 20:10:16 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 188 - 2025-05-23 20:10:16 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 189 - 2025-05-23 20:10:16 [0.17ms] */
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 190 - 2025-05-23 20:10:16 [0.19ms] */
select * from `party` where `party`.`id` = 43873 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 191 - 2025-05-23 20:10:16 [0.2ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629256, '2024-03-01 00:00:00', '2024-03-01 00:00:00', 'OPEN', 43873, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 192 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice` where `id` = 602431 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 193 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":629256,"party_id":43873,"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}}', 76, 'App\Models\User', 602431, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 194 - 2025-05-23 20:10:16 [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 14 HP', '14 HP Quarterly Time Fee', 1, 23.00, 23.00, 602431, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 195 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082424 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 196 - 2025-05-23 20:10:16 [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 14 HP","description":"14 HP Quarterly Time Fee","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":602431}}', 76, 'App\Models\User', 1082424, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 197 - 2025-05-23 20:10:16 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 602431, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 198 - 2025-05-23 20:10:16 [0.16ms] */
select * from `invoice_item` where `id` = 1082425 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 199 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":602431}}', 76, 'App\Models\User', 1082425, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 200 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 602431 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 201 - 2025-05-23 20:10:16 [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` = 602431 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 202 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 602431 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 203 - 2025-05-23 20:10:16 [0.19ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602431;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 204 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602431 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 205 - 2025-05-23 20:10:16 [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":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 76, 'App\Models\User', 602431, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 206 - 2025-05-23 20:10:16 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-416-602431454', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602431;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 207 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602431 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 208 - 2025-05-23 20:10:16 [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":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-416-602431454","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 76, 'App\Models\User', 602431, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 209 - 2025-05-23 20:10:16 [0.21ms] */
update `transaction` set `party_vehicle_id` = 79001, `vehicle_tax_id` = 494733, `invoice_id` = 602431, `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629256;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 210 - 2025-05-23 20:10:16 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 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 211 - 2025-05-23 20:10:16 [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 212 - 2025-05-23 20:10:16 [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 213 - 2025-05-23 20:10:16 [0.23ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (43873, 2, 62791, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 214 - 2025-05-23 20:10:16 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629257, 'INITIATED', '2025-05-23 20:10:16', 5, 76, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 215 - 2025-05-23 20:10:16 [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 216 - 2025-05-23 20:10:16 [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', 'X3E-79001-960', 62791, 99, 43873, 79001, 629257, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 217 - 2025-05-23 20:10:16 [0.17ms] */
select * from `vehicle_tax` where `id` = 494734 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 218 - 2025-05-23 20:10:16 [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":"X3E-79001-960","tax_sticker_id":null,"vehicle_id":62791,"term_id":99,"party_id":43873,"transaction_id":629257,"party_vehicle_id":79001,"exempt":"N","migration_id":null}}', 76, 'App\Models\User', 494734, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 219 - 2025-05-23 20:10:16 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 220 - 2025-05-23 20:10:16 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 221 - 2025-05-23 20:10:16 [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 222 - 2025-05-23 20:10:16 [0.18ms] */
select * from `party` where `party`.`id` = 43873 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 223 - 2025-05-23 20:10:16 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629257, '2024-06-01 00:00:00', '2024-06-01 00:00:00', 'OPEN', 43873, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 224 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602432 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 225 - 2025-05-23 20:10:16 [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":629257,"party_id":43873,"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}}', 76, 'App\Models\User', 602432, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 226 - 2025-05-23 20:10:16 [0.17ms] */
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 14 HP', '14 HP Quarterly Time Fee', 1, 23.00, 23.00, 602432, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 227 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082426 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 228 - 2025-05-23 20:10:16 [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 14 HP","description":"14 HP Quarterly Time Fee","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":602432}}', 76, 'App\Models\User', 1082426, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 229 - 2025-05-23 20:10:16 [0.17ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 602432, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 230 - 2025-05-23 20:10:16 [0.16ms] */
select * from `invoice_item` where `id` = 1082427 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 231 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":602432}}', 76, 'App\Models\User', 1082427, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 232 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 602432 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 233 - 2025-05-23 20:10:16 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 602432 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 234 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 602432 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 235 - 2025-05-23 20:10:16 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602432;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 236 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602432 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 237 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 76, 'App\Models\User', 602432, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 238 - 2025-05-23 20:10:16 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-923-602432818', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602432;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 239 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602432 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 240 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-923-602432818","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 76, 'App\Models\User', 602432, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 241 - 2025-05-23 20:10:16 [0.19ms] */
update `transaction` set `party_vehicle_id` = 79001, `vehicle_tax_id` = 494734, `invoice_id` = 602432, `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629257;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 242 - 2025-05-23 20:10:16 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 243 - 2025-05-23 20:10:16 [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 244 - 2025-05-23 20:10:16 [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 245 - 2025-05-23 20:10:16 [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 (43873, 2, 62791, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 246 - 2025-05-23 20:10:16 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629258, 'INITIATED', '2025-05-23 20:10:16', 5, 76, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 247 - 2025-05-23 20:10:16 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 248 - 2025-05-23 20:10:16 [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', '4X2-79001-972', 62791, 100, 43873, 79001, 629258, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 249 - 2025-05-23 20:10:16 [0.18ms] */
select * from `vehicle_tax` where `id` = 494735 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 250 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"4X2-79001-972","tax_sticker_id":null,"vehicle_id":62791,"term_id":100,"party_id":43873,"transaction_id":629258,"party_vehicle_id":79001,"exempt":"N","migration_id":null}}', 76, 'App\Models\User', 494735, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 251 - 2025-05-23 20:10:16 [0.24ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 252 - 2025-05-23 20:10:16 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 253 - 2025-05-23 20:10:16 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 254 - 2025-05-23 20:10:16 [0.19ms] */
select * from `party` where `party`.`id` = 43873 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 255 - 2025-05-23 20:10:16 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629258, '2024-09-01 00:00:00', '2024-09-01 00:00:00', 'OPEN', 43873, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 256 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602433 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 257 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":629258,"party_id":43873,"invoice_amount":"0.00","invoice_date":"2024-09-01 00:00:00","due_date":"2024-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 76, 'App\Models\User', 602433, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 258 - 2025-05-23 20:10:16 [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 14 HP', '14 HP Quarterly Time Fee', 1, 23.00, 23.00, 602433, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 259 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082428 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 260 - 2025-05-23 20:10:16 [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 14 HP","description":"14 HP Quarterly Time Fee","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":602433}}', 76, 'App\Models\User', 1082428, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 261 - 2025-05-23 20:10:16 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 602433, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 262 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082429 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 263 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":602433}}', 76, 'App\Models\User', 1082429, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 264 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 602433 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 265 - 2025-05-23 20:10:16 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 602433 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 266 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 602433 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 267 - 2025-05-23 20:10:16 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602433;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 268 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602433 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 269 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 76, 'App\Models\User', 602433, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 270 - 2025-05-23 20:10:16 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-146-602433249', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602433;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 271 - 2025-05-23 20:10:16 [0.18ms] */
select * from `invoice` where `id` = 602433 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 272 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-146-602433249","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 76, 'App\Models\User', 602433, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 273 - 2025-05-23 20:10:16 [0.19ms] */
update `transaction` set `party_vehicle_id` = 79001, `vehicle_tax_id` = 494735, `invoice_id` = 602433, `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629258;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 274 - 2025-05-23 20:10:16 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 275 - 2025-05-23 20:10:16 [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 276 - 2025-05-23 20:10:16 [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 277 - 2025-05-23 20:10:16 [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 (43873, 2, 62791, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 278 - 2025-05-23 20:10:16 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629259, 'INITIATED', '2025-05-23 20:10:16', 5, 76, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 279 - 2025-05-23 20:10:16 [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 280 - 2025-05-23 20:10:16 [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 281 - 2025-05-23 20:10:16 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 282 - 2025-05-23 20:10:16 [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', 'NJX-79001-468', 62791, 103, 43873, 79001, 629259, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 283 - 2025-05-23 20:10:16 [0.17ms] */
select * from `vehicle_tax` where `id` = 494736 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 284 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"NJX-79001-468","tax_sticker_id":null,"vehicle_id":62791,"term_id":103,"party_id":43873,"transaction_id":629259,"party_vehicle_id":79001,"exempt":"N","migration_id":null}}', 76, 'App\Models\User', 494736, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 285 - 2025-05-23 20:10:16 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 286 - 2025-05-23 20:10:16 [0.17ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 287 - 2025-05-23 20:10:16 [0.19ms] */
select * from `party` where `party`.`id` = 43873 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 288 - 2025-05-23 20:10:16 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629259, '2024-12-01 00:00:00', '2024-12-01 00:00:00', 'OPEN', 43873, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 289 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602434 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 290 - 2025-05-23 20:10:16 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":629259,"party_id":43873,"invoice_amount":"0.00","invoice_date":"2024-12-01 00:00:00","due_date":"2024-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 76, 'App\Models\User', 602434, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 291 - 2025-05-23 20:10:16 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly fee for 14 HP', 'Yearly fee for 14 HP', 1, 56.00, 56.00, 602434, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 292 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082430 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 293 - 2025-05-23 20:10:16 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly fee for 14 HP","description":"Yearly fee for 14 HP","unit_price":"56.00","quantity":1,"total_price":"56.00","invoice_id":602434}}', 76, 'App\Models\User', 1082430, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 294 - 2025-05-23 20:10:16 [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, 602434, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 295 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082431 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 296 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Yearly Tax","description":"Service Fee for Yearly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":602434}}', 76, 'App\Models\User', 1082431, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 297 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 602434 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 298 - 2025-05-23 20:10:16 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 602434 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 299 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 602434 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 300 - 2025-05-23 20:10:16 [0.18ms] */
update `invoice` set `invoice_amount` = 64, `outstanding_balance` = 64, `discounts` = 0, `total_invoice_amount` = 64, `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602434;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 301 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602434 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 302 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 76, 'App\Models\User', 602434, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 303 - 2025-05-23 20:10:16 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-441-602434191', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602434;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 304 - 2025-05-23 20:10:16 [0.18ms] */
select * from `invoice` where `id` = 602434 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 305 - 2025-05-23 20:10:16 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00","invoice_number":"INV-441-602434191","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 76, 'App\Models\User', 602434, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 306 - 2025-05-23 20:10:16 [0.19ms] */
update `transaction` set `party_vehicle_id` = 79001, `vehicle_tax_id` = 494736, `invoice_id` = 602434, `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629259;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 307 - 2025-05-23 20:10:16 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 308 - 2025-05-23 20:10:16 [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 309 - 2025-05-23 20:10:16 [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 310 - 2025-05-23 20:10:16 [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 (43873, 2, 62791, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 311 - 2025-05-23 20:10:16 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629260, 'INITIATED', '2025-05-23 20:10:16', 5, 76, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 312 - 2025-05-23 20:10:16 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 313 - 2025-05-23 20:10:16 [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', 'CEK-79001-739', 62791, 104, 43873, 79001, 629260, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 314 - 2025-05-23 20:10:16 [0.17ms] */
select * from `vehicle_tax` where `id` = 494737 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 315 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"CEK-79001-739","tax_sticker_id":null,"vehicle_id":62791,"term_id":104,"party_id":43873,"transaction_id":629260,"party_vehicle_id":79001,"exempt":"N","migration_id":null}}', 76, 'App\Models\User', 494737, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 316 - 2025-05-23 20:10:16 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 317 - 2025-05-23 20:10:16 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 318 - 2025-05-23 20:10:16 [0.17ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 319 - 2025-05-23 20:10:16 [0.18ms] */
select * from `party` where `party`.`id` = 43873 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 320 - 2025-05-23 20:10:16 [0.22ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629260, '2025-03-01 00:00:00', '2025-03-01 00:00:00', 'OPEN', 43873, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 321 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602435 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 322 - 2025-05-23 20:10:16 [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":629260,"party_id":43873,"invoice_amount":"0.00","invoice_date":"2025-03-01 00:00:00","due_date":"2025-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 76, 'App\Models\User', 602435, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 323 - 2025-05-23 20:10:16 [0.17ms] */
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 14 HP', '14 HP Quarterly Time Fee', 1, 23.00, 23.00, 602435, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 324 - 2025-05-23 20:10:16 [0.16ms] */
select * from `invoice_item` where `id` = 1082432 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 325 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"14 HP Quarterly Time Fee","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":602435}}', 76, 'App\Models\User', 1082432, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 326 - 2025-05-23 20:10:16 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 602435, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 327 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082433 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 328 - 2025-05-23 20:10:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":602435}}', 76, 'App\Models\User', 1082433, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 329 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 602435 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 330 - 2025-05-23 20:10:16 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 602435 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 331 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 602435 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 332 - 2025-05-23 20:10:16 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602435;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 333 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602435 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 334 - 2025-05-23 20:10:16 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 76, 'App\Models\User', 602435, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 335 - 2025-05-23 20:10:16 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-743-602435784', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602435;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 336 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602435 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 337 - 2025-05-23 20:10:16 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-743-602435784","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 76, 'App\Models\User', 602435, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 338 - 2025-05-23 20:10:16 [0.19ms] */
update `transaction` set `party_vehicle_id` = 79001, `vehicle_tax_id` = 494737, `invoice_id` = 602435, `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629260;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 339 - 2025-05-23 20:10:16 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 340 - 2025-05-23 20:10:16 [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 341 - 2025-05-23 20:10:16 [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 342 - 2025-05-23 20:10:16 [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 (43873, 2, 62791, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 343 - 2025-05-23 20:10:16 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629261, 'INITIATED', '2025-05-23 20:10:16', 5, 76, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 344 - 2025-05-23 20:10:16 [0.22ms] */
select * from `term` where `year` = 2025 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 345 - 2025-05-23 20:10:16 [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', 'UJL-79001-228', 62791, 105, 43873, 79001, 629261, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 346 - 2025-05-23 20:10:16 [0.17ms] */
select * from `vehicle_tax` where `id` = 494738 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 347 - 2025-05-23 20:10:16 [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":"UJL-79001-228","tax_sticker_id":null,"vehicle_id":62791,"term_id":105,"party_id":43873,"transaction_id":629261,"party_vehicle_id":79001,"exempt":"N","migration_id":null}}', 76, 'App\Models\User', 494738, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 348 - 2025-05-23 20:10:16 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 349 - 2025-05-23 20:10:16 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 350 - 2025-05-23 20:10:16 [0.17ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 351 - 2025-05-23 20:10:16 [0.19ms] */
select * from `party` where `party`.`id` = 43873 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 352 - 2025-05-23 20:10:16 [0.19ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629261, '2025-06-01 00:00:00', '2025-06-01 00:00:00', 'OPEN', 43873, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 353 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602436 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 354 - 2025-05-23 20:10:16 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":629261,"party_id":43873,"invoice_amount":"0.00","invoice_date":"2025-06-01 00:00:00","due_date":"2025-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 76, 'App\Models\User', 602436, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 355 - 2025-05-23 20:10:16 [0.17ms] */
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 14 HP', '14 HP Quarterly Time Fee', 1, 23.00, 23.00, 602436, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 356 - 2025-05-23 20:10:16 [0.16ms] */
select * from `invoice_item` where `id` = 1082434 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 357 - 2025-05-23 20:10:16 [0.37ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"14 HP Quarterly Time Fee","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":602436}}', 76, 'App\Models\User', 1082434, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 358 - 2025-05-23 20:10:16 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 602436, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 359 - 2025-05-23 20:10:16 [0.17ms] */
select * from `invoice_item` where `id` = 1082435 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 360 - 2025-05-23 20:10:16 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":602436}}', 76, 'App\Models\User', 1082435, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 361 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 602436 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 362 - 2025-05-23 20:10:16 [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` = 602436 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 363 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 602436 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 364 - 2025-05-23 20:10:16 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602436;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 365 - 2025-05-23 20:10:16 [0.19ms] */
select * from `invoice` where `id` = 602436 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 366 - 2025-05-23 20:10:16 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 76, 'App\Models\User', 602436, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 367 - 2025-05-23 20:10:16 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-885-602436398', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602436;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 368 - 2025-05-23 20:10:16 [0.18ms] */
select * from `invoice` where `id` = 602436 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 369 - 2025-05-23 20:10:16 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-885-602436398","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 76, 'App\Models\User', 602436, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 370 - 2025-05-23 20:10:16 [0.19ms] */
update `transaction` set `party_vehicle_id` = 79001, `vehicle_tax_id` = 494738, `invoice_id` = 602436, `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629261;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 371 - 2025-05-23 20:10:16 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62791 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 372 - 2025-05-23 20:10:16 [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 373 - 2025-05-23 20:10:16 [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 374 - 2025-05-23 20:10:16 [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 (43873, 2, 62791, null, 2, 6, 1, 2, 2, 'OPEN', null, null, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 375 - 2025-05-23 20:10:16 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629262, 'INITIATED', '2025-05-23 20:10:16', 5, 76, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 376 - 2025-05-23 20:10:16 [0.21ms] */
select * from `term` where `year` = 2025 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 377 - 2025-05-23 20:10:16 [0.2ms] */
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', 'T6G-79001-157', 62791, 106, 43873, 79001, 629262, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 378 - 2025-05-23 20:10:16 [0.17ms] */
select * from `vehicle_tax` where `id` = 494739 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 379 - 2025-05-23 20:10:16 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"T6G-79001-157","tax_sticker_id":null,"vehicle_id":62791,"term_id":106,"party_id":43873,"transaction_id":629262,"party_vehicle_id":79001,"exempt":"N","migration_id":null}}', 76, 'App\Models\User', 494739, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 380 - 2025-05-23 20:10:16 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 381 - 2025-05-23 20:10:16 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 4 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` = 4 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 382 - 2025-05-23 20:10:16 [0.17ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 383 - 2025-05-23 20:10:16 [0.19ms] */
select * from `party` where `party`.`id` = 43873 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 384 - 2025-05-23 20:10:16 [0.33ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (629262, '2025-09-01 00:00:00', '2025-09-01 00:00:00', 'OPEN', 43873, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 385 - 2025-05-23 20:10:16 [0.36ms] */
select * from `invoice` where `id` = 602437 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 386 - 2025-05-23 20:10:16 [0.4ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":629262,"party_id":43873,"invoice_amount":"0.00","invoice_date":"2025-09-01 00:00:00","due_date":"2025-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 76, 'App\Models\User', 602437, 'Modules\Transaction\Entities\Invoice', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 387 - 2025-05-23 20:10:16 [0.33ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', '14 HP Quarterly Time Fee', 1, 23.00, 23.00, 602437, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 388 - 2025-05-23 20:10:16 [0.32ms] */
select * from `invoice_item` where `id` = 1082436 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 389 - 2025-05-23 20:10:16 [0.34ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"14 HP Quarterly Time Fee","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":602437}}', 76, 'App\Models\User', 1082436, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 390 - 2025-05-23 20:10:16 [0.31ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 602437, 76, 76, '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 391 - 2025-05-23 20:10:16 [0.31ms] */
select * from `invoice_item` where `id` = 1082437 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 392 - 2025-05-23 20:10:16 [0.32ms] */
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":602437}}', 76, 'App\Models\User', 1082437, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 393 - 2025-05-23 20:10:16 [0.42ms] */
select * from `invoice` where `invoice`.`id` = 602437 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 394 - 2025-05-23 20:10:16 [0.46ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 602437 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 395 - 2025-05-23 20:10:16 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 602437 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 396 - 2025-05-23 20:10:16 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602437;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 397 - 2025-05-23 20:10:16 [0.18ms] */
select * from `invoice` where `id` = 602437 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 398 - 2025-05-23 20:10:16 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 76, 'App\Models\User', 602437, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 399 - 2025-05-23 20:10:16 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-111-602437986', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602437;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 400 - 2025-05-23 20:10:16 [0.18ms] */
select * from `invoice` where `id` = 602437 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 401 - 2025-05-23 20:10:16 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-111-602437986","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 76, 'App\Models\User', 602437, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 402 - 2025-05-23 20:10:16 [0.19ms] */
update `transaction` set `party_vehicle_id` = 79001, `vehicle_tax_id` = 494739, `invoice_id` = 602437, `transaction`.`updated_at` = '2025-05-23 20:10:16' where `id` = 629262;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 403 - 2025-05-23 20:10:16 [0.2ms] */
select `id` from `term` where `year` < 2025 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 404 - 2025-05-23 20:10:16 [1.56ms] */
select * from `vehicle_tax` where `party_vehicle_id` = 79001 and `status` = 'OPEN' and `term_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 405 - 2025-05-23 20:10:16 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 494729 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 406 - 2025-05-23 20:10:16 [0.17ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-05-23 20:10:16' where `id` = 494729;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 407 - 2025-05-23 20:10:16 [0.17ms] */
select * from `vehicle_tax` where `id` = 494729 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 408 - 2025-05-23 20:10:16 [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":{"exempt":"Y"},"old":{"exempt":"N"}}', 76, 'App\Models\User', 494729, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-05-23 20:10:16', '2025-05-23 20:10:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 409 - 2025-05-23 20:10:16 [0.21ms] */
select * from `invoice` where `transaction_id` = 629252 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 410 - 2025-05-23 20:10:16 [0.15ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-05-23 20:10:16' where `id` = 602427;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 411 - 2025-05-23 20:10:16 [0.18ms] */
