/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 1 - 2022-12-21 13:45:38 [3.69ms] */
select * from `users` where `email` = 'super@admin.com' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 2 - 2022-12-21 13:45:39 [0.22ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 3 - 2022-12-21 13:45:39 [0.35ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 1 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 4 - 2022-12-21 13:45:39 [15.36ms] */
update `userprofiles` set `last_ip` = '192.145.168.57', `login_count` = 247, `last_login` = '2022-12-21 13:45:39', `userprofiles`.`updated_at` = '2022-12-21 13:45:39' where `id` = 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 5 - 2022-12-21 13:45:39 [0.66ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 6 - 2022-12-21 13:45:39 [0.35ms] */
select * from `permissions`;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 7 - 2022-12-21 13:45:39 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 8 - 2022-12-21 13:45:39 [1.08ms] */
select `roles`.*, `role_has_permissions`.`permission_id` as `pivot_permission_id`, `role_has_permissions`.`role_id` as `pivot_role_id` from `roles` inner join `role_has_permissions` on `roles`.`id` = `role_has_permissions`.`role_id` where `role_has_permissions`.`permission_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);
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org
   Query 1 - 2022-12-21 13:45:39 [1.95ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 1 - 2022-12-21 13:45:39 [1.95ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2022-12-21 13:45:39 [0.65ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 3 - 2022-12-21 13:45:39 [0.23ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-12-21 13:45:39 [0.2ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-12-21' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-12-21 13:45:39 [0.26ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-12-21 13:45:39 [0.2ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-12-21' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-12-21 13:45:39 [1.15ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `payment_date` > '2022-12-20' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-12-21 13:45:39 [0.52ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `payment_date` > '2022-12-20' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-12-21 13:45:39 [0.62ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `due_date` < '2022-12-21' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-12-21 13:45:39 [0.38ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `due_date` < '2022-12-21' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-12-21 13:45:39 [0.94ms] */
select `service`.`name` as `product`, `district`.`name` as `district`, `payment`.`payment_amount` as `amount` from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `transaction` on `transaction`.`id` = `invoice_payment`.`invoice_id` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `district` on `district`.`id` = `payment`.`district_id` where `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/title
   Query 1 - 2022-12-21 13:46:04 [2.37ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/title
   Query 2 - 2022-12-21 13:46:04 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/logout
   Query 1 - 2022-12-21 13:46:12 [1.98ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 1 - 2022-12-21 13:46:37 [1.38ms] */
select * from `users` where `email` = 'delivery@user.com' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 1 - 2022-12-21 13:46:46 [2.29ms] */
select * from `users` where `email` = 'delivery@user.com' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 2 - 2022-12-21 13:46:46 [0.24ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 3 - 2022-12-21 13:46:46 [0.22ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 8 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 4 - 2022-12-21 13:46:46 [11.19ms] */
update `userprofiles` set `last_ip` = '192.145.168.57', `login_count` = 179, `last_login` = '2022-12-21 13:46:46', `userprofiles`.`updated_at` = '2022-12-21 13:46:46' where `id` = 8;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 5 - 2022-12-21 13:46:46 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org
   Query 1 - 2022-12-21 13:46:47 [1.21ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org
   Query 2 - 2022-12-21 13:46:47 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 1 - 2022-12-21 13:46:47 [1.38ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2022-12-21 13:46:47 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 1 - 2022-12-21 13:46:47 [1.16ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 2 - 2022-12-21 13:46:47 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 3 - 2022-12-21 13:46:47 [0.24ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2022-12-21 13:46:47 [0.97ms] */
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 (8) and `transaction`.`deleted_at` is null and `district_id` = 50;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 5 - 2022-12-21 13:46:47 [0.76ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`deleted_at` is null and `district_id` = 50 order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 6 - 2022-12-21 13:46:47 [0.2ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 7 - 2022-12-21 13:46:47 [0.29ms] */
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://trainrta.puntlandgov.org/en/w/wkflw
   Query 8 - 2022-12-21 13:46:47 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 9 - 2022-12-21 13:46:47 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 10 - 2022-12-21 13:46:47 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 160 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 11 - 2022-12-21 13:46:47 [0.19ms] */
select * from `party` where `party`.`id` = 162 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 12 - 2022-12-21 13:46:47 [0.45ms] */
select * from `person` where `person`.`id` = 144 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 13 - 2022-12-21 13:46:47 [0.36ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 175 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 14 - 2022-12-21 13:46:47 [0.18ms] */
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://trainrta.puntlandgov.org/en/w/wkflw
   Query 15 - 2022-12-21 13:46:47 [0.33ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 16 - 2022-12-21 13:46:47 [0.18ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 17 - 2022-12-21 13:46:47 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 18 - 2022-12-21 13:46:47 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 19 - 2022-12-21 13:46:47 [0.16ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 20 - 2022-12-21 13:46:47 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 21 - 2022-12-21 13:46:47 [0.15ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 22 - 2022-12-21 13:46:47 [0.16ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 23 - 2022-12-21 13:46:47 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 156 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 24 - 2022-12-21 13:46:47 [0.17ms] */
select * from `party` where `party`.`id` = 154 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 25 - 2022-12-21 13:46:47 [0.18ms] */
select * from `person` where `person`.`id` = 136 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 26 - 2022-12-21 13:46:47 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 166 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 27 - 2022-12-21 13:46:47 [0.11ms] */
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://trainrta.puntlandgov.org/en/w/wkflw
   Query 28 - 2022-12-21 13:46:47 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 2 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 29 - 2022-12-21 13:46:47 [0.12ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 30 - 2022-12-21 13:46:47 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 26 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 31 - 2022-12-21 13:46:47 [0.1ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 32 - 2022-12-21 13:46:47 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 33 - 2022-12-21 13:46:47 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 34 - 2022-12-21 13:46:47 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 35 - 2022-12-21 13:46:47 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 157 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 36 - 2022-12-21 13:46:47 [0.17ms] */
select * from `party` where `party`.`id` = 156 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 37 - 2022-12-21 13:46:47 [0.17ms] */
select * from `person` where `person`.`id` = 138 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 38 - 2022-12-21 13:46:47 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 171 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 39 - 2022-12-21 13:46:47 [0.11ms] */
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://trainrta.puntlandgov.org/en/w/wkflw
   Query 40 - 2022-12-21 13:46:47 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 41 - 2022-12-21 13:46:47 [0.12ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 42 - 2022-12-21 13:46:47 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 26 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 43 - 2022-12-21 13:46:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 44 - 2022-12-21 13:46:47 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 45 - 2022-12-21 13:46:47 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 46 - 2022-12-21 13:46:47 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 47 - 2022-12-21 13:46:47 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 150 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 48 - 2022-12-21 13:46:47 [0.17ms] */
select * from `party` where `party`.`id` = 110 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 49 - 2022-12-21 13:46:47 [0.18ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 50 - 2022-12-21 13:46:47 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 159 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 51 - 2022-12-21 13:46:47 [0.11ms] */
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://trainrta.puntlandgov.org/en/w/wkflw
   Query 52 - 2022-12-21 13:46:47 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 53 - 2022-12-21 13:46:47 [0.12ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 54 - 2022-12-21 13:46:47 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 26 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 55 - 2022-12-21 13:46:47 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 56 - 2022-12-21 13:46:47 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 57 - 2022-12-21 13:46:47 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 58 - 2022-12-21 13:46:47 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 59 - 2022-12-21 13:46:47 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 142 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 60 - 2022-12-21 13:46:47 [0.2ms] */
select * from `party` where `party`.`id` = 138 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 61 - 2022-12-21 13:46:47 [0.19ms] */
select * from `person` where `person`.`id` = 121 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 62 - 2022-12-21 13:46:47 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 149 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 63 - 2022-12-21 13:46:47 [0.11ms] */
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://trainrta.puntlandgov.org/en/w/wkflw
   Query 64 - 2022-12-21 13:46:47 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 65 - 2022-12-21 13:46:47 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 26 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 66 - 2022-12-21 13:46:47 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 67 - 2022-12-21 13:46:47 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 68 - 2022-12-21 13:46:47 [0.15ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 69 - 2022-12-21 13:46:47 [0.16ms] */
select * from `service` where `service`.`id` = 3 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 70 - 2022-12-21 13:46:47 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 153 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 71 - 2022-12-21 13:46:47 [0.17ms] */
select * from `party` where `party`.`id` = 146 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 72 - 2022-12-21 13:46:47 [0.18ms] */
select * from `person` where `person`.`id` = 128 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 73 - 2022-12-21 13:46:47 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 163 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 74 - 2022-12-21 13:46:47 [0.11ms] */
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://trainrta.puntlandgov.org/en/w/wkflw
   Query 75 - 2022-12-21 13:46:47 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 76 - 2022-12-21 13:46:47 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 12 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 77 - 2022-12-21 13:46:47 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 78 - 2022-12-21 13:46:47 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 79 - 2022-12-21 13:46:47 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 80 - 2022-12-21 13:46:47 [0.16ms] */
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://trainrta.puntlandgov.org/en/w/wkflw
   Query 81 - 2022-12-21 13:46:47 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 150 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 82 - 2022-12-21 13:46:47 [0.12ms] */
select * from `party` where `party`.`id` = 110 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 83 - 2022-12-21 13:46:47 [0.12ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 84 - 2022-12-21 13:46:47 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 159 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 85 - 2022-12-21 13:46:47 [0.11ms] */
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://trainrta.puntlandgov.org/en/w/wkflw
   Query 86 - 2022-12-21 13:46:47 [0.1ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 87 - 2022-12-21 13:46:47 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 88 - 2022-12-21 13:46:47 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 89 - 2022-12-21 13:46:47 [0.12ms] */
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://trainrta.puntlandgov.org/en/w/wkflw
   Query 90 - 2022-12-21 13:46:47 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 91 - 2022-12-21 13:46:47 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 92 - 2022-12-21 13:46:47 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 147 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 93 - 2022-12-21 13:46:47 [0.11ms] */
select * from `party` where `party`.`id` = 110 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 94 - 2022-12-21 13:46:47 [0.12ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 95 - 2022-12-21 13:46:47 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 155 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 96 - 2022-12-21 13:46:47 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 97 - 2022-12-21 13:46:47 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 98 - 2022-12-21 13:46:47 [0.12ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 99 - 2022-12-21 13:46:47 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 100 - 2022-12-21 13:46:47 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 101 - 2022-12-21 13:46:47 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 102 - 2022-12-21 13:46:47 [0.25ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 103 - 2022-12-21 13:46:47 [0.22ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 104 - 2022-12-21 13:46:47 [0.37ms] */
select * from `vehicle` where `vehicle`.`id` = 139 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 105 - 2022-12-21 13:46:47 [0.31ms] */
select * from `party` where `party`.`id` = 135 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 106 - 2022-12-21 13:46:47 [0.35ms] */
select * from `person` where `person`.`id` = 118 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 107 - 2022-12-21 13:46:47 [0.33ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 146 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 108 - 2022-12-21 13:46:47 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 109 - 2022-12-21 13:46:47 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 110 - 2022-12-21 13:46:47 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 26 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 111 - 2022-12-21 13:46:47 [0.16ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 112 - 2022-12-21 13:46:47 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 113 - 2022-12-21 13:46:47 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 114 - 2022-12-21 13:46:47 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 115 - 2022-12-21 13:46:47 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 138 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 116 - 2022-12-21 13:46:47 [0.26ms] */
select * from `party` where `party`.`id` = 134 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 117 - 2022-12-21 13:46:47 [0.26ms] */
select * from `person` where `person`.`id` = 117 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 118 - 2022-12-21 13:46:47 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 145 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 119 - 2022-12-21 13:46:47 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 120 - 2022-12-21 13:46:47 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 121 - 2022-12-21 13:46:47 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 122 - 2022-12-21 13:46:47 [0.16ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 123 - 2022-12-21 13:46:47 [0.2ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 124 - 2022-12-21 13:46:47 [0.35ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 1 - 2022-12-21 13:47:09 [1.92ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 2 - 2022-12-21 13:47:09 [0.53ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 3 - 2022-12-21 13:47:09 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 375 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 4 - 2022-12-21 13:47:09 [0.76ms] */
select * from `transaction_workflow` where `transaction_id` = 375 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 5 - 2022-12-21 13:47:09 [0.22ms] */
select * from `invoice` where `transaction_id` = 375 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 6 - 2022-12-21 13:47:09 [0.5ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 375 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 7 - 2022-12-21 13:47:09 [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://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 8 - 2022-12-21 13:47:09 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 9 - 2022-12-21 13:47:09 [0.13ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 10 - 2022-12-21 13:47:09 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 11 - 2022-12-21 13:47:09 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 12 - 2022-12-21 13:47:09 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 13 - 2022-12-21 13:47:09 [0.58ms] */
select * from `party_vehicle` where `transaction_id` = 375 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 14 - 2022-12-21 13:47:09 [0.5ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 15 - 2022-12-21 13:47:09 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 160 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 16 - 2022-12-21 13:47:09 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 160 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 17 - 2022-12-21 13:47:09 [0.43ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 4 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 18 - 2022-12-21 13:47:09 [0.28ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 19 - 2022-12-21 13:47:09 [0.26ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 20 - 2022-12-21 13:47:09 [0.46ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 21 - 2022-12-21 13:47:09 [0.33ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 22 - 2022-12-21 13:47:09 [0.13ms] */
select * from `party` where `party`.`id` = 162 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 23 - 2022-12-21 13:47:09 [0.19ms] */
select * from `party` where `party`.`id` = 162 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 24 - 2022-12-21 13:47:09 [0.13ms] */
select * from `person` where `person`.`id` = 144 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 25 - 2022-12-21 13:47:09 [0.25ms] */
select * from `party` where `party`.`partyable_id` = 144 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 26 - 2022-12-21 13:47:09 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 175 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 27 - 2022-12-21 13:47:09 [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://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 28 - 2022-12-21 13:47:09 [0.17ms] */
select * from `district` where `district`.`id` = 17 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 29 - 2022-12-21 13:47:09 [0.16ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 30 - 2022-12-21 13:47:09 [0.11ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 31 - 2022-12-21 13:47:09 [0.11ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 32 - 2022-12-21 13:47:09 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 375 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 33 - 2022-12-21 13:47:09 [0.15ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 34 - 2022-12-21 13:47:09 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 35 - 2022-12-21 13:47:09 [0.12ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 36 - 2022-12-21 13:47:09 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 37 - 2022-12-21 13:47:09 [0.12ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 38 - 2022-12-21 13:47:09 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 39 - 2022-12-21 13:47:09 [0.17ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 40 - 2022-12-21 13:47:09 [0.15ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 41 - 2022-12-21 13:47:09 [0.12ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 42 - 2022-12-21 13:47:09 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 43 - 2022-12-21 13:47:09 [0.12ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 44 - 2022-12-21 13:47:09 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 45 - 2022-12-21 13:47:09 [0.17ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 46 - 2022-12-21 13:47:09 [0.14ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 47 - 2022-12-21 13:47:09 [0.12ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 48 - 2022-12-21 13:47:09 [0.11ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 49 - 2022-12-21 13:47:09 [0.18ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 50 - 2022-12-21 13:47:09 [0.27ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 51 - 2022-12-21 13:47:09 [0.32ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 52 - 2022-12-21 13:47:09 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 53 - 2022-12-21 13:47:09 [0.11ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 54 - 2022-12-21 13:47:09 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 55 - 2022-12-21 13:47:09 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 56 - 2022-12-21 13:47:09 [0.15ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 57 - 2022-12-21 13:47:09 [0.77ms] */
(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://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 58 - 2022-12-21 13:47:09 [0.31ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 59 - 2022-12-21 13:47:09 [0.12ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/375
   Query 60 - 2022-12-21 13:47:09 [0.11ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2022-12-21 13:47:23 [1.49ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2022-12-21 13:47:23 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2022-12-21 13:47:23 [0.39ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 165 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2022-12-21 13:47:23 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 375 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2022-12-21 13:47:23 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 375 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2022-12-21 13:47:23 [0.25ms] */
select * from `invoice` where `transaction_id` = 375 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2022-12-21 13:47:23 [0.24ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 375 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2022-12-21 13:47:23 [0.27ms] */
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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2022-12-21 13:47:23 [0.24ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2022-12-21 13:47:23 [0.26ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2022-12-21 13:47:23 [0.28ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2022-12-21 13:47:23 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2022-12-21 13:47:23 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2022-12-21 13:47:23 [0.14ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2022-12-21 13:47:23 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 175 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2022-12-21 13:47:23 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2022-12-21 13:47:23 [0.12ms] */
select * from `district` where `district`.`id` = 17 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2022-12-21 13:47:23 [0.12ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2022-12-21 13:47:23 [0.12ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2022-12-21 13:47:23 [0.11ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2022-12-21 13:47:24 [1.8ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2022-12-21 13:47:24 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2022-12-21 13:47:24 [0.76ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2022-12-21 13:47:24 [0.16ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2022-12-21 13:47:26 [1.84ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2022-12-21 13:47:26 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2022-12-21 13:47:26 [0.22ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2022-12-21 13:47:27 [1.85ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2022-12-21 13:47:27 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2022-12-21 13:47:27 [0.21ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2022-12-21 13:47:28 [1.82ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2022-12-21 13:47:28 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2022-12-21 13:47:28 [0.22ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2022-12-21 13:47:28 [1.82ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2022-12-21 13:47:28 [0.66ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2022-12-21 13:47:28 [0.14ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 165 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2022-12-21 13:47:28 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 375 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2022-12-21 13:47:28 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2022-12-21 13:47:28 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2022-12-21 13:47:28 [0.15ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2022-12-21 13:47:28 [0.39ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (375, 'APPROVED', '2022-12-21 13:47:28', 8, 8, null, 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2022-12-21 13:47:28 [0.17ms] */
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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2022-12-21 13:47:28 [0.18ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 5 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2022-12-21 13:47:28 [0.12ms] */
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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2022-12-21 13:47:28 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2022-12-21 13:47:28 [0.32ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 5, `status` = 'COMPLETED', `transaction`.`updated_at` = '2022-12-21 13:47:28' where `id` = 375;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2022-12-21 13:47:28 [0.16ms] */
select * from `transaction` where `id` = 375 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2022-12-21 13:47:28 [0.11ms] */
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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2022-12-21 13:47:28 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2022-12-21 13:47:28 [8.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"current_workflow_state_id":5,"assigned_to":null,"status":"COMPLETED"},"old":{"current_workflow_state_id":4,"assigned_to":8,"status":"INPROGRESS"}}', 8, 'App\Models\User', 375, 'Modules\Transaction\Entities\Transaction', 'updated', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2022-12-21 13:47:28 [0.19ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2022-12-21 13:47:28 [0.23ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2022-12-21 13:47:28 [0.29ms] */
select * from `party_vehicle` where `transaction_id` = 375 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2022-12-21 13:47:28 [0.24ms] */
update `party_vehicle` set `status` = 'REGISTERED', `issued_date` = '2022-12-21 13:47:28', `updated_by` = 8, `party_vehicle`.`updated_at` = '2022-12-21 13:47:28' where `id` = 175;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2022-12-21 13:47:28 [0.23ms] */
select * from `party_vehicle` where `id` = 175 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2022-12-21 13:47:28 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"issued_date":"2022-12-21 13:47:28","status":"REGISTERED"},"old":{"issued_date":null,"status":"PAID"}}', 8, 'App\Models\User', 175, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2022-12-21 13:47:28 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 160 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2022-12-21 13:47:28 [0.24ms] */
update `vehicle` set `updated_by` = 8, `vehicle`.`updated_at` = '2022-12-21 13:47:28' where `id` = 160;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2022-12-21 13:47:28 [0.24ms] */
select * from `vehicle` where `id` = 160 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2022-12-21 13:47:28 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 8, 'App\Models\User', 160, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2022-12-21 13:47:28 [0.22ms] */
select * from `party` where `party`.`id` = 162 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2022-12-21 13:47:28 [0.15ms] */
update `party` set `updated_by` = 8, `party`.`updated_at` = '2022-12-21 13:47:28' where `id` = 162;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2022-12-21 13:47:28 [0.14ms] */
select * from `party` where `id` = 162 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2022-12-21 13:47:28 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party', '{"attributes":[],"old":[]}', 8, 'App\Models\User', 162, 'Modules\Party\Entities\Party', 'updated', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2022-12-21 13:47:28 [0.17ms] */
update `person` set `person`.`updated_at` = '2022-12-21 13:47:28' where `person`.`id` = 144;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2022-12-21 13:47:28 [0.16ms] */
select * from `party` where `party`.`id` = 162 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2022-12-21 13:47:28 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 160 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2022-12-21 13:47:28 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 175 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2022-12-21 13:47:28 [0.52ms] */
insert into `vehicle_title` (`party_id`, `vehicle_id`, `title_number`, `issued_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (162, 160, 'E07-375-912', '2022-12-21 13:47:28', 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2022-12-21 13:47:28 [0.14ms] */
select * from `vehicle_title` where `id` = 128 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2022-12-21 13:47:28 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_title', '{"attributes":{"title_number":"E07-375-912","party_id":162,"vehicle_id":160,"issued_date":"2022-12-21 13:47:28"}}', 8, 'App\Models\User', 128, 'Modules\Vehicle\Entities\VehicleTitle', 'created', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2022-12-21 13:47:28 [0.19ms] */
select * from `invoice` where `transaction_id` = 375 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2022-12-21 13:47:28 [0.18ms] */
select * from `transaction` where `transaction`.`id` in (375) and `transaction`.`deleted_at` is null and `district_id` = 50;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2022-12-21 13:47:28 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (160) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2022-12-21 13:47:28 [0.11ms] */
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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2022-12-21 13:47:28 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2022-12-21 13:47:28 [0.16ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2022-12-21 13:47:28 [0.16ms] */
select * from `party` where `party`.`id` in (162) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2022-12-21 13:47:28 [0.17ms] */
select * from `address` where `address`.`id` in (116) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2022-12-21 13:47:28 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 175 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 48 - 2022-12-21 13:47:28 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 49 - 2022-12-21 13:47:28 [0.16ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 50 - 2022-12-21 13:47:28 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2022-12-21 13:47:28 [0.16ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 52 - 2022-12-21 13:47:28 [0.16ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 53 - 2022-12-21 13:47:28 [0.17ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 4 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 54 - 2022-12-21 13:47:28 [0.15ms] */
select * from `party` where `party`.`id` = 162 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2022-12-21 13:47:28 [0.17ms] */
select * from `person` where `person`.`id` = 144 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 56 - 2022-12-21 13:47:28 [0.16ms] */
select * from `address` where `address`.`id` = 116 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 57 - 2022-12-21 13:47:28 [0.16ms] */
select * from `district` where `district`.`id` = 17 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 58 - 2022-12-21 13:47:28 [0.52ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 160 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 59 - 2022-12-21 13:47:28 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 375 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 60 - 2022-12-21 13:47:28 [0.24ms] */
select * from `party` where `party`.`id` = 162 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 61 - 2022-12-21 13:47:28 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 160 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 62 - 2022-12-21 13:47:28 [0.25ms] */
select * from `service` where `name` = 'Tax' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 63 - 2022-12-21 13:47:28 [0.54ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 160 and `term`.`year` = 2022 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 64 - 2022-12-21 13:47:28 [0.46ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 65 - 2022-12-21 13:47:28 [0.27ms] */
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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 66 - 2022-12-21 13:47:28 [0.26ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 67 - 2022-12-21 13:47:28 [0.66ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `service_workflow_id`, `current_workflow_state_id`, `deliver_district_id`, `district_id`, `status`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (162, 2, 160, 2, 7, 50, 50, 'INPROGRESS', 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 68 - 2022-12-21 13:47:28 [0.15ms] */
select * from `transaction` where `id` = 376 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 69 - 2022-12-21 13:47:28 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 70 - 2022-12-21 13:47:28 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 71 - 2022-12-21 13:47:28 [0.15ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"vehicle_id":160,"party_id":162,"party_vehicle_id":null,"service_id":2,"service_workflow_id":2,"current_workflow_state_id":7,"assigned_to":null,"status":"INPROGRESS","invoice_id":null,"district_id":50,"deliver_district_id":50}}', 8, 'App\Models\User', 376, 'Modules\Transaction\Entities\Transaction', 'created', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 72 - 2022-12-21 13:47:28 [0.15ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (376, 'INITIATED', '2022-12-21 13:47:28', 5, 8, 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 73 - 2022-12-21 13:47:28 [0.36ms] */
select * from `term` where `year` = 2022 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 74 - 2022-12-21 13:47:28 [0.58ms] */
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', 'Q91-375-349', 160, 90, 162, 175, 376, 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 75 - 2022-12-21 13:47:28 [0.15ms] */
select * from `vehicle_tax` where `id` = 99 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 76 - 2022-12-21 13:47:28 [0.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"Q91-375-349","tax_sticker_id":null,"vehicle_id":160,"term_id":90,"party_id":162,"transaction_id":376,"party_vehicle_id":175}}', 8, 'App\Models\User', 99, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 77 - 2022-12-21 13:47:28 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 78 - 2022-12-21 13:47:28 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 79 - 2022-12-21 13:47:28 [1ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 1 and `service_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 `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 `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 80 - 2022-12-21 13:47:28 [0.16ms] */
select * from `term` where `term`.`id` = 90 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 81 - 2022-12-21 13:47:28 [0.15ms] */
select * from `party` where `party`.`id` = 162 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 82 - 2022-12-21 13:47:28 [0.24ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (376, '2022-06-15 19:59:07', '2022-03-01 00:00:00', 'OPEN', 162, 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 83 - 2022-12-21 13:47:28 [0.16ms] */
select * from `invoice` where `id` = 314 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 84 - 2022-12-21 13:47:28 [0.14ms] */
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":376,"party_id":162,"invoice_amount":"0.00","invoice_date":"2022-06-15 19:59:07","due_date":"2022-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}}', 8, 'App\Models\User', 314, 'Modules\Transaction\Entities\Invoice', 'created', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 85 - 2022-12-21 13:47:28 [0.29ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee', 'Service Fee for Tax Registration', 1, 10.00, 10.00, 314, 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 86 - 2022-12-21 13:47:28 [0.14ms] */
select * from `invoice_item` where `id` = 436 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 87 - 2022-12-21 13:47:28 [0.14ms] */
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","description":"Service Fee for Tax Registration","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":314}}', 8, 'App\Models\User', 436, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 88 - 2022-12-21 13:47:28 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 314 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 89 - 2022-12-21 13:47:28 [0.21ms] */
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` = 314 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 90 - 2022-12-21 13:47:28 [0.17ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 314 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 91 - 2022-12-21 13:47:28 [0.15ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `discounts` = 0, `total_invoice_amount` = 10, `invoice`.`updated_at` = '2022-12-21 13:47:28' where `id` = 314;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 92 - 2022-12-21 13:47:28 [0.16ms] */
select * from `invoice` where `id` = 314 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 93 - 2022-12-21 13:47:28 [0.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 314, 'Modules\Transaction\Entities\Invoice', 'updated', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 94 - 2022-12-21 13:47:28 [0.13ms] */
update `invoice` set `invoice_number` = 'INV-176-314354', `invoice`.`updated_at` = '2022-12-21 13:47:28' where `id` = 314;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 95 - 2022-12-21 13:47:28 [0.15ms] */
select * from `invoice` where `id` = 314 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 96 - 2022-12-21 13:47:28 [0.15ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00","invoice_number":"INV-176-314354"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null}}', 8, 'App\Models\User', 314, 'Modules\Transaction\Entities\Invoice', 'updated', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 97 - 2022-12-21 13:47:28 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 98 - 2022-12-21 13:47:28 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 99 - 2022-12-21 13:47:28 [0.15ms] */
update `transaction` set `party_vehicle_id` = 175, `vehicle_tax_id` = 99, `invoice_id` = 314, `transaction`.`updated_at` = '2022-12-21 13:47:28' where `id` = 376;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 100 - 2022-12-21 13:47:28 [0.15ms] */
select * from `transaction` where `id` = 376 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 101 - 2022-12-21 13:47:28 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 102 - 2022-12-21 13:47:28 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 103 - 2022-12-21 13:47:28 [0.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"party_vehicle_id":175,"invoice_id":314},"old":{"party_vehicle_id":null,"invoice_id":null}}', 8, 'App\Models\User', 376, 'Modules\Transaction\Entities\Transaction', 'updated', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 104 - 2022-12-21 13:47:28 [0.19ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 160 and `term`.`year` = 2022 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 105 - 2022-12-21 13:47:28 [0.16ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 106 - 2022-12-21 13:47:28 [0.17ms] */
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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 107 - 2022-12-21 13:47:28 [0.16ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 108 - 2022-12-21 13:47:28 [0.15ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `service_workflow_id`, `current_workflow_state_id`, `deliver_district_id`, `district_id`, `status`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (162, 2, 160, 2, 7, 50, 50, 'INPROGRESS', 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 109 - 2022-12-21 13:47:28 [0.15ms] */
select * from `transaction` where `id` = 377 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 110 - 2022-12-21 13:47:28 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 111 - 2022-12-21 13:47:28 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 112 - 2022-12-21 13:47:28 [0.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"vehicle_id":160,"party_id":162,"party_vehicle_id":null,"service_id":2,"service_workflow_id":2,"current_workflow_state_id":7,"assigned_to":null,"status":"INPROGRESS","invoice_id":null,"district_id":50,"deliver_district_id":50}}', 8, 'App\Models\User', 377, 'Modules\Transaction\Entities\Transaction', 'created', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 113 - 2022-12-21 13:47:28 [0.14ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (377, 'INITIATED', '2022-12-21 13:47:28', 5, 8, 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 114 - 2022-12-21 13:47:28 [0.23ms] */
select * from `term` where `year` = 2022 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 115 - 2022-12-21 13:47:28 [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', '4GM-375-417', 160, 91, 162, 175, 377, 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 116 - 2022-12-21 13:47:28 [0.19ms] */
select * from `vehicle_tax` where `id` = 100 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 117 - 2022-12-21 13:47:28 [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":"4GM-375-417","tax_sticker_id":null,"vehicle_id":160,"term_id":91,"party_id":162,"transaction_id":377,"party_vehicle_id":175}}', 8, 'App\Models\User', 100, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 118 - 2022-12-21 13:47:28 [0.36ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 1 and `service_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 `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 `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 119 - 2022-12-21 13:47:28 [0.33ms] */
select * from `term` where `term`.`id` = 91 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 120 - 2022-12-21 13:47:28 [0.4ms] */
select * from `party` where `party`.`id` = 162 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 121 - 2022-12-21 13:47:28 [0.38ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (377, '2022-06-15 19:59:07', '2022-06-01 00:00:00', 'OPEN', 162, 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 122 - 2022-12-21 13:47:28 [0.41ms] */
select * from `invoice` where `id` = 315 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 123 - 2022-12-21 13:47:28 [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":377,"party_id":162,"invoice_amount":"0.00","invoice_date":"2022-06-15 19:59:07","due_date":"2022-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}}', 8, 'App\Models\User', 315, 'Modules\Transaction\Entities\Invoice', 'created', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 124 - 2022-12-21 13:47:28 [0.35ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee', 'Service Fee for Tax Registration', 1, 10.00, 10.00, 315, 8, 8, '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 125 - 2022-12-21 13:47:28 [0.39ms] */
select * from `invoice_item` where `id` = 437 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 126 - 2022-12-21 13:47:28 [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","description":"Service Fee for Tax Registration","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":315}}', 8, 'App\Models\User', 437, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 127 - 2022-12-21 13:47:28 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 315 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 128 - 2022-12-21 13:47:28 [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` = 315 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 129 - 2022-12-21 13:47:28 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 315 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 130 - 2022-12-21 13:47:28 [0.2ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `discounts` = 0, `total_invoice_amount` = 10, `invoice`.`updated_at` = '2022-12-21 13:47:28' where `id` = 315;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 131 - 2022-12-21 13:47:28 [0.18ms] */
select * from `invoice` where `id` = 315 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 132 - 2022-12-21 13:47:28 [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":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 315, 'Modules\Transaction\Entities\Invoice', 'updated', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 133 - 2022-12-21 13:47:28 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-220-315348', `invoice`.`updated_at` = '2022-12-21 13:47:28' where `id` = 315;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 134 - 2022-12-21 13:47:28 [0.18ms] */
select * from `invoice` where `id` = 315 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 135 - 2022-12-21 13:47:28 [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":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00","invoice_number":"INV-220-315348"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null}}', 8, 'App\Models\User', 315, 'Modules\Transaction\Entities\Invoice', 'updated', '2022-12-21 13:47:28', '2022-12-21 13:47:28');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 136 - 2022-12-21 13:47:28 [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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 137 - 2022-12-21 13:47:28 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 138 - 2022-12-21 13:47:28 [0.17ms] */
update `transaction` set `party_vehicle_id` = 175, `vehicle_tax_id` = 100, `invoice_id` = 315, `transaction`.`updated_at` = '2022-12-21 13:47:28' where `id` = 377;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 139 - 2022-12-21 13:47:28 [0.18ms] */
select * from `transaction` where `id` = 377 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 140 - 2022-12-21 13:47:29 [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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 141 - 2022-12-21 13:47:29 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 142 - 2022-12-21 13:47:29 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"party_vehicle_id":175,"invoice_id":315},"old":{"party_vehicle_id":null,"invoice_id":null}}', 8, 'App\Models\User', 377, 'Modules\Transaction\Entities\Transaction', 'updated', '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 143 - 2022-12-21 13:47:29 [0.22ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 160 and `term`.`year` = 2022 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 144 - 2022-12-21 13:47:29 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 145 - 2022-12-21 13:47:29 [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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 146 - 2022-12-21 13:47:29 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 147 - 2022-12-21 13:47:29 [0.18ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `service_workflow_id`, `current_workflow_state_id`, `deliver_district_id`, `district_id`, `status`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (162, 2, 160, 2, 7, 50, 50, 'INPROGRESS', 8, 8, '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 148 - 2022-12-21 13:47:29 [0.19ms] */
select * from `transaction` where `id` = 378 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 149 - 2022-12-21 13:47:29 [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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 150 - 2022-12-21 13:47:29 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 151 - 2022-12-21 13:47:29 [0.9ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"vehicle_id":160,"party_id":162,"party_vehicle_id":null,"service_id":2,"service_workflow_id":2,"current_workflow_state_id":7,"assigned_to":null,"status":"INPROGRESS","invoice_id":null,"district_id":50,"deliver_district_id":50}}', 8, 'App\Models\User', 378, 'Modules\Transaction\Entities\Transaction', 'created', '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 152 - 2022-12-21 13:47:29 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (378, 'INITIATED', '2022-12-21 13:47:29', 5, 8, 8, 8, '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 153 - 2022-12-21 13:47:29 [0.2ms] */
select * from `term` where `year` = 2022 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 154 - 2022-12-21 13:47:29 [0.16ms] */
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', 'DFP-375-609', 160, 92, 162, 175, 378, 8, 8, '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 155 - 2022-12-21 13:47:29 [0.17ms] */
select * from `vehicle_tax` where `id` = 101 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 156 - 2022-12-21 13:47:29 [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":"DFP-375-609","tax_sticker_id":null,"vehicle_id":160,"term_id":92,"party_id":162,"transaction_id":378,"party_vehicle_id":175}}', 8, 'App\Models\User', 101, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 157 - 2022-12-21 13:47:29 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 1 and `service_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 `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 `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 158 - 2022-12-21 13:47:29 [0.17ms] */
select * from `term` where `term`.`id` = 92 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 159 - 2022-12-21 13:47:29 [0.18ms] */
select * from `party` where `party`.`id` = 162 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 160 - 2022-12-21 13:47:29 [0.16ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (378, '2022-09-01 00:00:00', '2022-09-01 00:00:00', 'OPEN', 162, 8, 8, '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 161 - 2022-12-21 13:47:29 [0.18ms] */
select * from `invoice` where `id` = 316 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 162 - 2022-12-21 13:47:29 [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":378,"party_id":162,"invoice_amount":"0.00","invoice_date":"2022-09-01 00:00:00","due_date":"2022-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}}', 8, 'App\Models\User', 316, 'Modules\Transaction\Entities\Invoice', 'created', '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 163 - 2022-12-21 13:47:29 [0.25ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee', 'Service Fee for Tax Registration', 1, 10.00, 10.00, 316, 8, 8, '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 164 - 2022-12-21 13:47:29 [0.27ms] */
select * from `invoice_item` where `id` = 438 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 165 - 2022-12-21 13:47:29 [0.28ms] */
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","description":"Service Fee for Tax Registration","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":316}}', 8, 'App\Models\User', 438, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 166 - 2022-12-21 13:47:29 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 316 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 167 - 2022-12-21 13:47:29 [0.36ms] */
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` = 316 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 168 - 2022-12-21 13:47:29 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 316 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 169 - 2022-12-21 13:47:29 [0.27ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `discounts` = 0, `total_invoice_amount` = 10, `invoice`.`updated_at` = '2022-12-21 13:47:29' where `id` = 316;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 170 - 2022-12-21 13:47:29 [0.29ms] */
select * from `invoice` where `id` = 316 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 171 - 2022-12-21 13:47:29 [0.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 316, 'Modules\Transaction\Entities\Invoice', 'updated', '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 172 - 2022-12-21 13:47:29 [0.25ms] */
update `invoice` set `invoice_number` = 'INV-134-316388', `invoice`.`updated_at` = '2022-12-21 13:47:29' where `id` = 316;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 173 - 2022-12-21 13:47:29 [0.29ms] */
select * from `invoice` where `id` = 316 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 174 - 2022-12-21 13:47:29 [0.31ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00","invoice_number":"INV-134-316388"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null}}', 8, 'App\Models\User', 316, 'Modules\Transaction\Entities\Invoice', 'updated', '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 175 - 2022-12-21 13:47:29 [0.29ms] */
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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 176 - 2022-12-21 13:47:29 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 177 - 2022-12-21 13:47:29 [0.17ms] */
update `transaction` set `party_vehicle_id` = 175, `vehicle_tax_id` = 101, `invoice_id` = 316, `transaction`.`updated_at` = '2022-12-21 13:47:29' where `id` = 378;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 178 - 2022-12-21 13:47:29 [0.18ms] */
select * from `transaction` where `id` = 378 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 179 - 2022-12-21 13:47:29 [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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 180 - 2022-12-21 13:47:29 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 181 - 2022-12-21 13:47:29 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"party_vehicle_id":175,"invoice_id":316},"old":{"party_vehicle_id":null,"invoice_id":null}}', 8, 'App\Models\User', 378, 'Modules\Transaction\Entities\Transaction', 'updated', '2022-12-21 13:47:29', '2022-12-21 13:47:29');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 182 - 2022-12-21 13:47:29 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 313 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 183 - 2022-12-21 13:47:29 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 375 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 184 - 2022-12-21 13:47:29 [0.47ms] */
select * from `transaction_workflow` where `transaction_id` = 375 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 185 - 2022-12-21 13:47:29 [0.31ms] */
select * from `invoice` where `transaction_id` = 375 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 186 - 2022-12-21 13:47:29 [0.28ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 375 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 187 - 2022-12-21 13:47:29 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 188 - 2022-12-21 13:47:29 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 189 - 2022-12-21 13:47:29 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 175 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 190 - 2022-12-21 13:47:29 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 191 - 2022-12-21 13:47:29 [0.11ms] */
select * from `district` where `district`.`id` = 17 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 192 - 2022-12-21 13:47:29 [0.11ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 193 - 2022-12-21 13:47:29 [0.12ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 194 - 2022-12-21 13:47:29 [0.1ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2022-12-21 13:47:31 [1.81ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2022-12-21 13:47:31 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2022-12-21 13:47:31 [0.15ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 165 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2022-12-21 13:47:31 [0.13ms] */
select * from `transaction` where `transaction`.`id` = 375 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2022-12-21 13:47:31 [0.49ms] */
select * from `transaction` where `transaction`.`deleted_at` is null and `district_id` = 50 order by `updated_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2022-12-21 13:47:31 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (175) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2022-12-21 13:47:31 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` in (1) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2022-12-21 13:47:31 [0.19ms] */
select * from `party` where `party`.`id` in (162) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2022-12-21 13:47:31 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` in (160) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2022-12-21 13:47:31 [0.21ms] */
select * from `invoice` where `invoice`.`id` in (316) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2022-12-21 13:47:31 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 375 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2022-12-21 13:47:31 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 375 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2022-12-21 13:47:31 [0.12ms] */
select * from `invoice` where `transaction_id` = 375 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2022-12-21 13:47:31 [0.12ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 375 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2022-12-21 13:47:31 [0.12ms] */
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://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2022-12-21 13:47:31 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2022-12-21 13:47:31 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 175 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2022-12-21 13:47:31 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2022-12-21 13:47:31 [0.12ms] */
select * from `district` where `district`.`id` = 17 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2022-12-21 13:47:31 [0.12ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2022-12-21 13:47:31 [0.13ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2022-12-21 13:47:31 [0.11ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
