select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2024-11-28 14:45:27 [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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2024-11-28 14:45:27 [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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2024-11-28 14:45:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2024-11-28 14:45:27 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2024-11-28 14:45:27 [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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2024-11-28 14:45:27 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2024-11-28 14:45:27 [0.13ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2024-11-28 14:45:27 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98701 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2024-11-28 14:45:27 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2024-11-28 14:45:27 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2024-11-28 14:45:27 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2024-11-28 14:45:27 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2024-11-28 14:45:27 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2024-11-28 14:45:27 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2024-11-28 14:45:27 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2024-11-28 14:45:27 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2024-11-28 14:45:27 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2024-11-28 14:45:27 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2024-11-28 14:45:27 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2024-11-28 14:45:28 [2.07ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2024-11-28 14:45:28 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 3 - 2024-11-28 14:45:28 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2024-11-28 14:45:28 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2024-11-28 14:45:28 [0.19ms] */
select * from `payment_method` where `payment_method`.`id` in (1, 2, 3, 4, 5, 6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2024-11-28 14:45:28 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2024-11-28 14:45:28 [0.3ms] */
select * from `invoice` where `transaction_id` = 102258 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2024-11-28 14:45:28 [0.23ms] */
select * from `transaction` where `transaction`.`id` in (102258) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2024-11-28 14:45:28 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` in (89696) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2024-11-28 14:45:28 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2024-11-28 14:45:28 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2024-11-28 14:45:28 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2024-11-28 14:45:28 [0.14ms] */
select * from `party` where `party`.`id` in (54995) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2024-11-28 14:45:28 [0.24ms] */
select * from `address` where `address`.`id` in (54995) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2024-11-28 14:45:28 [0.19ms] */
select `invoice`.`id` from `invoice` where `transaction_id` = 102258 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2024-11-28 14:45:28 [0.21ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `transaction_id` = 102258 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2024-11-28 14:45:28 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2024-11-28 14:45:28 [0.15ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2024-11-28 14:45:28 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2024-11-28 14:45:28 [0.13ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2024-11-28 14:45:28 [0.14ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2024-11-28 14:45:28 [0.12ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2024-11-28 14:45:28 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2024-11-28 14:45:28 [0.14ms] */
select * from `invoice` where `transaction_id` = 102258 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 25 - 2024-11-28 14:45:28 [0.14ms] */
select * from `transaction` where `transaction`.`id` in (102258) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 26 - 2024-11-28 14:45:28 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` in (89696) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 27 - 2024-11-28 14:45:28 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2024-11-28 14:45:28 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2024-11-28 14:45:28 [0.12ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2024-11-28 14:45:28 [0.13ms] */
select * from `party` where `party`.`id` in (54995) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2024-11-28 14:45:28 [0.14ms] */
select * from `address` where `address`.`id` in (54995) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2024-11-28 14:45:28 [0.12ms] */
select `invoice`.`id` from `invoice` where `transaction_id` = 102258 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 33 - 2024-11-28 14:45:28 [0.12ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `transaction_id` = 102258 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 34 - 2024-11-28 14:45:28 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2024-11-28 14:45:28 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 36 - 2024-11-28 14:45:28 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 37 - 2024-11-28 14:45:28 [0.13ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 38 - 2024-11-28 14:45:28 [0.13ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 39 - 2024-11-28 14:45:28 [0.12ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 40 - 2024-11-28 14:45:28 [0.15ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 41 - 2024-11-28 14:45:28 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2024-11-28 14:45:31 [2.01ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2024-11-28 14:45:31 [0.68ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 3 - 2024-11-28 14:45:31 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2024-11-28 14:45:31 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2024-11-28 14:45:31 [0.29ms] */
select * from `invoice` where `invoice`.`id` in (101862);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2024-11-28 14:45:31 [0.16ms] */
select * from `transaction` where `transaction`.`id` in (102258) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2024-11-28 14:45:31 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (89696) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2024-11-28 14:45:31 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2024-11-28 14:45:31 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2024-11-28 14:45:31 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2024-11-28 14:45:31 [0.14ms] */
select * from `party` where `party`.`id` in (54995) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2024-11-28 14:45:31 [0.14ms] */
select * from `address` where `address`.`id` in (54995) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2024-11-28 14:45:31 [0.14ms] */
select * from `payment_method` where `payment_method`.`id` in (1, 2, 3, 4, 5, 6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2024-11-28 14:45:31 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 102258 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2024-11-28 14:45:31 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2024-11-28 14:45:31 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2024-11-28 14:45:31 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2024-11-28 14:45:31 [0.16ms] */
select * from `invoice` where `transaction_id` = 102258 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2024-11-28 14:45:31 [0.14ms] */
select * from `transaction` where `transaction`.`id` in (102258) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2024-11-28 14:45:31 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` in (89696) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2024-11-28 14:45:31 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2024-11-28 14:45:31 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2024-11-28 14:45:31 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2024-11-28 14:45:31 [0.13ms] */
select * from `party` where `party`.`id` in (54995) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 25 - 2024-11-28 14:45:31 [0.13ms] */
select * from `address` where `address`.`id` in (54995) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 26 - 2024-11-28 14:45:31 [0.12ms] */
select `invoice`.`id` from `invoice` where `transaction_id` = 102258 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 27 - 2024-11-28 14:45:31 [0.13ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `transaction_id` = 102258 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2024-11-28 14:45:31 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2024-11-28 14:45:31 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2024-11-28 14:45:31 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2024-11-28 14:45:31 [0.13ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2024-11-28 14:45:31 [0.14ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 33 - 2024-11-28 14:45:31 [0.13ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 34 - 2024-11-28 14:45:31 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2024-11-28 14:45:31 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2024-11-28 14:45:39 [1.98ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2024-11-28 14:45:39 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 3 - 2024-11-28 14:45:39 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2024-11-28 14:45:39 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2024-11-28 14:45:40 [0.28ms] */
select * from `invoice` where `invoice`.`id` in (101862);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2024-11-28 14:45:40 [0.17ms] */
select * from `transaction` where `transaction`.`id` in (102258) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2024-11-28 14:45:40 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (89696) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2024-11-28 14:45:40 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2024-11-28 14:45:40 [0.17ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2024-11-28 14:45:40 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2024-11-28 14:45:40 [0.15ms] */
select * from `party` where `party`.`id` in (54995) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2024-11-28 14:45:40 [0.15ms] */
select * from `address` where `address`.`id` in (54995) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2024-11-28 14:45:40 [0.15ms] */
select * from `payment_method` where `payment_method`.`id` in (1, 2, 3, 4, 5, 6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2024-11-28 14:45:40 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102258 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2024-11-28 14:45:40 [0.15ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2024-11-28 14:45:40 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2024-11-28 14:45:40 [22.83ms] */
select count(*) as aggregate from `payment` where `payment_receipt_number` = 'A034534';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2024-11-28 14:45:40 [0.18ms] */
select count(*) as aggregate from `payment` where `payment_receipt_number` = 'A034534';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2024-11-28 14:45:40 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2024-11-28 14:45:40 [0.15ms] */
select * from `invoice` where `transaction_id` = 102258 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2024-11-28 14:45:40 [0.15ms] */
select * from `transaction` where `transaction`.`id` in (102258) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2024-11-28 14:45:40 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` in (89696) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2024-11-28 14:45:40 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2024-11-28 14:45:40 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 25 - 2024-11-28 14:45:40 [0.12ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 26 - 2024-11-28 14:45:40 [0.14ms] */
select * from `party` where `party`.`id` in (54995) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 27 - 2024-11-28 14:45:40 [0.15ms] */
select * from `address` where `address`.`id` in (54995) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2024-11-28 14:45:40 [0.12ms] */
select `invoice`.`id` from `invoice` where `transaction_id` = 102258 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2024-11-28 14:45:40 [0.12ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `transaction_id` = 102258 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2024-11-28 14:45:40 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2024-11-28 14:45:40 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2024-11-28 14:45:40 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 33 - 2024-11-28 14:45:40 [0.12ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 34 - 2024-11-28 14:45:40 [0.13ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2024-11-28 14:45:40 [0.12ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 36 - 2024-11-28 14:45:40 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 37 - 2024-11-28 14:45:40 [0.16ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 1 - 2024-11-28 14:45:45 [1.99ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 2 - 2024-11-28 14:45:45 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 3 - 2024-11-28 14:45:45 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 4 - 2024-11-28 14:45:45 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 5 - 2024-11-28 14:45:45 [0.19ms] */
select * from `invoice` where `invoice`.`id` in (101862);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 6 - 2024-11-28 14:45:45 [0.16ms] */
select * from `transaction` where `transaction`.`id` in (102258) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2024-11-28 14:45:45 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (89696) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 8 - 2024-11-28 14:45:45 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2024-11-28 14:45:45 [0.15ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 10 - 2024-11-28 14:45:45 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 11 - 2024-11-28 14:45:45 [0.15ms] */
select * from `party` where `party`.`id` in (54995) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 12 - 2024-11-28 14:45:45 [0.14ms] */
select * from `address` where `address`.`id` in (54995) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2024-11-28 14:45:45 [0.14ms] */
select * from `payment_method` where `payment_method`.`id` in (1, 2, 3, 4, 5, 6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2024-11-28 14:45:45 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102258 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2024-11-28 14:45:45 [0.15ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 16 - 2024-11-28 14:45:45 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2024-11-28 14:45:45 [14.84ms] */
select count(*) as aggregate from `payment` where `payment_receipt_number` = 'A034534111111';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 18 - 2024-11-28 14:45:45 [0.19ms] */
select count(*) as aggregate from `payment` where `payment_receipt_number` = 'A034534111111';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 19 - 2024-11-28 14:45:45 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 89696 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2024-11-28 14:45:45 [0.28ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 21 - 2024-11-28 14:45:45 [0.25ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2024-11-28 14:45:45 [0.68ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2024-11-28 14:45:45', '#674857DB508B6', 'A034534111111', 4, 10, 'test', 34345345, null, 37, 7, 7, 7, '2024-11-28 14:45:45', '2024-11-28 14:45:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 23 - 2024-11-28 14:45:45 [0.44ms] */
select * from `Payment` where `id` = 89591 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 24 - 2024-11-28 14:45:45 [0.51ms] */
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":"10.00","payment_date":"2024-11-28 14:45:45","external_payment_reference_no":"#674857DB508B6","payment_receipt_number":"A034534111111","siinpay_payref_number":null,"paid_by":"test","paid_by_mobile":"34345345","district_id":37,"migration_id":null,"payment_collected_by":7}}', 7, 'App\Models\User', 89591, 'Modules\Transaction\Entities\Payment', 'created', '2024-11-28 14:45:45', '2024-11-28 14:45:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 25 - 2024-11-28 14:45:45 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 26 - 2024-11-28 14:45:45 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 27 - 2024-11-28 14:45:45 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 28 - 2024-11-28 14:45:45 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 101862 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 29 - 2024-11-28 14:45:45 [0.25ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2024-11-28 14:45:45', 101862, 89591, '2024-11-28 14:45:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 30 - 2024-11-28 14:45:45 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 101862 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 31 - 2024-11-28 14:45:45 [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` = 101862 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2024-11-28 14:45:45 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101862 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 33 - 2024-11-28 14:45:45 [0.2ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 10, `status` = 'PAID', `updated_by` = 7, `invoice`.`updated_at` = '2024-11-28 14:45:45' where `id` = 101862;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 34 - 2024-11-28 14:45:45 [0.19ms] */
select * from `invoice` where `id` = 101862 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 35 - 2024-11-28 14:45:45 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"10.00","status":"OPEN"}}', 7, 'App\Models\User', 101862, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:45:45', '2024-11-28 14:45:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 36 - 2024-11-28 14:45:45 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 37 - 2024-11-28 14:45:45 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 38 - 2024-11-28 14:45:45 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 39 - 2024-11-28 14:45:45 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 40 - 2024-11-28 14:45:45 [0.14ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 41 - 2024-11-28 14:45:45 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 42 - 2024-11-28 14:45:45 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102258, 'PAID', '2024-11-28 14:45:45', 7, 7, null, 7, 7, '2024-11-28 14:45:45', '2024-11-28 14:45:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 43 - 2024-11-28 14:45:45 [0.13ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 44 - 2024-11-28 14:45:45 [0.27ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 4, `transaction`.`updated_at` = '2024-11-28 14:45:45' where `id` = 102258;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 45 - 2024-11-28 14:45:45 [0.14ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 46 - 2024-11-28 14:45:45 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 101862 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 47 - 2024-11-28 14:45:45 [0.23ms] */
select * from `party_vehicle` where `transaction_id` = 102258 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 48 - 2024-11-28 14:45:45 [0.2ms] */
update `party_vehicle` set `status` = 'PAID', `updated_by` = 7, `party_vehicle`.`updated_at` = '2024-11-28 14:45:45' where `id` = 98701;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 49 - 2024-11-28 14:45:45 [0.19ms] */
select * from `party_vehicle` where `id` = 98701 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 50 - 2024-11-28 14:45:45 [0.16ms] */
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', 98701, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2024-11-28 14:45:45', '2024-11-28 14:45:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 51 - 2024-11-28 14:45:45 [0.46ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 52 - 2024-11-28 14:45:45 [0.48ms] */
select * from `invoice` where `transaction_id` = 102258 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 53 - 2024-11-28 14:45:45 [0.4ms] */
select * from `transaction` where `transaction`.`id` in (102258) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 54 - 2024-11-28 14:45:45 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` in (89696) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 55 - 2024-11-28 14:45:45 [0.26ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 56 - 2024-11-28 14:45:45 [0.25ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 57 - 2024-11-28 14:45:45 [0.24ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 58 - 2024-11-28 14:45:45 [0.3ms] */
select * from `party` where `party`.`id` in (54995) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 59 - 2024-11-28 14:45:45 [0.2ms] */
select * from `address` where `address`.`id` in (54995) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 60 - 2024-11-28 14:45:45 [0.3ms] */
select `invoice`.`id` from `invoice` where `transaction_id` = 102258 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 61 - 2024-11-28 14:45:45 [0.41ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `transaction_id` = 102258 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 62 - 2024-11-28 14:45:45 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 63 - 2024-11-28 14:45:45 [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): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 64 - 2024-11-28 14:45:45 [0.21ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 65 - 2024-11-28 14:45:45 [0.2ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 66 - 2024-11-28 14:45:45 [0.21ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 67 - 2024-11-28 14:45:45 [0.19ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 68 - 2024-11-28 14:45:45 [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://testtra.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 69 - 2024-11-28 14:45:45 [0.2ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2024-11-28 14:45:46 [1.41ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2024-11-28 14:45:46 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2024-11-28 14:45:46 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2024-11-28 14:45:46 [0.5ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2024-11-28 14:45:46 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 102258 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2024-11-28 14:45:46 [0.25ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2024-11-28 14:45:46 [0.23ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2024-11-28 14:45:46 [0.33ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2024-11-28 14:45:46 [0.3ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2024-11-28 14:45:46 [0.3ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2024-11-28 14:45:46 [0.26ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2024-11-28 14:45:46 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (98701) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2024-11-28 14:45:46 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2024-11-28 14:45:46 [0.13ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2024-11-28 14:45:46 [0.13ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2024-11-28 14:45:46 [0.12ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2024-11-28 14:45:46 [0.12ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2024-11-28 14:45:46 [0.14ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 89153 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2024-11-28 14:45:46 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2024-11-28 14:45:46 [0.29ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2024-11-28 14:45:46 [0.26ms] */
select * from `invoice` where `transaction_id` = 102258 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2024-11-28 14:45:46 [0.2ms] */
select * from `invoice_payment` where `invoice_id` = 101862;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2024-11-28 14:45:46 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 102258 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2024-11-28 14:45:46 [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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2024-11-28 14:45:46 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2024-11-28 14:45:46 [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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2024-11-28 14:45:46 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2024-11-28 14:45:46 [0.15ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2024-11-28 14:45:46 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98701 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2024-11-28 14:45:46 [0.26ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2024-11-28 14:45:46 [16.96ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2024-11-28 14:45:46 [0.17ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2024-11-28 14:45:46 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2024-11-28 14:45:46 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2024-11-28 14:45:46 [0.1ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2024-11-28 14:45:46 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2024-11-28 14:45:46 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2024-11-28 14:45:46 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2024-11-28 14:45:46 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2024-11-28 14:45:46 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 1 - 2024-11-28 14:45:46 [1.28ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 2 - 2024-11-28 14:45:46 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 3 - 2024-11-28 14:45:46 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 4 - 2024-11-28 14:45:46 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 5 - 2024-11-28 14:45:46 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98701 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2024-11-28 14:45:47 [1.3ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2024-11-28 14:45:47 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 3 - 2024-11-28 14:45:47 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 4 - 2024-11-28 14:45:47 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 5 - 2024-11-28 14:45:47 [0.61ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 6 - 2024-11-28 14:45:47 [0.26ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 7 - 2024-11-28 14:45:47 [0.19ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 8 - 2024-11-28 14:45:47 [0.21ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 9 - 2024-11-28 14:45:47 [0.17ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 10 - 2024-11-28 14:45:47 [0.2ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 11 - 2024-11-28 14:45:47 [0.18ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 12 - 2024-11-28 14:45:47 [0.2ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 13 - 2024-11-28 14:45:47 [0.17ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 14 - 2024-11-28 14:45:47 [0.14ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 15 - 2024-11-28 14:45:47 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 1 - 2024-11-28 14:45:47 [1.42ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2024-11-28 14:45:47 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 3 - 2024-11-28 14:45:47 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 4 - 2024-11-28 14:45:47 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 5 - 2024-11-28 14:45:47 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 102258 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2024-11-28 14:45:47 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 7 - 2024-11-28 14:45:47 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 8 - 2024-11-28 14:45:47 [0.14ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 9 - 2024-11-28 14:45:47 [0.14ms] */
select * from `users` where `users`.`id` in (null) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 10 - 2024-11-28 14:45:47 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2024-11-28 14:45:47 [0.13ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2024-11-28 14:45:47 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (98701) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2024-11-28 14:45:47 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 14 - 2024-11-28 14:45:47 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (89696) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2024-11-28 14:45:47 [0.14ms] */
select * from `party` where `party`.`id` in (54995) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2024-11-28 14:45:47 [0.14ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 17 - 2024-11-28 14:45:47 [0.13ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 18 - 2024-11-28 14:45:47 [0.12ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 19 - 2024-11-28 14:45:47 [0.26ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 20 - 2024-11-28 14:45:47 [0.3ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 21 - 2024-11-28 14:45:47 [0.25ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 22 - 2024-11-28 14:45:47 [0.24ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 23 - 2024-11-28 14:45:47 [0.23ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 24 - 2024-11-28 14:45:47 [0.23ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 25 - 2024-11-28 14:45:47 [0.23ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/exit-impersonate
   Query 1 - 2024-11-28 14:45:49 [1.3ms] */
select * from `users` where `id` = 7 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/exit-impersonate
   Query 2 - 2024-11-28 14:45:49 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/exit-impersonate
   Query 3 - 2024-11-28 14:45:49 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/exit-impersonate
   Query 4 - 2024-11-28 14:45:49 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/exit-impersonate
   Query 5 - 2024-11-28 14:45:49 [0.17ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2024-11-28 14:45:50 [1.33ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2024-11-28 14:45:50 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 3 - 2024-11-28 14:45:50 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 4 - 2024-11-28 14:45:50 [0.53ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 5 - 2024-11-28 14:45:50 [0.2ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2024-11-28 14:45:50 [0.16ms] */
select count(*) as aggregate from `party` where `created_at` > '2024-11-28' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2024-11-28 14:45:50 [0.18ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2024-11-28 14:45:50 [0.16ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2024-11-28' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2024-11-28 14:45:50 [58.61ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2024-11-27' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2024-11-28 14:45:50 [10.07ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2024-11-27' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2024-11-28 14:45:50 [143.96ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2024-11-28' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2024-11-28 14:45:50 [17.91ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2024-11-28' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/8
   Query 1 - 2024-11-28 14:45:52 [2.28ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/8
   Query 2 - 2024-11-28 14:45:52 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/8
   Query 3 - 2024-11-28 14:45:52 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/8
   Query 4 - 2024-11-28 14:45:52 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/impersonate/8
   Query 5 - 2024-11-28 14:45:52 [0.17ms] */
select * from `users` where `users`.`id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 1 - 2024-11-28 14:45:52 [2.1ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 2 - 2024-11-28 14:45:52 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 3 - 2024-11-28 14:45:52 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 4 - 2024-11-28 14:45:52 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 5 - 2024-11-28 14:45:52 [0.19ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 6 - 2024-11-28 14:45:52 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 7 - 2024-11-28 14:45:52 [0.17ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 8 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 8 - 2024-11-28 14:45:52 [0.15ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 8 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 9 - 2024-11-28 14:45:52 [0.64ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 10 - 2024-11-28 14:45:52 [0.91ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 11 - 2024-11-28 14:45:52 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 12 - 2024-11-28 14:45:52 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 13 - 2024-11-28 14:45:52 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 14 - 2024-11-28 14:45:52 [0.13ms] */
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://testtra.puntlandgov.org/w/wkflw
   Query 15 - 2024-11-28 14:45:52 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89696 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 16 - 2024-11-28 14:45:52 [0.19ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 17 - 2024-11-28 14:45:53 [0.16ms] */
select * from `person` where `person`.`id` = 54995 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 18 - 2024-11-28 14:45:53 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98701 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 19 - 2024-11-28 14:45:53 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 20 - 2024-11-28 14:45:53 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 21 - 2024-11-28 14:45:53 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102258 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 22 - 2024-11-28 14:45:53 [0.14ms] */
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://testtra.puntlandgov.org/w/wkflw
   Query 23 - 2024-11-28 14:45:53 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 24 - 2024-11-28 14:45:53 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 25 - 2024-11-28 14:45:53 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 14 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 26 - 2024-11-28 14:45:53 [0.13ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 27 - 2024-11-28 14:45:53 [0.13ms] */
select * from `service` where `service`.`id` = 14 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 28 - 2024-11-28 14:45:53 [0.15ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 29 - 2024-11-28 14:45:53 [0.15ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 30 - 2024-11-28 14:45:53 [0.15ms] */
select * from `users` where `users`.`id` = 103 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 31 - 2024-11-28 14:45:53 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102199 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 32 - 2024-11-28 14:45:53 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 59 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 33 - 2024-11-28 14:45:53 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 34 - 2024-11-28 14:45:53 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 14 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 35 - 2024-11-28 14:45:53 [0.13ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 36 - 2024-11-28 14:45:53 [0.13ms] */
select * from `service` where `service`.`id` = 14 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 37 - 2024-11-28 14:45:53 [0.14ms] */
select * from `party` where `party`.`id` = 58294 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 38 - 2024-11-28 14:45:53 [0.15ms] */
select * from `person` where `person`.`id` = 55820 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 39 - 2024-11-28 14:45:53 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102127 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 40 - 2024-11-28 14:45:53 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 59 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 41 - 2024-11-28 14:45:53 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 42 - 2024-11-28 14:45:53 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 102127 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 43 - 2024-11-28 14:45:53 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 44 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 45 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 13 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 46 - 2024-11-28 14:45:53 [0.13ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 47 - 2024-11-28 14:45:53 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 48 - 2024-11-28 14:45:53 [0.15ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 49 - 2024-11-28 14:45:53 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102082 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 50 - 2024-11-28 14:45:53 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 53 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 51 - 2024-11-28 14:45:53 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 52 - 2024-11-28 14:45:53 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 53 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 54 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 13 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 55 - 2024-11-28 14:45:53 [0.13ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 56 - 2024-11-28 14:45:53 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 57 - 2024-11-28 14:45:53 [0.16ms] */
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://testtra.puntlandgov.org/w/wkflw
   Query 58 - 2024-11-28 14:45:53 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102079 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 59 - 2024-11-28 14:45:53 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 53 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 60 - 2024-11-28 14:45:53 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 61 - 2024-11-28 14:45:53 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 14 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 62 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 63 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 14 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 64 - 2024-11-28 14:45:53 [0.13ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 65 - 2024-11-28 14:45:53 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 66 - 2024-11-28 14:45:53 [0.14ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 67 - 2024-11-28 14:45:53 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102078 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 68 - 2024-11-28 14:45:53 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 59 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 69 - 2024-11-28 14:45:53 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 70 - 2024-11-28 14:45:53 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 71 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 72 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 13 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 73 - 2024-11-28 14:45:53 [0.13ms] */
select * from `party` where `party`.`id` = 58090 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 74 - 2024-11-28 14:45:53 [0.14ms] */
select * from `person` where `person`.`id` = 55686 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 75 - 2024-11-28 14:45:53 [0.14ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 76 - 2024-11-28 14:45:53 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102077 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 77 - 2024-11-28 14:45:53 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 53 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 78 - 2024-11-28 14:45:53 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 79 - 2024-11-28 14:45:53 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 80 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 81 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 13 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 82 - 2024-11-28 14:45:53 [0.13ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 83 - 2024-11-28 14:45:53 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 84 - 2024-11-28 14:45:53 [0.14ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 85 - 2024-11-28 14:45:53 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 102076 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 86 - 2024-11-28 14:45:53 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 53 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 87 - 2024-11-28 14:45:53 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 88 - 2024-11-28 14:45:53 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 14 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 89 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 14 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 90 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 14 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 91 - 2024-11-28 14:45:53 [0.13ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 92 - 2024-11-28 14:45:53 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 93 - 2024-11-28 14:45:53 [0.14ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 94 - 2024-11-28 14:45:53 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 101911 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 95 - 2024-11-28 14:45:53 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 59 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 96 - 2024-11-28 14:45:53 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 97 - 2024-11-28 14:45:53 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 13 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 98 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 13 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 99 - 2024-11-28 14:45:53 [0.12ms] */
select * from `service` where `service`.`id` = 13 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 100 - 2024-11-28 14:45:53 [0.13ms] */
select * from `party` where `party`.`id` = 58086 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 101 - 2024-11-28 14:45:53 [0.14ms] */
select * from `person` where `person`.`id` = 55682 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 102 - 2024-11-28 14:45:53 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 101890 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 103 - 2024-11-28 14:45:53 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 53 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 104 - 2024-11-28 14:45:53 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 105 - 2024-11-28 14:45:53 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 101890 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 106 - 2024-11-28 14:45:53 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 107 - 2024-11-28 14:45:53 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 1 - 2024-11-28 14:45:57 [1.29ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 2 - 2024-11-28 14:45:57 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 3 - 2024-11-28 14:45:57 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 4 - 2024-11-28 14:45:57 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 5 - 2024-11-28 14:45:57 [0.2ms] */
select * from `service` where `service`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 6 - 2024-11-28 14:45:57 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 7 - 2024-11-28 14:45:57 [0.15ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 8 - 2024-11-28 14:45:57 [0.14ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2024-11-28 14:45:57 [0.35ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102258, 'CLAIMED', '2024-11-28 14:45:57', 8, 8, 8, 8, '2024-11-28 14:45:57', '2024-11-28 14:45:57');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2024-11-28 14:45:57 [0.25ms] */
update `transaction` set `assigned_to` = 8, `updated_by` = 8, `transaction`.`updated_at` = '2024-11-28 14:45:57' where `id` = 102258;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 1 - 2024-11-28 14:45:58 [1.34ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 2 - 2024-11-28 14:45:58 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 3 - 2024-11-28 14:45:58 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 4 - 2024-11-28 14:45:58 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 5 - 2024-11-28 14:45:58 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 6 - 2024-11-28 14:45:58 [0.28ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 7 - 2024-11-28 14:45:58 [0.16ms] */
select * from `invoice` where `transaction_id` = 102258 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 8 - 2024-11-28 14:45:58 [0.13ms] */
select * from `invoice_payment` where `invoice_id` = 101862;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 9 - 2024-11-28 14:45:58 [0.15ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 102258 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 10 - 2024-11-28 14:45:58 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 11 - 2024-11-28 14:45:58 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 12 - 2024-11-28 14:45:58 [0.15ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 13 - 2024-11-28 14:45:58 [0.14ms] */
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://testtra.puntlandgov.org/w/wkflw/102258
   Query 14 - 2024-11-28 14:45:58 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 15 - 2024-11-28 14:45:58 [0.15ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 16 - 2024-11-28 14:45:58 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98701 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 17 - 2024-11-28 14:45:58 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98701 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 18 - 2024-11-28 14:45:58 [0.28ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 19 - 2024-11-28 14:45:58 [16.59ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 20 - 2024-11-28 14:45:58 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 89696 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 21 - 2024-11-28 14:45:58 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89696 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 22 - 2024-11-28 14:45:58 [0.49ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 23 - 2024-11-28 14:45:58 [0.29ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 24 - 2024-11-28 14:45:58 [0.31ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 25 - 2024-11-28 14:45:58 [0.54ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 89696 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 26 - 2024-11-28 14:45:58 [0.28ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 27 - 2024-11-28 14:45:58 [0.26ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 28 - 2024-11-28 14:45:58 [0.28ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 3 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 29 - 2024-11-28 14:45:58 [0.28ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 30 - 2024-11-28 14:45:58 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 31 - 2024-11-28 14:45:58 [0.12ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 32 - 2024-11-28 14:45:58 [0.15ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 33 - 2024-11-28 14:45:58 [0.31ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 34 - 2024-11-28 14:45:58 [0.32ms] */
select * from `person` where `person`.`id` = 54995 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 35 - 2024-11-28 14:45:58 [0.31ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 54995 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 36 - 2024-11-28 14:45:58 [0.3ms] */
select * from `address` where `address`.`id` = 54995 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 37 - 2024-11-28 14:45:58 [0.26ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 38 - 2024-11-28 14:45:58 [0.24ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 39 - 2024-11-28 14:45:58 [0.76ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 40 - 2024-11-28 14:45:58 [0.2ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 41 - 2024-11-28 14:45:58 [0.21ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 42 - 2024-11-28 14:45:58 [0.2ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 43 - 2024-11-28 14:45:58 [0.19ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 44 - 2024-11-28 14:45:58 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 45 - 2024-11-28 14:45:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 46 - 2024-11-28 14:45:58 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 47 - 2024-11-28 14:45:58 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 48 - 2024-11-28 14:45:58 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 49 - 2024-11-28 14:45:58 [0.12ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 50 - 2024-11-28 14:45:58 [0.45ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 51 - 2024-11-28 14:45:58 [0.16ms] */
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://testtra.puntlandgov.org/w/wkflw/102258
   Query 52 - 2024-11-28 14:45:58 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 53 - 2024-11-28 14:45:58 [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://testtra.puntlandgov.org/w/wkflw/102258
   Query 54 - 2024-11-28 14:45:58 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 55 - 2024-11-28 14:45:58 [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): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 56 - 2024-11-28 14:45:58 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 57 - 2024-11-28 14:45:58 [0.14ms] */
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://testtra.puntlandgov.org/w/wkflw/102258
   Query 58 - 2024-11-28 14:45:58 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 59 - 2024-11-28 14:45:58 [0.14ms] */
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://testtra.puntlandgov.org/w/wkflw/102258
   Query 60 - 2024-11-28 14:45:58 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 61 - 2024-11-28 14:45:58 [0.14ms] */
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://testtra.puntlandgov.org/w/wkflw/102258
   Query 62 - 2024-11-28 14:45:58 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 63 - 2024-11-28 14:45:58 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 1 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 64 - 2024-11-28 14:45:58 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 65 - 2024-11-28 14:45:58 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 66 - 2024-11-28 14:45:58 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 67 - 2024-11-28 14:45:58 [0.12ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 68 - 2024-11-28 14:45:58 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 69 - 2024-11-28 14:45:58 [0.2ms] */
(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://testtra.puntlandgov.org/w/wkflw/102258
   Query 70 - 2024-11-28 14:45:58 [0.13ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 71 - 2024-11-28 14:45:58 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/102258
   Query 72 - 2024-11-28 14:45:58 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2024-11-28 14:46:00 [1.31ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2024-11-28 14:46:00 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2024-11-28 14:46:00 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2024-11-28 14:46:00 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2024-11-28 14:46:00 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 102258 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2024-11-28 14:46:00 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2024-11-28 14:46:00 [0.16ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2024-11-28 14:46:00 [0.13ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2024-11-28 14:46:00 [0.15ms] */
select * from `users` where `users`.`id` in (8) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2024-11-28 14:46:00 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2024-11-28 14:46:00 [0.12ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2024-11-28 14:46:00 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (98701) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2024-11-28 14:46:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2024-11-28 14:46:00 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (89696) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2024-11-28 14:46:00 [0.14ms] */
select * from `party` where `party`.`id` in (54995) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2024-11-28 14:46:00 [0.14ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2024-11-28 14:46:00 [0.14ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2024-11-28 14:46:00 [0.12ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2024-11-28 14:46:00 [0.12ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2024-11-28 14:46:00 [0.16ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 89153 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2024-11-28 14:46:00 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2024-11-28 14:46:00 [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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2024-11-28 14:46:00 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2024-11-28 14:46:00 [0.13ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2024-11-28 14:46:00 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2024-11-28 14:46:00 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2024-11-28 14:46:00 [0.15ms] */
select * from `invoice` where `transaction_id` = 102258 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2024-11-28 14:46:00 [0.12ms] */
select * from `invoice_payment` where `invoice_id` = 101862;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2024-11-28 14:46:00 [0.13ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 102258 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2024-11-28 14:46:00 [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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2024-11-28 14:46:00 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2024-11-28 14:46:00 [0.14ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2024-11-28 14:46:00 [0.14ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2024-11-28 14:46:00 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2024-11-28 14:46:00 [0.14ms] */
select * from `workflow` where `workflow`.`id` = 1 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2024-11-28 14:46:00 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98701 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2024-11-28 14:46:00 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2024-11-28 14:46:00 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2024-11-28 14:46:00 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2024-11-28 14:46:00 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2024-11-28 14:46:00 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 102258 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2024-11-28 14:46:00 [0.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2024-11-28 14:46:00 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2024-11-28 14:46:00 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2024-11-28 14:46:00 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2024-11-28 14:46:00 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2024-11-28 14:46:00 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2024-11-28 14:46:00 [1.6ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2024-11-28 14:46:00 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2024-11-28 14:46:00 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2024-11-28 14:46:00 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2024-11-28 14:46:00 [0.47ms] */
(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://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2024-11-28 14:46:00 [0.27ms] */
(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://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2024-11-28 14:46:06 [1.37ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2024-11-28 14:46:06 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2024-11-28 14:46:06 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2024-11-28 14:46:06 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2024-11-28 14:46:06 [0.26ms] */
(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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2024-11-28 14:46:06 [1.48ms] */
select * from `users` where `id` = 8 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2024-11-28 14:46:06 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 3 - 2024-11-28 14:46:06 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 4 - 2024-11-28 14:46:06 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 5 - 2024-11-28 14:46:06 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 102258 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2024-11-28 14:46:06 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` in (1) and `service_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 7 - 2024-11-28 14:46:06 [0.16ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 8 - 2024-11-28 14:46:06 [0.15ms] */
select * from `workflow` where `workflow`.`id` in (1) and `workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 9 - 2024-11-28 14:46:06 [0.17ms] */
select * from `users` where `users`.`id` in (8) and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 10 - 2024-11-28 14:46:06 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (4) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2024-11-28 14:46:06 [0.14ms] */
select * from `roles` where `roles`.`id` in (8);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2024-11-28 14:46:06 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (98701) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2024-11-28 14:46:06 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 14 - 2024-11-28 14:46:06 [0.15ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2024-11-28 14:46:06 [0.17ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2024-11-28 14:46:06 [0.15ms] */
select * from `district` where `district`.`id` in (37) and `district`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2024-11-28 14:46:06 [0.14ms] */
select * from `region` where `region`.`id` in (7) and `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 18 - 2024-11-28 14:46:06 [0.17ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 89153 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 19 - 2024-11-28 14:46:06 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 20 - 2024-11-28 14:46:06 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2024-11-28 14:46:06 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2024-11-28 14:46:06 [0.43ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2024-11-28 14:46:06 [0.34ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2024-11-28 14:46:06 [0.28ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2024-11-28 14:46:06 [0.48ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102258, 'APPROVED', '2024-11-28 14:46:06', 8, 8, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2024-11-28 14:46:06 [0.27ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2024-11-28 14:46:06 [0.52ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 5, `status` = 'END', `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102258;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2024-11-28 14:46:06 [0.28ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2024-11-28 14:46:06 [0.33ms] */
select * from `party_vehicle` where `transaction_id` = 102258 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2024-11-28 14:46:06 [0.21ms] */
update `party_vehicle` set `status` = 'REGISTERED', `issued_date` = '2024-11-28 14:46:06', `updated_by` = 8, `party_vehicle`.`updated_at` = '2024-11-28 14:46:06' where `id` = 98701;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2024-11-28 14:46:06 [0.18ms] */
select * from `party_vehicle` where `id` = 98701 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2024-11-28 14:46:06 [0.19ms] */
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":"2024-11-28","status":"REGISTERED"},"old":{"issued_date":null,"status":"PAID"}}', 8, 'App\Models\User', 98701, 'Modules\Vehicle\Entities\PartyVehicle', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2024-11-28 14:46:06 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89696 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2024-11-28 14:46:06 [0.34ms] */
update `vehicle` set `updated_by` = 8, `vehicle`.`updated_at` = '2024-11-28 14:46:06' where `id` = 89696;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2024-11-28 14:46:06 [0.18ms] */
select * from `vehicle` where `id` = 89696 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2024-11-28 14:46:06 [0.16ms] */
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', 89696, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2024-11-28 14:46:06 [0.24ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":99}', '{"updated_by":8}', 'updated', 89696, 'Modules\Vehicle\Entities\Vehicle', 8, 'App\Models\User', null, '103.208.230.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 38 - 2024-11-28 14:46:06 [0.15ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2024-11-28 14:46:06 [0.31ms] */
update `party` set `updated_by` = 8, `party`.`updated_at` = '2024-11-28 14:46:06' where `id` = 54995;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2024-11-28 14:46:06 [0.28ms] */
select * from `party` where `id` = 54995 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2024-11-28 14:46:06 [0.16ms] */
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', 54995, 'Modules\Party\Entities\Party', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 42 - 2024-11-28 14:46:06 [0.36ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":5}', '{"updated_by":8}', 'updated', 54995, 'Modules\Party\Entities\Party', 8, 'App\Models\User', null, '103.208.230.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36', 'https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2024-11-28 14:46:06 [0.44ms] */
update `person` set `person`.`updated_at` = '2024-11-28 14:46:06' where `person`.`id` = 54995;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2024-11-28 14:46:06 [0.37ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2024-11-28 14:46:06 [0.32ms] */
select * from `vehicle` where `vehicle`.`id` = 89696 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2024-11-28 14:46:06 [0.31ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98701 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2024-11-28 14:46:06 [0.42ms] */
insert into `vehicle_title` (`party_id`, `vehicle_id`, `title_number`, `issued_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 89696, '947-102258-715', '2024-11-28 14:46:06', 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 48 - 2024-11-28 14:46:06 [0.25ms] */
select * from `vehicle_title` where `id` = 88981 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 49 - 2024-11-28 14:46:06 [0.26ms] */
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":"947-102258-715","party_id":54995,"vehicle_id":89696,"issued_date":"2024-11-28 14:46:06"}}', 8, 'App\Models\User', 88981, 'Modules\Vehicle\Entities\VehicleTitle', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 50 - 2024-11-28 14:46:06 [0.35ms] */
select * from `invoice` where `transaction_id` = 102258 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2024-11-28 14:46:06 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 52 - 2024-11-28 14:46:06 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98701 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 53 - 2024-11-28 14:46:06 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 89696 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 54 - 2024-11-28 14:46:06 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2024-11-28 14:46:06 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 56 - 2024-11-28 14:46:06 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 89696 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 57 - 2024-11-28 14:46:06 [0.33ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 58 - 2024-11-28 14:46:06 [0.32ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 59 - 2024-11-28 14:46:06 [0.33ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 60 - 2024-11-28 14:46:06 [0.32ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 61 - 2024-11-28 14:46:06 [0.24ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 3 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 62 - 2024-11-28 14:46:06 [0.18ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 63 - 2024-11-28 14:46:06 [0.2ms] */
select * from `person` where `person`.`id` = 54995 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 64 - 2024-11-28 14:46:06 [0.2ms] */
select * from `address` where `address`.`id` = 54995 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 65 - 2024-11-28 14:46:06 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 66 - 2024-11-28 14:46:06 [0.39ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 67 - 2024-11-28 14:46:06 [0.22ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102258, 'TITLE_GENERATED', '2024-11-28 14:46:06', 9, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 68 - 2024-11-28 14:46:06 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 89696 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 69 - 2024-11-28 14:46:06 [0.19ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89696 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 70 - 2024-11-28 14:46:06 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 89696 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 71 - 2024-11-28 14:46:06 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 102258 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 72 - 2024-11-28 14:46:06 [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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 73 - 2024-11-28 14:46:06 [0.18ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 74 - 2024-11-28 14:46:06 [0.26ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 75 - 2024-11-28 14:46:06 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 89696 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 76 - 2024-11-28 14:46:06 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 77 - 2024-11-28 14:46:06 [0.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2022 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 78 - 2024-11-28 14:46:06 [0.32ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 79 - 2024-11-28 14:46:06 [0.17ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 80 - 2024-11-28 14:46:06 [0.31ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 81 - 2024-11-28 14:46:06 [0.58ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 82 - 2024-11-28 14:46:06 [0.3ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102259, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 83 - 2024-11-28 14:46:06 [0.38ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 84 - 2024-11-28 14:46:06 [0.33ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 85 - 2024-11-28 14:46:06 [0.47ms] */
select * from `term` where `year` = 2022 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 86 - 2024-11-28 14:46:06 [0.89ms] */
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', 'IXR-102258-202', 89696, 89, 54995, 98701, 102259, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 87 - 2024-11-28 14:46:06 [0.3ms] */
select * from `vehicle_tax` where `id` = 98986 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 88 - 2024-11-28 14:46:06 [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":"IXR-102258-202","tax_sticker_id":null,"vehicle_id":89696,"term_id":89,"party_id":54995,"transaction_id":102259,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98986, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 89 - 2024-11-28 14:46:06 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 90 - 2024-11-28 14:46:06 [0.37ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 91 - 2024-11-28 14:46:06 [0.27ms] */
select * from `term` where `term`.`id` = 89 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 92 - 2024-11-28 14:46:06 [0.28ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 93 - 2024-11-28 14:46:06 [0.34ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102259, '2022-01-01 00:00:00', '2021-12-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 94 - 2024-11-28 14:46:06 [0.29ms] */
select * from `invoice` where `id` = 101863 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 95 - 2024-11-28 14:46:06 [0.28ms] */
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":102259,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2022-01-01 00:00:00","due_date":"2021-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101863, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 96 - 2024-11-28 14:46:06 [0.25ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('First Time Tax Fee for 14 HP', '14 HP First time Fee', 1, 179.00, 179.00, 101863, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 97 - 2024-11-28 14:46:06 [0.26ms] */
select * from `invoice_item` where `id` = 199482 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 98 - 2024-11-28 14:46:06 [0.25ms] */
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":"First Time Tax Fee for 14 HP","description":"14 HP First time Fee","unit_price":"179.00","quantity":1,"total_price":"179.00","invoice_id":101863}}', 8, 'App\Models\User', 199482, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 99 - 2024-11-28 14:46:06 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for First Time Tax', 'Service Fee for First Time Tax', 1, 8.00, 8.00, 101863, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 100 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199483 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 101 - 2024-11-28 14:46:06 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for First Time Tax","description":"Service Fee for First Time Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101863}}', 8, 'App\Models\User', 199483, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 102 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 101863 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 103 - 2024-11-28 14:46:06 [0.25ms] */
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` = 101863 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 104 - 2024-11-28 14:46:06 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101863 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 105 - 2024-11-28 14:46:06 [0.19ms] */
update `invoice` set `invoice_amount` = 187, `outstanding_balance` = 187, `discounts` = 0, `total_invoice_amount` = 187, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101863;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 106 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice` where `id` = 101863 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 107 - 2024-11-28 14:46:06 [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":"187.00","outstanding_balance":"187.00","discounts":"0.00","total_invoice_amount":"187.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 101863, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 108 - 2024-11-28 14:46:06 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-260-101863195', `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101863;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 109 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101863 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 110 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"187.00","outstanding_balance":"187.00","discounts":"0.00","total_invoice_amount":"187.00","invoice_number":"INV-260-101863195","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 101863, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 111 - 2024-11-28 14:46:06 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98701, `vehicle_tax_id` = 98986, `invoice_id` = 101863, `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102259;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 112 - 2024-11-28 14:46:06 [0.22ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2022 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 113 - 2024-11-28 14:46:06 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 114 - 2024-11-28 14:46:06 [0.2ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 115 - 2024-11-28 14:46:06 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 116 - 2024-11-28 14:46:06 [0.21ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 117 - 2024-11-28 14:46:06 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102260, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 118 - 2024-11-28 14:46:06 [0.2ms] */
select * from `term` where `year` = 2022 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 119 - 2024-11-28 14:46:06 [0.17ms] */
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', 'K9B-102258-114', 89696, 90, 54995, 98701, 102260, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 120 - 2024-11-28 14:46:06 [0.17ms] */
select * from `vehicle_tax` where `id` = 98987 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 121 - 2024-11-28 14:46:06 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"K9B-102258-114","tax_sticker_id":null,"vehicle_id":89696,"term_id":90,"party_id":54995,"transaction_id":102260,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98987, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 122 - 2024-11-28 14:46:06 [0.58ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 123 - 2024-11-28 14:46:06 [0.17ms] */
select * from `term` where `term`.`id` = 90 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 124 - 2024-11-28 14:46:06 [0.18ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 125 - 2024-11-28 14:46:06 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102260, '2022-03-01 00:00:00', '2022-03-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 126 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101864 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 127 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102260,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2022-03-01 00:00:00","due_date":"2022-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101864, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 128 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 101864, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 129 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199484 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 130 - 2024-11-28 14:46:06 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":101864}}', 8, 'App\Models\User', 199484, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 131 - 2024-11-28 14:46:06 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 101864, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 132 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199485 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 133 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101864}}', 8, 'App\Models\User', 199485, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 134 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 101864 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 135 - 2024-11-28 14:46:06 [0.22ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 101864 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 136 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101864 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 137 - 2024-11-28 14:46:06 [0.17ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101864;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 138 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101864 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 139 - 2024-11-28 14:46:06 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 101864, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 140 - 2024-11-28 14:46:06 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-774-101864533', `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101864;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 141 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101864 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 142 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-774-101864533","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 101864, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 143 - 2024-11-28 14:46:06 [0.17ms] */
update `transaction` set `party_vehicle_id` = 98701, `vehicle_tax_id` = 98987, `invoice_id` = 101864, `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102260;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 144 - 2024-11-28 14:46:06 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2022 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 145 - 2024-11-28 14:46:06 [0.22ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 146 - 2024-11-28 14:46:06 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 147 - 2024-11-28 14:46:06 [0.23ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 148 - 2024-11-28 14:46:06 [0.21ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 149 - 2024-11-28 14:46:06 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102261, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 150 - 2024-11-28 14:46:06 [0.21ms] */
select * from `term` where `year` = 2022 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 151 - 2024-11-28 14:46:06 [0.24ms] */
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', 'O6W-102258-675', 89696, 91, 54995, 98701, 102261, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 152 - 2024-11-28 14:46:06 [0.19ms] */
select * from `vehicle_tax` where `id` = 98988 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 153 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"O6W-102258-675","tax_sticker_id":null,"vehicle_id":89696,"term_id":91,"party_id":54995,"transaction_id":102261,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98988, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 154 - 2024-11-28 14:46:06 [0.23ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 155 - 2024-11-28 14:46:06 [0.2ms] */
select * from `term` where `term`.`id` = 91 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 156 - 2024-11-28 14:46:06 [0.21ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 157 - 2024-11-28 14:46:06 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102261, '2022-06-01 00:00:00', '2022-06-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 158 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101865 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 159 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102261,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2022-06-01 00:00:00","due_date":"2022-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101865, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 160 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 101865, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 161 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199486 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 162 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":101865}}', 8, 'App\Models\User', 199486, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 163 - 2024-11-28 14:46:06 [0.14ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 101865, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 164 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199487 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 165 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101865}}', 8, 'App\Models\User', 199487, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 166 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 101865 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 167 - 2024-11-28 14:46:06 [0.22ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 101865 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 168 - 2024-11-28 14:46:06 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101865 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 169 - 2024-11-28 14:46:06 [0.17ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101865;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 170 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101865 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 171 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 101865, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 172 - 2024-11-28 14:46:06 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-472-101865640', `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101865;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 173 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101865 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 174 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-472-101865640","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 101865, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 175 - 2024-11-28 14:46:06 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98701, `vehicle_tax_id` = 98988, `invoice_id` = 101865, `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102261;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 176 - 2024-11-28 14:46:06 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2022 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 177 - 2024-11-28 14:46:06 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2022 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 178 - 2024-11-28 14:46:06 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 179 - 2024-11-28 14:46:06 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 180 - 2024-11-28 14:46:06 [0.21ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 181 - 2024-11-28 14:46:06 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102262, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 182 - 2024-11-28 14:46:06 [0.2ms] */
select * from `term` where `year` = 2022 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 183 - 2024-11-28 14:46:06 [0.17ms] */
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', 'BYQ-102258-462', 89696, 92, 54995, 98701, 102262, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 184 - 2024-11-28 14:46:06 [0.18ms] */
select * from `vehicle_tax` where `id` = 98989 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 185 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"BYQ-102258-462","tax_sticker_id":null,"vehicle_id":89696,"term_id":92,"party_id":54995,"transaction_id":102262,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98989, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 186 - 2024-11-28 14:46:06 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 187 - 2024-11-28 14:46:06 [0.17ms] */
select * from `term` where `term`.`id` = 92 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 188 - 2024-11-28 14:46:06 [0.19ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 189 - 2024-11-28 14:46:06 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102262, '2022-09-01 00:00:00', '2022-09-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 190 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101866 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 191 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102262,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2022-09-01 00:00:00","due_date":"2022-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101866, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 192 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 101866, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 193 - 2024-11-28 14:46:06 [0.17ms] */
select * from `invoice_item` where `id` = 199488 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 194 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":101866}}', 8, 'App\Models\User', 199488, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 195 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 101866, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 196 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199489 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 197 - 2024-11-28 14:46:06 [0.45ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101866}}', 8, 'App\Models\User', 199489, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 198 - 2024-11-28 14:46:06 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 101866 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 199 - 2024-11-28 14:46:06 [0.22ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 101866 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 200 - 2024-11-28 14:46:06 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101866 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 201 - 2024-11-28 14:46:06 [0.17ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101866;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 202 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101866 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 203 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 101866, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 204 - 2024-11-28 14:46:06 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-650-101866804', `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101866;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 205 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101866 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 206 - 2024-11-28 14:46:06 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-650-101866804","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 101866, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 207 - 2024-11-28 14:46:06 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98701, `vehicle_tax_id` = 98989, `invoice_id` = 101866, `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102262;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 208 - 2024-11-28 14:46:06 [0.46ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2023 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 209 - 2024-11-28 14:46:06 [0.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 210 - 2024-11-28 14:46:06 [0.35ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 211 - 2024-11-28 14:46:06 [0.37ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 212 - 2024-11-28 14:46:06 [0.47ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 213 - 2024-11-28 14:46:06 [0.36ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102263, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 214 - 2024-11-28 14:46:06 [0.39ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 215 - 2024-11-28 14:46:06 [0.38ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 216 - 2024-11-28 14:46:06 [0.45ms] */
select * from `term` where `year` = 2023 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 217 - 2024-11-28 14:46:06 [0.39ms] */
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', 'HBZ-102258-431', 89696, 93, 54995, 98701, 102263, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 218 - 2024-11-28 14:46:06 [0.39ms] */
select * from `vehicle_tax` where `id` = 98990 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 219 - 2024-11-28 14:46:06 [0.36ms] */
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":"HBZ-102258-431","tax_sticker_id":null,"vehicle_id":89696,"term_id":93,"party_id":54995,"transaction_id":102263,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98990, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 220 - 2024-11-28 14:46:06 [0.47ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 221 - 2024-11-28 14:46:06 [0.17ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 222 - 2024-11-28 14:46:06 [0.19ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 223 - 2024-11-28 14:46:06 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102263, '2022-12-01 00:00:00', '2022-12-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 224 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice` where `id` = 101867 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 225 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102263,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2022-12-01 00:00:00","due_date":"2022-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101867, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 226 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly fee for 14 HP', 'Yearly fee for 14 HP', 1, 56.00, 56.00, 101867, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 227 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199490 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 228 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly fee for 14 HP","description":"Yearly fee for 14 HP","unit_price":"56.00","quantity":1,"total_price":"56.00","invoice_id":101867}}', 8, 'App\Models\User', 199490, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 229 - 2024-11-28 14:46:06 [3.5ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Yearly Tax', 'Yearly Tax Service Fee', 1, 8.00, 8.00, 101867, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 230 - 2024-11-28 14:46:06 [0.39ms] */
select * from `invoice_item` where `id` = 199491 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 231 - 2024-11-28 14:46:06 [0.42ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Yearly Tax","description":"Yearly Tax Service Fee","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101867}}', 8, 'App\Models\User', 199491, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 232 - 2024-11-28 14:46:06 [0.46ms] */
select * from `invoice` where `invoice`.`id` = 101867 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 233 - 2024-11-28 14:46:06 [0.55ms] */
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` = 101867 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 234 - 2024-11-28 14:46:06 [0.43ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101867 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 235 - 2024-11-28 14:46:06 [0.39ms] */
update `invoice` set `invoice_amount` = 64, `outstanding_balance` = 64, `discounts` = 0, `total_invoice_amount` = 64, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101867;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 236 - 2024-11-28 14:46:06 [0.41ms] */
select * from `invoice` where `id` = 101867 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 237 - 2024-11-28 14:46:06 [0.4ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 101867, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 238 - 2024-11-28 14:46:06 [0.36ms] */
update `invoice` set `invoice_number` = 'INV-576-101867152', `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101867;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 239 - 2024-11-28 14:46:06 [0.4ms] */
select * from `invoice` where `id` = 101867 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 240 - 2024-11-28 14:46:06 [0.4ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00","invoice_number":"INV-576-101867152","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 101867, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 241 - 2024-11-28 14:46:06 [0.32ms] */
update `transaction` set `party_vehicle_id` = 98701, `vehicle_tax_id` = 98990, `invoice_id` = 101867, `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102263;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 242 - 2024-11-28 14:46:06 [0.45ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2023 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 243 - 2024-11-28 14:46:06 [0.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 244 - 2024-11-28 14:46:06 [0.37ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 245 - 2024-11-28 14:46:06 [0.37ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 246 - 2024-11-28 14:46:06 [0.43ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 247 - 2024-11-28 14:46:06 [0.31ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102264, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 248 - 2024-11-28 14:46:06 [0.4ms] */
select * from `term` where `year` = 2023 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 249 - 2024-11-28 14:46:06 [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', '8EA-102258-163', 89696, 94, 54995, 98701, 102264, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 250 - 2024-11-28 14:46:06 [0.34ms] */
select * from `vehicle_tax` where `id` = 98991 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 251 - 2024-11-28 14:46:06 [0.37ms] */
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":"8EA-102258-163","tax_sticker_id":null,"vehicle_id":89696,"term_id":94,"party_id":54995,"transaction_id":102264,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98991, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 252 - 2024-11-28 14:46:06 [0.45ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 253 - 2024-11-28 14:46:06 [0.17ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 254 - 2024-11-28 14:46:06 [0.18ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 255 - 2024-11-28 14:46:06 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102264, '2023-03-01 00:00:00', '2023-03-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 256 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101868 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 257 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102264,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2023-03-01 00:00:00","due_date":"2023-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101868, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 258 - 2024-11-28 14:46:06 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 101868, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 259 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199492 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 260 - 2024-11-28 14:46:06 [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":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":101868}}', 8, 'App\Models\User', 199492, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 261 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 101868, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 262 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199493 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 263 - 2024-11-28 14:46:06 [0.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101868}}', 8, 'App\Models\User', 199493, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 264 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 101868 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 265 - 2024-11-28 14:46:06 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 101868 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 266 - 2024-11-28 14:46:06 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101868 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 267 - 2024-11-28 14:46:06 [0.17ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101868;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 268 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101868 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 269 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 101868, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 270 - 2024-11-28 14:46:06 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-516-101868231', `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101868;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 271 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101868 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 272 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-516-101868231","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 101868, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 273 - 2024-11-28 14:46:06 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98701, `vehicle_tax_id` = 98991, `invoice_id` = 101868, `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102264;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 274 - 2024-11-28 14:46:06 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2023 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 275 - 2024-11-28 14:46:06 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 276 - 2024-11-28 14:46:06 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 277 - 2024-11-28 14:46:06 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 278 - 2024-11-28 14:46:06 [0.21ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 279 - 2024-11-28 14:46:06 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102265, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 280 - 2024-11-28 14:46:06 [0.2ms] */
select * from `term` where `year` = 2023 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 281 - 2024-11-28 14:46:06 [0.17ms] */
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', 'SKG-102258-869', 89696, 95, 54995, 98701, 102265, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 282 - 2024-11-28 14:46:06 [0.17ms] */
select * from `vehicle_tax` where `id` = 98992 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 283 - 2024-11-28 14:46:06 [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":"SKG-102258-869","tax_sticker_id":null,"vehicle_id":89696,"term_id":95,"party_id":54995,"transaction_id":102265,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98992, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 284 - 2024-11-28 14:46:06 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 285 - 2024-11-28 14:46:06 [0.17ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 286 - 2024-11-28 14:46:06 [0.18ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 287 - 2024-11-28 14:46:06 [0.19ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102265, '2023-06-01 00:00:00', '2023-06-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 288 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice` where `id` = 101869 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 289 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102265,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2023-06-01 00:00:00","due_date":"2023-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101869, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 290 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 101869, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 291 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199494 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 292 - 2024-11-28 14:46:06 [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":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":101869}}', 8, 'App\Models\User', 199494, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 293 - 2024-11-28 14:46:06 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 101869, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 294 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199495 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 295 - 2024-11-28 14:46:06 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101869}}', 8, 'App\Models\User', 199495, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 296 - 2024-11-28 14:46:06 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 101869 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 297 - 2024-11-28 14:46:06 [0.22ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 101869 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 298 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101869 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 299 - 2024-11-28 14:46:06 [0.17ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101869;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 300 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice` where `id` = 101869 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 301 - 2024-11-28 14:46:06 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 101869, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 302 - 2024-11-28 14:46:06 [0.18ms] */
update `invoice` set `invoice_number` = 'INV-965-101869847', `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101869;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 303 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101869 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 304 - 2024-11-28 14:46:06 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-965-101869847","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 101869, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 305 - 2024-11-28 14:46:06 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98701, `vehicle_tax_id` = 98992, `invoice_id` = 101869, `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102265;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 306 - 2024-11-28 14:46:06 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2023 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 307 - 2024-11-28 14:46:06 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 308 - 2024-11-28 14:46:06 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 309 - 2024-11-28 14:46:06 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 310 - 2024-11-28 14:46:06 [0.22ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 311 - 2024-11-28 14:46:06 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102266, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 312 - 2024-11-28 14:46:06 [0.2ms] */
select * from `term` where `year` = 2023 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 313 - 2024-11-28 14:46:06 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'CUP-102258-463', 89696, 96, 54995, 98701, 102266, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 314 - 2024-11-28 14:46:06 [0.17ms] */
select * from `vehicle_tax` where `id` = 98993 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 315 - 2024-11-28 14:46:06 [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":"CUP-102258-463","tax_sticker_id":null,"vehicle_id":89696,"term_id":96,"party_id":54995,"transaction_id":102266,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98993, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 316 - 2024-11-28 14:46:06 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 317 - 2024-11-28 14:46:06 [0.17ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 318 - 2024-11-28 14:46:06 [0.19ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 319 - 2024-11-28 14:46:06 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102266, '2023-09-01 00:00:00', '2023-09-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 320 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101870 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 321 - 2024-11-28 14:46:06 [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":102266,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2023-09-01 00:00:00","due_date":"2023-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101870, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 322 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 101870, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 323 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199496 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 324 - 2024-11-28 14:46:06 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":101870}}', 8, 'App\Models\User', 199496, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 325 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 101870, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 326 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199497 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 327 - 2024-11-28 14:46:06 [0.22ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101870}}', 8, 'App\Models\User', 199497, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 328 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 101870 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 329 - 2024-11-28 14:46:06 [0.22ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 101870 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 330 - 2024-11-28 14:46:06 [0.22ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101870 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 331 - 2024-11-28 14:46:06 [0.18ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101870;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 332 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101870 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 333 - 2024-11-28 14:46:06 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 101870, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 334 - 2024-11-28 14:46:06 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-589-101870556', `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101870;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 335 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101870 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 336 - 2024-11-28 14:46:06 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-589-101870556","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 101870, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 337 - 2024-11-28 14:46:06 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98701, `vehicle_tax_id` = 98993, `invoice_id` = 101870, `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102266;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 338 - 2024-11-28 14:46:06 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2024 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 339 - 2024-11-28 14:46:06 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 340 - 2024-11-28 14:46:06 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 341 - 2024-11-28 14:46:06 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 342 - 2024-11-28 14:46:06 [0.22ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 343 - 2024-11-28 14:46:06 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102267, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 344 - 2024-11-28 14:46:06 [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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 345 - 2024-11-28 14:46:06 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 346 - 2024-11-28 14:46:06 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 347 - 2024-11-28 14:46:06 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'YSP-102258-333', 89696, 97, 54995, 98701, 102267, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 348 - 2024-11-28 14:46:06 [0.17ms] */
select * from `vehicle_tax` where `id` = 98994 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 349 - 2024-11-28 14:46:06 [0.47ms] */
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":"YSP-102258-333","tax_sticker_id":null,"vehicle_id":89696,"term_id":97,"party_id":54995,"transaction_id":102267,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98994, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 350 - 2024-11-28 14:46:06 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 351 - 2024-11-28 14:46:06 [0.18ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 352 - 2024-11-28 14:46:06 [0.18ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 353 - 2024-11-28 14:46:06 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102267, '2023-12-01 00:00:00', '2023-12-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 354 - 2024-11-28 14:46:06 [0.2ms] */
select * from `invoice` where `id` = 101871 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 355 - 2024-11-28 14:46:06 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102267,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2023-12-01 00:00:00","due_date":"2023-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101871, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 356 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly fee for 14 HP', 'Yearly fee for 14 HP', 1, 56.00, 56.00, 101871, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 357 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199498 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 358 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly fee for 14 HP","description":"Yearly fee for 14 HP","unit_price":"56.00","quantity":1,"total_price":"56.00","invoice_id":101871}}', 8, 'App\Models\User', 199498, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 359 - 2024-11-28 14:46:06 [0.17ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Yearly Tax', 'Yearly Tax Service Fee', 1, 8.00, 8.00, 101871, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 360 - 2024-11-28 14:46:06 [0.38ms] */
select * from `invoice_item` where `id` = 199499 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 361 - 2024-11-28 14:46:06 [0.42ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Yearly Tax","description":"Yearly Tax Service Fee","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101871}}', 8, 'App\Models\User', 199499, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 362 - 2024-11-28 14:46:06 [0.4ms] */
select * from `invoice` where `invoice`.`id` = 101871 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 363 - 2024-11-28 14:46:06 [0.45ms] */
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` = 101871 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 364 - 2024-11-28 14:46:06 [0.39ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101871 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 365 - 2024-11-28 14:46:06 [0.3ms] */
update `invoice` set `invoice_amount` = 64, `outstanding_balance` = 64, `discounts` = 0, `total_invoice_amount` = 64, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101871;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 366 - 2024-11-28 14:46:06 [0.28ms] */
select * from `invoice` where `id` = 101871 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 367 - 2024-11-28 14:46:06 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 101871, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 368 - 2024-11-28 14:46:06 [0.25ms] */
update `invoice` set `invoice_number` = 'INV-954-101871937', `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101871;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 369 - 2024-11-28 14:46:06 [0.29ms] */
select * from `invoice` where `id` = 101871 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 370 - 2024-11-28 14:46:06 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"64.00","outstanding_balance":"64.00","discounts":"0.00","total_invoice_amount":"64.00","invoice_number":"INV-954-101871937","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 101871, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 371 - 2024-11-28 14:46:06 [0.29ms] */
update `transaction` set `party_vehicle_id` = 98701, `vehicle_tax_id` = 98994, `invoice_id` = 101871, `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102267;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 372 - 2024-11-28 14:46:06 [0.4ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 373 - 2024-11-28 14:46:06 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 374 - 2024-11-28 14:46:06 [0.3ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 375 - 2024-11-28 14:46:06 [0.31ms] */
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://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 376 - 2024-11-28 14:46:06 [0.37ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 377 - 2024-11-28 14:46:06 [0.27ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102268, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 378 - 2024-11-28 14:46:06 [0.31ms] */
select * from `term` where `year` = 2024 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 379 - 2024-11-28 14:46:06 [0.29ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '4HA-102258-876', 89696, 98, 54995, 98701, 102268, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 380 - 2024-11-28 14:46:06 [0.3ms] */
select * from `vehicle_tax` where `id` = 98995 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 381 - 2024-11-28 14:46:06 [0.24ms] */
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":"4HA-102258-876","tax_sticker_id":null,"vehicle_id":89696,"term_id":98,"party_id":54995,"transaction_id":102268,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98995, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 382 - 2024-11-28 14:46:06 [0.24ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 383 - 2024-11-28 14:46:06 [0.17ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 384 - 2024-11-28 14:46:06 [0.19ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 385 - 2024-11-28 14:46:06 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102268, '2024-03-01 00:00:00', '2024-03-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 386 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101872 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 387 - 2024-11-28 14:46:06 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102268,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2024-03-01 00:00:00","due_date":"2024-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101872, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 388 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 101872, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 389 - 2024-11-28 14:46:06 [0.17ms] */
select * from `invoice_item` where `id` = 199500 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 390 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":101872}}', 8, 'App\Models\User', 199500, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 391 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 101872, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 392 - 2024-11-28 14:46:06 [0.16ms] */
select * from `invoice_item` where `id` = 199501 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 393 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101872}}', 8, 'App\Models\User', 199501, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 394 - 2024-11-28 14:46:06 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 101872 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 395 - 2024-11-28 14:46:06 [0.22ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 101872 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 396 - 2024-11-28 14:46:06 [0.22ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101872 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 397 - 2024-11-28 14:46:06 [0.17ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101872;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 398 - 2024-11-28 14:46:06 [0.19ms] */
select * from `invoice` where `id` = 101872 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 399 - 2024-11-28 14:46:06 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 101872, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 400 - 2024-11-28 14:46:06 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-734-101872730', `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101872;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 401 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101872 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 402 - 2024-11-28 14:46:06 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-734-101872730","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 101872, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 403 - 2024-11-28 14:46:06 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98701, `vehicle_tax_id` = 98995, `invoice_id` = 101872, `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102268;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 404 - 2024-11-28 14:46:06 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 405 - 2024-11-28 14:46:06 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 406 - 2024-11-28 14:46:06 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 407 - 2024-11-28 14:46:06 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 408 - 2024-11-28 14:46:06 [0.22ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 409 - 2024-11-28 14:46:06 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102269, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 410 - 2024-11-28 14:46:06 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 411 - 2024-11-28 14:46:06 [0.23ms] */
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', 'RO0-102258-208', 89696, 99, 54995, 98701, 102269, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 412 - 2024-11-28 14:46:06 [0.17ms] */
select * from `vehicle_tax` where `id` = 98996 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 413 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"RO0-102258-208","tax_sticker_id":null,"vehicle_id":89696,"term_id":99,"party_id":54995,"transaction_id":102269,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98996, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 414 - 2024-11-28 14:46:06 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 415 - 2024-11-28 14:46:06 [0.17ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 416 - 2024-11-28 14:46:06 [0.18ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 417 - 2024-11-28 14:46:06 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102269, '2024-06-01 00:00:00', '2024-06-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 418 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101873 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 419 - 2024-11-28 14:46:06 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102269,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2024-06-01 00:00:00","due_date":"2024-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101873, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 420 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 101873, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 421 - 2024-11-28 14:46:06 [0.17ms] */
select * from `invoice_item` where `id` = 199502 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 422 - 2024-11-28 14:46:06 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":101873}}', 8, 'App\Models\User', 199502, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 423 - 2024-11-28 14:46:06 [0.28ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 101873, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 424 - 2024-11-28 14:46:06 [0.33ms] */
select * from `invoice_item` where `id` = 199503 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 425 - 2024-11-28 14:46:06 [0.36ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101873}}', 8, 'App\Models\User', 199503, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 426 - 2024-11-28 14:46:06 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 101873 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 427 - 2024-11-28 14:46:06 [0.44ms] */
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` = 101873 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 428 - 2024-11-28 14:46:06 [0.42ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101873 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 429 - 2024-11-28 14:46:06 [0.35ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101873;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 430 - 2024-11-28 14:46:06 [0.36ms] */
select * from `invoice` where `id` = 101873 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 431 - 2024-11-28 14:46:06 [0.31ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 8, 'App\Models\User', 101873, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 432 - 2024-11-28 14:46:06 [0.36ms] */
update `invoice` set `invoice_number` = 'INV-964-101873870', `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101873;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 433 - 2024-11-28 14:46:06 [0.36ms] */
select * from `invoice` where `id` = 101873 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 434 - 2024-11-28 14:46:06 [0.32ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"31.00","outstanding_balance":"31.00","discounts":"0.00","total_invoice_amount":"31.00","invoice_number":"INV-964-101873870","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 8, 'App\Models\User', 101873, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 435 - 2024-11-28 14:46:06 [0.38ms] */
update `transaction` set `party_vehicle_id` = 98701, `vehicle_tax_id` = 98996, `invoice_id` = 101873, `transaction`.`updated_at` = '2024-11-28 14:46:06' where `id` = 102269;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 436 - 2024-11-28 14:46:06 [0.47ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 437 - 2024-11-28 14:46:06 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 89696 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 438 - 2024-11-28 14:46:06 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 439 - 2024-11-28 14:46:06 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 440 - 2024-11-28 14:46:06 [0.23ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (54995, 2, 89696, null, 2, 6, null, 37, 37, 'OPEN', null, null, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 441 - 2024-11-28 14:46:06 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102270, 'INITIATED', '2024-11-28 14:46:06', 5, 8, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 442 - 2024-11-28 14:46:06 [0.21ms] */
select * from `term` where `year` = 2024 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 443 - 2024-11-28 14:46:06 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'V1Y-102258-560', 89696, 100, 54995, 98701, 102270, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 444 - 2024-11-28 14:46:06 [0.17ms] */
select * from `vehicle_tax` where `id` = 98997 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 445 - 2024-11-28 14:46:06 [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":"V1Y-102258-560","tax_sticker_id":null,"vehicle_id":89696,"term_id":100,"party_id":54995,"transaction_id":102270,"party_vehicle_id":98701,"exempt":"N","migration_id":null}}', 8, 'App\Models\User', 98997, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 446 - 2024-11-28 14:46:06 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 447 - 2024-11-28 14:46:06 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 448 - 2024-11-28 14:46:06 [0.18ms] */
select * from `party` where `party`.`id` = 54995 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 449 - 2024-11-28 14:46:06 [0.18ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102270, '2024-09-01 00:00:00', '2024-09-01 00:00:00', 'OPEN', 54995, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 450 - 2024-11-28 14:46:06 [0.18ms] */
select * from `invoice` where `id` = 101874 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 451 - 2024-11-28 14:46:06 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102270,"party_id":54995,"invoice_amount":"0.00","invoice_date":"2024-09-01 00:00:00","due_date":"2024-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 8, 'App\Models\User', 101874, 'Modules\Transaction\Entities\Invoice', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 452 - 2024-11-28 14:46:06 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 14 HP', 'Quarterly TaxFee for 14 HP', 1, 23.00, 23.00, 101874, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 453 - 2024-11-28 14:46:06 [0.22ms] */
select * from `invoice_item` where `id` = 199504 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 454 - 2024-11-28 14:46:06 [0.34ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 14 HP","description":"Quarterly TaxFee for 14 HP","unit_price":"23.00","quantity":1,"total_price":"23.00","invoice_id":101874}}', 8, 'App\Models\User', 199504, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 455 - 2024-11-28 14:46:06 [0.27ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 101874, 8, 8, '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 456 - 2024-11-28 14:46:06 [0.3ms] */
select * from `invoice_item` where `id` = 199505 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 457 - 2024-11-28 14:46:06 [0.34ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":101874}}', 8, 'App\Models\User', 199505, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-11-28 14:46:06', '2024-11-28 14:46:06');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 458 - 2024-11-28 14:46:06 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 101874 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 459 - 2024-11-28 14:46:06 [0.42ms] */
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` = 101874 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 460 - 2024-11-28 14:46:06 [0.37ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 101874 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 461 - 2024-11-28 14:46:06 [0.35ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 31, `discounts` = 0, `total_invoice_amount` = 31, `invoice`.`updated_at` = '2024-11-28 14:46:06' where `id` = 101874;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 462 - 2024-11-28 14:46:06 [0.37ms] */
select * from `invoice` where `id` = 101874 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 463 - 2024-11-28 14:46:06 [0.25ms] */
