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/impersonate/5
   Query 1 - 2021-12-21 14:11:58 [0.64ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/impersonate/5
   Query 2 - 2021-12-21 14:11:58 [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/5
   Query 3 - 2021-12-21 14:11:58 [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 - 2021-12-21 14:11:58 [0.58ms] */
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 - 2021-12-21 14:11:58 [0.35ms] */
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 - 2021-12-21 14:11:58 [0.13ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2021-12-21 14:11:58 [0.32ms] */
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 - 2021-12-21 14:11:58 [0.12ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 6 - 2021-12-21 14:11:58 [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 7 - 2021-12-21 14:11:58 [0.12ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 1 - 2021-12-21 14:12:01 [0.67ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 2 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 3 - 2021-12-21 14:12:01 [0.45ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`status` = 'REGISTERED' and `smart_tag_status` = 'N' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 4 - 2021-12-21 14:12:01 [0.34ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`status` = 'REGISTERED' and `smart_tag_status` = 'N' and `vehicle`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 5 - 2021-12-21 14:12:01 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 116 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 6 - 2021-12-21 14:12:01 [0.13ms] */
select * from `party` where `party`.`id` = 112 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 7 - 2021-12-21 14:12:01 [0.14ms] */
select * from `person` where `person`.`id` = 96 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 8 - 2021-12-21 14:12:01 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 9 - 2021-12-21 14:12:01 [0.12ms] */
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/m/service/smarttag
   Query 10 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 11 - 2021-12-21 14:12:01 [0.13ms] */
select * from `make` where `make`.`id` = 3 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 12 - 2021-12-21 14:12:01 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 13 - 2021-12-21 14:12:01 [0.13ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 116 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 14 - 2021-12-21 14:12:01 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 115 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 15 - 2021-12-21 14:12:01 [0.12ms] */
select * from `party` where `party`.`id` = 111 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 16 - 2021-12-21 14:12:01 [0.13ms] */
select * from `person` where `person`.`id` = 95 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 17 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 18 - 2021-12-21 14:12:01 [0.13ms] */
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/m/service/smarttag
   Query 19 - 2021-12-21 14:12:01 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 20 - 2021-12-21 14:12:01 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 21 - 2021-12-21 14:12:01 [0.11ms] */
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/m/service/smarttag
   Query 22 - 2021-12-21 14:12:01 [0.13ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 115 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 23 - 2021-12-21 14:12:01 [0.13ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 114 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 24 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 25 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 26 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 27 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 28 - 2021-12-21 14:12:01 [0.11ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 29 - 2021-12-21 14:12:01 [0.11ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 30 - 2021-12-21 14:12:01 [0.11ms] */
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/m/service/smarttag
   Query 31 - 2021-12-21 14:12:01 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 114 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 32 - 2021-12-21 14:12:01 [0.13ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 113 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 33 - 2021-12-21 14:12:01 [0.12ms] */
select * from `party` where `party`.`id` = 109 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 34 - 2021-12-21 14:12:01 [0.13ms] */
select * from `person` where `person`.`id` = 93 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 35 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 36 - 2021-12-21 14:12:01 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 37 - 2021-12-21 14:12:01 [0.11ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 38 - 2021-12-21 14:12:01 [0.11ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 39 - 2021-12-21 14:12:01 [0.11ms] */
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/m/service/smarttag
   Query 40 - 2021-12-21 14:12:01 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 113 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 41 - 2021-12-21 14:12:01 [0.13ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 112 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 42 - 2021-12-21 14:12:01 [0.12ms] */
select * from `party` where `party`.`id` = 108 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 43 - 2021-12-21 14:12:01 [0.13ms] */
select * from `person` where `person`.`id` = 92 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 44 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 45 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 46 - 2021-12-21 14:12:01 [0.11ms] */
select * from `model` where `model`.`id` = 3 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 47 - 2021-12-21 14:12:01 [0.11ms] */
select * from `make` where `make`.`id` = 3 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 48 - 2021-12-21 14:12:01 [0.11ms] */
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/m/service/smarttag
   Query 49 - 2021-12-21 14:12:01 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 112 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 50 - 2021-12-21 14:12:01 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 110 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 51 - 2021-12-21 14:12:01 [0.12ms] */
select * from `party` where `party`.`id` = 106 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 52 - 2021-12-21 14:12:01 [0.13ms] */
select * from `person` where `person`.`id` = 90 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 53 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 54 - 2021-12-21 14:12:01 [0.11ms] */
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/m/service/smarttag
   Query 55 - 2021-12-21 14:12:01 [0.11ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 56 - 2021-12-21 14:12:01 [0.11ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 57 - 2021-12-21 14:12:01 [0.11ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 58 - 2021-12-21 14:12:01 [0.13ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 110 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 59 - 2021-12-21 14:12:01 [0.13ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 108 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 60 - 2021-12-21 14:12:01 [0.12ms] */
select * from `party` where `party`.`id` = 104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 61 - 2021-12-21 14:12:01 [0.14ms] */
select * from `person` where `person`.`id` = 88 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 62 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 63 - 2021-12-21 14:12:01 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 64 - 2021-12-21 14:12:01 [0.11ms] */
select * from `model` where `model`.`id` = 3 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 65 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 66 - 2021-12-21 14:12:01 [0.11ms] */
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/m/service/smarttag
   Query 67 - 2021-12-21 14:12:01 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 108 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 68 - 2021-12-21 14:12:01 [0.13ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 98 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 69 - 2021-12-21 14:12:01 [0.12ms] */
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/m/service/smarttag
   Query 70 - 2021-12-21 14:12:01 [0.12ms] */
select * from `person` where `person`.`id` = 86 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 71 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 72 - 2021-12-21 14:12:01 [0.12ms] */
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/m/service/smarttag
   Query 73 - 2021-12-21 14:12:01 [0.11ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 74 - 2021-12-21 14:12:01 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 75 - 2021-12-21 14:12:01 [0.11ms] */
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/m/service/smarttag
   Query 76 - 2021-12-21 14:12:01 [0.14ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 98 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 77 - 2021-12-21 14:12:01 [0.13ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 95 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 78 - 2021-12-21 14:12:01 [0.12ms] */
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/m/service/smarttag
   Query 79 - 2021-12-21 14:12:01 [0.13ms] */
select * from `person` where `person`.`id` = 83 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 80 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 81 - 2021-12-21 14:12:01 [0.11ms] */
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/m/service/smarttag
   Query 82 - 2021-12-21 14:12:01 [0.11ms] */
select * from `model` where `model`.`id` = 3 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 83 - 2021-12-21 14:12:01 [0.11ms] */
select * from `make` where `make`.`id` = 3 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 84 - 2021-12-21 14:12:01 [0.17ms] */
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/m/service/smarttag
   Query 85 - 2021-12-21 14:12:01 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 95 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 86 - 2021-12-21 14:12:01 [0.11ms] */
select * from `term` where `term`.`id` = 88 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 87 - 2021-12-21 14:12:01 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 88 - 2021-12-21 14:12:01 [0.19ms] */
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/m/service/smarttag
   Query 89 - 2021-12-21 14:12:01 [0.19ms] */
select * from `person` where `person`.`id` = 82 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 90 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 91 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 92 - 2021-12-21 14:12:01 [0.11ms] */
select * from `model` where `model`.`id` = 3 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 93 - 2021-12-21 14:12:01 [0.11ms] */
select * from `make` where `make`.`id` = 3 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 94 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 95 - 2021-12-21 14:12:01 [0.21ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 89 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 96 - 2021-12-21 14:12:01 [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/m/service/smarttag
   Query 97 - 2021-12-21 14:12:01 [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/service.smart-tag-component
   Query 1 - 2021-12-21 14:12:04 [0.68ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 2 - 2021-12-21 14:12:04 [0.42ms] */
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/service.smart-tag-component
   Query 3 - 2021-12-21 14:12:04 [0.29ms] */
select * from `vehicle` where `id` = 89 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 4 - 2021-12-21 14:12:04 [7.52ms] */
update `vehicle` set `updated_by` = 5, `smart_tag_status` = 'Y', `vehicle`.`updated_at` = '2021-12-21 14:12:04' where `id` = 89;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 5 - 2021-12-21 14:12:04 [0.45ms] */
select * from `vehicle` where `id` = 89 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 6 - 2021-12-21 14:12:04 [3.59ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 89, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2021-12-21 14:12:04', '2021-12-21 14:12:04');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 7 - 2021-12-21 14:12:04 [0.29ms] */
select * from `service` where `name` = 'SmartTag' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 8 - 2021-12-21 14:12:04 [0.47ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 9 - 2021-12-21 14:12:04 [0.41ms] */
select * from `party` where `party`.`id` = 98 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 10 - 2021-12-21 14:12:04 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 89 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 11 - 2021-12-21 14:12:04 [0.18ms] */
select * from `service_workflow` where ((`service_id` = 6)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 12 - 2021-12-21 14:12:04 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 6 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 13 - 2021-12-21 14:12:04 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 6 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 14 - 2021-12-21 14:12:04 [0.31ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `service_workflow_id`, `current_workflow_state_id`, `deliver_district_id`, `district_id`, `status`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (98, 6, 89, 6, 24, 50, 50, 'INPROGRESS', 5, 5, '2021-12-21 14:12:04', '2021-12-21 14:12:04');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 15 - 2021-12-21 14:12:04 [0.23ms] */
select * from `transaction` where `id` = 281 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 16 - 2021-12-21 14:12:04 [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/service.smart-tag-component
   Query 17 - 2021-12-21 14:12:04 [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/service.smart-tag-component
   Query 18 - 2021-12-21 14:12:04 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"vehicle_id":89,"party_id":98,"party_vehicle_id":null,"service_id":6,"service_workflow_id":6,"current_workflow_state_id":24,"assigned_to":null,"status":"INPROGRESS","invoice_id":null,"district_id":50,"deliver_district_id":50}}', 5, 'App\Models\User', 281, 'Modules\Transaction\Entities\Transaction', 'created', '2021-12-21 14:12:04', '2021-12-21 14:12:04');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 19 - 2021-12-21 14:12:04 [0.22ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (281, 'INITIATED', '2021-12-21 14:12:04', 5, 5, 5, 5, '2021-12-21 14:12:04', '2021-12-21 14:12:04');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 20 - 2021-12-21 14:12:04 [0.67ms] */
(select * from `service_fee` where `sub_category_id` is null and `classification_id` is null and `service_id` = 6 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 6 and `sub_category_id` is null and `classification_id` is null and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 6 and `sub_category_id` is null and `classification_id` is null and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 21 - 2021-12-21 14:12:04 [0.25ms] */
select * from `party` where `party`.`id` = 98 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 22 - 2021-12-21 14:12:04 [0.26ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (281, '2021-12-21 14:12:04', '2022-01-21 14:12:04', 'OPEN', 98, 5, 5, '2021-12-21 14:12:04', '2021-12-21 14:12:04');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 23 - 2021-12-21 14:12:04 [0.24ms] */
select * from `invoice` where `id` = 223 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 24 - 2021-12-21 14:12:04 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":281,"party_id":98,"invoice_amount":"0.00","invoice_date":"2021-12-21 14:12:04","due_date":"2022-01-21 14:12:04","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null}}', 5, 'App\Models\User', 223, 'Modules\Transaction\Entities\Invoice', 'created', '2021-12-21 14:12:04', '2021-12-21 14:12:04');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 25 - 2021-12-21 14:12:04 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('smarttag', 'smarttag', 1, 10.00, 10.00, 223, 5, 5, '2021-12-21 14:12:04', '2021-12-21 14:12:04');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 26 - 2021-12-21 14:12:04 [0.22ms] */
select * from `invoice_item` where `id` = 337 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 27 - 2021-12-21 14:12:04 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"smarttag","description":"smarttag","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":223}}', 5, 'App\Models\User', 337, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2021-12-21 14:12:04', '2021-12-21 14:12:04');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 28 - 2021-12-21 14:12:04 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 223 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 29 - 2021-12-21 14:12:04 [0.21ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 223 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 30 - 2021-12-21 14:12:04 [0.17ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 223 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 31 - 2021-12-21 14:12:04 [0.41ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `discounts` = 0, `total_invoice_amount` = 10, `invoice`.`updated_at` = '2021-12-21 14:12:04' where `id` = 223;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 32 - 2021-12-21 14:12:04 [0.15ms] */
select * from `invoice` where `id` = 223 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 33 - 2021-12-21 14:12:04 [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":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 223, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-21 14:12:04', '2021-12-21 14:12:04');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 34 - 2021-12-21 14:12:04 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-297-223143', `invoice`.`updated_at` = '2021-12-21 14:12:04' where `id` = 223;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 35 - 2021-12-21 14:12:04 [0.15ms] */
select * from `invoice` where `id` = 223 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 36 - 2021-12-21 14:12:04 [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":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00","invoice_number":"INV-297-223143"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null}}', 5, 'App\Models\User', 223, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-21 14:12:04', '2021-12-21 14:12:04');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 37 - 2021-12-21 14:12:04 [0.14ms] */
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/service.smart-tag-component
   Query 38 - 2021-12-21 14:12:04 [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/service.smart-tag-component
   Query 39 - 2021-12-21 14:12:04 [0.14ms] */
update `transaction` set `party_vehicle_id` = 96, `invoice_id` = 223, `transaction`.`updated_at` = '2021-12-21 14:12:04' where `id` = 281;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 40 - 2021-12-21 14:12:04 [0.15ms] */
select * from `transaction` where `id` = 281 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 41 - 2021-12-21 14:12:04 [0.14ms] */
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/service.smart-tag-component
   Query 42 - 2021-12-21 14:12:04 [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/service.smart-tag-component
   Query 43 - 2021-12-21 14:12:04 [0.12ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"party_vehicle_id":96,"invoice_id":223},"old":{"party_vehicle_id":null,"invoice_id":null}}', 5, 'App\Models\User', 281, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-21 14:12:04', '2021-12-21 14:12:04');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 44 - 2021-12-21 14:12:04 [0.23ms] */
select * from `transaction` where `vehicle_id` = 89 and `transaction`.`deleted_at` is null and `district_id` = 50 order by `updated_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 45 - 2021-12-21 14:12:04 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (96) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 46 - 2021-12-21 14:12:04 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` in (1) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 47 - 2021-12-21 14:12:04 [0.18ms] */
select * from `party` where `party`.`id` in (98) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 48 - 2021-12-21 14:12:04 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` in (89) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 49 - 2021-12-21 14:12:04 [0.2ms] */
select * from `invoice` where `invoice`.`id` in (223) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/w/wkflw/281
   Query 1 - 2021-12-21 14:12:04 [1.12ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/w/wkflw/281
   Query 2 - 2021-12-21 14:12:04 [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/w/wkflw/281
   Query 1 - 2021-12-21 14:12:05 [0.64ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 2 - 2021-12-21 14:12:05 [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/281
   Query 3 - 2021-12-21 14:12:05 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 281 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 4 - 2021-12-21 14:12:05 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 281 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 5 - 2021-12-21 14:12:05 [0.25ms] */
select * from `invoice` where `transaction_id` = 281 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 6 - 2021-12-21 14:12:05 [0.2ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 281 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 7 - 2021-12-21 14:12:05 [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): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 8 - 2021-12-21 14:12:05 [0.19ms] */
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/281
   Query 9 - 2021-12-21 14:12:05 [0.2ms] */
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/281
   Query 10 - 2021-12-21 14:12:05 [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/281
   Query 11 - 2021-12-21 14:12:05 [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/281
   Query 12 - 2021-12-21 14:12:05 [0.19ms] */
select * from `transaction` where `id` = 281 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 13 - 2021-12-21 14:12:05 [0.19ms] */
select * from `vehicle` where `id` = 89 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 14 - 2021-12-21 14:12:05 [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/281
   Query 15 - 2021-12-21 14:12:05 [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/281
   Query 16 - 2021-12-21 14:12:05 [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/281
   Query 17 - 2021-12-21 14:12:05 [0.21ms] */
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/281
   Query 18 - 2021-12-21 14:12:05 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 89 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 19 - 2021-12-21 14:12:05 [0.13ms] */
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/281
   Query 20 - 2021-12-21 14:12:05 [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/281
   Query 21 - 2021-12-21 14:12:05 [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/281
   Query 22 - 2021-12-21 14:12:05 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 23 - 2021-12-21 14:12:05 [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/281
   Query 24 - 2021-12-21 14:12:05 [0.13ms] */
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/281
   Query 25 - 2021-12-21 14:12:05 [0.18ms] */
select * from `party` where `party`.`id` = 98 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 26 - 2021-12-21 14:12:05 [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/281
   Query 27 - 2021-12-21 14:12:05 [0.25ms] */
select * from `party` where `party`.`partyable_id` = 82 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/281
   Query 28 - 2021-12-21 14:12:05 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 281 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 29 - 2021-12-21 14:12:05 [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/281
   Query 30 - 2021-12-21 14:12:05 [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/281
   Query 31 - 2021-12-21 14:12:05 [0.21ms] */
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/281
   Query 32 - 2021-12-21 14:12:05 [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/281
   Query 33 - 2021-12-21 14:12:05 [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/281
   Query 34 - 2021-12-21 14:12:05 [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/281
   Query 35 - 2021-12-21 14:12:05 [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/281
   Query 36 - 2021-12-21 14:12:05 [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/281
   Query 37 - 2021-12-21 14:12:05 [0.13ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/281
   Query 38 - 2021-12-21 14:12:05 [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/281
   Query 39 - 2021-12-21 14:12:05 [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 - 2021-12-21 14:12:51 [0.75ms] */
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 - 2021-12-21 14:12:51 [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 - 2021-12-21 14:13:00 [0.73ms] */
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 - 2021-12-21 14:13:00 [0.14ms] */
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 - 2021-12-21 14:13:00 [0.25ms] */
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 - 2021-12-21 14:13:00 [6.23ms] */
update `userprofiles` set `login_count` = 207, `last_login` = '2021-12-21 14:13:00', `userprofiles`.`updated_at` = '2021-12-21 14:13:00' where `id` = 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 5 - 2021-12-21 14:13:00 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org
   Query 1 - 2021-12-21 14:13:00 [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 1 - 2021-12-21 14:13:00 [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 2 - 2021-12-21 14:13:00 [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
   Query 3 - 2021-12-21 14:13:00 [0.23ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2021-12-21 14:13:00 [0.12ms] */
select count(*) as aggregate from `party` where `created_at` > '2021-12-21' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2021-12-21 14:13:00 [0.34ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2021-12-21 14:13:00 [0.32ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2021-12-21' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2021-12-21 14:13:00 [0.79ms] */
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` > '2021-12-20' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2021-12-21 14:13:00 [0.48ms] */
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` > '2021-12-20' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2021-12-21 14:13:00 [0.47ms] */
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` < '2021-12-21' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2021-12-21 14:13:00 [0.98ms] */
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` < '2021-12-21' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2021-12-21 14:13:00 [0.8ms] */
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 - 2021-12-21 14:13:07 [0.73ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/impersonate/5
   Query 2 - 2021-12-21 14:13:07 [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/5
   Query 3 - 2021-12-21 14:13:07 [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 - 2021-12-21 14:13:08 [0.64ms] */
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 - 2021-12-21 14:13:08 [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 - 2021-12-21 14:13:08 [0.13ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2021-12-21 14:13:08 [0.27ms] */
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 - 2021-12-21 14:13:08 [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 (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 - 2021-12-21 14:13:08 [0.12ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 7 - 2021-12-21 14:13:08 [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 - 2021-12-21 14:13:08 [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 - 2021-12-21 14:13: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): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 10 - 2021-12-21 14:13:08 [0.14ms] */
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 11 - 2021-12-21 14:13:08 [0.13ms] */
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 12 - 2021-12-21 14:13:08 [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 13 - 2021-12-21 14:13:08 [0.21ms] */
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 14 - 2021-12-21 14:13:08 [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 - 2021-12-21 14:13:08 [0.12ms] */
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 16 - 2021-12-21 14:13:08 [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 - 2021-12-21 14:13:08 [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
   Query 18 - 2021-12-21 14:13:08 [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 - 2021-12-21 14:13:08 [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 20 - 2021-12-21 14:13:08 [0.12ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 1 - 2021-12-21 14:13:10 [0.74ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 2 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 3 - 2021-12-21 14:13:10 [0.44ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`status` = 'REGISTERED' and `smart_tag_status` = 'N' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 4 - 2021-12-21 14:13:10 [0.33ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`status` = 'REGISTERED' and `smart_tag_status` = 'N' and `vehicle`.`deleted_at` is null order by `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 5 - 2021-12-21 14:13:10 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 116 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 6 - 2021-12-21 14:13:10 [0.14ms] */
select * from `party` where `party`.`id` = 112 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 7 - 2021-12-21 14:13:10 [0.14ms] */
select * from `person` where `person`.`id` = 96 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 8 - 2021-12-21 14:13:10 [0.12ms] */
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/m/service/smarttag
   Query 9 - 2021-12-21 14:13:10 [0.12ms] */
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/m/service/smarttag
   Query 10 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 11 - 2021-12-21 14:13:10 [0.13ms] */
select * from `make` where `make`.`id` = 3 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 12 - 2021-12-21 14:13:10 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 13 - 2021-12-21 14:13:10 [0.13ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 116 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 14 - 2021-12-21 14:13:10 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 115 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 15 - 2021-12-21 14:13:10 [0.12ms] */
select * from `party` where `party`.`id` = 111 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 16 - 2021-12-21 14:13:10 [0.14ms] */
select * from `person` where `person`.`id` = 95 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 17 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 18 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 19 - 2021-12-21 14:13:10 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 20 - 2021-12-21 14:13:10 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 21 - 2021-12-21 14:13:10 [0.11ms] */
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/m/service/smarttag
   Query 22 - 2021-12-21 14:13:10 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 115 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 23 - 2021-12-21 14:13:10 [0.13ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 114 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 24 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 25 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 26 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 27 - 2021-12-21 14:13:10 [0.12ms] */
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/m/service/smarttag
   Query 28 - 2021-12-21 14:13:10 [0.11ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 29 - 2021-12-21 14:13:10 [0.11ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 30 - 2021-12-21 14:13:10 [0.11ms] */
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/m/service/smarttag
   Query 31 - 2021-12-21 14:13:10 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 114 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 32 - 2021-12-21 14:13:10 [0.16ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 113 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 33 - 2021-12-21 14:13:10 [0.12ms] */
select * from `party` where `party`.`id` = 109 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 34 - 2021-12-21 14:13:10 [0.13ms] */
select * from `person` where `person`.`id` = 93 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 35 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 36 - 2021-12-21 14:13:10 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 37 - 2021-12-21 14:13:10 [0.11ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 38 - 2021-12-21 14:13:10 [0.12ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 39 - 2021-12-21 14:13:10 [0.11ms] */
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/m/service/smarttag
   Query 40 - 2021-12-21 14:13:10 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 113 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 41 - 2021-12-21 14:13:10 [0.13ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 112 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 42 - 2021-12-21 14:13:10 [0.12ms] */
select * from `party` where `party`.`id` = 108 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 43 - 2021-12-21 14:13:10 [0.14ms] */
select * from `person` where `person`.`id` = 92 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 44 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 45 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 46 - 2021-12-21 14:13:10 [0.11ms] */
select * from `model` where `model`.`id` = 3 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 47 - 2021-12-21 14:13:10 [0.11ms] */
select * from `make` where `make`.`id` = 3 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 48 - 2021-12-21 14:13:10 [0.11ms] */
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/m/service/smarttag
   Query 49 - 2021-12-21 14:13:10 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 112 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 50 - 2021-12-21 14:13:10 [0.13ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 110 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 51 - 2021-12-21 14:13:10 [0.13ms] */
select * from `party` where `party`.`id` = 106 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 52 - 2021-12-21 14:13:10 [0.13ms] */
select * from `person` where `person`.`id` = 90 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 53 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 54 - 2021-12-21 14:13:10 [0.13ms] */
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/m/service/smarttag
   Query 55 - 2021-12-21 14:13:10 [0.11ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 56 - 2021-12-21 14:13:10 [0.11ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 57 - 2021-12-21 14:13:10 [0.11ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 58 - 2021-12-21 14:13:10 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 110 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 59 - 2021-12-21 14:13:10 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 108 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 60 - 2021-12-21 14:13:10 [0.13ms] */
select * from `party` where `party`.`id` = 104 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 61 - 2021-12-21 14:13:10 [0.13ms] */
select * from `person` where `person`.`id` = 88 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 62 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 63 - 2021-12-21 14:13:10 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 64 - 2021-12-21 14:13:10 [0.11ms] */
select * from `model` where `model`.`id` = 3 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 65 - 2021-12-21 14:13:10 [0.16ms] */
select * from `make` where `make`.`id` = 3 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 66 - 2021-12-21 14:13:10 [0.11ms] */
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/m/service/smarttag
   Query 67 - 2021-12-21 14:13:10 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 108 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 68 - 2021-12-21 14:13:10 [0.13ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 98 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 69 - 2021-12-21 14:13:10 [0.12ms] */
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/m/service/smarttag
   Query 70 - 2021-12-21 14:13:10 [0.13ms] */
select * from `person` where `person`.`id` = 86 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 71 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 72 - 2021-12-21 14:13:10 [0.11ms] */
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/m/service/smarttag
   Query 73 - 2021-12-21 14:13:10 [0.11ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 74 - 2021-12-21 14:13:10 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 75 - 2021-12-21 14:13:10 [0.11ms] */
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/m/service/smarttag
   Query 76 - 2021-12-21 14:13:10 [0.13ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 98 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 77 - 2021-12-21 14:13:10 [0.13ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 95 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 78 - 2021-12-21 14:13:10 [0.14ms] */
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/m/service/smarttag
   Query 79 - 2021-12-21 14:13:10 [0.13ms] */
select * from `person` where `person`.`id` = 83 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 80 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 81 - 2021-12-21 14:13:10 [0.13ms] */
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/m/service/smarttag
   Query 82 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 83 - 2021-12-21 14:13:10 [0.11ms] */
select * from `make` where `make`.`id` = 3 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 84 - 2021-12-21 14:13:10 [0.11ms] */
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/m/service/smarttag
   Query 85 - 2021-12-21 14:13:10 [0.12ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 95 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 86 - 2021-12-21 14:13:10 [0.12ms] */
select * from `term` where `term`.`id` = 88 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 87 - 2021-12-21 14:13:10 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 80 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 88 - 2021-12-21 14:13:10 [0.17ms] */
select * from `party` where `party`.`id` = 55 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 89 - 2021-12-21 14:13:10 [0.13ms] */
select * from `person` where `person`.`id` = 39 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 90 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 91 - 2021-12-21 14:13:10 [0.12ms] */
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/m/service/smarttag
   Query 92 - 2021-12-21 14:13:10 [0.11ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 93 - 2021-12-21 14:13:10 [0.11ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 94 - 2021-12-21 14:13:10 [0.11ms] */
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/m/service/smarttag
   Query 95 - 2021-12-21 14:13:10 [0.22ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 80 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/smarttag
   Query 96 - 2021-12-21 14:13:10 [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/m/service/smarttag
   Query 97 - 2021-12-21 14:13:10 [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/service.smart-tag-component
   Query 1 - 2021-12-21 14:13:15 [0.72ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 2 - 2021-12-21 14:13:15 [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/service.smart-tag-component
   Query 3 - 2021-12-21 14:13:15 [0.23ms] */
select * from `vehicle` where `id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 4 - 2021-12-21 14:13:15 [11.57ms] */
update `vehicle` set `updated_by` = 5, `smart_tag_status` = 'Y', `vehicle`.`updated_at` = '2021-12-21 14:13:15' where `id` = 116;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 5 - 2021-12-21 14:13:15 [0.31ms] */
select * from `vehicle` where `id` = 116 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 6 - 2021-12-21 14:13:15 [4.07ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 116, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2021-12-21 14:13:15', '2021-12-21 14:13:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 7 - 2021-12-21 14:13:15 [0.2ms] */
select * from `service` where `name` = 'SmartTag' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 8 - 2021-12-21 14:13:15 [0.34ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 116 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 9 - 2021-12-21 14:13:15 [0.32ms] */
select * from `party` where `party`.`id` = 112 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 10 - 2021-12-21 14:13:15 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 11 - 2021-12-21 14:13:15 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 6)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 12 - 2021-12-21 14:13:15 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 6 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 13 - 2021-12-21 14:13:15 [0.18ms] */
select * from `workflow_definition` where `workflow_id` = 6 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 14 - 2021-12-21 14:13:15 [0.32ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `service_workflow_id`, `current_workflow_state_id`, `deliver_district_id`, `district_id`, `status`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (112, 6, 116, 6, 24, 50, 50, 'INPROGRESS', 5, 5, '2021-12-21 14:13:15', '2021-12-21 14:13:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 15 - 2021-12-21 14:13:15 [0.26ms] */
select * from `transaction` where `id` = 282 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 16 - 2021-12-21 14:13:15 [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/service.smart-tag-component
   Query 17 - 2021-12-21 14:13:15 [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/service.smart-tag-component
   Query 18 - 2021-12-21 14:13:15 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"vehicle_id":116,"party_id":112,"party_vehicle_id":null,"service_id":6,"service_workflow_id":6,"current_workflow_state_id":24,"assigned_to":null,"status":"INPROGRESS","invoice_id":null,"district_id":50,"deliver_district_id":50}}', 5, 'App\Models\User', 282, 'Modules\Transaction\Entities\Transaction', 'created', '2021-12-21 14:13:15', '2021-12-21 14:13:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 19 - 2021-12-21 14:13:15 [0.23ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (282, 'INITIATED', '2021-12-21 14:13:15', 5, 5, 5, 5, '2021-12-21 14:13:15', '2021-12-21 14:13:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 20 - 2021-12-21 14:13:15 [0.27ms] */
(select * from `service_fee` where `sub_category_id` is null and `classification_id` is null and `service_id` = 6 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 6 and `sub_category_id` is null and `classification_id` is null and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 6 and `sub_category_id` is null and `classification_id` is null and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 21 - 2021-12-21 14:13:15 [0.29ms] */
select * from `party` where `party`.`id` = 112 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 22 - 2021-12-21 14:13:15 [0.26ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (282, '2021-12-21 14:13:15', '2022-01-21 14:13:15', 'OPEN', 112, 5, 5, '2021-12-21 14:13:15', '2021-12-21 14:13:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 23 - 2021-12-21 14:13:15 [0.26ms] */
select * from `invoice` where `id` = 224 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 24 - 2021-12-21 14:13:15 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":282,"party_id":112,"invoice_amount":"0.00","invoice_date":"2021-12-21 14:13:15","due_date":"2022-01-21 14:13:15","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null}}', 5, 'App\Models\User', 224, 'Modules\Transaction\Entities\Invoice', 'created', '2021-12-21 14:13:15', '2021-12-21 14:13:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 25 - 2021-12-21 14:13:15 [0.2ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('smarttag', 'smarttag', 1, 10.00, 10.00, 224, 5, 5, '2021-12-21 14:13:15', '2021-12-21 14:13:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 26 - 2021-12-21 14:13:15 [0.22ms] */
select * from `invoice_item` where `id` = 338 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 27 - 2021-12-21 14:13:15 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"smarttag","description":"smarttag","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":224}}', 5, 'App\Models\User', 338, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2021-12-21 14:13:15', '2021-12-21 14:13:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 28 - 2021-12-21 14:13:15 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 29 - 2021-12-21 14:13:15 [0.22ms] */
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` = 224 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 30 - 2021-12-21 14:13:15 [0.17ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 224 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 31 - 2021-12-21 14:13:15 [0.15ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `discounts` = 0, `total_invoice_amount` = 10, `invoice`.`updated_at` = '2021-12-21 14:13:15' where `id` = 224;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 32 - 2021-12-21 14:13:15 [0.15ms] */
select * from `invoice` where `id` = 224 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 33 - 2021-12-21 14:13: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":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 224, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-21 14:13:15', '2021-12-21 14:13:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 34 - 2021-12-21 14:13:15 [0.13ms] */
update `invoice` set `invoice_number` = 'INV-547-224384', `invoice`.`updated_at` = '2021-12-21 14:13:15' where `id` = 224;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 35 - 2021-12-21 14:13:15 [0.3ms] */
select * from `invoice` where `id` = 224 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 36 - 2021-12-21 14:13:15 [0.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00","invoice_number":"INV-547-224384"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null}}', 5, 'App\Models\User', 224, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-21 14:13:15', '2021-12-21 14:13:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 37 - 2021-12-21 14:13:15 [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/service.smart-tag-component
   Query 38 - 2021-12-21 14:13:15 [0.27ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 39 - 2021-12-21 14:13:15 [0.27ms] */
update `transaction` set `party_vehicle_id` = 120, `invoice_id` = 224, `transaction`.`updated_at` = '2021-12-21 14:13:15' where `id` = 282;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 40 - 2021-12-21 14:13:15 [0.3ms] */
select * from `transaction` where `id` = 282 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 41 - 2021-12-21 14:13:15 [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/service.smart-tag-component
   Query 42 - 2021-12-21 14:13:15 [0.26ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 43 - 2021-12-21 14:13:15 [0.28ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"party_vehicle_id":120,"invoice_id":224},"old":{"party_vehicle_id":null,"invoice_id":null}}', 5, 'App\Models\User', 282, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-21 14:13:15', '2021-12-21 14:13:15');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 44 - 2021-12-21 14:13:15 [0.37ms] */
select * from `transaction` where `vehicle_id` = 116 and `transaction`.`deleted_at` is null and `district_id` = 50 order by `updated_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 45 - 2021-12-21 14:13:15 [0.3ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (120) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 46 - 2021-12-21 14:13:15 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` in (3) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 47 - 2021-12-21 14:13:15 [0.26ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 48 - 2021-12-21 14:13:15 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/service.smart-tag-component
   Query 49 - 2021-12-21 14:13:15 [0.31ms] */
select * from `invoice` where `invoice`.`id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/w/wkflw/282
   Query 1 - 2021-12-21 14:13:16 [1.15ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/w/wkflw/282
   Query 2 - 2021-12-21 14:13:16 [0.63ms] */
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/282
   Query 1 - 2021-12-21 14:13:16 [0.64ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 2 - 2021-12-21 14:13:16 [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/w/wkflw/282
   Query 3 - 2021-12-21 14:13:16 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 4 - 2021-12-21 14:13:16 [0.42ms] */
select * from `transaction_workflow` where `transaction_id` = 282 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 5 - 2021-12-21 14:13:16 [0.21ms] */
select * from `invoice` where `transaction_id` = 282 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 6 - 2021-12-21 14:13:16 [0.2ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 282 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 7 - 2021-12-21 14:13:16 [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/282
   Query 8 - 2021-12-21 14:13:16 [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/282
   Query 9 - 2021-12-21 14:13:16 [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/282
   Query 10 - 2021-12-21 14:13:16 [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/282
   Query 11 - 2021-12-21 14:13:16 [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/282
   Query 12 - 2021-12-21 14:13:16 [0.23ms] */
select * from `transaction` where `id` = 282 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 13 - 2021-12-21 14:13:16 [0.19ms] */
select * from `vehicle` where `id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 14 - 2021-12-21 14:13:16 [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/282
   Query 15 - 2021-12-21 14:13:16 [0.14ms] */
select * from `smart_tag` where `assigned` = 'N' and `smart_tag`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 16 - 2021-12-21 14:13:16 [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/282
   Query 17 - 2021-12-21 14:13:16 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 18 - 2021-12-21 14:13:16 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 19 - 2021-12-21 14:13:16 [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/282
   Query 20 - 2021-12-21 14:13:16 [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/282
   Query 21 - 2021-12-21 14:13:16 [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/282
   Query 22 - 2021-12-21 14:13:16 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 23 - 2021-12-21 14:13:16 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 24 - 2021-12-21 14:13:16 [0.13ms] */
select * from `party` where `party`.`id` = 112 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 25 - 2021-12-21 14:13:16 [0.18ms] */
select * from `party` where `party`.`id` = 112 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 26 - 2021-12-21 14:13:16 [0.13ms] */
select * from `person` where `person`.`id` = 96 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 27 - 2021-12-21 14:13:16 [0.25ms] */
select * from `party` where `party`.`partyable_id` = 96 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/282
   Query 28 - 2021-12-21 14:13:16 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 282 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 29 - 2021-12-21 14:13:16 [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/282
   Query 30 - 2021-12-21 14:13:16 [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/282
   Query 31 - 2021-12-21 14:13:16 [0.12ms] */
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/282
   Query 32 - 2021-12-21 14:13:16 [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/282
   Query 33 - 2021-12-21 14:13:16 [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/282
   Query 34 - 2021-12-21 14:13:16 [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/282
   Query 35 - 2021-12-21 14:13:16 [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/282
   Query 36 - 2021-12-21 14:13:16 [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/282
   Query 37 - 2021-12-21 14:13:16 [0.12ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 38 - 2021-12-21 14:13:16 [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/282
   Query 39 - 2021-12-21 14:13:16 [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.view-workflow-transaction-component
   Query 1 - 2021-12-21 14:13:19 [0.66ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2021-12-21 14:13:19 [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 - 2021-12-21 14:13:19 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 282 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 - 2021-12-21 14:13:19 [0.17ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2021-12-21 14:13: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/workflow.view-workflow-transaction-component
   Query 6 - 2021-12-21 14:13:19 [0.15ms] */
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 7 - 2021-12-21 14:13:19 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (282, 'CLAIMED', '2021-12-21 14:13:19', 5, 5, 5, 5, '2021-12-21 14:13:19', '2021-12-21 14:13:19');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2021-12-21 14:13:19 [0.21ms] */
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 - 2021-12-21 14:13:19 [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 10 - 2021-12-21 14:13:19 [0.2ms] */
update `transaction` set `assigned_to` = 5, `transaction`.`updated_at` = '2021-12-21 14:13:19' where `id` = 282;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2021-12-21 14:13:19 [0.16ms] */
select * from `transaction` where `id` = 282 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2021-12-21 14:13:19 [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.view-workflow-transaction-component
   Query 13 - 2021-12-21 14:13:19 [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 14 - 2021-12-21 14:13:19 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"assigned_to":5},"old":{"assigned_to":null}}', 5, 'App\Models\User', 282, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-21 14:13:19', '2021-12-21 14:13:19');
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/w/wkflw/282
   Query 1 - 2021-12-21 14:13:19 [0.63ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/w/wkflw/282
   Query 2 - 2021-12-21 14:13:19 [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/282
   Query 1 - 2021-12-21 14:13:19 [0.65ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 2 - 2021-12-21 14:13:19 [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/282
   Query 3 - 2021-12-21 14:13:19 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 4 - 2021-12-21 14:13:19 [0.27ms] */
select * from `transaction_workflow` where `transaction_id` = 282 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 5 - 2021-12-21 14:13:19 [0.13ms] */
select * from `invoice` where `transaction_id` = 282 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 6 - 2021-12-21 14:13:19 [0.13ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 282 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 7 - 2021-12-21 14:13:19 [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/282
   Query 8 - 2021-12-21 14:13:19 [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/282
   Query 9 - 2021-12-21 14:13:19 [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/282
   Query 10 - 2021-12-21 14:13:19 [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/282
   Query 11 - 2021-12-21 14:13:19 [0.28ms] */
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/282
   Query 12 - 2021-12-21 14:13:20 [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/282
   Query 13 - 2021-12-21 14:13:20 [0.32ms] */
select * from `transaction` where `id` = 282 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 14 - 2021-12-21 14:13:20 [0.17ms] */
select * from `vehicle` where `id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 15 - 2021-12-21 14:13:20 [0.15ms] */
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/282
   Query 16 - 2021-12-21 14:13:20 [0.19ms] */
select * from `smart_tag` where `assigned` = 'N' and `smart_tag`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 17 - 2021-12-21 14:13:20 [0.16ms] */
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/282
   Query 18 - 2021-12-21 14:13:20 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 19 - 2021-12-21 14:13:20 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 20 - 2021-12-21 14:13:20 [0.14ms] */
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/282
   Query 21 - 2021-12-21 14:13:20 [0.14ms] */
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/282
   Query 22 - 2021-12-21 14:13:20 [0.14ms] */
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/282
   Query 23 - 2021-12-21 14:13:20 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 24 - 2021-12-21 14:13:20 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 25 - 2021-12-21 14:13:20 [0.15ms] */
select * from `party` where `party`.`id` = 112 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 26 - 2021-12-21 14:13:20 [0.14ms] */
select * from `party` where `party`.`id` = 112 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 27 - 2021-12-21 14:13:20 [0.17ms] */
select * from `person` where `person`.`id` = 96 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 28 - 2021-12-21 14:13:20 [0.17ms] */
select * from `party` where `party`.`partyable_id` = 96 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/282
   Query 29 - 2021-12-21 14:13:20 [0.28ms] */
select * from `transaction_workflow` where `transaction_id` = 282 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 30 - 2021-12-21 14:13:20 [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/282
   Query 31 - 2021-12-21 14:13:20 [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/282
   Query 32 - 2021-12-21 14:13:20 [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/282
   Query 33 - 2021-12-21 14:13:20 [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/282
   Query 34 - 2021-12-21 14:13:20 [0.12ms] */
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/282
   Query 35 - 2021-12-21 14:13:20 [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/282
   Query 36 - 2021-12-21 14:13:20 [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/282
   Query 37 - 2021-12-21 14:13:20 [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/282
   Query 38 - 2021-12-21 14:13:20 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 39 - 2021-12-21 14:13:20 [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/282
   Query 40 - 2021-12-21 14:13:20 [0.12ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 41 - 2021-12-21 14:13:20 [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/282
   Query 42 - 2021-12-21 14:13:20 [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.view-workflow-transaction-component
   Query 1 - 2021-12-21 14:13:22 [1.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2021-12-21 14:13:22 [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 - 2021-12-21 14:13:22 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 282 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 - 2021-12-21 14:13:22 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 282 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 - 2021-12-21 14:13:22 [0.13ms] */
select * from `invoice` where `transaction_id` = 282 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2021-12-21 14:13:22 [0.12ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 282 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 - 2021-12-21 14:13:22 [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 - 2021-12-21 14:13:22 [0.28ms] */
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 - 2021-12-21 14:13:22 [0.3ms] */
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.view-workflow-transaction-component
   Query 10 - 2021-12-21 14:13:22 [0.25ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2021-12-21 14:13:22 [0.6ms] */
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 - 2021-12-21 14:13:22 [0.21ms] */
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 13 - 2021-12-21 14:13:22 [0.23ms] */
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 - 2021-12-21 14:13:23 [0.59ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2021-12-21 14:13:23 [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 - 2021-12-21 14:13:23 [0.4ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 5 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` = 5 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 - 2021-12-21 14:13:23 [0.16ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 5 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` = 5 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 - 2021-12-21 14:13:25 [0.67ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2021-12-21 14:13:25 [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 - 2021-12-21 14:13:25 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 5 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` = 5 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 - 2021-12-21 14:13:25 [0.61ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2021-12-21 14:13:25 [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 - 2021-12-21 14:13:25 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` = 6 and `role_id` = 5 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` = 5 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 - 2021-12-21 14:13:26 [0.63ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2021-12-21 14:13:26 [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/workflow.view-workflow-transaction-component
   Query 3 - 2021-12-21 14:13:26 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 282 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 - 2021-12-21 14:13:26 [0.15ms] */
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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2021-12-21 14:13:26 [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 - 2021-12-21 14:13:26 [0.14ms] */
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 7 - 2021-12-21 14:13:26 [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 (282, 'APPROVED', '2021-12-21 14:13:26', 5, 5, null, 5, 5, '2021-12-21 14:13:26', '2021-12-21 14:13:26');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2021-12-21 14:13:26 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2021-12-21 14:13:26 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 6 and `step_number` = 3 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 - 2021-12-21 14:13:26 [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 11 - 2021-12-21 14:13:26 [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/workflow.view-workflow-transaction-component
   Query 12 - 2021-12-21 14:13:26 [0.22ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 25, `transaction`.`updated_at` = '2021-12-21 14:13:26' where `id` = 282;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2021-12-21 14:13:26 [0.16ms] */
select * from `transaction` where `id` = 282 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2021-12-21 14:13:26 [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.view-workflow-transaction-component
   Query 15 - 2021-12-21 14:13:26 [0.32ms] */
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 16 - 2021-12-21 14:13:26 [0.35ms] */
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":25,"assigned_to":null},"old":{"current_workflow_state_id":24,"assigned_to":5}}', 5, 'App\Models\User', 282, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-21 14:13:26', '2021-12-21 14:13:26');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2021-12-21 14:13:26 [0.26ms] */
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 18 - 2021-12-21 14:13:26 [0.34ms] */
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 19 - 2021-12-21 14:13:26 [0.44ms] */
select * from `invoice` where `invoice`.`id` = 224 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 20 - 2021-12-21 14:13:26 [0.45ms] */
select * from `transaction` where `transaction`.`id` = 282 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 21 - 2021-12-21 14:13:26 [0.5ms] */
select * from `transaction_workflow` where `transaction_id` = 282 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 22 - 2021-12-21 14:13:26 [0.18ms] */
select * from `invoice` where `transaction_id` = 282 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2021-12-21 14:13:26 [0.46ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 282 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 24 - 2021-12-21 14:13:26 [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 25 - 2021-12-21 14:13:26 [0.17ms] */
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 26 - 2021-12-21 14:13:26 [0.41ms] */
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 27 - 2021-12-21 14:13:26 [0.16ms] */
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 28 - 2021-12-21 14:13:26 [0.2ms] */
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 - 2021-12-21 14:13:33 [1.07ms] */
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 - 2021-12-21 14:13:33 [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/exit-impersonate
   Query 3 - 2021-12-21 14:13:33 [0.21ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 1 - 2021-12-21 14:13:33 [0.61ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2021-12-21 14:13:33 [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 - 2021-12-21 14:13:33 [0.12ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2021-12-21 14:13:33 [0.11ms] */
select count(*) as aggregate from `party` where `created_at` > '2021-12-21' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2021-12-21 14:13:33 [0.24ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2021-12-21 14:13:33 [0.2ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2021-12-21' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2021-12-21 14:13:33 [0.59ms] */
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` > '2021-12-20' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2021-12-21 14:13:33 [0.39ms] */
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` > '2021-12-20' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2021-12-21 14:13:33 [0.38ms] */
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` < '2021-12-21' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2021-12-21 14:13:33 [0.3ms] */
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` < '2021-12-21' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2021-12-21 14:13:33 [0.78ms] */
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 - 2021-12-21 14:13:52 [1.05ms] */
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 - 2021-12-21 14:13:52 [0.63ms] */
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 - 2021-12-21 14:13:52 [0.25ms] */
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 - 2021-12-21 14:13:52 [0.95ms] */
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 - 2021-12-21 14:13:52 [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/w/wkflw
   Query 3 - 2021-12-21 14:13:52 [0.25ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2021-12-21 14:13:52 [0.3ms] */
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 - 2021-12-21 14:13:52 [0.37ms] */
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 - 2021-12-21 14:13:52 [0.12ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 7 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 116 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 - 2021-12-21 14:13:52 [0.12ms] */
select * from `party` where `party`.`id` = 112 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 - 2021-12-21 14:13:52 [0.15ms] */
select * from `person` where `person`.`id` = 96 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 13 - 2021-12-21 14:13:52 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 120 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 14 - 2021-12-21 14:13:52 [0.12ms] */
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 15 - 2021-12-21 14:13:52 [0.12ms] */
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 16 - 2021-12-21 14:13:52 [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 17 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [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 19 - 2021-12-21 14:13:52 [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 20 - 2021-12-21 14:13:52 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 21 - 2021-12-21 14:13:52 [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 22 - 2021-12-21 14:13:52 [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 23 - 2021-12-21 14:13:52 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 130 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 - 2021-12-21 14:13:52 [0.12ms] */
select * from `party` where `party`.`id` = 125 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 - 2021-12-21 14:13:52 [0.12ms] */
select * from `person` where `person`.`id` = 109 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 26 - 2021-12-21 14:13:52 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 137 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 27 - 2021-12-21 14:13:52 [0.12ms] */
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 28 - 2021-12-21 14:13:52 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 29 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [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 31 - 2021-12-21 14:13:52 [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 32 - 2021-12-21 14:13:52 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 33 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [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 35 - 2021-12-21 14:13:52 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 4 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 - 2021-12-21 14:13:52 [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 37 - 2021-12-21 14:13:52 [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
   Query 38 - 2021-12-21 14:13:52 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 134 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 39 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [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 41 - 2021-12-21 14:13:52 [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 42 - 2021-12-21 14:13:52 [0.13ms] */
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 - 2021-12-21 14:13:52 [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 44 - 2021-12-21 14:13:52 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 45 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 4 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 - 2021-12-21 14:13:52 [0.11ms] */
select * from `party` where `party`.`id` = 110 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 49 - 2021-12-21 14:13:52 [0.12ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 50 - 2021-12-21 14:13:52 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 134 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 51 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [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 53 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [0.15ms] */
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 - 2021-12-21 14:13:52 [0.13ms] */
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 - 2021-12-21 14:13:52 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 57 - 2021-12-21 14:13:52 [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 58 - 2021-12-21 14:13:52 [0.14ms] */
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 - 2021-12-21 14:13:52 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 4 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 - 2021-12-21 14:13:52 [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 61 - 2021-12-21 14:13:52 [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
   Query 62 - 2021-12-21 14:13:52 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 134 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 63 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 65 - 2021-12-21 14:13:52 [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 - 2021-12-21 14:13:52 [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
   Query 67 - 2021-12-21 14:13:52 [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 68 - 2021-12-21 14:13:52 [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 69 - 2021-12-21 14:13:52 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 70 - 2021-12-21 14:13:52 [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 71 - 2021-12-21 14:13:52 [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 72 - 2021-12-21 14:13:52 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 4 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 73 - 2021-12-21 14:13:52 [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 74 - 2021-12-21 14:13:52 [0.12ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 75 - 2021-12-21 14:13:52 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 134 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 76 - 2021-12-21 14:13:52 [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 77 - 2021-12-21 14:13:52 [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 78 - 2021-12-21 14:13:52 [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 79 - 2021-12-21 14:13:52 [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
   Query 80 - 2021-12-21 14:13:52 [0.14ms] */
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 81 - 2021-12-21 14:13:52 [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 82 - 2021-12-21 14:13:52 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 83 - 2021-12-21 14:13:52 [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 84 - 2021-12-21 14:13:52 [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 85 - 2021-12-21 14:13:52 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 4 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 86 - 2021-12-21 14:13:52 [0.11ms] */
select * from `party` where `party`.`id` = 110 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 87 - 2021-12-21 14:13:52 [0.12ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 88 - 2021-12-21 14:13:52 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 134 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 89 - 2021-12-21 14:13:52 [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 90 - 2021-12-21 14:13:52 [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 91 - 2021-12-21 14:13:52 [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 92 - 2021-12-21 14:13:52 [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 93 - 2021-12-21 14:13:52 [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 94 - 2021-12-21 14:13:52 [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 95 - 2021-12-21 14:13:52 [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 96 - 2021-12-21 14:13:52 [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 97 - 2021-12-21 14:13:52 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 4 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 98 - 2021-12-21 14:13:52 [0.11ms] */
select * from `party` where `party`.`id` = 110 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 99 - 2021-12-21 14:13:52 [0.12ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 100 - 2021-12-21 14:13:52 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 134 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 101 - 2021-12-21 14:13:52 [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 102 - 2021-12-21 14:13:52 [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 103 - 2021-12-21 14:13:52 [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 104 - 2021-12-21 14:13:53 [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 105 - 2021-12-21 14:13:53 [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 106 - 2021-12-21 14:13:53 [0.12ms] */
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 107 - 2021-12-21 14:13:53 [0.12ms] */
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 108 - 2021-12-21 14:13:53 [0.11ms] */
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 109 - 2021-12-21 14:13:53 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 79 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 110 - 2021-12-21 14:13:53 [0.12ms] */
select * from `party` where `party`.`id` = 96 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 111 - 2021-12-21 14:13:53 [0.12ms] */
select * from `person` where `person`.`id` = 80 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 112 - 2021-12-21 14:13:53 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 95 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 113 - 2021-12-21 14:13:53 [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 114 - 2021-12-21 14:13:53 [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 115 - 2021-12-21 14:13:53 [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 116 - 2021-12-21 14:13:53 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 20 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 117 - 2021-12-21 14:13:53 [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 118 - 2021-12-21 14:13:53 [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 119 - 2021-12-21 14:13:53 [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 120 - 2021-12-21 14:13:53 [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 121 - 2021-12-21 14:13:53 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 108 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 122 - 2021-12-21 14:13:53 [0.11ms] */
select * from `party` where `party`.`id` = 86 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 123 - 2021-12-21 14:13:53 [0.12ms] */
select * from `person` where `person`.`id` = 70 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 124 - 2021-12-21 14:13:53 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 105 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 125 - 2021-12-21 14:13:53 [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 126 - 2021-12-21 14:13:53 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 10 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 127 - 2021-12-21 14:13:53 [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 128 - 2021-12-21 14:13:53 [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
   Query 129 - 2021-12-21 14:13:53 [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 130 - 2021-12-21 14:13:53 [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 131 - 2021-12-21 14:13:53 [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 132 - 2021-12-21 14:13:53 [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 - 2021-12-21 14:13:56 [0.66ms] */
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 - 2021-12-21 14:13: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.list-workflow-queue-component
   Query 3 - 2021-12-21 14:13:56 [0.14ms] */
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 - 2021-12-21 14:13:56 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 5 - 2021-12-21 14:13:56 [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 - 2021-12-21 14:13:56 [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.list-workflow-queue-component
   Query 7 - 2021-12-21 14:13:56 [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.list-workflow-queue-component
   Query 8 - 2021-12-21 14:13:56 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (282, 'CLAIMED', '2021-12-21 14:13:56', 7, 7, 7, 7, '2021-12-21 14:13:56', '2021-12-21 14:13:56');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2021-12-21 14:13:56 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2021-12-21 14:13:56 [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 - 2021-12-21 14:13:56 [0.26ms] */
update `transaction` set `assigned_to` = 7, `updated_by` = 7, `transaction`.`updated_at` = '2021-12-21 14:13:56' where `id` = 282;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 12 - 2021-12-21 14:13:56 [0.16ms] */
select * from `transaction` where `id` = 282 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 13 - 2021-12-21 14:13:56 [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 - 2021-12-21 14:13:56 [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 15 - 2021-12-21 14:13:56 [0.15ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"assigned_to":7},"old":{"assigned_to":null}}', 7, 'App\Models\User', 282, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-21 14:13:56', '2021-12-21 14:13:56');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 16 - 2021-12-21 14:13:56 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 17 - 2021-12-21 14:13:56 [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.list-workflow-queue-component
   Query 18 - 2021-12-21 14:13:56 [0.17ms] */
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/282
   Query 1 - 2021-12-21 14:13:56 [0.93ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/w/wkflw/282
   Query 2 - 2021-12-21 14:13:56 [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/282
   Query 1 - 2021-12-21 14:13:56 [0.98ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 2 - 2021-12-21 14:13:56 [0.69ms] */
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/282
   Query 3 - 2021-12-21 14:13:56 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 4 - 2021-12-21 14:13:56 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 282 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 5 - 2021-12-21 14:13:56 [0.13ms] */
select * from `invoice` where `transaction_id` = 282 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 6 - 2021-12-21 14:13:56 [0.13ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 282 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 7 - 2021-12-21 14:13: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): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 8 - 2021-12-21 14:13:56 [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/282
   Query 9 - 2021-12-21 14:13:56 [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/282
   Query 10 - 2021-12-21 14:13:56 [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/282
   Query 11 - 2021-12-21 14:13:56 [0.34ms] */
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/282
   Query 12 - 2021-12-21 14:13:56 [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/282
   Query 13 - 2021-12-21 14:13:56 [0.24ms] */
select * from `transaction` where `id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 14 - 2021-12-21 14:13:56 [0.14ms] */
select * from `vehicle` where `id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 15 - 2021-12-21 14:13:56 [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/282
   Query 16 - 2021-12-21 14:13:56 [0.14ms] */
select * from `smart_tag` where `assigned` = 'N' and `smart_tag`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 17 - 2021-12-21 14:13:56 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 18 - 2021-12-21 14:13:56 [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/282
   Query 19 - 2021-12-21 14:13:56 [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/282
   Query 20 - 2021-12-21 14:13:56 [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/282
   Query 21 - 2021-12-21 14:13:56 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 22 - 2021-12-21 14:13:56 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 116 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 23 - 2021-12-21 14:13:56 [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/282
   Query 24 - 2021-12-21 14:13:56 [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/282
   Query 25 - 2021-12-21 14:13:56 [0.13ms] */
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/282
   Query 26 - 2021-12-21 14:13:56 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 27 - 2021-12-21 14:13:56 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 28 - 2021-12-21 14:13:56 [0.13ms] */
select * from `party` where `party`.`id` = 112 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 29 - 2021-12-21 14:13:56 [0.13ms] */
select * from `party` where `party`.`id` = 112 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 30 - 2021-12-21 14:13:56 [0.14ms] */
select * from `person` where `person`.`id` = 96 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 31 - 2021-12-21 14:13:56 [0.15ms] */
select * from `party` where `party`.`partyable_id` = 96 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/282
   Query 32 - 2021-12-21 14:13:56 [0.33ms] */
select * from `transaction_workflow` where `transaction_id` = 282 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 33 - 2021-12-21 14:13:56 [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/282
   Query 34 - 2021-12-21 14:13:56 [0.13ms] */
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/282
   Query 35 - 2021-12-21 14:13:56 [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/282
   Query 36 - 2021-12-21 14:13:56 [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/282
   Query 37 - 2021-12-21 14:13:56 [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/282
   Query 38 - 2021-12-21 14:13:56 [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/282
   Query 39 - 2021-12-21 14:13:56 [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/282
   Query 40 - 2021-12-21 14:13:56 [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/282
   Query 41 - 2021-12-21 14:13:56 [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/282
   Query 42 - 2021-12-21 14:13:56 [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/282
   Query 43 - 2021-12-21 14:13:56 [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/282
   Query 44 - 2021-12-21 14:13:56 [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/282
   Query 45 - 2021-12-21 14:13:56 [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/282
   Query 46 - 2021-12-21 14:13:56 [0.19ms] */
(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/282
   Query 47 - 2021-12-21 14:13:56 [0.13ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/282
   Query 48 - 2021-12-21 14:13:56 [0.15ms] */
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/282
   Query 49 - 2021-12-21 14:13:56 [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.view-workflow-transaction-component
   Query 1 - 2021-12-21 14:14:06 [1.06ms] */
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 - 2021-12-21 14:14:06 [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/workflow.view-workflow-transaction-component
   Query 3 - 2021-12-21 14:14:06 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2021-12-21 14:14:06 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 282 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 - 2021-12-21 14:14:06 [0.13ms] */
select * from `invoice` where `transaction_id` = 282 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2021-12-21 14:14:06 [0.13ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 282 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 - 2021-12-21 14:14: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/workflow.view-workflow-transaction-component
   Query 8 - 2021-12-21 14:14:06 [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 - 2021-12-21 14:14:06 [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 - 2021-12-21 14:14:06 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2021-12-21 14:14:06 [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 - 2021-12-21 14:14:06 [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 - 2021-12-21 14:14:06 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2021-12-21 14:14:06 [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 - 2021-12-21 14:14:06 [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 - 2021-12-21 14:14:06 [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 - 2021-12-21 14:14:06 [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 - 2021-12-21 14:14:06 [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 - 2021-12-21 14:14:06 [0.26ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-21 14:14:06 [0.18ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-21 14:14:06 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 8 - 2021-12-21 14:14:06 [0.19ms] */
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 - 2021-12-21 14:14:06 [0.13ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-21 14:14:06 [0.18ms] */
select * from `address` where `address`.`id` in (66) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-21 14:14:06 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2021-12-21 14:14:06 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14:06 [0.21ms] */
select * from `party_vehicle` where `transaction_id` = 282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2021-12-21 14:14:06 [0.37ms] */
select * from `vehicle_tax` where `transaction_id` = 282 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-21 14:14:06 [0.21ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:06 [0.19ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:06 [0.16ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2021-12-21 14:14:06 [0.12ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2021-12-21 14:14:06 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-21 14:14:06 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2021-12-21 14:14: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 25 - 2021-12-21 14:14: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 26 - 2021-12-21 14:14: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 27 - 2021-12-21 14:14:06 [0.11ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2021-12-21 14:14:06 [0.11ms] */
select * from `address` where `address`.`id` in (66) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2021-12-21 14:14:06 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2021-12-21 14:14:06 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2021-12-21 14:14: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 32 - 2021-12-21 14:14: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 33 - 2021-12-21 14:14: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 34 - 2021-12-21 14:14:06 [0.11ms] */
select * from `party_vehicle` where `transaction_id` = 282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2021-12-21 14:14:06 [0.11ms] */
select * from `vehicle_tax` where `transaction_id` = 282 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 36 - 2021-12-21 14:14:06 [0.11ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:06 [0.11ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:06 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 39 - 2021-12-21 14:14:06 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/exit-impersonate
   Query 1 - 2021-12-21 14:14:07 [0.59ms] */
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 - 2021-12-21 14:14:07 [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 - 2021-12-21 14:14:07 [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 - 2021-12-21 14:14:07 [1.06ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2021-12-21 14:14:07 [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
   Query 3 - 2021-12-21 14:14:07 [0.21ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2021-12-21 14:14:07 [0.2ms] */
select count(*) as aggregate from `party` where `created_at` > '2021-12-21' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2021-12-21 14:14:07 [0.19ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2021-12-21 14:14:07 [0.2ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2021-12-21' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2021-12-21 14:14:07 [0.62ms] */
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` > '2021-12-20' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2021-12-21 14:14:07 [0.4ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `payment_date` > '2021-12-20' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2021-12-21 14:14:07 [0.36ms] */
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` < '2021-12-21' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2021-12-21 14:14:07 [0.32ms] */
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` < '2021-12-21' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2021-12-21 14:14:07 [0.68ms] */
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/livewire/message/transaction.payment.payment-component
   Query 1 - 2021-12-21 14:14:08 [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 - 2021-12-21 14:14:08 [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 - 2021-12-21 14:14:08 [0.15ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-21 14:14:08 [0.13ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-21 14:14:08 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14:08 [0.14ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-21 14:14:08 [0.12ms] */
select * from `address` where `address`.`id` in (66) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-21 14:14:08 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2021-12-21 14:14:08 [0.13ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14:08 [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 - 2021-12-21 14:14:08 [0.13ms] */
select * from `party_vehicle` where `transaction_id` = 282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2021-12-21 14:14:08 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 282 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-21 14:14:08 [0.12ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:08 [0.12ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:08 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2021-12-21 14:14: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 - 2021-12-21 14:14:10 [1.09ms] */
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 - 2021-12-21 14:14:10 [0.59ms] */
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 - 2021-12-21 14:14:10 [0.23ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-21 14:14:10 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-21 14:14:10 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14:10 [0.14ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-21 14:14:10 [0.12ms] */
select * from `address` where `address`.`id` in (66) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-21 14:14:10 [0.13ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2021-12-21 14:14:10 [0.13ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2021-12-21 14:14: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 14 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14:10 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2021-12-21 14:14:10 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 282 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-21 14:14:10 [0.13ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:10 [0.11ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:10 [0.11ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2021-12-21 14:14: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 - 2021-12-21 14:14:10 [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/transaction.payment.payment-component
   Query 2 - 2021-12-21 14:14:10 [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 - 2021-12-21 14:14:10 [0.15ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-21 14:14:10 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-21 14:14:10 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14:10 [0.12ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-21 14:14:10 [0.12ms] */
select * from `address` where `address`.`id` in (66) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-21 14:14:10 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2021-12-21 14:14:10 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2021-12-21 14:14:10 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14:10 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2021-12-21 14:14:10 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 282 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-21 14:14:10 [0.12ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:10 [0.11ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:10 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2021-12-21 14:14: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 - 2021-12-21 14:14:11 [0.58ms] */
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 - 2021-12-21 14:14:11 [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/transaction.payment.payment-component
   Query 3 - 2021-12-21 14:14:11 [0.14ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-21 14:14:11 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-21 14:14:11 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-21 14:14: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 - 2021-12-21 14:14:11 [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 8 - 2021-12-21 14:14: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 - 2021-12-21 14:14:11 [0.12ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-21 14:14:11 [0.12ms] */
select * from `address` where `address`.`id` in (66) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-21 14:14:11 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2021-12-21 14:14:11 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14: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 - 2021-12-21 14:14:11 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2021-12-21 14:14:11 [0.11ms] */
select * from `vehicle_tax` where `transaction_id` = 282 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-21 14:14:11 [0.12ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:11 [0.11ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:11 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2021-12-21 14:14: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 - 2021-12-21 14:14:13 [1ms] */
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 - 2021-12-21 14:14:13 [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 - 2021-12-21 14:14:13 [0.14ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-21 14:14:13 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-21 14:14:13 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-21 14:14:13 [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 - 2021-12-21 14:14:13 [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 - 2021-12-21 14:14:13 [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 - 2021-12-21 14:14:13 [0.12ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-21 14:14:13 [0.12ms] */
select * from `address` where `address`.`id` in (66) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-21 14:14:13 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2021-12-21 14:14:13 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2021-12-21 14:14:13 [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 - 2021-12-21 14:14:13 [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 - 2021-12-21 14:14:13 [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 - 2021-12-21 14:14:13 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2021-12-21 14:14:13 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 282 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-21 14:14:13 [0.12ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:13 [0.11ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:13 [0.11ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2021-12-21 14:14:13 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/impersonate/8
   Query 1 - 2021-12-21 14:14:14 [0.65ms] */
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 - 2021-12-21 14:14:14 [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 - 2021-12-21 14:14:14 [0.2ms] */
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 - 2021-12-21 14:14:14 [0.94ms] */
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 - 2021-12-21 14:14:14 [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
   Query 3 - 2021-12-21 14:14:14 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2021-12-21 14:14:14 [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 (8) and `transaction`.`deleted_at` is null and `district_id` = 50;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 5 - 2021-12-21 14:14:14 [0.32ms] */
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 - 2021-12-21 14:14:14 [0.12ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 7 - 2021-12-21 14:14:14 [0.12ms] */
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 8 - 2021-12-21 14:14:14 [0.12ms] */
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 9 - 2021-12-21 14:14:14 [0.11ms] */
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 10 - 2021-12-21 14:14:14 [0.2ms] */
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 11 - 2021-12-21 14:14:14 [0.24ms] */
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 12 - 2021-12-21 14:14:14 [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 13 - 2021-12-21 14:14:14 [0.24ms] */
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 14 - 2021-12-21 14:14:14 [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 15 - 2021-12-21 14:14:14 [0.23ms] */
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 - 2021-12-21 14:14:14 [0.26ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 21 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 - 2021-12-21 14:14:14 [0.6ms] */
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 - 2021-12-21 14:14:14 [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 19 - 2021-12-21 14:14:14 [0.26ms] */
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 20 - 2021-12-21 14:14:14 [0.25ms] */
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 21 - 2021-12-21 14:14:14 [0.25ms] */
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 22 - 2021-12-21 14:14:14 [0.29ms] */
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 23 - 2021-12-21 14:14:14 [0.26ms] */
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 24 - 2021-12-21 14:14:14 [0.28ms] */
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 25 - 2021-12-21 14:14:14 [0.12ms] */
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 26 - 2021-12-21 14:14:14 [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 27 - 2021-12-21 14:14:14 [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 - 2021-12-21 14:14:14 [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 29 - 2021-12-21 14:14:14 [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 30 - 2021-12-21 14:14:14 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 31 - 2021-12-21 14:14:14 [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 32 - 2021-12-21 14:14:14 [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 33 - 2021-12-21 14:14:14 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 76 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 - 2021-12-21 14:14:14 [0.27ms] */
select * from `party` where `party`.`id` = 93 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 - 2021-12-21 14:14:14 [0.3ms] */
select * from `person` where `person`.`id` = 77 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 36 - 2021-12-21 14:14:14 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 91 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 37 - 2021-12-21 14:14:14 [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 - 2021-12-21 14:14:14 [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 39 - 2021-12-21 14:14:14 [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 40 - 2021-12-21 14:14:14 [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 41 - 2021-12-21 14:14:14 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 42 - 2021-12-21 14:14:14 [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 43 - 2021-12-21 14:14:14 [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 44 - 2021-12-21 14:14:14 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 72 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 - 2021-12-21 14:14:14 [0.28ms] */
select * from `party` where `party`.`id` = 88 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 - 2021-12-21 14:14:14 [0.12ms] */
select * from `person` where `person`.`id` = 72 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 47 - 2021-12-21 14:14:14 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 83 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 48 - 2021-12-21 14:14:14 [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 49 - 2021-12-21 14:14:14 [0.11ms] */
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 50 - 2021-12-21 14:14:14 [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 51 - 2021-12-21 14:14:14 [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 52 - 2021-12-21 14:14:14 [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 53 - 2021-12-21 14:14:14 [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 54 - 2021-12-21 14:14:14 [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 55 - 2021-12-21 14:14:14 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 37 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 - 2021-12-21 14:14:14 [0.17ms] */
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 57 - 2021-12-21 14:14:14 [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 58 - 2021-12-21 14:14:14 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 78 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 59 - 2021-12-21 14:14:14 [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 60 - 2021-12-21 14:14:14 [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 61 - 2021-12-21 14:14:14 [0.12ms] */
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 62 - 2021-12-21 14:14:14 [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 63 - 2021-12-21 14:14:14 [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 64 - 2021-12-21 14:14:14 [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 65 - 2021-12-21 14:14:14 [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 66 - 2021-12-21 14:14:14 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 69 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 - 2021-12-21 14:14:14 [0.3ms] */
select * from `party` where `party`.`id` = 85 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 - 2021-12-21 14:14:14 [0.36ms] */
select * from `person` where `person`.`id` = 69 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 69 - 2021-12-21 14:14:14 [0.34ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 76 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 70 - 2021-12-21 14:14:14 [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 71 - 2021-12-21 14:14:14 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 72 - 2021-12-21 14:14:14 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 73 - 2021-12-21 14:14:14 [0.26ms] */
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 74 - 2021-12-21 14:14:14 [0.3ms] */
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 75 - 2021-12-21 14:14:14 [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 76 - 2021-12-21 14:14:14 [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 77 - 2021-12-21 14:14:14 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 2 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 78 - 2021-12-21 14:14:14 [0.17ms] */
select * from `party` where `party`.`id` = 37 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 79 - 2021-12-21 14:14:14 [0.19ms] */
select * from `person` where `person`.`id` = 25 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 80 - 2021-12-21 14:14:14 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 74 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 81 - 2021-12-21 14:14:14 [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 82 - 2021-12-21 14:14:14 [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 83 - 2021-12-21 14:14:14 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 84 - 2021-12-21 14:14:14 [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 85 - 2021-12-21 14:14:14 [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 86 - 2021-12-21 14:14:14 [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 87 - 2021-12-21 14:14:14 [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 88 - 2021-12-21 14:14:14 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 65 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 89 - 2021-12-21 14:14:14 [0.11ms] */
select * from `party` where `party`.`id` = 56 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 90 - 2021-12-21 14:14:14 [0.12ms] */
select * from `person` where `person`.`id` = 40 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 91 - 2021-12-21 14:14:14 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 73 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 92 - 2021-12-21 14:14:14 [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 93 - 2021-12-21 14:14:14 [0.11ms] */
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 94 - 2021-12-21 14:14:14 [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 95 - 2021-12-21 14:14:14 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 96 - 2021-12-21 14:14:14 [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 97 - 2021-12-21 14:14:14 [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 98 - 2021-12-21 14:14:14 [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 99 - 2021-12-21 14:14:14 [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 100 - 2021-12-21 14:14:14 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 68 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 - 2021-12-21 14:14:14 [0.12ms] */
select * from `party` where `party`.`id` = 56 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 - 2021-12-21 14:14:14 [0.24ms] */
select * from `person` where `person`.`id` = 40 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 103 - 2021-12-21 14:14:14 [0.32ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 72 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 104 - 2021-12-21 14:14:14 [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 105 - 2021-12-21 14:14:14 [0.2ms] */
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 106 - 2021-12-21 14:14:14 [0.23ms] */
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 - 2021-12-21 14:14:14 [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 108 - 2021-12-21 14:14:14 [0.2ms] */
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 - 2021-12-21 14:14:14 [0.23ms] */
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 - 2021-12-21 14:14:14 [0.22ms] */
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 - 2021-12-21 14:14:14 [0.21ms] */
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 - 2021-12-21 14:14:14 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 65 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 - 2021-12-21 14:14:14 [0.33ms] */
select * from `party` where `party`.`id` = 84 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 - 2021-12-21 14:14:14 [0.36ms] */
select * from `person` where `person`.`id` = 68 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 115 - 2021-12-21 14:14:14 [0.38ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 71 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 116 - 2021-12-21 14:14:14 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 117 - 2021-12-21 14:14:14 [0.11ms] */
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 118 - 2021-12-21 14:14:14 [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 119 - 2021-12-21 14:14:14 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 120 - 2021-12-21 14:14:14 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 121 - 2021-12-21 14:14:14 [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 122 - 2021-12-21 14:14:14 [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.view-workflow-transaction-component
   Query 1 - 2021-12-21 14:14:17 [0.99ms] */
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 - 2021-12-21 14:14:17 [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.view-workflow-transaction-component
   Query 3 - 2021-12-21 14:14:17 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2021-12-21 14:14:17 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 282 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 - 2021-12-21 14:14:17 [0.13ms] */
select * from `invoice` where `transaction_id` = 282 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2021-12-21 14:14:17 [0.12ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 282 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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [0.13ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2021-12-21 14:14:17 [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 15 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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/transaction.payment.payment-component
   Query 1 - 2021-12-21 14:14:17 [0.84ms] */
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 - 2021-12-21 14:14:17 [0.48ms] */
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 - 2021-12-21 14:14:17 [0.21ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-21 14:14:17 [0.18ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-21 14:14:17 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [0.12ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-21 14:14:17 [0.12ms] */
select * from `address` where `address`.`id` in (66) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-21 14:14:17 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2021-12-21 14:14:17 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [0.14ms] */
select * from `party_vehicle` where `transaction_id` = 282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2021-12-21 14:14:17 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 282 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-21 14:14:17 [0.12ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:17 [0.11ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:17 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2021-12-21 14:14:17 [0.12ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2021-12-21 14:14:17 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-21 14:14:17 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [0.12ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2021-12-21 14:14:17 [0.11ms] */
select * from `address` where `address`.`id` in (66) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 1 - 2021-12-21 14:14:17 [1.03ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2021-12-21 14:14:17 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2021-12-21 14:14:17 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [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 - 2021-12-21 14:14:17 [0.11ms] */
select * from `party_vehicle` where `transaction_id` = 282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2021-12-21 14:14:17 [0.11ms] */
select * from `vehicle_tax` where `transaction_id` = 282 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 36 - 2021-12-21 14:14:17 [0.11ms] */
select * from `discount` where `party_id` = 112 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): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 2 - 2021-12-21 14:14:17 [0.59ms] */
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 37 - 2021-12-21 14:14:17 [0.11ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:17 [0.21ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 39 - 2021-12-21 14:14:17 [0.21ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 3 - 2021-12-21 14:14:17 [1.36ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 8 and `transaction`.`deleted_at` is null and `district_id` = 50;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 4 - 2021-12-21 14:14:17 [2.08ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 8 and `transaction`.`deleted_at` is null and `district_id` = 50 order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 5 - 2021-12-21 14:14:17 [0.12ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 6 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 7 - 2021-12-21 14:14:17 [0.1ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 8 - 2021-12-21 14:14:17 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 9 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 10 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 11 - 2021-12-21 14:14:17 [0.12ms] */
select * from `party` where `party`.`id` = 125 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 12 - 2021-12-21 14:14:17 [0.14ms] */
select * from `person` where `person`.`id` = 109 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 13 - 2021-12-21 14:14:17 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 130 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 14 - 2021-12-21 14:14:17 [0.14ms] */
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/m/mytrn
   Query 15 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 16 - 2021-12-21 14:14:17 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 17 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 18 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 19 - 2021-12-21 14:14:17 [0.12ms] */
select * from `party` where `party`.`id` = 125 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 20 - 2021-12-21 14:14:17 [0.13ms] */
select * from `person` where `person`.`id` = 109 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 21 - 2021-12-21 14:14:17 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 130 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 22 - 2021-12-21 14:14:17 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 23 - 2021-12-21 14:14:17 [0.11ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 24 - 2021-12-21 14:14:17 [0.11ms] */
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/m/mytrn
   Query 25 - 2021-12-21 14:14:17 [0.11ms] */
select * from `service` where `service`.`id` = 5 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 26 - 2021-12-21 14:14:17 [0.11ms] */
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/m/mytrn
   Query 27 - 2021-12-21 14:14:17 [0.15ms] */
select * from `party` where `party`.`id` = 100 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 28 - 2021-12-21 14:14:17 [0.12ms] */
select * from `person` where `person`.`id` = 84 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 29 - 2021-12-21 14:14:17 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 96 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 30 - 2021-12-21 14:14:17 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 22 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 31 - 2021-12-21 14:14:17 [0.11ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 32 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 33 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 34 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 35 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 36 - 2021-12-21 14:14:17 [0.13ms] */
select * from `person` where `person`.`id` = 56 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 37 - 2021-12-21 14:14:17 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 129 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 38 - 2021-12-21 14:14:17 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 14 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 39 - 2021-12-21 14:14:17 [0.1ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 40 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 41 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 42 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 43 - 2021-12-21 14:14:17 [0.29ms] */
select * from `party` where `party`.`id` = 124 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 44 - 2021-12-21 14:14:17 [0.12ms] */
select * from `person` where `person`.`id` = 108 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 45 - 2021-12-21 14:14:17 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 129 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 46 - 2021-12-21 14:14:17 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 9 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 47 - 2021-12-21 14:14:17 [0.1ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 48 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 49 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 50 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 51 - 2021-12-21 14:14:17 [0.11ms] */
select * from `party` where `party`.`id` = 124 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 52 - 2021-12-21 14:14:17 [0.13ms] */
select * from `person` where `person`.`id` = 108 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 53 - 2021-12-21 14:14:17 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 129 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 54 - 2021-12-21 14:14:17 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 55 - 2021-12-21 14:14:17 [0.1ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 56 - 2021-12-21 14:14:17 [0.11ms] */
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/m/mytrn
   Query 57 - 2021-12-21 14:14:17 [0.11ms] */
select * from `service` where `service`.`id` = 5 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 58 - 2021-12-21 14:14:17 [0.11ms] */
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/m/mytrn
   Query 59 - 2021-12-21 14:14:17 [0.11ms] */
select * from `party` where `party`.`id` = 88 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 60 - 2021-12-21 14:14:17 [0.12ms] */
select * from `person` where `person`.`id` = 72 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 61 - 2021-12-21 14:14:17 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 72 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 62 - 2021-12-21 14:14:17 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 22 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 63 - 2021-12-21 14:14:17 [0.1ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 64 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 65 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 66 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 67 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 68 - 2021-12-21 14:14:17 [0.12ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 69 - 2021-12-21 14:14:17 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 4 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 70 - 2021-12-21 14:14:17 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 9 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 71 - 2021-12-21 14:14:17 [0.1ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 72 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 73 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 74 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 75 - 2021-12-21 14:14:17 [0.11ms] */
select * from `party` where `party`.`id` = 110 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 76 - 2021-12-21 14:14:17 [0.12ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 77 - 2021-12-21 14:14:17 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 4 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 78 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 79 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 80 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 81 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 82 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 83 - 2021-12-21 14:14:17 [0.11ms] */
select * from `party` where `party`.`id` = 110 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 84 - 2021-12-21 14:14:17 [0.12ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 85 - 2021-12-21 14:14:17 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 4 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/mytrn
   Query 86 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 87 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 88 - 2021-12-21 14:14:17 [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/m/mytrn
   Query 89 - 2021-12-21 14:14:17 [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/transaction.payment.payment-component
   Query 1 - 2021-12-21 14:14:20 [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 - 2021-12-21 14:14:20 [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 - 2021-12-21 14:14:20 [0.21ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-21 14:14:20 [0.13ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-21 14:14:20 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-21 14:14:20 [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 - 2021-12-21 14:14:20 [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 - 2021-12-21 14:14:20 [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 - 2021-12-21 14:14:20 [0.12ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-21 14:14:20 [0.12ms] */
select * from `address` where `address`.`id` in (66) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-21 14:14:20 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2021-12-21 14:14:20 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2021-12-21 14:14:20 [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 - 2021-12-21 14:14:20 [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 - 2021-12-21 14:14:20 [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 - 2021-12-21 14:14:20 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2021-12-21 14:14:20 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 282 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-21 14:14:20 [0.12ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:20 [0.12ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:20 [0.11ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2021-12-21 14:14:20 [0.12ms] */
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 - 2021-12-21 14:14:21 [0.97ms] */
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 - 2021-12-21 14:14:21 [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 - 2021-12-21 14:14:21 [0.14ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-21 14:14:21 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-21 14:14:21 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-21 14:14:21 [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 - 2021-12-21 14:14:21 [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 - 2021-12-21 14:14:21 [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 - 2021-12-21 14:14:21 [0.13ms] */
select * from `party` where `party`.`id` in (112) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-21 14:14:21 [0.12ms] */
select * from `address` where `address`.`id` in (66) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-21 14:14:21 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 224 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2021-12-21 14:14:21 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 282 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2021-12-21 14:14:21 [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 - 2021-12-21 14:14:21 [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 - 2021-12-21 14:14:21 [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 - 2021-12-21 14:14:21 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2021-12-21 14:14:21 [0.14ms] */
select * from `vehicle_tax` where `transaction_id` = 282 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-21 14:14:21 [0.12ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:21 [0.11ms] */
select * from `discount` where `party_id` = 112 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 - 2021-12-21 14:14:21 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2021-12-21 14:14:21 [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 - 2021-12-21 14:14:22 [0.91ms] */
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 - 2021-12-21 14:14:22 [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 - 2021-12-21 14:14:22 [0.14ms] */
select * from `invoice` where `id` in (224) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-21 14:14:22 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (282) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-21 14:14:22 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` in (116) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-21 14:14:22 [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 - 2021-12-21 14:14:22 [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 - 2021-12-21 14:14:22 [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 - 2021-12-21 14:14:22 [0.12ms] */
