select * from `workflow_definition` where `workflow_definition`.`id` = 19 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 52 - 2022-01-31 17:09:22 [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
   Query 53 - 2022-01-31 17:09:22 [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 54 - 2022-01-31 17:09:22 [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 55 - 2022-01-31 17:09:22 [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 56 - 2022-01-31 17:09:22 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 144 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 57 - 2022-01-31 17:09:22 [0.12ms] */
select * from `party` where `party`.`id` = 133 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 58 - 2022-01-31 17:09:22 [0.12ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 59 - 2022-01-31 17:09:22 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 151 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 60 - 2022-01-31 17:09:22 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 61 - 2022-01-31 17:09:22 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 62 - 2022-01-31 17:09:22 [0.13ms] */
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
   Query 63 - 2022-01-31 17:09:22 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 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 64 - 2022-01-31 17:09:22 [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
   Query 65 - 2022-01-31 17:09:22 [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 66 - 2022-01-31 17:09:22 [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 67 - 2022-01-31 17:09:22 [0.27ms] */
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 68 - 2022-01-31 17:09:22 [1.07ms] */
select * from `vehicle` where `vehicle`.`id` = 125 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 69 - 2022-01-31 17:09:22 [0.23ms] */
select * from `party` where `party`.`id` = 121 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 70 - 2022-01-31 17:09:22 [0.24ms] */
select * from `person` where `person`.`id` = 105 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 71 - 2022-01-31 17:09:22 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 129 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 72 - 2022-01-31 17:09:22 [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 73 - 2022-01-31 17:09:22 [0.21ms] */
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 74 - 2022-01-31 17:09:22 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 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 75 - 2022-01-31 17:09:22 [0.18ms] */
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
   Query 76 - 2022-01-31 17:09:22 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 5 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 77 - 2022-01-31 17:09:22 [0.18ms] */
select * from `service` where `service`.`id` = 5 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 78 - 2022-01-31 17:09:22 [0.18ms] */
select * from `service` where `service`.`id` = 5 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 79 - 2022-01-31 17:09:22 [0.47ms] */
select * from `vehicle` where `vehicle`.`id` = 98 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 80 - 2022-01-31 17:09:22 [0.19ms] */
select * from `party` where `party`.`id` = 102 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 81 - 2022-01-31 17:09:22 [0.19ms] */
select * from `person` where `person`.`id` = 86 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 82 - 2022-01-31 17:09:22 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 102 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 83 - 2022-01-31 17:09:22 [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 84 - 2022-01-31 17:09:22 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 85 - 2022-01-31 17:09:22 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 19 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 86 - 2022-01-31 17:09:22 [0.16ms] */
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
   Query 87 - 2022-01-31 17:09:22 [0.18ms] */
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 88 - 2022-01-31 17:09:22 [0.1ms] */
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 89 - 2022-01-31 17:09:22 [0.11ms] */
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 90 - 2022-01-31 17:09:22 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 118 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 91 - 2022-01-31 17:09:22 [0.11ms] */
select * from `party` where `party`.`id` = 82 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 92 - 2022-01-31 17:09:22 [0.12ms] */
select * from `person` where `person`.`id` = 66 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 93 - 2022-01-31 17:09:22 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 124 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 94 - 2022-01-31 17:09:22 [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 95 - 2022-01-31 17:09:22 [0.1ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 96 - 2022-01-31 17:09:22 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 11 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 97 - 2022-01-31 17:09:22 [0.1ms] */
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
   Query 98 - 2022-01-31 17:09:22 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 4 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 99 - 2022-01-31 17:09:22 [0.1ms] */
select * from `service` where `service`.`id` = 4 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 100 - 2022-01-31 17:09:22 [0.11ms] */
select * from `service` where `service`.`id` = 4 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 101 - 2022-01-31 17:09:22 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 97 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 102 - 2022-01-31 17:09:22 [0.11ms] */
select * from `party` where `party`.`id` = 101 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 103 - 2022-01-31 17:09:22 [0.12ms] */
select * from `person` where `person`.`id` = 85 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 104 - 2022-01-31 17:09:22 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 101 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 105 - 2022-01-31 17:09:22 [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 106 - 2022-01-31 17:09:22 [0.1ms] */
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 107 - 2022-01-31 17:09:22 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 16 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 108 - 2022-01-31 17:09:22 [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
   Query 109 - 2022-01-31 17:09:22 [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): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 110 - 2022-01-31 17:09:22 [0.1ms] */
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 111 - 2022-01-31 17:09:22 [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 112 - 2022-01-31 17:09:22 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 47 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 113 - 2022-01-31 17:09:22 [0.11ms] */
select * from `party` where `party`.`id` = 82 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 114 - 2022-01-31 17:09:22 [0.14ms] */
select * from `person` where `person`.`id` = 66 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 115 - 2022-01-31 17:09:22 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 116 - 2022-01-31 17:09:22 [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 117 - 2022-01-31 17:09:22 [0.1ms] */
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 118 - 2022-01-31 17:09:22 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 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 119 - 2022-01-31 17:09:22 [0.1ms] */
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
   Query 120 - 2022-01-31 17:09:22 [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
   Query 121 - 2022-01-31 17:09:22 [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/exit-impersonate
   Query 1 - 2022-01-31 17:09:30 [0.72ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/exit-impersonate
   Query 2 - 2022-01-31 17:09:30 [0.36ms] */
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/exit-impersonate
   Query 3 - 2022-01-31 17:09:30 [0.13ms] */
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-01-31 17:09:31 [1.03ms] */
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-01-31 17:09:31 [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/en
   Query 3 - 2022-01-31 17:09:31 [0.22ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-01-31 17:09:31 [0.2ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-01-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-01-31 17:09:31 [0.2ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-01-31 17:09:31 [0.23ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-01-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-01-31 17:09:31 [0.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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-01-31 17:09:31 [0.13ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-01-31 17:09:31 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-01-31 17:09:31 [0.11ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-01-31 17:09:31 [0.21ms] */
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/impersonate/7
   Query 1 - 2022-01-31 17:09:37 [1.27ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/impersonate/7
   Query 2 - 2022-01-31 17:09:37 [0.67ms] */
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/impersonate/7
   Query 3 - 2022-01-31 17:09:37 [0.14ms] */
select * from `users` where `users`.`id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 1 - 2022-01-31 17:09:39 [1.07ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 2 - 2022-01-31 17:09:39 [0.71ms] */
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-01-31 17:09:39 [0.13ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2022-01-31 17:09:39 [0.46ms] */
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 (7) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 5 - 2022-01-31 17:09:39 [0.55ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 6 - 2022-01-31 17:09:39 [0.12ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 7 - 2022-01-31 17:09:39 [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 8 - 2022-01-31 17:09:39 [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 9 - 2022-01-31 17:09:39 [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 10 - 2022-01-31 17:09:39 [0.14ms] */
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 11 - 2022-01-31 17:09:39 [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 12 - 2022-01-31 17:09:39 [0.16ms] */
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 13 - 2022-01-31 17:09:39 [0.13ms] */
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 14 - 2022-01-31 17:09:39 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 15 - 2022-01-31 17:09:39 [0.12ms] */
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 16 - 2022-01-31 17:09:39 [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
   Query 17 - 2022-01-31 17:09:39 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 25 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-01-31 17:09:39 [0.31ms] */
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-01-31 17:09:39 [0.12ms] */
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
   Query 20 - 2022-01-31 17:09:39 [0.12ms] */
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 21 - 2022-01-31 17:09:39 [0.11ms] */
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 22 - 2022-01-31 17:09:39 [0.11ms] */
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 23 - 2022-01-31 17:09:39 [0.35ms] */
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-01-31 17:09:39 [0.11ms] */
select * from `party` where `party`.`id` = 155 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-01-31 17:09:39 [0.12ms] */
select * from `person` where `person`.`id` = 137 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 26 - 2022-01-31 17:09:39 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 167 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 27 - 2022-01-31 17:09:39 [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-01-31 17:09:39 [0.1ms] */
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-01-31 17:09:39 [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
   Query 30 - 2022-01-31 17:09:39 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 13 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-01-31 17:09:39 [0.1ms] */
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
   Query 32 - 2022-01-31 17:09:39 [0.11ms] */
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 33 - 2022-01-31 17:09:39 [0.11ms] */
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 34 - 2022-01-31 17:09:39 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 35 - 2022-01-31 17:09:39 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 152 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-01-31 17:09:39 [0.11ms] */
select * from `party` where `party`.`id` = 72 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-01-31 17:09:39 [0.12ms] */
select * from `person` where `person`.`id` = 56 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 38 - 2022-01-31 17:09:39 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 161 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 39 - 2022-01-31 17:09:39 [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-01-31 17:09:39 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 41 - 2022-01-31 17:09:39 [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
   Query 42 - 2022-01-31 17:09:39 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 43 - 2022-01-31 17:09:39 [0.12ms] */
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
   Query 44 - 2022-01-31 17:09:39 [0.11ms] */
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 45 - 2022-01-31 17:09:39 [0.11ms] */
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 46 - 2022-01-31 17:09:39 [0.11ms] */
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 47 - 2022-01-31 17:09:39 [0.11ms] */
select * from `vehicle` where `vehicle`.`id` = 152 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-01-31 17:09:39 [0.11ms] */
select * from `party` where `party`.`id` = 72 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-01-31 17:09:39 [0.12ms] */
select * from `person` where `person`.`id` = 56 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 50 - 2022-01-31 17:09:39 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 161 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 51 - 2022-01-31 17:09:39 [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-01-31 17:09:39 [0.1ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 53 - 2022-01-31 17:09:39 [0.13ms] */
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 54 - 2022-01-31 17:09:39 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 55 - 2022-01-31 17:09:39 [0.1ms] */
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
   Query 56 - 2022-01-31 17:09:39 [0.11ms] */
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 57 - 2022-01-31 17:09:39 [0.12ms] */
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 58 - 2022-01-31 17:09:39 [0.11ms] */
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 59 - 2022-01-31 17:09:39 [0.11ms] */
select * from `vehicle` where `vehicle`.`id` = 152 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-01-31 17:09:39 [0.11ms] */
select * from `party` where `party`.`id` = 72 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-01-31 17:09:39 [0.12ms] */
select * from `person` where `person`.`id` = 56 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 62 - 2022-01-31 17:09:39 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 161 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 63 - 2022-01-31 17:09:39 [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-01-31 17:09:39 [0.1ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 65 - 2022-01-31 17:09:39 [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
   Query 66 - 2022-01-31 17:09:39 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 67 - 2022-01-31 17:09:39 [0.1ms] */
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
   Query 68 - 2022-01-31 17:09:39 [0.11ms] */
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 69 - 2022-01-31 17:09:39 [0.11ms] */
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 70 - 2022-01-31 17:09:39 [0.11ms] */
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 71 - 2022-01-31 17:09:39 [0.11ms] */
select * from `vehicle` where `vehicle`.`id` = 152 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 72 - 2022-01-31 17:09:39 [0.35ms] */
select * from `party` where `party`.`id` = 72 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 73 - 2022-01-31 17:09:39 [0.26ms] */
select * from `person` where `person`.`id` = 56 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 74 - 2022-01-31 17:09:39 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 161 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 75 - 2022-01-31 17:09:39 [0.22ms] */
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 76 - 2022-01-31 17:09:39 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 77 - 2022-01-31 17:09:39 [0.22ms] */
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 78 - 2022-01-31 17:09:39 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 79 - 2022-01-31 17:09:39 [0.21ms] */
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
   Query 80 - 2022-01-31 17:09:39 [0.23ms] */
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 81 - 2022-01-31 17:09:39 [0.22ms] */
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 82 - 2022-01-31 17:09:39 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 83 - 2022-01-31 17:09:39 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 151 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 84 - 2022-01-31 17:09:39 [0.11ms] */
select * from `party` where `party`.`id` = 143 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 85 - 2022-01-31 17:09:39 [0.12ms] */
select * from `person` where `person`.`id` = 125 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 86 - 2022-01-31 17:09:39 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 160 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 87 - 2022-01-31 17:09:39 [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 88 - 2022-01-31 17:09:39 [0.11ms] */
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 89 - 2022-01-31 17:09:39 [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
   Query 90 - 2022-01-31 17:09:39 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 91 - 2022-01-31 17:09:39 [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
   Query 92 - 2022-01-31 17:09:39 [0.11ms] */
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 93 - 2022-01-31 17:09:39 [0.11ms] */
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 94 - 2022-01-31 17:09:39 [0.11ms] */
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 95 - 2022-01-31 17:09:39 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 151 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 96 - 2022-01-31 17:09:39 [0.12ms] */
select * from `party` where `party`.`id` = 143 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 97 - 2022-01-31 17:09:39 [0.12ms] */
select * from `person` where `person`.`id` = 125 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 98 - 2022-01-31 17:09:39 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 160 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 99 - 2022-01-31 17:09:39 [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 100 - 2022-01-31 17:09:39 [0.11ms] */
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 101 - 2022-01-31 17:09:39 [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
   Query 102 - 2022-01-31 17:09:39 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 103 - 2022-01-31 17:09:39 [0.1ms] */
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
   Query 104 - 2022-01-31 17:09:39 [0.11ms] */
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 105 - 2022-01-31 17:09:39 [0.11ms] */
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 106 - 2022-01-31 17:09:39 [0.11ms] */
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 107 - 2022-01-31 17:09:39 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 151 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 108 - 2022-01-31 17:09:39 [0.11ms] */
select * from `party` where `party`.`id` = 143 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 109 - 2022-01-31 17:09:39 [0.12ms] */
select * from `person` where `person`.`id` = 125 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 110 - 2022-01-31 17:09:39 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 160 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 111 - 2022-01-31 17:09:39 [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
   Query 112 - 2022-01-31 17:09:39 [0.11ms] */
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 113 - 2022-01-31 17:09:39 [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
   Query 114 - 2022-01-31 17:09:39 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 115 - 2022-01-31 17:09:39 [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
   Query 116 - 2022-01-31 17:09:39 [0.11ms] */
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 117 - 2022-01-31 17:09:39 [0.11ms] */
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 118 - 2022-01-31 17:09:39 [0.11ms] */
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 119 - 2022-01-31 17:09:39 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 149 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 120 - 2022-01-31 17:09:39 [0.11ms] */
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 121 - 2022-01-31 17:09:39 [0.12ms] */
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 122 - 2022-01-31 17:09:39 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 157 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 123 - 2022-01-31 17:09:39 [0.11ms] */
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 124 - 2022-01-31 17:09:39 [0.1ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 125 - 2022-01-31 17:09:39 [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
   Query 126 - 2022-01-31 17:09:39 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 127 - 2022-01-31 17:09:39 [0.1ms] */
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
   Query 128 - 2022-01-31 17:09:39 [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
   Query 129 - 2022-01-31 17:09:39 [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.list-workflow-queue-component
   Query 1 - 2022-01-31 17:09:43 [1.2ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 2 - 2022-01-31 17:09:43 [0.61ms] */
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.list-workflow-queue-component
   Query 3 - 2022-01-31 17:09:43 [0.15ms] */
select * from `service` where `service`.`id` in (1, 2, 3, 4, 5, 6, 7);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 4 - 2022-01-31 17:09:43 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 5 - 2022-01-31 17:09:43 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 25 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.list-workflow-queue-component
   Query 6 - 2022-01-31 17:09:43 [0.3ms] */
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.list-workflow-queue-component
   Query 7 - 2022-01-31 17:09:43 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 8 - 2022-01-31 17:09:43 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (363, 'CLAIMED', '2022-01-31 17:09:43', 7, 7, 7, 7, '2022-01-31 17:09:43', '2022-01-31 17:09:43');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2022-01-31 17:09:43 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2022-01-31 17:09:43 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 11 - 2022-01-31 17:09:43 [0.22ms] */
update `transaction` set `assigned_to` = 7, `updated_by` = 7, `transaction`.`updated_at` = '2022-01-31 17:09:43' where `id` = 363;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 12 - 2022-01-31 17:09:43 [0.15ms] */
select * from `transaction` where `id` = 363 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 13 - 2022-01-31 17:09:43 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 14 - 2022-01-31 17:09:43 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 15 - 2022-01-31 17:09:43 [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":{"assigned_to":7},"old":{"assigned_to":null}}', 7, 'App\Models\User', 363, 'Modules\Transaction\Entities\Transaction', 'updated', '2022-01-31 17:09:43', '2022-01-31 17:09:43');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 16 - 2022-01-31 17:09:43 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 17 - 2022-01-31 17:09:43 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 18 - 2022-01-31 17:09:43 [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/w/wkflw/363
   Query 1 - 2022-01-31 17:09:43 [1.04ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/w/wkflw/363
   Query 2 - 2022-01-31 17:09:43 [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/en/w/wkflw/363
   Query 1 - 2022-01-31 17:09:47 [1.19ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 2 - 2022-01-31 17:09:47 [0.68ms] */
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/363
   Query 3 - 2022-01-31 17:09:47 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 4 - 2022-01-31 17:09:47 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 363 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 5 - 2022-01-31 17:09:47 [0.13ms] */
select * from `invoice` where `transaction_id` = 363 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 6 - 2022-01-31 17:09:47 [0.12ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 363 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 7 - 2022-01-31 17:09:47 [0.13ms] */
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/363
   Query 8 - 2022-01-31 17:09: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/363
   Query 9 - 2022-01-31 17:09:47 [0.13ms] */
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/363
   Query 10 - 2022-01-31 17:09:47 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 25 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/363
   Query 11 - 2022-01-31 17:09:47 [0.29ms] */
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/363
   Query 12 - 2022-01-31 17:09:47 [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/363
   Query 13 - 2022-01-31 17:09:47 [0.18ms] */
select * from `transaction` where `id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 14 - 2022-01-31 17:09:47 [0.12ms] */
select * from `vehicle` where `id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 15 - 2022-01-31 17:09:47 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 25 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/363
   Query 16 - 2022-01-31 17:09:47 [0.12ms] */
select * from `smart_tag` where `assigned` = 'N' and `smart_tag`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 17 - 2022-01-31 17:09:47 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 18 - 2022-01-31 17:09:47 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 25 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/363
   Query 19 - 2022-01-31 17:09:47 [0.12ms] */
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/363
   Query 20 - 2022-01-31 17:09:47 [0.11ms] */
select * from `workflow` where `workflow`.`id` = 6 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 21 - 2022-01-31 17:09:47 [0.14ms] */
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/363
   Query 22 - 2022-01-31 17:09:47 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 23 - 2022-01-31 17:09:47 [0.12ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 2 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 24 - 2022-01-31 17:09:47 [0.13ms] */
select * from `model` where `model`.`id` = 3 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 25 - 2022-01-31 17:09:47 [0.12ms] */
select * from `make` where `make`.`id` = 3 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 26 - 2022-01-31 17:09:47 [0.12ms] */
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/363
   Query 27 - 2022-01-31 17:09:47 [0.12ms] */
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/363
   Query 28 - 2022-01-31 17:09:47 [0.13ms] */
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/363
   Query 29 - 2022-01-31 17:09:47 [0.12ms] */
select * from `party` where `party`.`id` = 110 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 30 - 2022-01-31 17:09:47 [0.13ms] */
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/363
   Query 31 - 2022-01-31 17:09:47 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 94 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/363
   Query 32 - 2022-01-31 17:09:47 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 363 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 33 - 2022-01-31 17:09:47 [0.13ms] */
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/363
   Query 34 - 2022-01-31 17:09:47 [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/363
   Query 35 - 2022-01-31 17:09:47 [0.12ms] */
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/363
   Query 36 - 2022-01-31 17:09:47 [0.1ms] */
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/363
   Query 37 - 2022-01-31 17:09:47 [0.13ms] */
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/363
   Query 38 - 2022-01-31 17:09:47 [0.1ms] */
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/363
   Query 39 - 2022-01-31 17:09:47 [0.12ms] */
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/363
   Query 40 - 2022-01-31 17:09:47 [0.1ms] */
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/363
   Query 41 - 2022-01-31 17:09:47 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 6 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 42 - 2022-01-31 17:09:47 [0.11ms] */
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/363
   Query 43 - 2022-01-31 17:09:47 [0.11ms] */
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/363
   Query 44 - 2022-01-31 17:09:47 [0.1ms] */
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/363
   Query 45 - 2022-01-31 17:09: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/363
   Query 46 - 2022-01-31 17:09:47 [0.16ms] */
(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/363
   Query 47 - 2022-01-31 17:09:47 [0.12ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 48 - 2022-01-31 17:09:47 [0.13ms] */
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/363
   Query 49 - 2022-01-31 17:09:47 [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-01-31 17:09:59 [1.05ms] */
select * from `users` where `id` = 7 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-01-31 17:09:59 [0.58ms] */
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-01-31 17:10:00 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2022-01-31 17:10:00 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 363 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 5 - 2022-01-31 17:10:00 [0.13ms] */
select * from `invoice` where `transaction_id` = 363 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2022-01-31 17:10:00 [0.13ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 363 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 7 - 2022-01-31 17:10:00 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2022-01-31 17:10:00 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2022-01-31 17:10:00 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2022-01-31 17:10:00 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 25 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 11 - 2022-01-31 17:10:00 [0.35ms] */
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 12 - 2022-01-31 17:10:00 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2022-01-31 17:10:00 [0.13ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2022-01-31 17:10:00 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 25 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 15 - 2022-01-31 17:10:00 [0.1ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2022-01-31 17:10:00 [0.11ms] */
select * from `workflow` where `workflow`.`id` = 6 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2022-01-31 17:10:04 [0.68ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2022-01-31 17:10:04 [0.36ms] */
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/transaction.payment.payment-component
   Query 3 - 2022-01-31 17:10:04 [0.34ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2022-01-31 17:10:04 [0.29ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2022-01-31 17:10:04 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2022-01-31 17:10:04 [0.2ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2022-01-31 17:10:04 [0.18ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2022-01-31 17:10:04 [0.27ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2022-01-31 17:10:04 [0.19ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2022-01-31 17:10:04 [0.29ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2022-01-31 17:10:04 [0.31ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2022-01-31 17:10:04 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2022-01-31 17:10:04 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2022-01-31 17:10:04 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2022-01-31 17:10:04 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2022-01-31 17:10:04 [0.21ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2022-01-31 17:10:04 [0.21ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2022-01-31 17:10:04 [0.22ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2022-01-31 17:10:04 [0.19ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2022-01-31 17:10:04 [0.16ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2022-01-31 17:10:04 [0.12ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2022-01-31 17:10:04 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2022-01-31 17:10:04 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2022-01-31 17:10:04 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 25 - 2022-01-31 17:10:04 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 26 - 2022-01-31 17:10:04 [0.11ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 27 - 2022-01-31 17:10:04 [0.11ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2022-01-31 17:10:04 [0.11ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2022-01-31 17:10:04 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2022-01-31 17:10:04 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2022-01-31 17:10:04 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2022-01-31 17:10:04 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 33 - 2022-01-31 17:10:04 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 34 - 2022-01-31 17:10:04 [0.11ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2022-01-31 17:10:04 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 36 - 2022-01-31 17:10:04 [0.12ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 37 - 2022-01-31 17:10:04 [0.12ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 38 - 2022-01-31 17:10:04 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 39 - 2022-01-31 17:10:04 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2022-01-31 17:10:04 [0.96ms] */
select * from `users` where `id` = 7 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-01-31 17:10:04 [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-01-31 17:10:04 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2022-01-31 17:10:04 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 363 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 5 - 2022-01-31 17:10:04 [0.13ms] */
select * from `invoice` where `transaction_id` = 363 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2022-01-31 17:10:04 [0.12ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 363 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 7 - 2022-01-31 17:10:04 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2022-01-31 17:10:04 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2022-01-31 17:10:04 [0.13ms] */
select * from `users` where `users`.`id` = 7 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 10 - 2022-01-31 17:10:04 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 25 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 11 - 2022-01-31 17:10:04 [0.29ms] */
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 12 - 2022-01-31 17:10:04 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2022-01-31 17:10:04 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2022-01-31 17:10:04 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 25 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 15 - 2022-01-31 17:10:04 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2022-01-31 17:10:04 [0.11ms] */
select * from `workflow` where `workflow`.`id` = 6 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2022-01-31 17:10:05 [0.98ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2022-01-31 17:10:05 [0.6ms] */
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/transaction.payment.payment-component
   Query 3 - 2022-01-31 17:10:05 [0.15ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2022-01-31 17:10:05 [0.14ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2022-01-31 17:10:05 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2022-01-31 17:10:05 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2022-01-31 17:10:05 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2022-01-31 17:10:05 [0.11ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2022-01-31 17:10:05 [0.12ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2022-01-31 17:10:05 [0.13ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2022-01-31 17:10:05 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2022-01-31 17:10:05 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2022-01-31 17:10:05 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2022-01-31 17:10:05 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2022-01-31 17:10:05 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2022-01-31 17:10:05 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2022-01-31 17:10:05 [0.13ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2022-01-31 17:10:05 [0.12ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2022-01-31 17:10:05 [0.11ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2022-01-31 17:10:05 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2022-01-31 17:10:05 [0.11ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2022-01-31 17:10:05 [0.11ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2022-01-31 17:10:05 [0.11ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2022-01-31 17:10:05 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 25 - 2022-01-31 17:10:05 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 26 - 2022-01-31 17:10:05 [0.1ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 27 - 2022-01-31 17:10:05 [0.11ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2022-01-31 17:10:05 [0.11ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2022-01-31 17:10:05 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2022-01-31 17:10:05 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2022-01-31 17:10:05 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2022-01-31 17:10:05 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 33 - 2022-01-31 17:10:05 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 34 - 2022-01-31 17:10:05 [0.11ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2022-01-31 17:10:05 [0.11ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 36 - 2022-01-31 17:10:05 [0.11ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 37 - 2022-01-31 17:10:05 [0.11ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 38 - 2022-01-31 17:10:05 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 39 - 2022-01-31 17:10:05 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2022-01-31 17:10:06 [0.63ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2022-01-31 17:10:06 [0.36ms] */
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/transaction.payment.payment-component
   Query 3 - 2022-01-31 17:10:06 [0.16ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2022-01-31 17:10:06 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2022-01-31 17:10:06 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2022-01-31 17:10:06 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2022-01-31 17:10:06 [0.13ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2022-01-31 17:10:06 [0.11ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2022-01-31 17:10:06 [0.22ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2022-01-31 17:10:06 [0.23ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2022-01-31 17:10:06 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2022-01-31 17:10:06 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2022-01-31 17:10:06 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2022-01-31 17:10:06 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2022-01-31 17:10:06 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2022-01-31 17:10:06 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2022-01-31 17:10:06 [0.13ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2022-01-31 17:10:06 [0.12ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2022-01-31 17:10:06 [0.11ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2022-01-31 17:10:06 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2022-01-31 17:10:06 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2022-01-31 17:10:08 [1.02ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2022-01-31 17:10:08 [0.6ms] */
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/transaction.payment.payment-component
   Query 3 - 2022-01-31 17:10:08 [0.21ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2022-01-31 17:10:08 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2022-01-31 17:10:08 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2022-01-31 17:10:08 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2022-01-31 17:10:08 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2022-01-31 17:10:08 [0.11ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2022-01-31 17:10:08 [0.12ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2022-01-31 17:10:08 [0.11ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2022-01-31 17:10:08 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2022-01-31 17:10:08 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2022-01-31 17:10:08 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2022-01-31 17:10:08 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2022-01-31 17:10:08 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2022-01-31 17:10:08 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2022-01-31 17:10:08 [0.11ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2022-01-31 17:10:08 [0.13ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2022-01-31 17:10:08 [0.11ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2022-01-31 17:10:08 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2022-01-31 17:10:08 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2022-01-31 17:10:10 [1.07ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2022-01-31 17:10:10 [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/transaction.payment.payment-component
   Query 3 - 2022-01-31 17:10:10 [0.14ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2022-01-31 17:10:10 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2022-01-31 17:10:10 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2022-01-31 17:10:10 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2022-01-31 17:10:10 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2022-01-31 17:10:10 [0.11ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2022-01-31 17:10:10 [0.12ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2022-01-31 17:10:10 [0.11ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2022-01-31 17:10:10 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2022-01-31 17:10:10 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2022-01-31 17:10:10 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2022-01-31 17:10:10 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2022-01-31 17:10:10 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2022-01-31 17:10:10 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2022-01-31 17:10:10 [0.11ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2022-01-31 17:10:10 [0.12ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2022-01-31 17:10:10 [0.11ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2022-01-31 17:10:10 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2022-01-31 17:10:10 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2022-01-31 17:10:11 [1.02ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2022-01-31 17:10:11 [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/transaction.payment.payment-component
   Query 3 - 2022-01-31 17:10:11 [0.23ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2022-01-31 17:10:11 [0.19ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2022-01-31 17:10:11 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2022-01-31 17:10:11 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2022-01-31 17:10:11 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2022-01-31 17:10:11 [0.11ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2022-01-31 17:10:11 [0.12ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2022-01-31 17:10:11 [0.12ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2022-01-31 17:10:11 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2022-01-31 17:10:11 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2022-01-31 17:10:11 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2022-01-31 17:10:11 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2022-01-31 17:10:11 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2022-01-31 17:10:11 [0.13ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2022-01-31 17:10:11 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2022-01-31 17:10:11 [0.12ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2022-01-31 17:10:11 [0.11ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2022-01-31 17:10:11 [0.21ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2022-01-31 17:10:11 [0.22ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2022-01-31 17:10:11 [0.95ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2022-01-31 17:10:11 [0.6ms] */
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/transaction.payment.payment-component
   Query 3 - 2022-01-31 17:10:11 [0.14ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2022-01-31 17:10:11 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2022-01-31 17:10:11 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2022-01-31 17:10:11 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2022-01-31 17:10:11 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2022-01-31 17:10:11 [0.11ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2022-01-31 17:10:11 [0.12ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2022-01-31 17:10:11 [0.11ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2022-01-31 17:10:11 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2022-01-31 17:10:11 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2022-01-31 17:10:11 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2022-01-31 17:10:11 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2022-01-31 17:10:11 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2022-01-31 17:10:11 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2022-01-31 17:10:11 [0.11ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2022-01-31 17:10:11 [0.12ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2022-01-31 17:10:11 [0.11ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2022-01-31 17:10:11 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2022-01-31 17:10:11 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2022-01-31 17:10:12 [1.08ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2022-01-31 17:10:12 [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/transaction.payment.payment-component
   Query 3 - 2022-01-31 17:10:12 [0.16ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2022-01-31 17:10:12 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2022-01-31 17:10:12 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2022-01-31 17:10:12 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2022-01-31 17:10:12 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2022-01-31 17:10:12 [0.11ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2022-01-31 17:10:12 [0.12ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2022-01-31 17:10:12 [0.12ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2022-01-31 17:10:12 [0.13ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2022-01-31 17:10:12 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2022-01-31 17:10:12 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2022-01-31 17:10:12 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2022-01-31 17:10:12 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2022-01-31 17:10:12 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2022-01-31 17:10:12 [0.11ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2022-01-31 17:10:12 [0.12ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2022-01-31 17:10:12 [0.11ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2022-01-31 17:10:12 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2022-01-31 17:10:12 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2022-01-31 17:10:15 [1.04ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2022-01-31 17:10:15 [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/transaction.payment.payment-component
   Query 3 - 2022-01-31 17:10:15 [0.15ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2022-01-31 17:10:15 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2022-01-31 17:10:15 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2022-01-31 17:10:15 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2022-01-31 17:10:15 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2022-01-31 17:10:15 [0.11ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2022-01-31 17:10:15 [0.12ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2022-01-31 17:10:15 [0.12ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2022-01-31 17:10:15 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2022-01-31 17:10:15 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2022-01-31 17:10:15 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2022-01-31 17:10:15 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2022-01-31 17:10:15 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2022-01-31 17:10:15 [0.13ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2022-01-31 17:10:15 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2022-01-31 17:10:15 [0.12ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2022-01-31 17:10:15 [0.12ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2022-01-31 17:10:15 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2022-01-31 17:10:15 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2022-01-31 17:10:15 [0.95ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2022-01-31 17:10:15 [0.6ms] */
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/transaction.payment.payment-component
   Query 3 - 2022-01-31 17:10:15 [0.21ms] */
insert into `Payment` (`payment_amount`, `payment_date`, `external_payment_reference_no`, `payment_method_id`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (0, '2022-01-31 17:10:15', 'A3434', 3, 45435, 0907794110, null, 50, 7, 7, '2022-01-31 17:10:15', '2022-01-31 17:10:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2022-01-31 17:10:15 [0.17ms] */
select * from `Payment` where `id` = 241 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2022-01-31 17:10:15 [0.15ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":3,"payment_amount":"0.00","payment_date":"2022-01-31 17:10:15","external_payment_reference_no":"A3434","siinpay_payref_number":null,"paid_by":"45435","paid_by_mobile":"0907794110","district_id":50}}', 7, 'App\Models\User', 241, 'Modules\Transaction\Entities\Payment', 'created', '2022-01-31 17:10:15', '2022-01-31 17:10:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2022-01-31 17:10:15 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2022-01-31 17:10:15 [0.13ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2022-01-31 17:10:15', 302, 241, '2022-01-31 17:10:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2022-01-31 17:10:15 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2022-01-31 17:10:15 [0.2ms] */
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` = 302 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2022-01-31 17:10:15 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 302 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2022-01-31 17:10:15 [0.16ms] */
update `invoice` set `invoice_amount` = 0, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 0, `updated_by` = 7, `invoice`.`updated_at` = '2022-01-31 17:10:15' where `id` = 302;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2022-01-31 17:10:15 [0.16ms] */
select * from `invoice` where `id` = 302 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2022-01-31 17:10:15 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 7, 'App\Models\User', 302, 'Modules\Transaction\Entities\Invoice', 'updated', '2022-01-31 17:10:15', '2022-01-31 17:10:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2022-01-31 17:10:15 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2022-01-31 17:10:15 [0.13ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2022-01-31 17:10:15 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 25 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/transaction.payment.payment-component
   Query 17 - 2022-01-31 17:10:15 [0.3ms] */
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/transaction.payment.payment-component
   Query 18 - 2022-01-31 17:10:15 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2022-01-31 17:10:15 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (363, 'PAID', '2022-01-31 17:10:15', 7, 7, null, 7, 7, '2022-01-31 17:10:15', '2022-01-31 17:10:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2022-01-31 17:10:15 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2022-01-31 17:10:15 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 6 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2022-01-31 17:10:15 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2022-01-31 17:10:15 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2022-01-31 17:10:15 [0.21ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 26, `status` = 'COMPLETED', `transaction`.`updated_at` = '2022-01-31 17:10:15' where `id` = 363;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 25 - 2022-01-31 17:10:15 [0.15ms] */
select * from `transaction` where `id` = 363 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 26 - 2022-01-31 17:10:15 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 27 - 2022-01-31 17:10:15 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2022-01-31 17:10:15 [0.13ms] */
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":26,"assigned_to":null,"status":"COMPLETED"},"old":{"current_workflow_state_id":25,"assigned_to":7,"status":"INPROGRESS"}}', 7, 'App\Models\User', 363, 'Modules\Transaction\Entities\Transaction', 'updated', '2022-01-31 17:10:15', '2022-01-31 17:10:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2022-01-31 17:10:15 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2022-01-31 17:10:15 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2022-01-31 17:10:15 [0.16ms] */
select * from `transaction` where `id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2022-01-31 17:10:15 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 33 - 2022-01-31 17:10:15 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 34 - 2022-01-31 17:10:15 [0.14ms] */
update `transaction` set `status` = 'INPROGRESS', `transaction`.`updated_at` = '2022-01-31 17:10:15' where `id` = 363;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2022-01-31 17:10:15 [0.15ms] */
select * from `transaction` where `id` = 363 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 36 - 2022-01-31 17:10:15 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 37 - 2022-01-31 17:10:15 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 38 - 2022-01-31 17:10:15 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"COMPLETED"}}', 7, 'App\Models\User', 363, 'Modules\Transaction\Entities\Transaction', 'updated', '2022-01-31 17:10:15', '2022-01-31 17:10:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 39 - 2022-01-31 17:10:15 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 40 - 2022-01-31 17:10:15 [0.18ms] */
select * from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 41 - 2022-01-31 17:10:15 [0.2ms] */
select * from `transaction` where `transaction`.`id` in (363) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 42 - 2022-01-31 17:10:15 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 43 - 2022-01-31 17:10:15 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 44 - 2022-01-31 17:10:15 [0.14ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 45 - 2022-01-31 17:10:15 [0.11ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 46 - 2022-01-31 17:10:15 [0.25ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 47 - 2022-01-31 17:10:15 [0.24ms] */
select * from `address` where `address`.`id` in (64) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 48 - 2022-01-31 17:10:15 [0.36ms] */
select * from `invoice` where `invoice`.`id` = 302 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 49 - 2022-01-31 17:10:15 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 50 - 2022-01-31 17:10:15 [0.22ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 51 - 2022-01-31 17:10:15 [0.22ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 52 - 2022-01-31 17:10:15 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 53 - 2022-01-31 17:10:15 [0.27ms] */
select * from `party_vehicle` where `transaction_id` = 363 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 54 - 2022-01-31 17:10:15 [0.24ms] */
select * from `vehicle_tax` where `transaction_id` = 363 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 55 - 2022-01-31 17:10:15 [0.24ms] */
select * from `discount` where `party_id` = 110 and `service_id` = 6 and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 56 - 2022-01-31 17:10:15 [0.23ms] */
select * from `discount` where `party_id` = 110 and `service_id` is null and `vehicle_tax_id` is null and `party_vehicle_id` is null and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 57 - 2022-01-31 17:10:15 [0.2ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (302) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 58 - 2022-01-31 17:10:15 [0.23ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2022-01-31 17:10:16 [0.95ms] */
select * from `users` where `id` = 7 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-01-31 17:10:16 [0.61ms] */
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-01-31 17:10:16 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2022-01-31 17:10:16 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 363 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 5 - 2022-01-31 17:10:16 [0.21ms] */
select * from `invoice` where `transaction_id` = 363 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2022-01-31 17:10:16 [0.13ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 363 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 7 - 2022-01-31 17:10:16 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2022-01-31 17:10:16 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2022-01-31 17:10:16 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2022-01-31 17:10:16 [0.29ms] */
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 11 - 2022-01-31 17:10:16 [0.12ms] */
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 12 - 2022-01-31 17:10:16 [0.12ms] */
select * from `workflow` where `workflow`.`id` = 6 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 1 - 2022-01-31 17:10:19 [0.68ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 2 - 2022-01-31 17:10:19 [0.37ms] */
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-history-component
   Query 1 - 2022-01-31 17:10:19 [0.54ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2022-01-31 17:10:19 [0.3ms] */
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/widgets.smarttag-workflow-widget
   Query 3 - 2022-01-31 17:10:19 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 150 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 4 - 2022-01-31 17:10:19 [0.19ms] */
select * from `transaction` where `id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 5 - 2022-01-31 17:10:19 [0.12ms] */
select * from `vehicle` where `id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 6 - 2022-01-31 17:10:19 [0.13ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 3 - 2022-01-31 17:10:19 [0.41ms] */
select * from `transaction_workflow` where `transaction_id` = 363 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 4 - 2022-01-31 17:10:19 [0.15ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 5 - 2022-01-31 17:10:19 [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.workflow-history-component
   Query 6 - 2022-01-31 17:10:19 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2022-01-31 17:10:19 [0.13ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2022-01-31 17:10:19 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 9 - 2022-01-31 17:10:19 [0.12ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2022-01-31 17:10:19 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2022-01-31 17:10:19 [0.12ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 12 - 2022-01-31 17:10:19 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 13 - 2022-01-31 17:10:19 [0.12ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 14 - 2022-01-31 17:10:19 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2022-01-31 17:10:19 [1.02ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2022-01-31 17:10:19 [0.65ms] */
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/widgets.workflow-progress-widget
   Query 3 - 2022-01-31 17:10:19 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 363 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 4 - 2022-01-31 17:10:19 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` in (6) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 5 - 2022-01-31 17:10:19 [0.13ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2022-01-31 17:10:19 [0.18ms] */
select * from `workflow` where `workflow`.`id` in (6) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2022-01-31 17:10:19 [0.13ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2022-01-31 17:10:19 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (26) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2022-01-31 17:10:19 [0.29ms] */
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/widgets.workflow-progress-widget
   Query 10 - 2022-01-31 17:10:19 [0.12ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2022-01-31 17:10:19 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2022-01-31 17:10:19 [0.12ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2022-01-31 17:10:19 [0.12ms] */
select * from `workflow_definition` where `workflow_id` = 6 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2022-01-31 17:10:19 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2022-01-31 17:10:19 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2022-01-31 17:10:19 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 17 - 2022-01-31 17:10:19 [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/widgets.smarttag-workflow-widget
   Query 1 - 2022-01-31 17:10:28 [1.13ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 2 - 2022-01-31 17:10:28 [0.61ms] */
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/widgets.smarttag-workflow-widget
   Query 3 - 2022-01-31 17:10:28 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 150 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 4 - 2022-01-31 17:10:28 [0.13ms] */
select * from `transaction` where `id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 5 - 2022-01-31 17:10:28 [0.13ms] */
select * from `vehicle` where `id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 6 - 2022-01-31 17:10:28 [0.13ms] */
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/exit-impersonate
   Query 1 - 2022-01-31 17:10:29 [0.7ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/exit-impersonate
   Query 2 - 2022-01-31 17:10:29 [0.36ms] */
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/exit-impersonate
   Query 3 - 2022-01-31 17:10:29 [0.14ms] */
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-01-31 17:10:29 [0.99ms] */
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-01-31 17:10:29 [0.66ms] */
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-01-31 17:10:29 [0.22ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-01-31 17:10:29 [0.21ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-01-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-01-31 17:10:29 [0.2ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-01-31 17:10:29 [0.2ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-01-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-01-31 17:10:29 [1.29ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-01-31 17:10:30 [0.44ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-01-31 17:10:30 [1.29ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-01-31 17:10:30 [0.92ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-01-31 17:10:30 [1.95ms] */
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/w/wkflw/363
   Query 1 - 2022-01-31 17:10:44 [1.26ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 2 - 2022-01-31 17:10:44 [0.64ms] */
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/363
   Query 3 - 2022-01-31 17:10:44 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 4 - 2022-01-31 17:10:44 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 363 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 5 - 2022-01-31 17:10:44 [0.13ms] */
select * from `invoice` where `transaction_id` = 363 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 6 - 2022-01-31 17:10:44 [0.12ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 363 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 7 - 2022-01-31 17:10:44 [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/363
   Query 8 - 2022-01-31 17:10:44 [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/363
   Query 9 - 2022-01-31 17:10:44 [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/363
   Query 10 - 2022-01-31 17:10:44 [0.29ms] */
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/363
   Query 11 - 2022-01-31 17:10:44 [0.34ms] */
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/363
   Query 12 - 2022-01-31 17:10:44 [0.21ms] */
select * from `transaction` where `id` = 363 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 13 - 2022-01-31 17:10:44 [0.2ms] */
select * from `vehicle` where `id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 14 - 2022-01-31 17:10:44 [0.2ms] */
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/363
   Query 15 - 2022-01-31 17:10:44 [0.2ms] */
select * from `smart_tag` where `assigned` = 'N' and `smart_tag`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 16 - 2022-01-31 17:10:44 [0.19ms] */
select * from `workflow` where `workflow`.`id` = 6 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 17 - 2022-01-31 17:10:44 [0.21ms] */
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/363
   Query 18 - 2022-01-31 17:10:44 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 19 - 2022-01-31 17:10:44 [0.19ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 2 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 20 - 2022-01-31 17:10:44 [0.17ms] */
select * from `model` where `model`.`id` = 3 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 21 - 2022-01-31 17:10:44 [0.18ms] */
select * from `make` where `make`.`id` = 3 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 22 - 2022-01-31 17:10:44 [0.18ms] */
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/363
   Query 23 - 2022-01-31 17:10:44 [0.18ms] */
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/363
   Query 24 - 2022-01-31 17:10:44 [0.13ms] */
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/363
   Query 25 - 2022-01-31 17:10:44 [0.13ms] */
select * from `party` where `party`.`id` = 110 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 26 - 2022-01-31 17:10:44 [0.14ms] */
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/363
   Query 27 - 2022-01-31 17:10:44 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 94 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/363
   Query 28 - 2022-01-31 17:10:44 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 363 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 29 - 2022-01-31 17:10:44 [0.13ms] */
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/363
   Query 30 - 2022-01-31 17:10:44 [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/363
   Query 31 - 2022-01-31 17:10:44 [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/363
   Query 32 - 2022-01-31 17:10:44 [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/363
   Query 33 - 2022-01-31 17:10:44 [0.12ms] */
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/363
   Query 34 - 2022-01-31 17:10:44 [0.1ms] */
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/363
   Query 35 - 2022-01-31 17:10:44 [0.13ms] */
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/363
   Query 36 - 2022-01-31 17:10:44 [0.11ms] */
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/363
   Query 37 - 2022-01-31 17:10:44 [0.13ms] */
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/363
   Query 38 - 2022-01-31 17:10:44 [0.11ms] */
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/363
   Query 39 - 2022-01-31 17:10:44 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 6 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 40 - 2022-01-31 17:10:44 [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/363
   Query 41 - 2022-01-31 17:10:44 [0.11ms] */
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/363
   Query 42 - 2022-01-31 17:10:44 [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/363
   Query 43 - 2022-01-31 17:10:44 [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/363
   Query 44 - 2022-01-31 17:10:44 [0.17ms] */
(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/363
   Query 45 - 2022-01-31 17:10:44 [0.12ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/exit-impersonate
   Query 1 - 2022-01-31 17:10:55 [0.73ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/exit-impersonate
   Query 2 - 2022-01-31 17:10:55 [0.36ms] */
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-01-31 17:10:55 [0.65ms] */
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-01-31 17:10:55 [0.36ms] */
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-01-31 17:10:55 [0.12ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-01-31 17:10:55 [0.11ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-01-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-01-31 17:10:55 [0.11ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-01-31 17:10:55 [0.1ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-01-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-01-31 17:10:55 [0.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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-01-31 17:10:55 [0.13ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-01-31 17:10:55 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-01-31 17:10:55 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-01-31 17:10:55 [0.22ms] */
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): POST https://trainrta.puntlandgov.org/en/logout
   Query 1 - 2022-01-31 17:10:57 [0.75ms] */
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-01-31 17:11:16 [0.64ms] */
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-01-31 17:11:16 [0.13ms] */
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-01-31 17:11:16 [0.24ms] */
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-01-31 17:11:16 [5.88ms] */
update `userprofiles` set `login_count` = 242, `last_login` = '2022-01-31 17:11:16', `userprofiles`.`updated_at` = '2022-01-31 17:11:16' where `id` = 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 5 - 2022-01-31 17:11:16 [0.34ms] */
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-01-31 17:11:17 [0.6ms] */
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-01-31 17:11:17 [0.59ms] */
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-01-31 17:11:17 [0.36ms] */
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-01-31 17:11:17 [0.12ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-01-31 17:11:17 [0.1ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-01-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-01-31 17:11:17 [0.11ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-01-31 17:11:17 [0.1ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-01-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-01-31 17:11:17 [0.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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-01-31 17:11:17 [0.12ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-01-31 17:11:17 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-01-31 17:11:17 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-01-31 17:11:17 [0.22ms] */
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/impersonate/8
   Query 1 - 2022-01-31 17:11:37 [0.63ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/impersonate/8
   Query 2 - 2022-01-31 17:11:37 [0.36ms] */
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/impersonate/8
   Query 3 - 2022-01-31 17:11:37 [0.13ms] */
select * from `users` where `users`.`id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 1 - 2022-01-31 17:11:38 [0.78ms] */
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-01-31 17:11:38 [0.6ms] */
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-01-31 17:11:38 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2022-01-31 17:11:38 [0.35ms] */
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-01-31 17:11:38 [0.33ms] */
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-01-31 17:11:38 [0.13ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 7 - 2022-01-31 17:11:38 [0.13ms] */
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 8 - 2022-01-31 17:11:38 [0.13ms] */
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 9 - 2022-01-31 17:11:38 [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 10 - 2022-01-31 17:11:38 [0.14ms] */
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 11 - 2022-01-31 17:11:38 [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 12 - 2022-01-31 17:11:38 [0.17ms] */
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 13 - 2022-01-31 17:11:38 [0.13ms] */
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 14 - 2022-01-31 17:11:38 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 15 - 2022-01-31 17:11:38 [0.13ms] */
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 16 - 2022-01-31 17:11:38 [0.13ms] */
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 17 - 2022-01-31 17:11:38 [0.3ms] */
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 18 - 2022-01-31 17:11:38 [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 19 - 2022-01-31 17:11:38 [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 20 - 2022-01-31 17:11:38 [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 21 - 2022-01-31 17:11:38 [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 22 - 2022-01-31 17:11:38 [0.18ms] */
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 23 - 2022-01-31 17:11:38 [0.11ms] */
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 24 - 2022-01-31 17:11:38 [0.12ms] */
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 25 - 2022-01-31 17:11:38 [0.11ms] */
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 26 - 2022-01-31 17:11:38 [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 27 - 2022-01-31 17:11:38 [0.11ms] */
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 28 - 2022-01-31 17:11:38 [0.2ms] */
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 29 - 2022-01-31 17:11:38 [0.21ms] */
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 30 - 2022-01-31 17:11:38 [0.22ms] */
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 31 - 2022-01-31 17:11:38 [0.2ms] */
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 32 - 2022-01-31 17:11:38 [0.2ms] */
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 33 - 2022-01-31 17:11:38 [0.22ms] */
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 34 - 2022-01-31 17:11:38 [0.21ms] */
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 35 - 2022-01-31 17:11:38 [0.23ms] */
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 36 - 2022-01-31 17:11:38 [0.25ms] */
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 37 - 2022-01-31 17:11:38 [0.16ms] */
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 38 - 2022-01-31 17:11:38 [0.16ms] */
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 39 - 2022-01-31 17:11:38 [0.18ms] */
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 40 - 2022-01-31 17:11:38 [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 41 - 2022-01-31 17:11:38 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 42 - 2022-01-31 17:11:38 [0.22ms] */
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 43 - 2022-01-31 17:11:38 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 44 - 2022-01-31 17:11:38 [0.18ms] */
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 45 - 2022-01-31 17:11:38 [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 46 - 2022-01-31 17:11:38 [0.19ms] */
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 47 - 2022-01-31 17:11:38 [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 48 - 2022-01-31 17:11:38 [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 49 - 2022-01-31 17:11:38 [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 50 - 2022-01-31 17:11:38 [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 51 - 2022-01-31 17:11:38 [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 52 - 2022-01-31 17:11:38 [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): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 53 - 2022-01-31 17:11:38 [0.19ms] */
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 54 - 2022-01-31 17:11:38 [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 55 - 2022-01-31 17:11:38 [0.29ms] */
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 56 - 2022-01-31 17:11:38 [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 57 - 2022-01-31 17:11:38 [0.25ms] */
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 58 - 2022-01-31 17:11:38 [0.18ms] */
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 59 - 2022-01-31 17:11:38 [0.17ms] */
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 60 - 2022-01-31 17:11:38 [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 61 - 2022-01-31 17:11:38 [0.19ms] */
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 62 - 2022-01-31 17:11:38 [0.22ms] */
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 63 - 2022-01-31 17:11:38 [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 64 - 2022-01-31 17:11:38 [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 65 - 2022-01-31 17:11:38 [0.1ms] */
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 66 - 2022-01-31 17:11:38 [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 67 - 2022-01-31 17:11:38 [0.17ms] */
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 68 - 2022-01-31 17:11:38 [0.11ms] */
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 69 - 2022-01-31 17:11:38 [0.12ms] */
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 70 - 2022-01-31 17:11:38 [0.11ms] */
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 71 - 2022-01-31 17:11:38 [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 72 - 2022-01-31 17:11:38 [0.1ms] */
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 73 - 2022-01-31 17:11:38 [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 74 - 2022-01-31 17:11:38 [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 75 - 2022-01-31 17:11:38 [0.11ms] */
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 76 - 2022-01-31 17:11:38 [0.1ms] */
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 77 - 2022-01-31 17:11:38 [0.11ms] */
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 78 - 2022-01-31 17:11:38 [0.18ms] */
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 79 - 2022-01-31 17:11:38 [0.11ms] */
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 80 - 2022-01-31 17:11:38 [0.13ms] */
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 81 - 2022-01-31 17:11:38 [0.12ms] */
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 82 - 2022-01-31 17:11:38 [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 83 - 2022-01-31 17:11:38 [0.1ms] */
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 84 - 2022-01-31 17:11:38 [0.12ms] */
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 85 - 2022-01-31 17:11:38 [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 86 - 2022-01-31 17:11:38 [0.13ms] */
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 87 - 2022-01-31 17:11:38 [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 88 - 2022-01-31 17:11:38 [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 89 - 2022-01-31 17:11:38 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 136 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 90 - 2022-01-31 17:11:38 [0.11ms] */
select * from `party` where `party`.`id` = 132 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 91 - 2022-01-31 17:11:38 [0.12ms] */
select * from `person` where `person`.`id` = 115 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 92 - 2022-01-31 17:11:38 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 143 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 93 - 2022-01-31 17:11:38 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 94 - 2022-01-31 17:11:38 [0.11ms] */
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 95 - 2022-01-31 17:11:38 [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 96 - 2022-01-31 17:11:38 [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 97 - 2022-01-31 17:11:38 [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 98 - 2022-01-31 17:11:38 [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 99 - 2022-01-31 17:11:38 [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 100 - 2022-01-31 17:11:38 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 133 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 101 - 2022-01-31 17:11:38 [0.12ms] */
select * from `party` where `party`.`id` = 128 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 102 - 2022-01-31 17:11:38 [0.12ms] */
select * from `person` where `person`.`id` = 112 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 103 - 2022-01-31 17:11:38 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 140 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 104 - 2022-01-31 17:11:38 [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 105 - 2022-01-31 17:11:38 [0.1ms] */
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 106 - 2022-01-31 17:11:38 [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 107 - 2022-01-31 17:11:38 [0.11ms] */
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 108 - 2022-01-31 17:11:38 [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 109 - 2022-01-31 17:11:38 [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 110 - 2022-01-31 17:11:38 [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 111 - 2022-01-31 17:11:38 [0.1ms] */
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 112 - 2022-01-31 17:11:38 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 131 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 113 - 2022-01-31 17:11:38 [0.11ms] */
select * from `party` where `party`.`id` = 126 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 114 - 2022-01-31 17:11:38 [0.12ms] */
select * from `person` where `person`.`id` = 110 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 115 - 2022-01-31 17:11:38 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 138 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 116 - 2022-01-31 17:11:38 [0.11ms] */
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 117 - 2022-01-31 17:11:38 [0.1ms] */
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 118 - 2022-01-31 17:11:38 [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 119 - 2022-01-31 17:11:38 [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 120 - 2022-01-31 17:11:38 [0.13ms] */
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 121 - 2022-01-31 17:11:38 [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.list-workflow-queue-component
   Query 1 - 2022-01-31 17:11:42 [0.65ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 2 - 2022-01-31 17:11:42 [0.36ms] */
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.list-workflow-queue-component
   Query 3 - 2022-01-31 17:11:42 [0.15ms] */
select * from `service` where `service`.`id` in (1, 2, 3, 4, 5, 6, 7);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 4 - 2022-01-31 17:11:42 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 5 - 2022-01-31 17:11:42 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 6 - 2022-01-31 17:11:42 [0.3ms] */
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.list-workflow-queue-component
   Query 7 - 2022-01-31 17:11:42 [0.12ms] */
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.list-workflow-queue-component
   Query 8 - 2022-01-31 17:11:42 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (363, 'CLAIMED', '2022-01-31 17:11:42', 8, 8, 8, 8, '2022-01-31 17:11:42', '2022-01-31 17:11:42');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2022-01-31 17:11:42 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2022-01-31 17:11:42 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 11 - 2022-01-31 17:11:42 [0.22ms] */
update `transaction` set `assigned_to` = 8, `updated_by` = 8, `transaction`.`updated_at` = '2022-01-31 17:11:42' where `id` = 363;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 12 - 2022-01-31 17:11:42 [0.15ms] */
select * from `transaction` where `id` = 363 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 13 - 2022-01-31 17:11:42 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 14 - 2022-01-31 17:11:42 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 15 - 2022-01-31 17:11:42 [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":{"assigned_to":8},"old":{"assigned_to":null}}', 8, 'App\Models\User', 363, 'Modules\Transaction\Entities\Transaction', 'updated', '2022-01-31 17:11:42', '2022-01-31 17:11:42');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 16 - 2022-01-31 17:11:42 [0.28ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 17 - 2022-01-31 17:11:42 [0.33ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 18 - 2022-01-31 17:11:42 [0.24ms] */
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/w/wkflw/363
   Query 1 - 2022-01-31 17:11:45 [0.66ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/w/wkflw/363
   Query 2 - 2022-01-31 17:11:45 [0.36ms] */
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/363
   Query 1 - 2022-01-31 17:11:45 [0.98ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 2 - 2022-01-31 17:11:45 [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/w/wkflw/363
   Query 3 - 2022-01-31 17:11:45 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 4 - 2022-01-31 17:11:45 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 363 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 5 - 2022-01-31 17:11:45 [0.13ms] */
select * from `invoice` where `transaction_id` = 363 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 6 - 2022-01-31 17:11:45 [0.13ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 363 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 7 - 2022-01-31 17:11:45 [0.13ms] */
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/363
   Query 8 - 2022-01-31 17:11:45 [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/363
   Query 9 - 2022-01-31 17:11:45 [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/363
   Query 10 - 2022-01-31 17:11:45 [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/363
   Query 11 - 2022-01-31 17:11:45 [0.29ms] */
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/363
   Query 12 - 2022-01-31 17:11:45 [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/363
   Query 13 - 2022-01-31 17:11:45 [0.19ms] */
select * from `transaction` where `id` = 363 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 14 - 2022-01-31 17:11:45 [0.13ms] */
select * from `vehicle` where `id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 15 - 2022-01-31 17:11:45 [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/363
   Query 16 - 2022-01-31 17:11:45 [0.12ms] */
select * from `smart_tag` where `assigned` = 'N' and `smart_tag`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 17 - 2022-01-31 17:11:45 [0.12ms] */
select * from `workflow` where `workflow`.`id` = 6 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 18 - 2022-01-31 17:11:45 [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/363
   Query 19 - 2022-01-31 17:11:45 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 20 - 2022-01-31 17:11:45 [0.12ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 2 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 21 - 2022-01-31 17:11:45 [0.12ms] */
select * from `model` where `model`.`id` = 3 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 22 - 2022-01-31 17:11:45 [0.12ms] */
select * from `make` where `make`.`id` = 3 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 23 - 2022-01-31 17:11:45 [0.11ms] */
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/363
   Query 24 - 2022-01-31 17:11:45 [0.12ms] */
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/363
   Query 25 - 2022-01-31 17:11:45 [0.13ms] */
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/363
   Query 26 - 2022-01-31 17:11:45 [0.13ms] */
select * from `party` where `party`.`id` = 110 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 27 - 2022-01-31 17:11:45 [0.13ms] */
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/363
   Query 28 - 2022-01-31 17:11:45 [0.21ms] */
select * from `party` where `party`.`partyable_id` = 94 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/363
   Query 29 - 2022-01-31 17:11:45 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 363 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 30 - 2022-01-31 17:11:45 [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/363
   Query 31 - 2022-01-31 17:11:45 [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/363
   Query 32 - 2022-01-31 17:11:45 [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/363
   Query 33 - 2022-01-31 17:11:45 [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/363
   Query 34 - 2022-01-31 17:11:45 [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/363
   Query 35 - 2022-01-31 17:11:45 [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/363
   Query 36 - 2022-01-31 17:11:45 [0.13ms] */
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/363
   Query 37 - 2022-01-31 17:11:45 [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/363
   Query 38 - 2022-01-31 17:11:45 [0.12ms] */
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/363
   Query 39 - 2022-01-31 17:11:45 [0.1ms] */
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/363
   Query 40 - 2022-01-31 17:11:45 [0.12ms] */
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/363
   Query 41 - 2022-01-31 17:11:45 [0.21ms] */
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/363
   Query 42 - 2022-01-31 17:11:45 [0.24ms] */
select * from `workflow_definition` where `workflow_id` = 6 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 43 - 2022-01-31 17:11:45 [0.21ms] */
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/363
   Query 44 - 2022-01-31 17:11:45 [0.26ms] */
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/363
   Query 45 - 2022-01-31 17:11:45 [0.19ms] */
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/363
   Query 46 - 2022-01-31 17:11:45 [0.17ms] */
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/363
   Query 47 - 2022-01-31 17:11:45 [0.27ms] */
(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/363
   Query 48 - 2022-01-31 17:11:45 [0.18ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/363
   Query 49 - 2022-01-31 17:11:45 [0.14ms] */
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/363
   Query 50 - 2022-01-31 17:11:45 [0.12ms] */
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.list-workflow-queue-component
   Query 1 - 2022-01-31 17:11:47 [0.62ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 2 - 2022-01-31 17:11:47 [0.36ms] */
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.list-workflow-queue-component
   Query 3 - 2022-01-31 17:11:47 [0.16ms] */
select * from `service` where `service`.`id` in (1, 2, 3, 4, 5, 6, 7);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 4 - 2022-01-31 17:11:47 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 363 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 5 - 2022-01-31 17:11:47 [0.13ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 6 - 2022-01-31 17:11:47 [0.29ms] */
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.list-workflow-queue-component
   Query 7 - 2022-01-31 17:11:47 [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.list-workflow-queue-component
   Query 8 - 2022-01-31 17:11:47 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (363, 'CLAIMED', '2022-01-31 17:11:47', 8, 8, 8, 8, '2022-01-31 17:11:47', '2022-01-31 17:11:47');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2022-01-31 17:11:47 [0.25ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2022-01-31 17:11:47 [0.23ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 11 - 2022-01-31 17:11: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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2022-01-31 17:11:56 [0.74ms] */
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-01-31 17:11:56 [0.36ms] */
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-01-31 17:11:56 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 363 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 4 - 2022-01-31 17:11:56 [0.41ms] */
select * from `transaction_workflow` where `transaction_id` = 363 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 5 - 2022-01-31 17:11:56 [0.13ms] */
select * from `invoice` where `transaction_id` = 363 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2022-01-31 17:11:56 [0.13ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 363 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 7 - 2022-01-31 17:11:56 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2022-01-31 17:11:56 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2022-01-31 17:11:56 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2022-01-31 17:11:56 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2022-01-31 17:11:56 [0.3ms] */
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 12 - 2022-01-31 17:11:56 [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 13 - 2022-01-31 17:11:56 [0.12ms] */
select * from `workflow` where `workflow`.`id` = 6 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2022-01-31 17:11:58 [0.98ms] */
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-01-31 17:11:58 [0.61ms] */
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-01-31 17:11:58 [0.42ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 6 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-01-31 17:11:58 [0.15ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 6 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-01-31 17:12:31 [0.74ms] */
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-01-31 17:12:31 [0.36ms] */
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-01-31 17:12:31 [0.2ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 6 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-01-31 17:12:31 [0.69ms] */
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-01-31 17:12:31 [0.37ms] */
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-01-31 17:12:31 [0.21ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 6 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-01-31 17:12:33 [1.17ms] */
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-01-31 17:12:33 [0.69ms] */
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-01-31 17:12:33 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 363 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 4 - 2022-01-31 17:12:33 [0.13ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2022-01-31 17:12:33 [0.29ms] */
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 6 - 2022-01-31 17:12:33 [0.59ms] */
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 7 - 2022-01-31 17:12:33 [0.31ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (363, 'APPROVED', '2022-01-31 17:12:33', 8, 8, null, 8, 8, '2022-01-31 17:12:33', '2022-01-31 17:12:33');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2022-01-31 17:12:33 [0.19ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2022-01-31 17:12:33 [0.3ms] */
select * from `workflow_definition` where `workflow_id` = 6 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 10 - 2022-01-31 17:12:33 [0.19ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2022-01-31 17:12:33 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2022-01-31 17:12:33 [0.27ms] */
select * from `invoice` where `invoice`.`id` = 302 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 13 - 2022-01-31 17:12:33 [0.61ms] */
select * from `transaction` where `transaction`.`id` = 363 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 14 - 2022-01-31 17:12:33 [0.66ms] */
select * from `transaction_workflow` where `transaction_id` = 363 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 15 - 2022-01-31 17:12:33 [0.24ms] */
select * from `invoice` where `transaction_id` = 363 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2022-01-31 17:12:33 [0.29ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 363 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 17 - 2022-01-31 17:12:33 [0.24ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2022-01-31 17:12:33 [0.22ms] */
select * from `service` where `service`.`id` = 6 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-01-31 17:12:33 [0.29ms] */
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 20 - 2022-01-31 17:12:33 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2022-01-31 17:12:33 [0.12ms] */
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 22 - 2022-01-31 17:12:33 [0.12ms] */
select * from `workflow` where `workflow`.`id` = 6 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 1 - 2022-01-31 17:12:36 [0.66ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 2 - 2022-01-31 17:12:36 [0.35ms] */
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/widgets.smarttag-workflow-widget
   Query 3 - 2022-01-31 17:12:36 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 150 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 4 - 2022-01-31 17:12:36 [0.22ms] */
select * from `transaction` where `id` = 363 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 5 - 2022-01-31 17:12:36 [0.2ms] */
select * from `vehicle` where `id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 6 - 2022-01-31 17:12:36 [0.22ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 1 - 2022-01-31 17:12:38 [0.61ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 2 - 2022-01-31 17:12:38 [0.36ms] */
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/vehicle.assign-smart-tag-component
   Query 3 - 2022-01-31 17:12:38 [0.13ms] */
select * from `smart_tag` where `assigned` = 'N' and `smart_tag`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 1 - 2022-01-31 17:12:41 [0.94ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 2 - 2022-01-31 17:12:41 [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/vehicle.assign-smart-tag-component
   Query 3 - 2022-01-31 17:12:41 [0.15ms] */
select * from `smart_tag` where `assigned` = 'N' and `smart_tag`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 1 - 2022-01-31 17:12:42 [0.61ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 2 - 2022-01-31 17:12:42 [0.36ms] */
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/vehicle.assign-smart-tag-component
   Query 3 - 2022-01-31 17:12:42 [0.33ms] */
select * from `smart_tag` where `id` = 8 and `smart_tag`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 4 - 2022-01-31 17:12:42 [11.62ms] */
update `smart_tag` set `assigned` = 'Y', `updated_by` = 8, `smart_tag`.`updated_at` = '2022-01-31 17:12:42' where `id` = 8;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 5 - 2022-01-31 17:12:42 [0.26ms] */
select * from `vehicle` where `id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 6 - 2022-01-31 17:12:42 [3.75ms] */
update `vehicle` set `smart_tag` = 8, `updated_by` = 8, `vehicle`.`updated_at` = '2022-01-31 17:12:42' where `id` = 150;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 7 - 2022-01-31 17:12:42 [0.43ms] */
select * from `vehicle` where `id` = 150 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 8 - 2022-01-31 17:12:42 [3.42ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":{"smart_tag":"8"},"old":{"smart_tag":null}}', 8, 'App\Models\User', 150, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2022-01-31 17:12:42', '2022-01-31 17:12:42');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/vehicle.assign-smart-tag-component
   Query 9 - 2022-01-31 17:12:42 [0.48ms] */
select * from `smart_tag` where `assigned` = 'N' and `smart_tag`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 1 - 2022-01-31 17:12:43 [0.59ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 2 - 2022-01-31 17:12:43 [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/livewire/message/widgets.smarttag-workflow-widget
   Query 3 - 2022-01-31 17:12:43 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 150 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 4 - 2022-01-31 17:12:43 [0.13ms] */
select * from `transaction` where `id` = 363 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 5 - 2022-01-31 17:12:43 [0.19ms] */
select * from `vehicle` where `id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 6 - 2022-01-31 17:12:43 [0.18ms] */
select * from `smart_tag` where `id` = 8 and `smart_tag`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 7 - 2022-01-31 17:12:43 [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): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 1 - 2022-01-31 17:12:44 [1ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 2 - 2022-01-31 17:12:44 [0.6ms] */
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/widgets.smarttag-workflow-widget
   Query 3 - 2022-01-31 17:12:44 [0.2ms] */
select * from `smart_tag` where `smart_tag`.`id` = 8 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 4 - 2022-01-31 17:12:44 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 150 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 5 - 2022-01-31 17:12:44 [0.13ms] */
select * from `transaction` where `id` = 363 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 6 - 2022-01-31 17:12:44 [0.12ms] */
select * from `vehicle` where `id` = 150 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 7 - 2022-01-31 17:12:44 [0.11ms] */
select * from `smart_tag` where `id` = 8 and `smart_tag`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.smarttag-workflow-widget
   Query 8 - 2022-01-31 17:12:44 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2022-01-31 17:12:44 [0.61ms] */
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-history-component
   Query 2 - 2022-01-31 17:12:44 [0.35ms] */
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-history-component
   Query 3 - 2022-01-31 17:12:44 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 363 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 4 - 2022-01-31 17:12:44 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 5 - 2022-01-31 17:12:44 [0.28ms] */
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.workflow-history-component
   Query 6 - 2022-01-31 17:12:44 [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.workflow-history-component
   Query 7 - 2022-01-31 17:12:44 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2022-01-31 17:12:44 [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.workflow-history-component
   Query 9 - 2022-01-31 17:12:44 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2022-01-31 17:12:44 [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.workflow-history-component
   Query 11 - 2022-01-31 17:12:44 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 12 - 2022-01-31 17:12:44 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 13 - 2022-01-31 17:12:44 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 14 - 2022-01-31 17:12:44 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 15 - 2022-01-31 17:12:44 [0.12ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 16 - 2022-01-31 17:12:44 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 17 - 2022-01-31 17:12:44 [0.12ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 18 - 2022-01-31 17:12:44 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 19 - 2022-01-31 17:12:44 [0.12ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 20 - 2022-01-31 17:12:44 [0.1ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2022-01-31 17:12:45 [0.61ms] */
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-01-31 17:12:45 [0.36ms] */
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-01-31 17:12:45 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 363 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 4 - 2022-01-31 17:12:45 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 363 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 5 - 2022-01-31 17:12:45 [0.13ms] */
select * from `invoice` where `transaction_id` = 363 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2022-01-31 17:12:45 [0.12ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 363 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 7 - 2022-01-31 17:12:45 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2022-01-31 17:12:45 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2022-01-31 17:12:45 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2022-01-31 17:12:45 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2022-01-31 17:12:45 [0.28ms] */
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 12 - 2022-01-31 17:12:45 [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 13 - 2022-01-31 17:12:45 [0.12ms] */
select * from `workflow` where `workflow`.`id` = 6 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2022-01-31 17:12:46 [0.96ms] */
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-01-31 17:12:46 [0.61ms] */
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-01-31 17:12:46 [0.31ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 6 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-01-31 17:12:46 [0.24ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 6 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-01-31 17:12:48 [0.73ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2022-01-31 17:12:48 [0.5ms] */
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-01-31 17:12:48 [0.36ms] */
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/widgets.workflow-progress-widget
   Query 2 - 2022-01-31 17:12:48 [0.35ms] */
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-01-31 17:12:48 [0.23ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 6 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/widgets.workflow-progress-widget
   Query 3 - 2022-01-31 17:12:48 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 363 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 4 - 2022-01-31 17:12:48 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` in (6) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 5 - 2022-01-31 17:12:48 [0.13ms] */
select * from `service` where `service`.`id` in (6) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2022-01-31 17:12:48 [0.12ms] */
select * from `workflow` where `workflow`.`id` in (6) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2022-01-31 17:12:48 [0.31ms] */
select * from `users` where `users`.`id` in (8) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2022-01-31 17:12:48 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (26) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2022-01-31 17:12:48 [0.33ms] */
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/widgets.workflow-progress-widget
   Query 10 - 2022-01-31 17:12:48 [0.11ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2022-01-31 17:12:48 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` in (150) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2022-01-31 17:12:48 [0.12ms] */
select * from `party` where `party`.`id` in (110) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2022-01-31 17:12:48 [0.12ms] */
select * from `workflow_definition` where `workflow_id` = 6 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2022-01-31 17:12:48 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2022-01-31 17:12:48 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2022-01-31 17:12:48 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 17 - 2022-01-31 17:12:48 [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.workflow-checklist-component
   Query 1 - 2022-01-31 17:12:49 [0.97ms] */
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-01-31 17:12:49 [0.6ms] */
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-01-31 17:12:49 [0.18ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 6 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-01-31 17:12:50 [1.02ms] */
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-01-31 17:12:50 [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-01-31 17:12:50 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 363 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 4 - 2022-01-31 17:12:50 [0.13ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2022-01-31 17:12:50 [0.29ms] */
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 6 - 2022-01-31 17:12:50 [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 7 - 2022-01-31 17:12:50 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (363, 'APPROVED', '2022-01-31 17:12:50', 8, 8, null, 8, 8, '2022-01-31 17:12:50', '2022-01-31 17:12:50');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2022-01-31 17:12:50 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2022-01-31 17:12:50 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 6 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 10 - 2022-01-31 17:12:50 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2022-01-31 17:12:50 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2022-01-31 17:12:50 [0.13ms] */
select * from `invoice` where `invoice`.`id` = 302 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 13 - 2022-01-31 17:12:50 [0.13ms] */
select * from `transaction` where `transaction`.`id` = 363 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 14 - 2022-01-31 17:12:50 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 363 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 15 - 2022-01-31 17:12:50 [0.12ms] */
select * from `invoice` where `transaction_id` = 363 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2022-01-31 17:12:50 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 363 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 17 - 2022-01-31 17:12:50 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2022-01-31 17:12:50 [0.11ms] */
select * from `service` where `service`.`id` = 6 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-01-31 17:12:50 [0.14ms] */
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 20 - 2022-01-31 17:12:50 [0.11ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2022-01-31 17:12:50 [0.1ms] */
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 22 - 2022-01-31 17:12:50 [0.11ms] */
select * from `workflow` where `workflow`.`id` = 6 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/exit-impersonate
   Query 1 - 2022-01-31 17:12:55 [0.72ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/exit-impersonate
   Query 2 - 2022-01-31 17:12:55 [0.37ms] */
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/exit-impersonate
   Query 3 - 2022-01-31 17:12:55 [0.14ms] */
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-01-31 17:12:56 [1ms] */
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-01-31 17:12:56 [0.51ms] */
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-01-31 17:12:56 [0.19ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-01-31 17:12:56 [0.16ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-01-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-01-31 17:12:56 [0.3ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-01-31 17:12:56 [0.29ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-01-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-01-31 17:12:56 [0.97ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-01-31 17:12:56 [0.71ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-01-31 17:12:56 [0.66ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-01-31 17:12:56 [0.35ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-01-31 17:12:56 [1.83ms] */
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
   Query 1 - 2022-01-31 18:01:06 [1.15ms] */
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-01-31 18:01:06 [0.99ms] */
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-01-31 18:01:06 [0.7ms] */
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-01-31 18:01:06 [0.18ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-01-31 18:01:06 [0.16ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-01-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-01-31 18:01:06 [0.16ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-01-31 18:01:06 [0.15ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-01-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-01-31 18:01:06 [0.22ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-01-31 18:01:06 [0.19ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-01-31 18:01:06 [0.18ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-01-31 18:01:06 [0.18ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-01-31 18:01:06 [0.36ms] */
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
   Query 1 - 2022-01-31 19:18:25 [0.92ms] */
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-01-31 19:18:25 [0.62ms] */
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-01-31 19:18:25 [0.36ms] */
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-01-31 19:18:25 [0.12ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-01-31 19:18:25 [0.1ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-01-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-01-31 19:18:25 [0.11ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-01-31 19:18:25 [0.1ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-01-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-01-31 19:18:25 [0.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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-01-31 19:18:25 [0.13ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-01-31 19:18:25 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-01-31 19:18:25 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-01-31 19:18:25 [0.23ms] */
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): POST https://trainrta.puntlandgov.org/en/logout
   Query 1 - 2022-01-31 19:21:13 [0.75ms] */
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-01-31 19:21:44 [1.25ms] */
select * from `users` where `email` = 'admin@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-01-31 19:21:44 [0.21ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 3 - 2022-01-31 19:21:44 [0.23ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 2 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-01-31 19:21:44 [11.65ms] */
update `userprofiles` set `last_ip` = '102.128.130.79', `login_count` = 89, `last_login` = '2022-01-31 19:21:44', `userprofiles`.`updated_at` = '2022-01-31 19:21:44' where `id` = 2;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 5 - 2022-01-31 19:21:44 [0.61ms] */
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-01-31 19:21:44 [0.95ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org
   Query 2 - 2022-01-31 19:21:44 [0.6ms] */
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-01-31 19:21:44 [0.61ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2022-01-31 19:21:44 [0.36ms] */
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-01-31 19:21:44 [0.12ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-01-31 19:21:44 [0.11ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-01-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-01-31 19:21:44 [0.1ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-01-31 19:21:44 [0.1ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-01-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-01-31 19:21:44 [0.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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-01-31 19:21:44 [0.13ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-01-31 19:21:44 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-01-31 19:21:44 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-01-31 19:21:44 [0.22ms] */
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/impersonate/5
   Query 1 - 2022-01-31 19:22:46 [1.26ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/impersonate/5
   Query 2 - 2022-01-31 19:22:46 [0.66ms] */
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/impersonate/5
   Query 3 - 2022-01-31 19:22:46 [0.13ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 1 - 2022-01-31 19:22:46 [0.99ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 2 - 2022-01-31 19:22:46 [0.58ms] */
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-01-31 19:22:46 [0.13ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2022-01-31 19:22:46 [0.28ms] */
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 (5) and `transaction`.`deleted_at` is null and `district_id` = 50;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 5 - 2022-01-31 19:22:46 [0.28ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (5) 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-01-31 19:22:46 [0.12ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 7 - 2022-01-31 19:22:46 [0.13ms] */
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 8 - 2022-01-31 19:22:46 [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 9 - 2022-01-31 19:22:46 [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 10 - 2022-01-31 19:22:46 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 146 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-01-31 19:22:46 [0.13ms] */
select * from `party` where `party`.`id` = 141 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-01-31 19:22:46 [0.16ms] */
select * from `person` where `person`.`id` = 123 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 13 - 2022-01-31 19:22:46 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 153 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 14 - 2022-01-31 19:22:46 [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
   Query 15 - 2022-01-31 19:22:46 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 16 - 2022-01-31 19:22:46 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 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 17 - 2022-01-31 19:22:46 [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 18 - 2022-01-31 19:22:46 [0.11ms] */
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
   Query 19 - 2022-01-31 19:22:46 [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 20 - 2022-01-31 19:22:46 [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 21 - 2022-01-31 19:22:46 [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 22 - 2022-01-31 19:22:46 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 149 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 23 - 2022-01-31 19:22:46 [0.12ms] */
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 24 - 2022-01-31 19:22:46 [0.12ms] */
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 25 - 2022-01-31 19:22:46 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 157 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 26 - 2022-01-31 19:22:46 [0.11ms] */
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 27 - 2022-01-31 19:22:46 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 28 - 2022-01-31 19:22:46 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 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 29 - 2022-01-31 19:22:46 [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
   Query 30 - 2022-01-31 19:22:46 [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 31 - 2022-01-31 19:22:46 [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 32 - 2022-01-31 19:22:46 [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 33 - 2022-01-31 19:22:46 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 143 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 34 - 2022-01-31 19:22:46 [0.11ms] */
select * from `party` where `party`.`id` = 133 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 35 - 2022-01-31 19:22:46 [0.2ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 36 - 2022-01-31 19:22:46 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 150 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 37 - 2022-01-31 19:22:46 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 38 - 2022-01-31 19:22:46 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 39 - 2022-01-31 19:22:46 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 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 40 - 2022-01-31 19:22:46 [0.21ms] */
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
   Query 41 - 2022-01-31 19:22:46 [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 42 - 2022-01-31 19:22:46 [0.25ms] */
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 43 - 2022-01-31 19:22:46 [0.24ms] */
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 44 - 2022-01-31 19:22:46 [0.61ms] */
select * from `vehicle` where `vehicle`.`id` = 140 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 45 - 2022-01-31 19:22:46 [0.17ms] */
select * from `party` where `party`.`id` = 136 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 46 - 2022-01-31 19:22:46 [0.12ms] */
select * from `person` where `person`.`id` = 119 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 47 - 2022-01-31 19:22:46 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 147 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 48 - 2022-01-31 19:22:46 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 49 - 2022-01-31 19:22:46 [0.11ms] */
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 50 - 2022-01-31 19:22:46 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 1 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 51 - 2022-01-31 19:22:46 [0.11ms] */
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
   Query 52 - 2022-01-31 19:22:46 [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 53 - 2022-01-31 19:22:46 [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 54 - 2022-01-31 19:22:46 [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 55 - 2022-01-31 19:22:46 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 134 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 56 - 2022-01-31 19:22:46 [0.11ms] */
select * from `party` where `party`.`id` = 129 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 57 - 2022-01-31 19:22:46 [0.12ms] */
select * from `person` where `person`.`id` = 113 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 58 - 2022-01-31 19:22:46 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 141 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 59 - 2022-01-31 19:22:46 [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 60 - 2022-01-31 19:22:46 [0.11ms] */
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 61 - 2022-01-31 19:22:46 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 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 62 - 2022-01-31 19:22:46 [0.1ms] */
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
   Query 63 - 2022-01-31 19:22:46 [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 64 - 2022-01-31 19:22:46 [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 65 - 2022-01-31 19:22:46 [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 66 - 2022-01-31 19:22:46 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 89 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 67 - 2022-01-31 19:22:46 [0.11ms] */
select * from `party` where `party`.`id` = 98 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 68 - 2022-01-31 19:22:46 [0.14ms] */
select * from `person` where `person`.`id` = 82 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 69 - 2022-01-31 19:22:46 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 96 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 70 - 2022-01-31 19:22:46 [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 71 - 2022-01-31 19:22:46 [0.1ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 72 - 2022-01-31 19:22:46 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 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 73 - 2022-01-31 19:22:46 [0.1ms] */
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
   Query 74 - 2022-01-31 19:22:46 [0.14ms] */
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 75 - 2022-01-31 19:22:46 [0.12ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/logout
   Query 1 - 2022-01-31 19:23:18 [0.67ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/logout
   Query 2 - 2022-01-31 19:23:18 [0.36ms] */
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 1 - 2022-01-31 19:23:25 [1.12ms] */
select * from `users` where `email` = 'admin@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-01-31 19:23:25 [0.14ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 3 - 2022-01-31 19:23:25 [0.24ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 2 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-01-31 19:23:25 [5.6ms] */
update `userprofiles` set `login_count` = 90, `last_login` = '2022-01-31 19:23:25', `userprofiles`.`updated_at` = '2022-01-31 19:23:25' where `id` = 2;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 5 - 2022-01-31 19:23:25 [0.34ms] */
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-01-31 19:23:25 [0.59ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org
   Query 2 - 2022-01-31 19:23:26 [0.39ms] */
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-01-31 19:23:26 [0.63ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2022-01-31 19:23:26 [0.36ms] */
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-01-31 19:23:26 [0.12ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-01-31 19:23:26 [0.11ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-01-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-01-31 19:23:26 [0.11ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-01-31 19:23:26 [0.11ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-01-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-01-31 19:23:26 [0.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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-01-31 19:23:26 [0.14ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-01-31 19:23:26 [0.13ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-01-31 19:23:26 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-01-31 19:23:26 [0.22ms] */
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/impersonate/5
   Query 1 - 2022-01-31 19:23:50 [1.24ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/impersonate/5
   Query 2 - 2022-01-31 19:23:50 [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/impersonate/5
   Query 3 - 2022-01-31 19:23:50 [0.14ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 1 - 2022-01-31 19:23:50 [0.62ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 2 - 2022-01-31 19:23:50 [0.36ms] */
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-01-31 19:23:50 [0.13ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2022-01-31 19:23:50 [0.13ms] */
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 (5) and `transaction`.`deleted_at` is null and `district_id` = 50;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 5 - 2022-01-31 19:23:50 [0.16ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (5) 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-01-31 19:23:50 [0.12ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 7 - 2022-01-31 19:23:50 [0.15ms] */
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 8 - 2022-01-31 19:23:50 [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 9 - 2022-01-31 19:23:50 [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 10 - 2022-01-31 19:23:50 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 146 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-01-31 19:23:50 [0.14ms] */
select * from `party` where `party`.`id` = 141 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-01-31 19:23:50 [0.15ms] */
select * from `person` where `person`.`id` = 123 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 13 - 2022-01-31 19:23:50 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 153 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 14 - 2022-01-31 19:23:50 [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
   Query 15 - 2022-01-31 19:23:50 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 16 - 2022-01-31 19:23:50 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 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 17 - 2022-01-31 19:23:50 [0.31ms] */
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 18 - 2022-01-31 19:23:50 [0.11ms] */
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
   Query 19 - 2022-01-31 19:23:50 [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 20 - 2022-01-31 19:23:50 [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 21 - 2022-01-31 19:23:50 [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 22 - 2022-01-31 19:23:50 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 149 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 23 - 2022-01-31 19:23:50 [0.11ms] */
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 24 - 2022-01-31 19:23:50 [0.12ms] */
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 25 - 2022-01-31 19:23:50 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 157 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 26 - 2022-01-31 19:23:50 [0.11ms] */
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 27 - 2022-01-31 19:23:50 [0.1ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 28 - 2022-01-31 19:23:50 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 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 29 - 2022-01-31 19:23:50 [0.1ms] */
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
   Query 30 - 2022-01-31 19:23:50 [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 31 - 2022-01-31 19:23:50 [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 32 - 2022-01-31 19:23:50 [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 33 - 2022-01-31 19:23:50 [0.11ms] */
select * from `vehicle` where `vehicle`.`id` = 143 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 34 - 2022-01-31 19:23:50 [0.11ms] */
select * from `party` where `party`.`id` = 133 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 35 - 2022-01-31 19:23:50 [0.12ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 36 - 2022-01-31 19:23:50 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 150 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 37 - 2022-01-31 19:23:50 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 38 - 2022-01-31 19:23:50 [0.1ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 39 - 2022-01-31 19:23:50 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 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 40 - 2022-01-31 19:23:50 [0.1ms] */
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
   Query 41 - 2022-01-31 19:23:50 [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 42 - 2022-01-31 19:23:50 [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 43 - 2022-01-31 19:23:50 [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 44 - 2022-01-31 19:23:50 [0.11ms] */
select * from `vehicle` where `vehicle`.`id` = 140 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 45 - 2022-01-31 19:23:50 [0.11ms] */
select * from `party` where `party`.`id` = 136 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 46 - 2022-01-31 19:23:50 [0.12ms] */
select * from `person` where `person`.`id` = 119 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 47 - 2022-01-31 19:23:50 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 147 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 48 - 2022-01-31 19:23:50 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 49 - 2022-01-31 19:23:50 [0.11ms] */
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 50 - 2022-01-31 19:23:50 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 1 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 51 - 2022-01-31 19:23:50 [0.1ms] */
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
   Query 52 - 2022-01-31 19:23:50 [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 53 - 2022-01-31 19:23:50 [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 54 - 2022-01-31 19:23:50 [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 55 - 2022-01-31 19:23:50 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 134 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 56 - 2022-01-31 19:23:50 [0.11ms] */
select * from `party` where `party`.`id` = 129 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 57 - 2022-01-31 19:23:50 [0.12ms] */
select * from `person` where `person`.`id` = 113 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 58 - 2022-01-31 19:23:50 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 141 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 59 - 2022-01-31 19:23:50 [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 60 - 2022-01-31 19:23:50 [0.11ms] */
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 61 - 2022-01-31 19:23:50 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 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 62 - 2022-01-31 19:23:50 [0.1ms] */
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
   Query 63 - 2022-01-31 19:23:50 [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 64 - 2022-01-31 19:23:50 [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 65 - 2022-01-31 19:23:50 [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 66 - 2022-01-31 19:23:50 [0.11ms] */
select * from `vehicle` where `vehicle`.`id` = 89 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 67 - 2022-01-31 19:23:50 [0.11ms] */
select * from `party` where `party`.`id` = 98 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 68 - 2022-01-31 19:23:50 [0.12ms] */
select * from `person` where `person`.`id` = 82 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 69 - 2022-01-31 19:23:50 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 96 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 70 - 2022-01-31 19:23:50 [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 71 - 2022-01-31 19:23:50 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 72 - 2022-01-31 19:23:50 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 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 73 - 2022-01-31 19:23:50 [0.1ms] */
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
   Query 74 - 2022-01-31 19:23:50 [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
   Query 75 - 2022-01-31 19:23:50 [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/exit-impersonate
   Query 1 - 2022-01-31 19:24:01 [1.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/exit-impersonate
   Query 2 - 2022-01-31 19:24:01 [0.61ms] */
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/exit-impersonate
   Query 3 - 2022-01-31 19:24:01 [0.17ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 1 - 2022-01-31 19:24:01 [1.09ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2022-01-31 19:24:01 [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/en
   Query 3 - 2022-01-31 19:24:01 [0.13ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-01-31 19:24:01 [0.11ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-01-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-01-31 19:24:01 [0.11ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-01-31 19:24:01 [0.1ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-01-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-01-31 19:24:01 [0.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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-01-31 19:24:01 [0.13ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-01-31 19:24:01 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-01-31 19:24:01 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-01-31 19:24:01 [0.22ms] */
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/impersonate/6
   Query 1 - 2022-01-31 19:24:04 [0.69ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/impersonate/6
   Query 2 - 2022-01-31 19:24:04 [0.36ms] */
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/impersonate/6
   Query 3 - 2022-01-31 19:24:04 [0.13ms] */
select * from `users` where `users`.`id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 1 - 2022-01-31 19:24:04 [0.62ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 2 - 2022-01-31 19:24:04 [0.36ms] */
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-01-31 19:24:04 [0.13ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2022-01-31 19:24:04 [0.33ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (6) and `transaction`.`deleted_at` is null and `district_id` = 50;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 5 - 2022-01-31 19:24:04 [0.33ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (6) and `transaction`.`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-01-31 19:24:04 [0.12ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 7 - 2022-01-31 19:24:04 [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
   Query 8 - 2022-01-31 19:24:04 [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
   Query 9 - 2022-01-31 19:24:04 [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 10 - 2022-01-31 19:24:04 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 154 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-01-31 19:24:04 [0.24ms] */
select * from `party` where `party`.`id` = 149 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-01-31 19:24:04 [0.27ms] */
select * from `person` where `person`.`id` = 131 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 13 - 2022-01-31 19:24:04 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 165 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 14 - 2022-01-31 19:24:04 [0.22ms] */
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-01-31 19:24:04 [0.22ms] */
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 16 - 2022-01-31 19:24:04 [0.23ms] */
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
   Query 17 - 2022-01-31 19:24:04 [0.24ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 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-01-31 19:24:04 [0.57ms] */
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-01-31 19:24:04 [0.2ms] */
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
   Query 20 - 2022-01-31 19:24:04 [0.21ms] */
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 21 - 2022-01-31 19:24:04 [0.21ms] */
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 22 - 2022-01-31 19:24:04 [0.19ms] */
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 23 - 2022-01-31 19:24:04 [0.31ms] */
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 24 - 2022-01-31 19:24:04 [0.21ms] */
select * from `party` where `party`.`id` = 147 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-01-31 19:24:04 [0.23ms] */
select * from `person` where `person`.`id` = 129 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 26 - 2022-01-31 19:24:04 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 164 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 27 - 2022-01-31 19:24:04 [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 28 - 2022-01-31 19:24:04 [0.2ms] */
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 29 - 2022-01-31 19:24:04 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 11 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 30 - 2022-01-31 19:24:04 [0.2ms] */
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
   Query 31 - 2022-01-31 19:24:04 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 5 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 32 - 2022-01-31 19:24:04 [0.19ms] */
select * from `service` where `service`.`id` = 5 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 33 - 2022-01-31 19:24:04 [0.19ms] */
select * from `service` where `service`.`id` = 5 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 34 - 2022-01-31 19:24:04 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 95 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 35 - 2022-01-31 19:24:04 [0.2ms] */
select * from `party` where `party`.`id` = 99 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 36 - 2022-01-31 19:24:04 [0.2ms] */
select * from `person` where `person`.`id` = 83 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 37 - 2022-01-31 19:24:04 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 38 - 2022-01-31 19:24:04 [0.19ms] */
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 39 - 2022-01-31 19:24:04 [0.17ms] */
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 40 - 2022-01-31 19:24:04 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 19 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 41 - 2022-01-31 19:24:04 [0.18ms] */
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
   Query 42 - 2022-01-31 19:24:04 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 5 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 43 - 2022-01-31 19:24:04 [0.18ms] */
select * from `service` where `service`.`id` = 5 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 44 - 2022-01-31 19:24:04 [0.18ms] */
select * from `service` where `service`.`id` = 5 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 45 - 2022-01-31 19:24:04 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 77 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 46 - 2022-01-31 19:24:04 [0.2ms] */
select * from `party` where `party`.`id` = 94 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 47 - 2022-01-31 19:24:04 [0.2ms] */
select * from `person` where `person`.`id` = 78 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 48 - 2022-01-31 19:24:04 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 93 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 49 - 2022-01-31 19:24:04 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 50 - 2022-01-31 19:24:04 [0.11ms] */
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 51 - 2022-01-31 19:24:04 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 19 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 52 - 2022-01-31 19:24:04 [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
   Query 53 - 2022-01-31 19:24:04 [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 54 - 2022-01-31 19:24:04 [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 55 - 2022-01-31 19:24:04 [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 56 - 2022-01-31 19:24:04 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 144 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 57 - 2022-01-31 19:24:04 [0.11ms] */
select * from `party` where `party`.`id` = 133 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 58 - 2022-01-31 19:24:04 [0.12ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 59 - 2022-01-31 19:24:04 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 151 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 60 - 2022-01-31 19:24:04 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 61 - 2022-01-31 19:24:04 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 62 - 2022-01-31 19:24:04 [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
   Query 63 - 2022-01-31 19:24:04 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 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 64 - 2022-01-31 19:24:04 [0.1ms] */
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
   Query 65 - 2022-01-31 19:24:04 [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 66 - 2022-01-31 19:24:04 [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 67 - 2022-01-31 19:24:04 [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 68 - 2022-01-31 19:24:04 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 125 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 69 - 2022-01-31 19:24:04 [0.11ms] */
select * from `party` where `party`.`id` = 121 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 70 - 2022-01-31 19:24:04 [0.12ms] */
select * from `person` where `person`.`id` = 105 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 71 - 2022-01-31 19:24:04 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 129 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 72 - 2022-01-31 19:24:04 [0.22ms] */
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 73 - 2022-01-31 19:24:04 [0.21ms] */
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 74 - 2022-01-31 19:24:04 [0.24ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 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 75 - 2022-01-31 19:24:04 [0.22ms] */
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
   Query 76 - 2022-01-31 19:24:04 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 5 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 77 - 2022-01-31 19:24:04 [0.21ms] */
select * from `service` where `service`.`id` = 5 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 78 - 2022-01-31 19:24:04 [0.21ms] */
select * from `service` where `service`.`id` = 5 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 79 - 2022-01-31 19:24:04 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 98 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 80 - 2022-01-31 19:24:04 [0.23ms] */
select * from `party` where `party`.`id` = 102 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 81 - 2022-01-31 19:24:04 [0.24ms] */
select * from `person` where `person`.`id` = 86 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 82 - 2022-01-31 19:24:04 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 102 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 83 - 2022-01-31 19:24:04 [0.22ms] */
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 84 - 2022-01-31 19:24:04 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 12 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 85 - 2022-01-31 19:24:04 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 19 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 86 - 2022-01-31 19:24:04 [0.1ms] */
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
   Query 87 - 2022-01-31 19:24:04 [0.11ms] */
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 88 - 2022-01-31 19:24:04 [0.12ms] */
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 89 - 2022-01-31 19:24:04 [0.12ms] */
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 90 - 2022-01-31 19:24:04 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 118 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 91 - 2022-01-31 19:24:04 [0.11ms] */
select * from `party` where `party`.`id` = 82 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 92 - 2022-01-31 19:24:04 [0.12ms] */
select * from `person` where `person`.`id` = 66 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 93 - 2022-01-31 19:24:04 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 124 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 94 - 2022-01-31 19:24:04 [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 95 - 2022-01-31 19:24:04 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 96 - 2022-01-31 19:24:04 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 11 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 97 - 2022-01-31 19:24:04 [0.1ms] */
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
   Query 98 - 2022-01-31 19:24:04 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 4 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 99 - 2022-01-31 19:24:04 [0.11ms] */
select * from `service` where `service`.`id` = 4 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 100 - 2022-01-31 19:24:04 [0.11ms] */
select * from `service` where `service`.`id` = 4 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 101 - 2022-01-31 19:24:04 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 97 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 102 - 2022-01-31 19:24:04 [0.11ms] */
select * from `party` where `party`.`id` = 101 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 103 - 2022-01-31 19:24:04 [0.12ms] */
select * from `person` where `person`.`id` = 85 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 104 - 2022-01-31 19:24:04 [0.11ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 101 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 105 - 2022-01-31 19:24:04 [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 106 - 2022-01-31 19:24:04 [0.11ms] */
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 107 - 2022-01-31 19:24:04 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 16 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 108 - 2022-01-31 19:24:04 [0.1ms] */
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
   Query 109 - 2022-01-31 19:24:04 [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): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 110 - 2022-01-31 19:24:04 [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 111 - 2022-01-31 19:24:04 [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 112 - 2022-01-31 19:24:04 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 47 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 113 - 2022-01-31 19:24:04 [0.11ms] */
select * from `party` where `party`.`id` = 82 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 114 - 2022-01-31 19:24:04 [0.12ms] */
select * from `person` where `person`.`id` = 66 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 115 - 2022-01-31 19:24:04 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 116 - 2022-01-31 19:24:04 [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 117 - 2022-01-31 19:24:04 [0.11ms] */
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 118 - 2022-01-31 19:24:04 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 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 119 - 2022-01-31 19:24:04 [0.1ms] */
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
   Query 120 - 2022-01-31 19:24:04 [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
   Query 121 - 2022-01-31 19:24:04 [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/exit-impersonate
   Query 1 - 2022-01-31 19:24:36 [1.1ms] */
select * from `users` where `id` = 6 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/exit-impersonate
   Query 2 - 2022-01-31 19:24:36 [0.66ms] */
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/exit-impersonate
   Query 3 - 2022-01-31 19:24:36 [0.14ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 1 - 2022-01-31 19:24:36 [0.64ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2022-01-31 19:24:36 [0.37ms] */
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-01-31 19:24:36 [0.12ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-01-31 19:24:36 [0.11ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-01-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-01-31 19:24:36 [0.1ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-01-31 19:24:36 [0.11ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-01-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-01-31 19:24:36 [0.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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-01-31 19:24:36 [0.12ms] */
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-01-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-01-31 19:24:36 [0.13ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-01-31 19:24:36 [0.12ms] */
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-01-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-01-31 19:24:36 [0.23ms] */
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;
/*==================================================*/
