insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"assigned_to":8},"old":{"assigned_to":null}}', 8, 'App\Models\User', 307, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-22 02:24:55', '2021-12-22 02:24:55');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 16 - 2021-12-22 02:24:55 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 17 - 2021-12-22 02:24:55 [0.22ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 18 - 2021-12-22 02:24:55 [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/w/wkflw/307
   Query 1 - 2021-12-22 02:24:56 [1.2ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/w/wkflw/307
   Query 2 - 2021-12-22 02:24:56 [0.75ms] */
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/307
   Query 1 - 2021-12-22 02:24:56 [0.96ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 2 - 2021-12-22 02:24:56 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 3 - 2021-12-22 02:24:56 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 307 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 4 - 2021-12-22 02:24:56 [0.38ms] */
select * from `transaction_workflow` where `transaction_id` = 307 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 5 - 2021-12-22 02:24:56 [0.22ms] */
select * from `invoice` where `transaction_id` = 307 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 6 - 2021-12-22 02:24:56 [0.19ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 307 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 7 - 2021-12-22 02:24:56 [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/307
   Query 8 - 2021-12-22 02:24:56 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 9 - 2021-12-22 02:24:56 [0.12ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 10 - 2021-12-22 02:24:56 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 11 - 2021-12-22 02:24:56 [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/307
   Query 12 - 2021-12-22 02:24: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/307
   Query 13 - 2021-12-22 02:24:56 [0.13ms] */
select * from `party_vehicle` where `transaction_id` = 307 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 14 - 2021-12-22 02:24:56 [0.12ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 15 - 2021-12-22 02:24:56 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 141 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 16 - 2021-12-22 02:24:56 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 141 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 17 - 2021-12-22 02:24: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/307
   Query 18 - 2021-12-22 02:24:56 [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/w/wkflw/307
   Query 19 - 2021-12-22 02:24:56 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 20 - 2021-12-22 02:24: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/307
   Query 21 - 2021-12-22 02:24:56 [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/307
   Query 22 - 2021-12-22 02:24:56 [0.13ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 23 - 2021-12-22 02:24:56 [0.12ms] */
select * from `party` where `party`.`id` = 133 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 24 - 2021-12-22 02:24:56 [0.13ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 25 - 2021-12-22 02:24:56 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 116 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/307
   Query 26 - 2021-12-22 02:24:56 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 27 - 2021-12-22 02:24:56 [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/307
   Query 28 - 2021-12-22 02:24:56 [0.12ms] */
select * from `district` where `district`.`id` = 17 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 29 - 2021-12-22 02:24:56 [0.12ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 30 - 2021-12-22 02:24:56 [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/307
   Query 31 - 2021-12-22 02:24:56 [0.11ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 32 - 2021-12-22 02:24:56 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 307 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 33 - 2021-12-22 02:24:56 [0.13ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 34 - 2021-12-22 02:24: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/307
   Query 35 - 2021-12-22 02:24:56 [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/307
   Query 36 - 2021-12-22 02:24:56 [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/307
   Query 37 - 2021-12-22 02:24:56 [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/307
   Query 38 - 2021-12-22 02:24: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/307
   Query 39 - 2021-12-22 02:24:56 [0.12ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 40 - 2021-12-22 02:24:56 [0.11ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 41 - 2021-12-22 02:24:56 [0.13ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 42 - 2021-12-22 02:24:56 [0.11ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 43 - 2021-12-22 02:24: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/307
   Query 44 - 2021-12-22 02:24: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/307
   Query 45 - 2021-12-22 02:24:56 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 46 - 2021-12-22 02:24: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/307
   Query 47 - 2021-12-22 02:24:56 [0.11ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 48 - 2021-12-22 02:24: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/307
   Query 49 - 2021-12-22 02:24:56 [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/307
   Query 50 - 2021-12-22 02:24:56 [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/w/wkflw/307
   Query 51 - 2021-12-22 02:24:56 [0.18ms] */
(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/307
   Query 52 - 2021-12-22 02:24:56 [0.12ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/307
   Query 53 - 2021-12-22 02:24:56 [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/307
   Query 54 - 2021-12-22 02:24:56 [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-22 02:24:59 [0.65ms] */
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-22 02:24:59 [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-22 02:24:59 [0.15ms] */
select * from `service` where `service`.`id` in (1, 2, 3, 4, 5, 6, 7);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 4 - 2021-12-22 02:24:59 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:24:59 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 3 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-22 02:24:59 [0.29ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 7 - 2021-12-22 02:24:59 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 8 - 2021-12-22 02:24:59 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (308, 'CLAIMED', '2021-12-22 02:24:59', 7, 7, 7, 7, '2021-12-22 02:24:59', '2021-12-22 02:24:59');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2021-12-22 02:24:59 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2021-12-22 02:24:59 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 11 - 2021-12-22 02:24:59 [0.18ms] */
update `transaction` set `assigned_to` = 7, `updated_by` = 7, `transaction`.`updated_at` = '2021-12-22 02:24:59' where `id` = 308;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 12 - 2021-12-22 02:24:59 [0.17ms] */
select * from `transaction` where `id` = 308 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 13 - 2021-12-22 02:24:59 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 14 - 2021-12-22 02:24:59 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 15 - 2021-12-22 02:24:59 [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', 308, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-22 02:24:59', '2021-12-22 02:24:59');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 16 - 2021-12-22 02:24:59 [0.37ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 17 - 2021-12-22 02:24:59 [0.24ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 18 - 2021-12-22 02:24:59 [0.22ms] */
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/w/wkflw/308
   Query 1 - 2021-12-22 02:24:59 [1.04ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/w/wkflw/308
   Query 2 - 2021-12-22 02:24:59 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 1 - 2021-12-22 02:25:00 [1.01ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 2 - 2021-12-22 02:25:00 [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/308
   Query 3 - 2021-12-22 02:25:00 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 308 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 4 - 2021-12-22 02:25:00 [0.38ms] */
select * from `transaction_workflow` where `transaction_id` = 308 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 5 - 2021-12-22 02:25:00 [0.2ms] */
select * from `invoice` where `transaction_id` = 308 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 6 - 2021-12-22 02:25:00 [0.2ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 308 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 7 - 2021-12-22 02:25:00 [0.2ms] */
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/308
   Query 8 - 2021-12-22 02:25:00 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 9 - 2021-12-22 02:25:00 [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/308
   Query 10 - 2021-12-22 02:25:00 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 3 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/308
   Query 11 - 2021-12-22 02:25:00 [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/308
   Query 12 - 2021-12-22 02:25:00 [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/308
   Query 13 - 2021-12-22 02:25:00 [0.23ms] */
select * from `party_vehicle` where `transaction_id` = 308 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 14 - 2021-12-22 02:25:00 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 308 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 15 - 2021-12-22 02:25:00 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 3 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/308
   Query 16 - 2021-12-22 02:25:00 [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/308
   Query 17 - 2021-12-22 02:25:00 [0.12ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 18 - 2021-12-22 02:25:00 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 142 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 19 - 2021-12-22 02:25:00 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` = 142 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 20 - 2021-12-22 02:25:00 [0.12ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 21 - 2021-12-22 02:25:00 [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/w/wkflw/308
   Query 22 - 2021-12-22 02:25:00 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 23 - 2021-12-22 02:25:00 [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/308
   Query 24 - 2021-12-22 02:25:00 [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/308
   Query 25 - 2021-12-22 02:25:00 [0.13ms] */
select * from `party` where `party`.`id` = 138 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 26 - 2021-12-22 02:25:00 [0.13ms] */
select * from `party` where `party`.`id` = 138 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 27 - 2021-12-22 02:25:00 [0.14ms] */
select * from `person` where `person`.`id` = 121 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 28 - 2021-12-22 02:25:00 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 121 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/308
   Query 29 - 2021-12-22 02:25:00 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 149 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 30 - 2021-12-22 02:25:00 [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/308
   Query 31 - 2021-12-22 02:25:00 [0.12ms] */
select * from `district` where `district`.`id` = 18 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 32 - 2021-12-22 02:25:00 [0.12ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 33 - 2021-12-22 02:25:00 [0.17ms] */
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/308
   Query 34 - 2021-12-22 02:25:00 [0.22ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 35 - 2021-12-22 02:25:00 [0.71ms] */
select * from `transaction_workflow` where `transaction_id` = 308 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 36 - 2021-12-22 02:25:00 [0.28ms] */
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/308
   Query 37 - 2021-12-22 02:25:00 [0.22ms] */
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/308
   Query 38 - 2021-12-22 02:25:00 [0.26ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 39 - 2021-12-22 02:25:00 [0.22ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 40 - 2021-12-22 02:25:00 [0.24ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 41 - 2021-12-22 02:25:00 [0.21ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 42 - 2021-12-22 02:25:00 [0.24ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 43 - 2021-12-22 02:25:00 [0.21ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 44 - 2021-12-22 02:25:00 [0.23ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 45 - 2021-12-22 02:25:00 [0.24ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 46 - 2021-12-22 02:25:00 [0.24ms] */
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/308
   Query 47 - 2021-12-22 02:25:00 [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/308
   Query 48 - 2021-12-22 02:25:00 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 49 - 2021-12-22 02:25:00 [0.14ms] */
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/308
   Query 50 - 2021-12-22 02:25:00 [0.1ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 51 - 2021-12-22 02:25:00 [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/308
   Query 52 - 2021-12-22 02:25:00 [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/308
   Query 53 - 2021-12-22 02:25:00 [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/w/wkflw/308
   Query 54 - 2021-12-22 02:25:00 [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/308
   Query 55 - 2021-12-22 02:25:00 [0.12ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw/308
   Query 56 - 2021-12-22 02:25:00 [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/308
   Query 57 - 2021-12-22 02:25:00 [0.11ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2021-12-22 02:25:01 [1.13ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2021-12-22 02:25:01 [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-22 02:25:01 [0.2ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 138 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2021-12-22 02:25:01 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 307 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2021-12-22 02:25:01 [0.38ms] */
select * from `transaction_workflow` where `transaction_id` = 307 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2021-12-22 02:25:01 [0.13ms] */
select * from `invoice` where `transaction_id` = 307 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2021-12-22 02:25:01 [0.12ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 307 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2021-12-22 02:25:01 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2021-12-22 02:25:01 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2021-12-22 02:25:01 [0.13ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2021-12-22 02:25:01 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2021-12-22 02:25:01 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2021-12-22 02:25:01 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2021-12-22 02:25:01 [0.13ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2021-12-22 02:25:01 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2021-12-22 02:25:01 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2021-12-22 02:25:01 [0.12ms] */
select * from `district` where `district`.`id` = 17 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2021-12-22 02:25:01 [0.12ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2021-12-22 02:25:01 [0.12ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2021-12-22 02:25:01 [0.11ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2021-12-22 02:25:01 [1.11ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2021-12-22 02:25:01 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2021-12-22 02:25:01 [0.3ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2021-12-22 02:25:01 [0.15ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2021-12-22 02:25:05 [0.66ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2021-12-22 02:25:05 [0.49ms] */
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-22 02:25:05 [0.38ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2021-12-22 02:25:07 [0.95ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2021-12-22 02:25:07 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2021-12-22 02:25:07 [0.18ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2021-12-22 02:25:07 [1ms] */
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-22 02:25:07 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2021-12-22 02:25:07 [0.14ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 139 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2021-12-22 02:25:07 [0.13ms] */
select * from `transaction` where `transaction`.`id` = 308 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2021-12-22 02:25:07 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 308 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2021-12-22 02:25:07 [0.14ms] */
select * from `invoice` where `transaction_id` = 308 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2021-12-22 02:25:07 [0.12ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 308 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2021-12-22 02:25:07 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2021-12-22 02:25:07 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2021-12-22 02:25:07 [0.12ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2021-12-22 02:25:07 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 3 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2021-12-22 02:25:07 [0.53ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2021-12-22 02:25:07 [0.21ms] */
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 14 - 2021-12-22 02:25:07 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 308 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2021-12-22 02:25:07 [0.26ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 3 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 16 - 2021-12-22 02:25:07 [0.25ms] */
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 17 - 2021-12-22 02:25:07 [0.25ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2021-12-22 02:25:07 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 149 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2021-12-22 02:25:07 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2021-12-22 02:25:07 [0.12ms] */
select * from `district` where `district`.`id` = 18 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2021-12-22 02:25:07 [0.13ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2021-12-22 02:25:07 [0.1ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2021-12-22 02:25:07 [0.11ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2021-12-22 02:25:08 [0.97ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2021-12-22 02:25:08 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2021-12-22 02:25:08 [0.35ms] */
(select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 1 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 8 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2021-12-22 02:25:09 [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-22 02:25:09 [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-22 02:25:09 [0.37ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:09 [0.28ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:09 [0.5ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:09 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:09 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:09 [0.29ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:09 [0.42ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:09 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:09 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:09 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:09 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:09 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:09 [0.1ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:09 [0.42ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:09 [0.44ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:09 [0.29ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:09 [0.28ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:09 [0.28ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:09 [0.12ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2021-12-22 02:25:09 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 25 - 2021-12-22 02:25:09 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 26 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 27 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2021-12-22 02:25:09 [0.11ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2021-12-22 02:25:09 [0.11ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2021-12-22 02:25:09 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 248 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2021-12-22 02:25:09 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 308 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 33 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 34 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2021-12-22 02:25:09 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 36 - 2021-12-22 02:25:09 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 308 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 37 - 2021-12-22 02:25:09 [0.09ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 38 - 2021-12-22 02:25:09 [0.11ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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 39 - 2021-12-22 02:25:09 [0.11ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 40 - 2021-12-22 02:25:09 [0.11ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 41 - 2021-12-22 02:25:09 [0.11ms] */
select * from `discount` where `party_id` = 138 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 42 - 2021-12-22 02:25:09 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 43 - 2021-12-22 02:25:09 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2021-12-22 02:25:09 [0.92ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2021-12-22 02:25:09 [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/workflow.view-workflow-transaction-component
   Query 3 - 2021-12-22 02:25:09 [0.13ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 138 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2021-12-22 02:25:09 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 307 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2021-12-22 02:25:09 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 4 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2021-12-22 02:25:09 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2021-12-22 02:25:09 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2021-12-22 02:25:09 [0.21ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (307, 'APPROVED', '2021-12-22 02:25:09', 8, 8, null, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2021-12-22 02:25:09 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2021-12-22 02:25:09 [0.12ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 5 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2021-12-22 02:25:09 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2021-12-22 02:25:09 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2021-12-22 02:25:09 [0.2ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 5, `status` = 'COMPLETED', `transaction`.`updated_at` = '2021-12-22 02:25:09' where `id` = 307;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2021-12-22 02:25:09 [0.16ms] */
select * from `transaction` where `id` = 307 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2021-12-22 02:25:09 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2021-12-22 02:25:09 [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":{"current_workflow_state_id":5,"assigned_to":null,"status":"COMPLETED"},"old":{"current_workflow_state_id":4,"assigned_to":8,"status":"INPROGRESS"}}', 8, 'App\Models\User', 307, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2021-12-22 02:25:09 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2021-12-22 02:25:09 [0.21ms] */
select * from `party_vehicle` where `transaction_id` = 307 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2021-12-22 02:25:09 [0.17ms] */
update `party_vehicle` set `status` = 'REGISTERED', `issued_date` = '2021-12-22 02:25:09', `updated_by` = 8, `party_vehicle`.`updated_at` = '2021-12-22 02:25:09' where `id` = 148;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2021-12-22 02:25:09 [0.15ms] */
select * from `party_vehicle` where `id` = 148 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2021-12-22 02:25:09 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"issued_date":"2021-12-22 02:25:09","status":"REGISTERED"},"old":{"issued_date":null,"status":"PAID"}}', 8, 'App\Models\User', 148, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2021-12-22 02:25:09 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 141 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2021-12-22 02:25:09 [0.23ms] */
update `vehicle` set `updated_by` = 8, `vehicle`.`updated_at` = '2021-12-22 02:25:09' where `id` = 141;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2021-12-22 02:25:09 [0.15ms] */
select * from `vehicle` where `id` = 141 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2021-12-22 02:25:09 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 8, 'App\Models\User', 141, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2021-12-22 02:25:09 [0.18ms] */
select * from `party` where `party`.`id` = 133 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2021-12-22 02:25:09 [0.23ms] */
update `party` set `party`.`updated_at` = '2021-12-22 02:25:09' where `id` = 133;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2021-12-22 02:25:09 [0.14ms] */
select * from `party` where `id` = 133 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2021-12-22 02:25:09 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party', '{"attributes":[],"old":[]}', 8, 'App\Models\User', 133, 'Modules\Party\Entities\Party', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2021-12-22 02:25:09 [0.18ms] */
update `person` set `person`.`updated_at` = '2021-12-22 02:25:09' where `person`.`id` = 116;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2021-12-22 02:25:09 [0.16ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2021-12-22 02:25:09 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 141 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2021-12-22 02:25:09 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2021-12-22 02:25:09 [0.13ms] */
insert into `vehicle_title` (`party_id`, `vehicle_id`, `title_number`, `issued_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (133, 141, 'B11-307-194', '2021-12-22 02:25:09', 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2021-12-22 02:25:09 [0.14ms] */
select * from `vehicle_title` where `id` = 113 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2021-12-22 02:25:09 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_title', '{"attributes":{"title_number":"B11-307-194","party_id":133,"vehicle_id":141,"issued_date":"2021-12-22 02:25:09"}}', 8, 'App\Models\User', 113, 'Modules\Vehicle\Entities\VehicleTitle', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2021-12-22 02:25:09 [0.23ms] */
select * from `invoice` where `transaction_id` = 307 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2021-12-22 02:25:09 [0.16ms] */
select * from `transaction` where `transaction`.`id` in (307) and `transaction`.`deleted_at` is null and `district_id` = 50;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2021-12-22 02:25:09 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (141) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2021-12-22 02:25:09 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2021-12-22 02:25:09 [0.15ms] */
select * from `party` where `party`.`id` in (133) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2021-12-22 02:25:09 [0.16ms] */
select * from `address` where `address`.`id` in (87) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2021-12-22 02:25:09 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 48 - 2021-12-22 02:25:09 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 49 - 2021-12-22 02:25:09 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 50 - 2021-12-22 02:25:09 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2021-12-22 02:25:09 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 52 - 2021-12-22 02:25:09 [0.19ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 53 - 2021-12-22 02:25:09 [0.15ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 2 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 54 - 2021-12-22 02:25:09 [0.28ms] */
select * from `party` where `party`.`id` = 133 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2021-12-22 02:25:09 [0.3ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 56 - 2021-12-22 02:25:09 [0.26ms] */
select * from `address` where `address`.`id` = 87 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 57 - 2021-12-22 02:25:09 [0.22ms] */
select * from `district` where `district`.`id` = 17 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 58 - 2021-12-22 02:25:09 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 141 and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 59 - 2021-12-22 02:25:09 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 307 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 60 - 2021-12-22 02:25:09 [0.22ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 61 - 2021-12-22 02:25:09 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 141 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 62 - 2021-12-22 02:25:09 [0.16ms] */
select * from `service` where `name` = 'Tax' and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 63 - 2021-12-22 02:25:09 [0.31ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 141 and `term`.`year` = 2021 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 64 - 2021-12-22 02:25:09 [0.17ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 65 - 2021-12-22 02:25:09 [0.25ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 66 - 2021-12-22 02:25:09 [0.24ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 67 - 2021-12-22 02:25:09 [0.27ms] */
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 (133, 2, 141, 2, 7, 50, 50, 'INPROGRESS', 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 68 - 2021-12-22 02:25:09 [0.21ms] */
select * from `transaction` where `id` = 309 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 69 - 2021-12-22 02:25:09 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 70 - 2021-12-22 02:25:09 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 71 - 2021-12-22 02:25:09 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"vehicle_id":141,"party_id":133,"party_vehicle_id":null,"service_id":2,"service_workflow_id":2,"current_workflow_state_id":7,"assigned_to":null,"status":"INPROGRESS","invoice_id":null,"district_id":50,"deliver_district_id":50}}', 8, 'App\Models\User', 309, 'Modules\Transaction\Entities\Transaction', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 72 - 2021-12-22 02:25:09 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (309, 'INITIATED', '2021-12-22 02:25:09', 5, 8, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 73 - 2021-12-22 02:25:09 [0.26ms] */
select * from `term` where `year` = 2021 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 74 - 2021-12-22 02:25:09 [0.57ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'MVT-307-713', 141, 85, 133, 148, 309, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 75 - 2021-12-22 02:25:09 [14.14ms] */
select * from `vehicle_tax` where `id` = 71 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 76 - 2021-12-22 02:25:09 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"MVT-307-713","tax_sticker_id":null,"vehicle_id":141,"term_id":85,"party_id":133,"transaction_id":309,"party_vehicle_id":148}}', 8, 'App\Models\User', 71, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 77 - 2021-12-22 02:25:09 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 78 - 2021-12-22 02:25:09 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 79 - 2021-12-22 02:25:09 [0.74ms] */
(select * from `service_fee` where `sub_category_id` = 8 and `classification_id` = 1 and `service_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 8 and `classification_id` is null and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 80 - 2021-12-22 02:25:09 [0.28ms] */
select * from `term` where `term`.`id` = 85 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 81 - 2021-12-22 02:25:09 [0.23ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 82 - 2021-12-22 02:25:09 [0.27ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (309, '2021-01-12 01:42:45', '2020-12-01 00:00:00', 'OPEN', 133, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 83 - 2021-12-22 02:25:09 [0.23ms] */
select * from `invoice` where `id` = 249 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 84 - 2021-12-22 02:25:09 [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":309,"party_id":133,"invoice_amount":"0.00","invoice_date":"2021-01-12 01:42:45","due_date":"2020-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null}}', 8, 'App\Models\User', 249, 'Modules\Transaction\Entities\Invoice', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 85 - 2021-12-22 02:25:09 [0.2ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee', 'Service Fee for Tax Registration', 1, 10.00, 10.00, 249, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 86 - 2021-12-22 02:25:09 [0.22ms] */
select * from `invoice_item` where `id` = 366 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 87 - 2021-12-22 02:25:09 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee","description":"Service Fee for Tax Registration","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":249}}', 8, 'App\Models\User', 366, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 88 - 2021-12-22 02:25:09 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 249 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 89 - 2021-12-22 02:25:09 [0.31ms] */
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` = 249 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 90 - 2021-12-22 02:25:09 [0.27ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 249 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 91 - 2021-12-22 02:25:09 [0.23ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `discounts` = 0, `total_invoice_amount` = 10, `invoice`.`updated_at` = '2021-12-22 02:25:09' where `id` = 249;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 92 - 2021-12-22 02:25:09 [0.23ms] */
select * from `invoice` where `id` = 249 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 93 - 2021-12-22 02:25:09 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 249, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 94 - 2021-12-22 02:25:09 [0.21ms] */
update `invoice` set `invoice_number` = 'INV-768-249352', `invoice`.`updated_at` = '2021-12-22 02:25:09' where `id` = 249;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 95 - 2021-12-22 02:25:09 [0.24ms] */
select * from `invoice` where `id` = 249 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 96 - 2021-12-22 02:25:09 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00","invoice_number":"INV-768-249352"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null}}', 8, 'App\Models\User', 249, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 97 - 2021-12-22 02:25:09 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 98 - 2021-12-22 02:25:09 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 99 - 2021-12-22 02:25:09 [0.14ms] */
update `transaction` set `party_vehicle_id` = 148, `vehicle_tax_id` = 71, `invoice_id` = 249, `transaction`.`updated_at` = '2021-12-22 02:25:09' where `id` = 309;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 100 - 2021-12-22 02:25:09 [0.15ms] */
select * from `transaction` where `id` = 309 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 101 - 2021-12-22 02:25:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 102 - 2021-12-22 02:25:09 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 103 - 2021-12-22 02:25:09 [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":148,"invoice_id":249},"old":{"party_vehicle_id":null,"invoice_id":null}}', 8, 'App\Models\User', 309, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 104 - 2021-12-22 02:25:09 [0.19ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 141 and `term`.`year` = 2021 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 105 - 2021-12-22 02:25:09 [0.16ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 106 - 2021-12-22 02:25:09 [0.16ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 107 - 2021-12-22 02:25:09 [0.16ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 108 - 2021-12-22 02:25:09 [0.15ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `service_workflow_id`, `current_workflow_state_id`, `deliver_district_id`, `district_id`, `status`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (133, 2, 141, 2, 7, 50, 50, 'INPROGRESS', 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 109 - 2021-12-22 02:25:09 [0.15ms] */
select * from `transaction` where `id` = 310 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 110 - 2021-12-22 02:25:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 111 - 2021-12-22 02:25:09 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 112 - 2021-12-22 02:25:09 [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":{"vehicle_id":141,"party_id":133,"party_vehicle_id":null,"service_id":2,"service_workflow_id":2,"current_workflow_state_id":7,"assigned_to":null,"status":"INPROGRESS","invoice_id":null,"district_id":50,"deliver_district_id":50}}', 8, 'App\Models\User', 310, 'Modules\Transaction\Entities\Transaction', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 113 - 2021-12-22 02:25:09 [0.15ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (310, 'INITIATED', '2021-12-22 02:25:09', 5, 8, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 114 - 2021-12-22 02:25:09 [0.16ms] */
select * from `term` where `year` = 2021 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 115 - 2021-12-22 02:25:09 [0.26ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'SF6-307-465', 141, 86, 133, 148, 310, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 116 - 2021-12-22 02:25:09 [0.14ms] */
select * from `vehicle_tax` where `id` = 72 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 117 - 2021-12-22 02:25:09 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"SF6-307-465","tax_sticker_id":null,"vehicle_id":141,"term_id":86,"party_id":133,"transaction_id":310,"party_vehicle_id":148}}', 8, 'App\Models\User', 72, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 118 - 2021-12-22 02:25:09 [0.16ms] */
(select * from `service_fee` where `sub_category_id` = 8 and `classification_id` = 1 and `service_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 8 and `classification_id` is null and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 119 - 2021-12-22 02:25:09 [0.14ms] */
select * from `term` where `term`.`id` = 86 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 120 - 2021-12-22 02:25:09 [0.15ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 121 - 2021-12-22 02:25:09 [0.13ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (310, '2021-03-01 00:00:00', '2021-03-01 00:00:00', 'OPEN', 133, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 122 - 2021-12-22 02:25:09 [0.15ms] */
select * from `invoice` where `id` = 250 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 123 - 2021-12-22 02:25:09 [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":{"transaction_id":310,"party_id":133,"invoice_amount":"0.00","invoice_date":"2021-03-01 00:00:00","due_date":"2021-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null}}', 8, 'App\Models\User', 250, 'Modules\Transaction\Entities\Invoice', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 124 - 2021-12-22 02:25:09 [0.12ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee', 'Service Fee for Tax Registration', 1, 10.00, 10.00, 250, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 125 - 2021-12-22 02:25:09 [0.14ms] */
select * from `invoice_item` where `id` = 367 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 126 - 2021-12-22 02:25:09 [0.12ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee","description":"Service Fee for Tax Registration","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":250}}', 8, 'App\Models\User', 367, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 127 - 2021-12-22 02:25:09 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 250 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 128 - 2021-12-22 02:25:09 [0.19ms] */
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` = 250 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 129 - 2021-12-22 02:25:09 [0.16ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 250 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 130 - 2021-12-22 02:25:09 [0.14ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `discounts` = 0, `total_invoice_amount` = 10, `invoice`.`updated_at` = '2021-12-22 02:25:09' where `id` = 250;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 131 - 2021-12-22 02:25:09 [0.15ms] */
select * from `invoice` where `id` = 250 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 132 - 2021-12-22 02:25:09 [0.41ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 250, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 133 - 2021-12-22 02:25:09 [0.13ms] */
update `invoice` set `invoice_number` = 'INV-654-250338', `invoice`.`updated_at` = '2021-12-22 02:25:09' where `id` = 250;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 134 - 2021-12-22 02:25:09 [0.15ms] */
select * from `invoice` where `id` = 250 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 135 - 2021-12-22 02:25:09 [0.12ms] */
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-654-250338"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null}}', 8, 'App\Models\User', 250, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 136 - 2021-12-22 02:25:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 137 - 2021-12-22 02:25:09 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 138 - 2021-12-22 02:25:09 [0.14ms] */
update `transaction` set `party_vehicle_id` = 148, `vehicle_tax_id` = 72, `invoice_id` = 250, `transaction`.`updated_at` = '2021-12-22 02:25:09' where `id` = 310;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 139 - 2021-12-22 02:25:09 [0.15ms] */
select * from `transaction` where `id` = 310 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 140 - 2021-12-22 02:25:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 141 - 2021-12-22 02:25:09 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 142 - 2021-12-22 02:25:09 [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":148,"invoice_id":250},"old":{"party_vehicle_id":null,"invoice_id":null}}', 8, 'App\Models\User', 310, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 143 - 2021-12-22 02:25:09 [0.19ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 141 and `term`.`year` = 2021 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 144 - 2021-12-22 02:25:09 [0.15ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 145 - 2021-12-22 02:25:09 [0.16ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 146 - 2021-12-22 02:25:09 [0.16ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 147 - 2021-12-22 02:25:09 [0.14ms] */
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 (133, 2, 141, 2, 7, 50, 50, 'INPROGRESS', 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 148 - 2021-12-22 02:25:09 [0.15ms] */
select * from `transaction` where `id` = 311 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 149 - 2021-12-22 02:25:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 150 - 2021-12-22 02:25:09 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 151 - 2021-12-22 02:25:09 [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":{"vehicle_id":141,"party_id":133,"party_vehicle_id":null,"service_id":2,"service_workflow_id":2,"current_workflow_state_id":7,"assigned_to":null,"status":"INPROGRESS","invoice_id":null,"district_id":50,"deliver_district_id":50}}', 8, 'App\Models\User', 311, 'Modules\Transaction\Entities\Transaction', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 152 - 2021-12-22 02:25:09 [0.13ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (311, 'INITIATED', '2021-12-22 02:25:09', 5, 8, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 153 - 2021-12-22 02:25:09 [0.17ms] */
select * from `term` where `year` = 2021 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 154 - 2021-12-22 02:25:09 [0.35ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'NSK-307-131', 141, 87, 133, 148, 311, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 155 - 2021-12-22 02:25:09 [0.14ms] */
select * from `vehicle_tax` where `id` = 73 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 156 - 2021-12-22 02:25:09 [0.12ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"NSK-307-131","tax_sticker_id":null,"vehicle_id":141,"term_id":87,"party_id":133,"transaction_id":311,"party_vehicle_id":148}}', 8, 'App\Models\User', 73, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 157 - 2021-12-22 02:25:09 [0.16ms] */
(select * from `service_fee` where `sub_category_id` = 8 and `classification_id` = 1 and `service_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 8 and `classification_id` is null and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 158 - 2021-12-22 02:25:09 [0.14ms] */
select * from `term` where `term`.`id` = 87 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 159 - 2021-12-22 02:25:09 [0.15ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 160 - 2021-12-22 02:25:09 [0.13ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (311, '2021-06-01 00:00:00', '2021-06-01 00:00:00', 'OPEN', 133, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 161 - 2021-12-22 02:25:09 [0.14ms] */
select * from `invoice` where `id` = 251 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 162 - 2021-12-22 02:25:09 [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":{"transaction_id":311,"party_id":133,"invoice_amount":"0.00","invoice_date":"2021-06-01 00:00:00","due_date":"2021-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null}}', 8, 'App\Models\User', 251, 'Modules\Transaction\Entities\Invoice', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 163 - 2021-12-22 02:25:09 [0.12ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee', 'Service Fee for Tax Registration', 1, 10.00, 10.00, 251, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 164 - 2021-12-22 02:25:09 [0.14ms] */
select * from `invoice_item` where `id` = 368 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 165 - 2021-12-22 02:25:09 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee","description":"Service Fee for Tax Registration","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":251}}', 8, 'App\Models\User', 368, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 166 - 2021-12-22 02:25:09 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 251 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 167 - 2021-12-22 02:25:09 [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` = 251 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 168 - 2021-12-22 02:25:09 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 251 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 169 - 2021-12-22 02:25:09 [0.17ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `discounts` = 0, `total_invoice_amount` = 10, `invoice`.`updated_at` = '2021-12-22 02:25:09' where `id` = 251;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 170 - 2021-12-22 02:25:09 [0.19ms] */
select * from `invoice` where `id` = 251 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 171 - 2021-12-22 02:25:09 [0.15ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 251, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 172 - 2021-12-22 02:25:09 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-758-251875', `invoice`.`updated_at` = '2021-12-22 02:25:09' where `id` = 251;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 173 - 2021-12-22 02:25:09 [0.18ms] */
select * from `invoice` where `id` = 251 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 174 - 2021-12-22 02:25:09 [0.15ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00","invoice_number":"INV-758-251875"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null}}', 8, 'App\Models\User', 251, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 175 - 2021-12-22 02:25:09 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 176 - 2021-12-22 02:25:09 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 177 - 2021-12-22 02:25:09 [0.16ms] */
update `transaction` set `party_vehicle_id` = 148, `vehicle_tax_id` = 73, `invoice_id` = 251, `transaction`.`updated_at` = '2021-12-22 02:25:09' where `id` = 311;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 178 - 2021-12-22 02:25:09 [0.18ms] */
select * from `transaction` where `id` = 311 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 179 - 2021-12-22 02:25:09 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 180 - 2021-12-22 02:25:09 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 181 - 2021-12-22 02:25:09 [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":{"party_vehicle_id":148,"invoice_id":251},"old":{"party_vehicle_id":null,"invoice_id":null}}', 8, 'App\Models\User', 311, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 182 - 2021-12-22 02:25:09 [0.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 141 and `term`.`year` = 2021 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 183 - 2021-12-22 02:25:09 [0.15ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 184 - 2021-12-22 02:25:09 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 185 - 2021-12-22 02:25:09 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 186 - 2021-12-22 02:25:09 [0.22ms] */
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 (133, 2, 141, 2, 7, 50, 50, 'INPROGRESS', 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 187 - 2021-12-22 02:25:09 [0.21ms] */
select * from `transaction` where `id` = 312 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 188 - 2021-12-22 02:25:09 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 189 - 2021-12-22 02:25:09 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 190 - 2021-12-22 02:25:09 [0.19ms] */
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":141,"party_id":133,"party_vehicle_id":null,"service_id":2,"service_workflow_id":2,"current_workflow_state_id":7,"assigned_to":null,"status":"INPROGRESS","invoice_id":null,"district_id":50,"deliver_district_id":50}}', 8, 'App\Models\User', 312, 'Modules\Transaction\Entities\Transaction', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 191 - 2021-12-22 02:25:09 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (312, 'INITIATED', '2021-12-22 02:25:09', 5, 8, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 192 - 2021-12-22 02:25:09 [0.27ms] */
select * from `term` where `year` = 2021 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 193 - 2021-12-22 02:25:09 [0.33ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'F2B-307-790', 141, 88, 133, 148, 312, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 194 - 2021-12-22 02:25:09 [0.21ms] */
select * from `vehicle_tax` where `id` = 74 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 195 - 2021-12-22 02:25:09 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"F2B-307-790","tax_sticker_id":null,"vehicle_id":141,"term_id":88,"party_id":133,"transaction_id":312,"party_vehicle_id":148}}', 8, 'App\Models\User', 74, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 196 - 2021-12-22 02:25:09 [0.23ms] */
(select * from `service_fee` where `sub_category_id` = 8 and `classification_id` = 1 and `service_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 8 and `classification_id` is null and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 197 - 2021-12-22 02:25:09 [0.2ms] */
select * from `term` where `term`.`id` = 88 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 198 - 2021-12-22 02:25:09 [0.2ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 199 - 2021-12-22 02:25:09 [0.19ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (312, '2021-09-01 00:00:00', '2021-09-01 00:00:00', 'OPEN', 133, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 200 - 2021-12-22 02:25:09 [0.2ms] */
select * from `invoice` where `id` = 252 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 201 - 2021-12-22 02:25:09 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":312,"party_id":133,"invoice_amount":"0.00","invoice_date":"2021-09-01 00:00:00","due_date":"2021-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null}}', 8, 'App\Models\User', 252, 'Modules\Transaction\Entities\Invoice', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 202 - 2021-12-22 02:25:09 [0.18ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee', 'Service Fee for Tax Registration', 1, 10.00, 10.00, 252, 8, 8, '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 203 - 2021-12-22 02:25:09 [0.2ms] */
select * from `invoice_item` where `id` = 369 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 204 - 2021-12-22 02:25:09 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee","description":"Service Fee for Tax Registration","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":252}}', 8, 'App\Models\User', 369, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 205 - 2021-12-22 02:25:09 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 252 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 206 - 2021-12-22 02:25:09 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 252 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 207 - 2021-12-22 02:25:09 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 252 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 208 - 2021-12-22 02:25:09 [0.22ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `discounts` = 0, `total_invoice_amount` = 10, `invoice`.`updated_at` = '2021-12-22 02:25:09' where `id` = 252;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 209 - 2021-12-22 02:25:09 [0.21ms] */
select * from `invoice` where `id` = 252 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 210 - 2021-12-22 02:25:09 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 252, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 211 - 2021-12-22 02:25:09 [0.18ms] */
update `invoice` set `invoice_number` = 'INV-616-252443', `invoice`.`updated_at` = '2021-12-22 02:25:09' where `id` = 252;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 212 - 2021-12-22 02:25:09 [0.2ms] */
select * from `invoice` where `id` = 252 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 213 - 2021-12-22 02:25:09 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","discounts":"0.00","total_invoice_amount":"10.00","invoice_number":"INV-616-252443"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null}}', 8, 'App\Models\User', 252, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 214 - 2021-12-22 02:25:09 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 215 - 2021-12-22 02:25:09 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 216 - 2021-12-22 02:25:09 [0.28ms] */
update `transaction` set `party_vehicle_id` = 148, `vehicle_tax_id` = 74, `invoice_id` = 252, `transaction`.`updated_at` = '2021-12-22 02:25:09' where `id` = 312;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 217 - 2021-12-22 02:25:09 [0.22ms] */
select * from `transaction` where `id` = 312 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 218 - 2021-12-22 02:25:09 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 219 - 2021-12-22 02:25:09 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 220 - 2021-12-22 02:25:09 [0.16ms] */
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":148,"invoice_id":252},"old":{"party_vehicle_id":null,"invoice_id":null}}', 8, 'App\Models\User', 312, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-22 02:25:09', '2021-12-22 02:25:09');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 221 - 2021-12-22 02:25:09 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 247 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 222 - 2021-12-22 02:25:09 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 307 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 223 - 2021-12-22 02:25:09 [0.45ms] */
select * from `transaction_workflow` where `transaction_id` = 307 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 224 - 2021-12-22 02:25:09 [0.38ms] */
select * from `invoice` where `transaction_id` = 307 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 225 - 2021-12-22 02:25:09 [0.23ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 307 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 226 - 2021-12-22 02:25:09 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 227 - 2021-12-22 02:25:09 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 228 - 2021-12-22 02:25:09 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 229 - 2021-12-22 02:25:09 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 230 - 2021-12-22 02:25:09 [0.11ms] */
select * from `district` where `district`.`id` = 17 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 231 - 2021-12-22 02:25:09 [0.11ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 232 - 2021-12-22 02:25:09 [0.11ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 233 - 2021-12-22 02:25:09 [0.1ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2021-12-22 02:25:13 [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-22 02:25:13 [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-22 02:25:13 [0.41ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:13 [0.29ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:13 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:13 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:13 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2021-12-22 02:25:13 [0.12ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:13 [0.32ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:13 [0.12ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:13 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:13 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:13 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:13 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:13 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:13 [0.3ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:13 [0.28ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:13 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:13 [0.29ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:13 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:13 [0.12ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:13 [0.26ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:13 [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-22 02:25:16 [0.62ms] */
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-22 02:25:16 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 3 - 2021-12-22 02:25:16 [0.15ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:16 [0.13ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:16 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:16 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:16 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2021-12-22 02:25:16 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:16 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:16 [0.12ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:16 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:16 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:16 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:16 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:16 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:16 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:16 [0.1ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:16 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:16 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:16 [0.11ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:16 [0.13ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:16 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:16 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2021-12-22 02:25:16 [0.65ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2021-12-22 02:25:16 [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.view-workflow-transaction-component
   Query 3 - 2021-12-22 02:25:16 [0.14ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 138 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2021-12-22 02:25:16 [0.13ms] */
select * from `transaction` where `transaction`.`id` = 307 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2021-12-22 02:25:16 [0.55ms] */
select * from `transaction` where `transaction`.`deleted_at` is null and `district_id` = 50 order by `updated_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2021-12-22 02:25:16 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (148) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2021-12-22 02:25:16 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` in (1) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2021-12-22 02:25:16 [0.22ms] */
select * from `party` where `party`.`id` in (133) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2021-12-22 02:25:16 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` in (141) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2021-12-22 02:25:16 [0.19ms] */
select * from `invoice` where `invoice`.`id` in (247) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2021-12-22 02:25:16 [0.13ms] */
select * from `transaction` where `transaction`.`id` = 307 and `transaction`.`deleted_at` is null and `district_id` = 50 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2021-12-22 02:25:16 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 307 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2021-12-22 02:25:16 [0.12ms] */
select * from `invoice` where `transaction_id` = 307 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2021-12-22 02:25:16 [0.12ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 307 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2021-12-22 02:25:16 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2021-12-22 02:25:16 [0.4ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2021-12-22 02:25:16 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2021-12-22 02:25:16 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2021-12-22 02:25:16 [0.24ms] */
select * from `district` where `district`.`id` = 17 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2021-12-22 02:25:16 [0.23ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2021-12-22 02:25:16 [0.22ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2021-12-22 02:25:16 [0.21ms] */
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-22 02:25:17 [0.81ms] */
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-22 02:25:17 [0.57ms] */
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-22 02:25:17 [0.24ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:17 [0.21ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:17 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:17 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:17 [0.21ms] */
select * from `service` where `service`.`id` = 1 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-22 02:25:17 [0.21ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:17 [0.26ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:17 [0.21ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:17 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:17 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:17 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:17 [0.22ms] */
select * from `service` where `service`.`id` = 1 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-22 02:25:17 [0.22ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:17 [0.24ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:17 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:17 [0.17ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:17 [0.15ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:17 [0.15ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:17 [0.15ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:17 [0.14ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:17 [0.14ms] */
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-22 02:25:19 [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-22 02:25:19 [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-22 02:25:19 [0.14ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:19 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:19 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:19 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:19 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2021-12-22 02:25:19 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:19 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:19 [0.12ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:19 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:19 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:19 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:19 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:19 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:19 [0.13ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:19 [0.1ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:19 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:19 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:19 [0.11ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:19 [0.11ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:19 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:19 [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-22 02:25:20 [1.2ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2021-12-22 02:25:20 [0.66ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 3 - 2021-12-22 02:25:20 [0.15ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:20 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:20 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:20 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:20 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2021-12-22 02:25:20 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:20 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:20 [0.11ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:20 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:20 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:20 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:20 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:20 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:20 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:20 [0.1ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:20 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:20 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:20 [0.11ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:20 [0.11ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:20 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:20 [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-22 02:25:21 [0.98ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2021-12-22 02:25:21 [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-22 02:25:21 [0.14ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:21 [0.13ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:21 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:21 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:21 [0.13ms] */
select * from `service` where `service`.`id` = 1 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-22 02:25:21 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:21 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:21 [0.12ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:21 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:21 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:21 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:21 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:21 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:21 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:21 [0.1ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:21 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:21 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:21 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:21 [0.11ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:21 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25: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-22 02:25:21 [0.6ms] */
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-22 02:25:21 [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-22 02:25:21 [0.14ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:21 [0.13ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:21 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:21 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:21 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2021-12-22 02:25:21 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:21 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:21 [0.12ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:21 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:21 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:21 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:21 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:21 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:21 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:21 [0.18ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:21 [0.23ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:21 [0.23ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:21 [0.22ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:21 [0.22ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:21 [0.2ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:21 [0.2ms] */
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-22 02:25:31 [1.17ms] */
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-22 02:25:31 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 3 - 2021-12-22 02:25:31 [0.16ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:31 [0.13ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:31 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:31 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:31 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2021-12-22 02:25:31 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:31 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:31 [0.12ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:31 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:31 [0.13ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:31 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:31 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:31 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:31 [0.13ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:31 [0.1ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:31 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:31 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:31 [0.11ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:31 [0.12ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:31 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:31 [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-22 02:25:31 [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-22 02:25:31 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 3 - 2021-12-22 02:25:31 [0.28ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:31 [0.15ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:31 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:31 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:31 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2021-12-22 02:25:31 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:31 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:31 [0.12ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:31 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:31 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:31 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:31 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:31 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:31 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:31 [0.1ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:31 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:31 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:31 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:31 [0.13ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:31 [0.11ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:31 [0.15ms] */
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-22 02:25:34 [1.18ms] */
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-22 02:25:34 [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-22 02:25:34 [0.14ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:34 [0.12ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:34 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:34 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:34 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2021-12-22 02:25:34 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:34 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:34 [0.13ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:34 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:34 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:34 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:34 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:34 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:34 [0.13ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:34 [0.1ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:34 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:34 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:34 [0.11ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:34 [0.11ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:34 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:34 [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-22 02:25:35 [1.07ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2021-12-22 02:25:35 [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-22 02:25:35 [0.18ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:35 [0.13ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:35 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:35 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:35 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2021-12-22 02:25:35 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:35 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:35 [0.12ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:35 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:35 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:35 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:35 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:35 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:35 [0.12ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:35 [0.1ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:35 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:35 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:35 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:35 [0.11ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:35 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:35 [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-22 02:25:35 [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-22 02:25:35 [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-22 02:25:35 [0.21ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:35 [0.22ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:35 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:35 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:35 [0.2ms] */
select * from `service` where `service`.`id` = 1 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-22 02:25:35 [0.17ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:35 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:35 [0.12ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:35 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 248 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-22 02:25:35 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 308 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-22 02:25:35 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:35 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:35 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:35 [0.13ms] */
select * from `party_vehicle` where `transaction_id` = 308 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-22 02:25:35 [0.1ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:35 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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-22 02:25:35 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:35 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 21 - 2021-12-22 02:25:35 [0.11ms] */
select * from `discount` where `party_id` = 138 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 22 - 2021-12-22 02:25:35 [0.1ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:35 [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-22 02:25:43 [0.72ms] */
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-22 02:25:43 [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-22 02:25:43 [0.7ms] */
insert into `Payment` (`payment_amount`, `payment_date`, `external_payment_reference_no`, `payment_method_id`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (25, '2021-12-22 02:25:43', 'a44445', 4, 'ali', 765444, null, 50, 7, 7, '2021-12-22 02:25:43', '2021-12-22 02:25:43');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2021-12-22 02:25:43 [0.33ms] */
select * from `Payment` where `id` = 214 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2021-12-22 02:25:43 [0.15ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":4,"payment_amount":"25.00","payment_date":"2021-12-22 02:25:43","external_payment_reference_no":"a44445","siinpay_payref_number":null,"paid_by":"ali","paid_by_mobile":"765444","district_id":50}}', 7, 'App\Models\User', 214, 'Modules\Transaction\Entities\Payment', 'created', '2021-12-22 02:25:43', '2021-12-22 02:25:43');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2021-12-22 02:25:43 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 248 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2021-12-22 02:25:43 [0.13ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2021-12-22 02:25:43', 248, 214, '2021-12-22 02:25:43');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2021-12-22 02:25:43 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 248 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2021-12-22 02:25:43 [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` = 248 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2021-12-22 02:25:43 [0.27ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 248 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2021-12-22 02:25:43 [0.17ms] */
update `invoice` set `invoice_amount` = 25, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 25, `status` = 'PAID', `updated_by` = 7, `invoice`.`updated_at` = '2021-12-22 02:25:43' where `id` = 248;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2021-12-22 02:25:43 [0.16ms] */
select * from `invoice` where `id` = 248 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2021-12-22 02:25:43 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"25.00","status":"OPEN"}}', 7, 'App\Models\User', 248, 'Modules\Transaction\Entities\Invoice', 'updated', '2021-12-22 02:25:43', '2021-12-22 02:25:43');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2021-12-22 02:25:43 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 308 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2021-12-22 02:25:43 [0.12ms] */
select * from `transaction` where `transaction`.`id` = 308 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2021-12-22 02:25:43 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 3 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2021-12-22 02:25:43 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2021-12-22 02:25:43 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2021-12-22 02:25:43 [0.15ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (308, 'PAID', '2021-12-22 02:25:43', 7, 7, null, 7, 7, '2021-12-22 02:25:43', '2021-12-22 02:25:43');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2021-12-22 02:25:43 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2021-12-22 02:25:43 [0.12ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2021-12-22 02:25:43 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2021-12-22 02:25:43 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2021-12-22 02:25:43 [0.18ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 4, `transaction`.`updated_at` = '2021-12-22 02:25:43' where `id` = 308;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 25 - 2021-12-22 02:25:43 [0.16ms] */
select * from `transaction` where `id` = 308 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 26 - 2021-12-22 02:25:43 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 27 - 2021-12-22 02:25:43 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2021-12-22 02:25:43 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('transaction', '{"attributes":{"current_workflow_state_id":4,"assigned_to":null},"old":{"current_workflow_state_id":3,"assigned_to":7}}', 7, 'App\Models\User', 308, 'Modules\Transaction\Entities\Transaction', 'updated', '2021-12-22 02:25:43', '2021-12-22 02:25:43');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2021-12-22 02:25:43 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2021-12-22 02:25:43 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2021-12-22 02:25:43 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 248 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2021-12-22 02:25:43 [0.2ms] */
select * from `party_vehicle` where `transaction_id` = 308 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 33 - 2021-12-22 02:25:43 [0.15ms] */
update `party_vehicle` set `status` = 'PAID', `updated_by` = 7, `party_vehicle`.`updated_at` = '2021-12-22 02:25:43' where `id` = 149;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 34 - 2021-12-22 02:25:43 [0.15ms] */
select * from `party_vehicle` where `id` = 149 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2021-12-22 02:25:43 [0.13ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('party_vehicle', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 7, 'App\Models\User', 149, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2021-12-22 02:25:43', '2021-12-22 02:25:43');
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 36 - 2021-12-22 02:25:43 [0.29ms] */
select * from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 37 - 2021-12-22 02:25:43 [0.28ms] */
select * from `transaction` where `transaction`.`id` in (308) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 38 - 2021-12-22 02:25:43 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 39 - 2021-12-22 02:25:43 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 40 - 2021-12-22 02:25:43 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 41 - 2021-12-22 02:25:43 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 42 - 2021-12-22 02:25:43 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 43 - 2021-12-22 02:25:43 [0.12ms] */
select * from `address` where `address`.`id` in (92) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 44 - 2021-12-22 02:25:43 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 248 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 45 - 2021-12-22 02:25:43 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 308 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 46 - 2021-12-22 02:25:43 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 47 - 2021-12-22 02:25:43 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 48 - 2021-12-22 02:25:43 [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): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 49 - 2021-12-22 02:25:43 [0.31ms] */
select * from `party_vehicle` where `transaction_id` = 308 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 50 - 2021-12-22 02:25:43 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 51 - 2021-12-22 02:25:43 [0.12ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 and `party_vehicle_id` = 149 and `vehicle_tax_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 52 - 2021-12-22 02:25:43 [0.12ms] */
select * from `vehicle_tax` where `transaction_id` = 308 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 53 - 2021-12-22 02:25:43 [0.11ms] */
select * from `discount` where `party_id` = 138 and `service_id` = 1 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 54 - 2021-12-22 02:25:43 [0.11ms] */
select * from `discount` where `party_id` = 138 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 55 - 2021-12-22 02:25:43 [0.25ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `id` in (248) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 56 - 2021-12-22 02:25:43 [0.11ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2021-12-22 02:25:44 [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-22 02:25:44 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2021-12-22 02:25:44 [0.25ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 139 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2021-12-22 02:25:44 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 308 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2021-12-22 02:25:44 [0.37ms] */
select * from `transaction_workflow` where `transaction_id` = 308 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2021-12-22 02:25:44 [0.3ms] */
select * from `invoice` where `transaction_id` = 308 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2021-12-22 02:25:44 [0.12ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 308 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2021-12-22 02:25:44 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2021-12-22 02:25:44 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2021-12-22 02:25:44 [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): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2021-12-22 02:25:44 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2021-12-22 02:25:44 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2021-12-22 02:25:44 [0.12ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2021-12-22 02:25:44 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 149 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2021-12-22 02:25:44 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2021-12-22 02:25:44 [0.12ms] */
select * from `district` where `district`.`id` = 18 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2021-12-22 02:25:44 [0.12ms] */
select * from `region` where `region`.`id` = 4 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2021-12-22 02:25:44 [0.11ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2021-12-22 02:25:44 [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/widgets.title-workflow-widget
   Query 1 - 2021-12-22 02:25:44 [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/widgets.title-workflow-widget
   Query 2 - 2021-12-22 02:25:44 [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/widgets.title-workflow-widget
   Query 3 - 2021-12-22 02:25:44 [0.15ms] */
select * from `party_vehicle` where `transaction_id` = 308 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2021-12-22 02:25:45 [1ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2021-12-22 02:25:45 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 3 - 2021-12-22 02:25:45 [0.31ms] */
select * from `transaction_workflow` where `transaction_id` = 308 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 4 - 2021-12-22 02:25:45 [0.14ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 5 - 2021-12-22 02:25:45 [0.28ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 6 - 2021-12-22 02:25:45 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2021-12-22 02:25:45 [0.12ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2021-12-22 02:25:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 9 - 2021-12-22 02:25:45 [0.12ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2021-12-22 02:25:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2021-12-22 02:25:45 [0.12ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 12 - 2021-12-22 02:25:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 13 - 2021-12-22 02:25:45 [0.12ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 14 - 2021-12-22 02:25:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 15 - 2021-12-22 02:25:45 [0.12ms] */
select * from `users` where `users`.`id` = 6 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 16 - 2021-12-22 02:25:45 [0.1ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 17 - 2021-12-22 02:25:45 [0.12ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 18 - 2021-12-22 02:25:45 [0.1ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2021-12-22 02:25:45 [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/widgets.workflow-progress-widget
   Query 2 - 2021-12-22 02:25:45 [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/widgets.workflow-progress-widget
   Query 3 - 2021-12-22 02:25:45 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 308 limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 4 - 2021-12-22 02:25:45 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 5 - 2021-12-22 02:25:45 [0.11ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2021-12-22 02:25:45 [0.11ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2021-12-22 02:25:45 [0.12ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2021-12-22 02:25:45 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2021-12-22 02:25:45 [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/widgets.workflow-progress-widget
   Query 10 - 2021-12-22 02:25:45 [0.11ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2021-12-22 02:25:45 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (142) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2021-12-22 02:25:45 [0.12ms] */
select * from `party` where `party`.`id` in (138) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2021-12-22 02:25:45 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (149) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2021-12-22 02:25:45 [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/widgets.workflow-progress-widget
   Query 15 - 2021-12-22 02:25:45 [0.21ms] */
select * from `district` where `district`.`id` in (18) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2021-12-22 02:25:45 [0.11ms] */
select * from `region` where `region`.`id` in (4) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 17 - 2021-12-22 02:25:45 [0.11ms] */
select * from `district` where `district`.`id` in (50) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 18 - 2021-12-22 02:25:45 [0.1ms] */
select * from `region` where `region`.`id` in (9) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 19 - 2021-12-22 02:25:45 [0.12ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 20 - 2021-12-22 02:25:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 21 - 2021-12-22 02:25:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 22 - 2021-12-22 02:25:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 23 - 2021-12-22 02:25:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 24 - 2021-12-22 02:25:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/logout
   Query 1 - 2021-12-22 02:25:49 [1.07ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/logout
   Query 2 - 2021-12-22 02:25:49 [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 1 - 2021-12-22 02:26:08 [1.15ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2021-12-22 02:26:08 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 1 - 2021-12-22 02:26:08 [0.62ms] */
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-22 02:26:08 [0.38ms] */
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-22 02:26: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-22 02:26:08 [0.29ms] */
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-22 02:26:08 [0.34ms] */
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-22 02:26: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-22 02:26:08 [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 8 - 2021-12-22 02:26:08 [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 9 - 2021-12-22 02:26:08 [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 10 - 2021-12-22 02:26:08 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 141 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-22 02:26:08 [0.2ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 12 - 2021-12-22 02:26:08 [0.21ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 13 - 2021-12-22 02:26:08 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 14 - 2021-12-22 02:26: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-22 02:26:08 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 16 - 2021-12-22 02:26: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 17 - 2021-12-22 02:26:08 [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 18 - 2021-12-22 02:26:08 [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-22 02:26:08 [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-22 02:26:08 [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-22 02:26:08 [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-22 02:26:08 [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-22 02:26:08 [0.11ms] */
select * from `vehicle` where `vehicle`.`id` = 141 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-22 02:26:08 [0.11ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 25 - 2021-12-22 02:26:08 [0.14ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 26 - 2021-12-22 02:26:08 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 27 - 2021-12-22 02:26:08 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 28 - 2021-12-22 02:26:08 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 29 - 2021-12-22 02:26:08 [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-22 02:26:08 [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-22 02:26:08 [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-22 02:26:08 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 33 - 2021-12-22 02:26:08 [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-22 02:26:08 [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-22 02:26:08 [0.11ms] */
select * from `vehicle` where `vehicle`.`id` = 141 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-22 02:26:08 [0.11ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 37 - 2021-12-22 02:26:08 [0.12ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 38 - 2021-12-22 02:26:08 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 39 - 2021-12-22 02:26:08 [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-22 02:26:08 [0.1ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 41 - 2021-12-22 02:26:08 [0.11ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 42 - 2021-12-22 02:26:08 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 43 - 2021-12-22 02:26:08 [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 44 - 2021-12-22 02:26:08 [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-22 02:26:08 [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-22 02:26:08 [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-22 02:26:08 [0.11ms] */
select * from `vehicle` where `vehicle`.`id` = 141 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-22 02:26:08 [0.11ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 49 - 2021-12-22 02:26:08 [0.12ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 50 - 2021-12-22 02:26:08 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 51 - 2021-12-22 02:26:08 [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-22 02:26:08 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 53 - 2021-12-22 02:26:08 [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 54 - 2021-12-22 02:26:08 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 55 - 2021-12-22 02:26:08 [0.1ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 56 - 2021-12-22 02:26:08 [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/w/wkflw
   Query 57 - 2021-12-22 02:26:08 [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-22 02:26:08 [0.11ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 59 - 2021-12-22 02:26:08 [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 60 - 2021-12-22 02:26:08 [0.2ms] */
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 61 - 2021-12-22 02:26:08 [0.18ms] */
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 62 - 2021-12-22 02:26:08 [0.2ms] */
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 63 - 2021-12-22 02:26:08 [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 64 - 2021-12-22 02:26:08 [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 65 - 2021-12-22 02:26:08 [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-22 02:26:08 [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
   Query 67 - 2021-12-22 02:26:08 [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-22 02:26:08 [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 69 - 2021-12-22 02:26:08 [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/w/wkflw
   Query 70 - 2021-12-22 02:26:08 [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/w/wkflw
   Query 71 - 2021-12-22 02:26:08 [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 72 - 2021-12-22 02:26:08 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 109 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-22 02:26:08 [0.18ms] */
select * from `party` where `party`.`id` = 105 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-22 02:26:08 [0.18ms] */
select * from `person` where `person`.`id` = 89 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 75 - 2021-12-22 02:26:08 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 109 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 76 - 2021-12-22 02:26:08 [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 77 - 2021-12-22 02:26:08 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 78 - 2021-12-22 02:26:08 [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 79 - 2021-12-22 02:26:08 [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 80 - 2021-12-22 02:26:08 [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 81 - 2021-12-22 02:26:08 [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 82 - 2021-12-22 02:26:08 [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 83 - 2021-12-22 02:26:08 [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 84 - 2021-12-22 02:26:08 [0.19ms] */
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 85 - 2021-12-22 02:26:08 [0.16ms] */
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 86 - 2021-12-22 02:26:08 [0.18ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 87 - 2021-12-22 02:26:08 [0.17ms] */
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 88 - 2021-12-22 02:26: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 89 - 2021-12-22 02:26:08 [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 90 - 2021-12-22 02:26:08 [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 91 - 2021-12-22 02:26:08 [0.11ms] */
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 92 - 2021-12-22 02:26:08 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 93 - 2021-12-22 02:26:08 [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 94 - 2021-12-22 02:26:08 [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 95 - 2021-12-22 02:26:08 [0.14ms] */
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-22 02:26:08 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 97 - 2021-12-22 02:26:08 [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-22 02:26:08 [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-22 02:26:08 [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 100 - 2021-12-22 02:26:08 [0.11ms] */
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-22 02:26:08 [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-22 02:26:08 [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-22 02:26:08 [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 104 - 2021-12-22 02:26:08 [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 105 - 2021-12-22 02:26:08 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 106 - 2021-12-22 02:26:08 [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 107 - 2021-12-22 02:26:08 [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 108 - 2021-12-22 02:26:08 [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 109 - 2021-12-22 02:26:08 [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 110 - 2021-12-22 02:26:08 [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 111 - 2021-12-22 02:26:08 [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 112 - 2021-12-22 02:26:08 [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 113 - 2021-12-22 02:26:08 [0.13ms] */
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 114 - 2021-12-22 02:26:08 [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 115 - 2021-12-22 02:26:08 [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 116 - 2021-12-22 02:26: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 117 - 2021-12-22 02:26:08 [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 118 - 2021-12-22 02:26:08 [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 119 - 2021-12-22 02:26:08 [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 120 - 2021-12-22 02:26:08 [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 121 - 2021-12-22 02:26:08 [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 122 - 2021-12-22 02:26:08 [0.11ms] */
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 123 - 2021-12-22 02:26:08 [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 124 - 2021-12-22 02:26:08 [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 125 - 2021-12-22 02:26:08 [0.11ms] */
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 126 - 2021-12-22 02:26:08 [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 127 - 2021-12-22 02:26:08 [0.1ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 128 - 2021-12-22 02:26:08 [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 129 - 2021-12-22 02:26:08 [0.11ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 130 - 2021-12-22 02:26:08 [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-22 02:26: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 132 - 2021-12-22 02:26:08 [0.11ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 1 - 2021-12-22 02:26:10 [1.16ms] */
select * from `users` where `email` = 'payment@user.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-22 02:26:10 [0.14ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 3 - 2021-12-22 02:26:10 [0.37ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 7 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-22 02:26:10 [14.66ms] */
update `userprofiles` set `login_count` = 196, `last_login` = '2021-12-22 02:26:10', `userprofiles`.`updated_at` = '2021-12-22 02:26:10' where `id` = 7;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 5 - 2021-12-22 02:26:10 [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
   Query 1 - 2021-12-22 02:26:11 [0.9ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org
   Query 2 - 2021-12-22 02:26:11 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 1 - 2021-12-22 02:26:11 [0.66ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2021-12-22 02:26:11 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 1 - 2021-12-22 02:26:11 [1.05ms] */
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-22 02:26:11 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 3 - 2021-12-22 02:26:11 [0.2ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2021-12-22 02:26:11 [0.19ms] */
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-22 02:26:11 [0.21ms] */
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-22 02:26:11 [0.17ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 7 - 2021-12-22 02:26:11 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 8 - 2021-12-22 02:26:11 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 9 - 2021-12-22 02:26:11 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 10 - 2021-12-22 02:26:11 [0.19ms] */
select * from `vehicle` where `vehicle`.`id` = 141 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-22 02:26:11 [0.18ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 12 - 2021-12-22 02:26:11 [0.2ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 13 - 2021-12-22 02:26:11 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 14 - 2021-12-22 02:26:11 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 15 - 2021-12-22 02:26:11 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 16 - 2021-12-22 02:26:11 [0.16ms] */
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-22 02:26:11 [0.17ms] */
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 18 - 2021-12-22 02:26:11 [0.45ms] */
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-22 02:26:11 [0.18ms] */
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-22 02:26:11 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 21 - 2021-12-22 02:26:11 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 22 - 2021-12-22 02:26:11 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 23 - 2021-12-22 02:26:11 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 141 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-22 02:26:11 [0.16ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 25 - 2021-12-22 02:26:11 [0.15ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 26 - 2021-12-22 02:26:11 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 27 - 2021-12-22 02:26:11 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 28 - 2021-12-22 02:26:11 [0.13ms] */
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 29 - 2021-12-22 02:26:11 [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 30 - 2021-12-22 02:26:11 [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 31 - 2021-12-22 02:26:11 [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 32 - 2021-12-22 02:26:11 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 33 - 2021-12-22 02:26:11 [0.14ms] */
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-22 02:26:11 [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 35 - 2021-12-22 02:26:11 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 141 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-22 02:26:11 [0.14ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 37 - 2021-12-22 02:26:11 [0.15ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 38 - 2021-12-22 02:26:11 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 39 - 2021-12-22 02:26:11 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 40 - 2021-12-22 02:26:11 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 41 - 2021-12-22 02:26:11 [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 42 - 2021-12-22 02:26:11 [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 43 - 2021-12-22 02:26:11 [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 44 - 2021-12-22 02:26:11 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 45 - 2021-12-22 02:26:11 [0.14ms] */
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-22 02:26:11 [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 47 - 2021-12-22 02:26:11 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 141 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-22 02:26:11 [0.14ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 49 - 2021-12-22 02:26:11 [0.15ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 50 - 2021-12-22 02:26:11 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 148 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 51 - 2021-12-22 02:26:11 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 52 - 2021-12-22 02:26:11 [0.14ms] */
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 53 - 2021-12-22 02:26:11 [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-22 02:26:11 [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 55 - 2021-12-22 02:26:11 [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-22 02:26:11 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 57 - 2021-12-22 02:26:11 [0.13ms] */
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-22 02:26:11 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 59 - 2021-12-22 02:26:11 [0.15ms] */
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 60 - 2021-12-22 02:26:11 [0.15ms] */
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 61 - 2021-12-22 02:26:11 [0.15ms] */
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 62 - 2021-12-22 02:26:11 [0.15ms] */
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 63 - 2021-12-22 02:26:11 [0.14ms] */
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 64 - 2021-12-22 02:26:11 [0.14ms] */
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 65 - 2021-12-22 02:26:11 [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
   Query 66 - 2021-12-22 02:26:11 [0.16ms] */
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-22 02:26:11 [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 68 - 2021-12-22 02:26:11 [0.15ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 69 - 2021-12-22 02:26:11 [0.14ms] */
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 70 - 2021-12-22 02:26:11 [0.14ms] */
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 71 - 2021-12-22 02:26:11 [0.14ms] */
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 72 - 2021-12-22 02:26:11 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 109 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-22 02:26:11 [0.14ms] */
select * from `party` where `party`.`id` = 105 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-22 02:26:11 [0.15ms] */
select * from `person` where `person`.`id` = 89 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 75 - 2021-12-22 02:26:11 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 109 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 76 - 2021-12-22 02:26:11 [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/w/wkflw
   Query 77 - 2021-12-22 02:26:11 [0.13ms] */
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 78 - 2021-12-22 02:26:11 [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
   Query 79 - 2021-12-22 02:26:11 [0.15ms] */
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 80 - 2021-12-22 02:26:11 [0.14ms] */
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 81 - 2021-12-22 02:26:11 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 82 - 2021-12-22 02:26:11 [0.15ms] */
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 83 - 2021-12-22 02:26:11 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 84 - 2021-12-22 02:26:11 [0.15ms] */
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 85 - 2021-12-22 02:26:11 [0.15ms] */
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 86 - 2021-12-22 02:26:11 [0.15ms] */
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 87 - 2021-12-22 02:26:11 [0.15ms] */
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 88 - 2021-12-22 02:26:11 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 89 - 2021-12-22 02:26:11 [0.14ms] */
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 90 - 2021-12-22 02:26:11 [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 91 - 2021-12-22 02:26:11 [0.15ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 92 - 2021-12-22 02:26:11 [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 93 - 2021-12-22 02:26:11 [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 94 - 2021-12-22 02:26:11 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 95 - 2021-12-22 02:26:11 [0.15ms] */
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-22 02:26:11 [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 97 - 2021-12-22 02:26:11 [0.16ms] */
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-22 02:26:11 [0.15ms] */
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-22 02:26:11 [0.17ms] */
select * from `person` where `person`.`id` = 94 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 100 - 2021-12-22 02:26:11 [0.19ms] */
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-22 02:26:11 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 102 - 2021-12-22 02:26:11 [0.15ms] */
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-22 02:26:11 [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 104 - 2021-12-22 02:26:11 [0.15ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 105 - 2021-12-22 02:26:11 [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 106 - 2021-12-22 02:26:11 [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 107 - 2021-12-22 02:26:11 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 108 - 2021-12-22 02:26:11 [0.14ms] */
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 109 - 2021-12-22 02:26:11 [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 110 - 2021-12-22 02:26:11 [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/w/wkflw
   Query 111 - 2021-12-22 02:26:11 [0.14ms] */
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 112 - 2021-12-22 02:26:11 [0.15ms] */
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 113 - 2021-12-22 02:26:11 [0.15ms] */
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 114 - 2021-12-22 02:26:11 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 115 - 2021-12-22 02:26:11 [0.13ms] */
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 116 - 2021-12-22 02:26:11 [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
   Query 117 - 2021-12-22 02:26:11 [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 118 - 2021-12-22 02:26:11 [0.18ms] */
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 119 - 2021-12-22 02:26:11 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 120 - 2021-12-22 02:26:11 [0.14ms] */
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 121 - 2021-12-22 02:26:11 [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 122 - 2021-12-22 02:26:11 [0.15ms] */
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 123 - 2021-12-22 02:26:11 [0.14ms] */
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 124 - 2021-12-22 02:26:11 [0.15ms] */
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 125 - 2021-12-22 02:26:11 [0.15ms] */
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 126 - 2021-12-22 02:26:11 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 127 - 2021-12-22 02:26:11 [0.14ms] */
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 128 - 2021-12-22 02:26:11 [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 129 - 2021-12-22 02:26:11 [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 130 - 2021-12-22 02:26:11 [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 131 - 2021-12-22 02:26:11 [0.16ms] */
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-22 02:26:11 [0.15ms] */
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-22 02:26:15 [0.68ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 2 - 2021-12-22 02:26:15 [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.list-workflow-queue-component
   Query 3 - 2021-12-22 02:26:15 [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-22 02:26:15 [0.43ms] */
select count(*) as aggregate from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `vehicle`.`license_plate` like '%rr%' and `workflow_definition`.`role_id` in (7) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 5 - 2021-12-22 02:26:15 [0.37ms] */
