select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105289
   Query 2 - 2025-01-09 12:35:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105289
   Query 3 - 2025-01-09 12:35:10 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105289
   Query 4 - 2025-01-09 12:35:10 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105289
   Query 5 - 2025-01-09 12:35:10 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105289
   Query 6 - 2025-01-09 12:35:10 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105289
   Query 7 - 2025-01-09 12:35:10 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 105289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105289
   Query 8 - 2025-01-09 12:35:10 [6.16ms] */
update `transaction` set `service_fee_sms_confirmation` = 528317987, `service_fee_ar_number` = 112, `service_fee_payment_date` = '2025-01-09 12:35:10', `transaction`.`updated_at` = '2025-01-09 12:35:10' where `id` = 105289;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105289
   Query 9 - 2025-01-09 12:35:10 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105289
   Query 10 - 2025-01-09 12:35:10 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:35:10 [2.03ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:35:10 [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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:35:10 [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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:35:10 [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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:35:10 [0.17ms] */
select * from `service_fee` where `service_fee`.`id` = 1 and `service_fee`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:35:10 [0.14ms] */
select count(*) as aggregate from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:35:10 [0.15ms] */
select * from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:35:10 [0.15ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:35:10 [0.13ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:35:10 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:35:10 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:35:10 [0.15ms] */
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/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:35:10 [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/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:35:10 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:35:10 [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/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:35:10 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:35:10 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:35:10 [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/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:35:10 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:35:10 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:35:10 [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/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:35:10 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 23 - 2025-01-09 12:35:10 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:35:13 [2.06ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:35:13 [0.87ms] */
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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:35:13 [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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:35:13 [0.41ms] */
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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:35:13 [0.18ms] */
select count(*) as aggregate from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:35:13 [0.15ms] */
select * from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:35:13 [0.15ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:35:13 [0.13ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:35:13 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:35:13 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:35:13 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:35:13 [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/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:35:13 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:35:13 [0.15ms] */
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/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:35:13 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:35:13 [0.26ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:35:13 [0.26ms] */
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/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:35:13 [0.29ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:35:13 [0.25ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:35:13 [0.27ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:35:13 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:35:13 [0.29ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-09 12:35:13 [2.18ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-09 12:35:13 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-09 12:35:13 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-09 12:35:13 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-09 12:35:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-09 12:35:13 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-09 12:35:13 [0.52ms] */
select * from `payment_documents` where `payment_provider_id` = 5 and `receipt_number` = 112;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-01-09 12:35:13 [0.46ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 112;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-01-09 12:35:13 [0.48ms] */
delete from `payment_documents` where `transaction_id` = 105289 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-01-09 12:35:13 [23.48ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `receipt_attachment`, `updated_at`, `created_at`) values (105289, 'SERVICE_RECEIPT_IMAGE', 112, 5, 'payment_confirmation/Payment-Confirmation-TR105289-ATTC-724448913.png', '2025-01-09 12:35:13', '2025-01-09 12:35:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:35:14 [1.4ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:35:14 [0.44ms] */
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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:35:14 [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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:35:14 [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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:35:14 [0.16ms] */
select count(*) as aggregate from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:35:14 [0.15ms] */
select * from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:35:14 [0.14ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:35:14 [0.13ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:35:14 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:35:14 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:35:14 [0.15ms] */
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/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:35:14 [0.12ms] */
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/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:35:14 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:35:14 [0.22ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:35:14 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:35:14 [0.18ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:35:14 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:35:14 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:35:14 [0.18ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:35:14 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:35:14 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:35:14 [0.18ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:35:14 [1.92ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:35:14 [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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:35:14 [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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:35:14 [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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:35:14 [0.15ms] */
select count(*) as aggregate from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:35:14 [0.14ms] */
select * from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:35:14 [0.15ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:35:14 [0.13ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:35:14 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:35:14 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:35:14 [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/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:35:14 [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/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:35:14 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:35:14 [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/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:35:14 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:35:14 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:35:14 [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/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:35:14 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:35:14 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:35:14 [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/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:35:14 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:35:14 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-01-09 12:35:15 [1.94ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-09 12:35:15 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-09 12:35:15 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-01-09 12:35:15 [0.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-01-09 12:35:15 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-09 12:35:15 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-01-09 12:35:15 [0.48ms] */
select * from `transaction` where `transaction`.`id` = 105289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-01-09 12:35:15 [0.3ms] */
select * from `invoice_payment` where `invoice_id` = 104846 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-01-09 12:35:15 [81.62ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 105289 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-01-09 12:35:15 [24.29ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 105289 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-01-09 12:35:15 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 105289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-01-09 12:35:15 [0.22ms] */
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/api/confirm_payment
   Query 13 - 2025-01-09 12:35:15 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 14 - 2025-01-09 12:35:15 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 15 - 2025-01-09 12:35:15 [51.9ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 105289 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-01-09 12:35:15 [0.84ms] */
select * from `party` where `party`.`id` = 56087 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-01-09 12:35:15 [2.39ms] */
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 ('2025-01-09 12:35:15', '#677F985395306', 26, 5, 21.00, null, 88866, null, 37, 5, 5, 5, '2025-01-09 12:35:15', '2025-01-09 12:35:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-01-09 12:35:15 [0.28ms] */
select * from `Payment` where `id` = 89869 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-01-09 12:35:15 [1.25ms] */
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":5,"payment_amount":"21.00","payment_date":"2025-01-09 12:35:15","external_payment_reference_no":"#677F985395306","payment_receipt_number":"26","siinpay_payref_number":null,"paid_by":null,"paid_by_mobile":"88866","district_id":37,"migration_id":null,"payment_collected_by":5}}', 5, 'App\Models\User', 89869, 'Modules\Transaction\Entities\Payment', 'created', '2025-01-09 12:35:15', '2025-01-09 12:35:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-01-09 12:35:15 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 105289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-01-09 12:35:15 [0.67ms] */
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/api/confirm_payment
   Query 22 - 2025-01-09 12:35:15 [0.72ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 23 - 2025-01-09 12:35:15 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 103682 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 24 - 2025-01-09 12:35:15 [1.14ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-09 12:35:15', 103682, 89869, '2025-01-09 12:35:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-01-09 12:35:15 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 103682 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-01-09 12:35:15 [0.32ms] */
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` = 103682 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-01-09 12:35:15 [1.34ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103682 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-01-09 12:35:15 [0.4ms] */
update `invoice` set `invoice_amount` = 21, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 21, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-09 12:35:15' where `id` = 103682;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 29 - 2025-01-09 12:35:15 [0.24ms] */
select * from `invoice` where `id` = 103682 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-01-09 12:35:15 [0.53ms] */
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":"21.00","status":"OPEN"}}', 5, 'App\Models\User', 103682, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:15', '2025-01-09 12:35:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-01-09 12:35:15 [0.63ms] */
select * from `transaction` where `transaction`.`id` = 104120 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-01-09 12:35:15 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 104120 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-01-09 12:35:15 [0.2ms] */
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/api/confirm_payment
   Query 34 - 2025-01-09 12:35:15 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-01-09 12:35:15 [0.3ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 36 - 2025-01-09 12:35:15 [0.42ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104120, 'PAID', '2025-01-09 12:35:15', 7, 5, null, 5, 5, '2025-01-09 12:35:15', '2025-01-09 12:35:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 37 - 2025-01-09 12:35:15 [0.33ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-01-09 12:35:15 [0.34ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-09 12:35:15' where `id` = 104120;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-01-09 12:35:15 [0.24ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-01-09 12:35:15 [0.27ms] */
select * from `invoice` where `invoice`.`id` = 103682 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 41 - 2025-01-09 12:35:15 [0.31ms] */
select * from `vehicle_tax` where `transaction_id` = 104120 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 42 - 2025-01-09 12:35:15 [0.28ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-09 12:35:15' where `id` = 100455;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-01-09 12:35:15 [0.26ms] */
select * from `vehicle_tax` where `id` = 100455 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-01-09 12:35:15 [1.5ms] */
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":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 100455, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-09 12:35:15', '2025-01-09 12:35:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-01-09 12:35:15 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 104846 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-01-09 12:35:15 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 104846 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-01-09 12:35:15 [0.2ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-09 12:35:15', 104846, 89869, '2025-01-09 12:35:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-01-09 12:35:15 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 104846 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-01-09 12:35:15 [0.31ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 104846 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-01-09 12:35:15 [0.21ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-09 12:35:15' where `id` = 104846;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-01-09 12:35:15 [0.23ms] */
select * from `invoice` where `id` = 104846 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-01-09 12:35:15 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"21.00","status":"OPEN"}}', 5, 'App\Models\User', 104846, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:15', '2025-01-09 12:35:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-01-09 12:35:15 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 105289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-01-09 12:35:15 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 105289 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-01-09 12:35:15 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-01-09 12:35:15 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 57 - 2025-01-09 12:35:15 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 58 - 2025-01-09 12:35:15 [0.73ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105289, 'PAID', '2025-01-09 12:35:15', 7, 5, null, 5, 5, '2025-01-09 12:35:15', '2025-01-09 12:35:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 59 - 2025-01-09 12:35:15 [0.27ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-01-09 12:35:15 [0.28ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-09 12:35:15' where `id` = 105289;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 61 - 2025-01-09 12:35:15 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-01-09 12:35:15 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 104846 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 63 - 2025-01-09 12:35:15 [13.19ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-01-09 12:35:15' where `receipt_number` = 26 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 64 - 2025-01-09 12:35:15 [6.71ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-01-09 12:35:15' where `receipt_number` = 112 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:35:15 [1.34ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:35:15 [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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:35:15 [0.33ms] */
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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:35:15 [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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:35:15 [0.34ms] */
select * from `service_fee` where `service_fee`.`id` = 1 and `service_fee`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:35:15 [6ms] */
update `service_fee` set `fee` = 10.00, `updated_by` = 116, `service_fee`.`updated_at` = '2025-01-09 12:35:15' where `id` = 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:35:15 [3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('default', '[]', 116, 'App\Models\User', 1, 'Modules\Service\Entities\ServiceFee', 'updated', '2025-01-09 12:35:15', '2025-01-09 12:35:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:35:15 [0.32ms] */
select count(*) as aggregate from `service_fee` where `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:35:15 [0.33ms] */
select * from `service_fee` where `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:35:15 [0.24ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:35:15 [0.2ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:35:15 [0.22ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:35:15 [0.21ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:35:15 [0.24ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:35:15 [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/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:35:15 [0.2ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:35:15 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:35:15 [0.2ms] */
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/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:35:15 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:35:15 [0.2ms] */
select * from `frequency_type` where `frequency_type`.`id` = 2 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:35:15 [0.24ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:35:15 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 23 - 2025-01-09 12:35:15 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 24 - 2025-01-09 12:35:15 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 25 - 2025-01-09 12:35:15 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 26 - 2025-01-09 12:35:15 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 27 - 2025-01-09 12:35:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 28 - 2025-01-09 12:35:15 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 29 - 2025-01-09 12:35:15 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 30 - 2025-01-09 12:35:15 [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/config.manage-service-fee-component
   Query 31 - 2025-01-09 12:35:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 32 - 2025-01-09 12:35:15 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 2 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 33 - 2025-01-09 12:35:15 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 34 - 2025-01-09 12:35:15 [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/config.manage-service-fee-component
   Query 35 - 2025-01-09 12:35:15 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 36 - 2025-01-09 12:35:15 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` = 1 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 37 - 2025-01-09 12:35:15 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 38 - 2025-01-09 12:35:15 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 39 - 2025-01-09 12:35:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 40 - 2025-01-09 12:35:15 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 2 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 41 - 2025-01-09 12:35:15 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 42 - 2025-01-09 12:35:15 [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/config.manage-service-fee-component
   Query 43 - 2025-01-09 12:35:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 44 - 2025-01-09 12:35:15 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 1 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 45 - 2025-01-09 12:35:15 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 46 - 2025-01-09 12:35:15 [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/config.manage-service-fee-component
   Query 47 - 2025-01-09 12:35:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 48 - 2025-01-09 12:35:15 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 1 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 49 - 2025-01-09 12:35:15 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 50 - 2025-01-09 12:35:15 [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/config.manage-service-fee-component
   Query 51 - 2025-01-09 12:35:15 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 52 - 2025-01-09 12:35:15 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 1 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-01-09 12:35:16 [1.51ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-01-09 12:35:16 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-01-09 12:35:16 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-01-09 12:35:16 [0.19ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-01-09 12:35:16 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-01-09 12:35:16 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-01-09 12:35:16 [9.5ms] */
select * from `receipts` where `used` = 'No' and `user_id` = 5 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:35:20 [2.04ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:35:20 [0.73ms] */
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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:35:20 [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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:35:20 [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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:35:20 [0.34ms] */
select count(*) as aggregate from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:35:20 [0.32ms] */
select * from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:35:20 [0.15ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:35:20 [0.13ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:35:20 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:35:20 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:35:20 [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/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:35:20 [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/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:35:20 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:35:20 [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/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:35:20 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:35:20 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:35:20 [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/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:35:20 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:35:20 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:35:20 [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/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:35:20 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:35:20 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 1 - 2025-01-09 12:35:25 [2.25ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 2 - 2025-01-09 12:35:25 [0.73ms] */
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/103109
   Query 3 - 2025-01-09 12:35:25 [0.32ms] */
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/103109
   Query 4 - 2025-01-09 12:35:25 [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/w/wkflw/103109
   Query 5 - 2025-01-09 12:35:25 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 103109 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 6 - 2025-01-09 12:35:25 [0.64ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 7 - 2025-01-09 12:35:25 [0.55ms] */
select * from `invoice` where `transaction_id` = 103109 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 8 - 2025-01-09 12:35:25 [0.97ms] */
select * from `invoice_payment` where `invoice_id` = 102671;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 9 - 2025-01-09 12:35:25 [1.42ms] */
select * from `payment_documents` where `transaction_id` = 103109;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 10 - 2025-01-09 12:35:25 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 103109 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 11 - 2025-01-09 12:35:25 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 90031 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 12 - 2025-01-09 12:35:25 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 13 - 2025-01-09 12:35:25 [0.15ms] */
select * from `driver_license` where `party_id` = 58397 and `transaction_id` = 103109 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 14 - 2025-01-09 12:35:25 [0.12ms] */
select * from `driver_license` where `driver_license`.`id` is null and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 15 - 2025-01-09 12:35:25 [0.13ms] */
select * from `driver_license` where `party_id` = 58397 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 16 - 2025-01-09 12:35:25 [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/103109
   Query 17 - 2025-01-09 12:35:25 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 18 - 2025-01-09 12:35:25 [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/103109
   Query 19 - 2025-01-09 12:35:25 [0.85ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 1 and `frequency_type_id` in (4, 1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` in (1, 2, 4) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` in (1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` in (4, 1) and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 20 - 2025-01-09 12:35:25 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 21 - 2025-01-09 12:35:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 22 - 2025-01-09 12:35:25 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 23 - 2025-01-09 12:35:25 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 24 - 2025-01-09 12:35:25 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 25 - 2025-01-09 12:35:25 [38.3ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 26 - 2025-01-09 12:35:25 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 90031 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 27 - 2025-01-09 12:35:25 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 90031 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 28 - 2025-01-09 12:35:25 [0.13ms] */
select * from `model` where `model`.`id` = 1335 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 29 - 2025-01-09 12:35:25 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 30 - 2025-01-09 12:35:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 31 - 2025-01-09 12:35:25 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 90031 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 32 - 2025-01-09 12:35:25 [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/103109
   Query 33 - 2025-01-09 12:35:25 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 34 - 2025-01-09 12:35:25 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 12 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 35 - 2025-01-09 12:35:25 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 36 - 2025-01-09 12:35:25 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 37 - 2025-01-09 12:35:25 [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/103109
   Query 38 - 2025-01-09 12:35:25 [0.15ms] */
select * from `party` where `party`.`id` = 58397 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 39 - 2025-01-09 12:35:25 [0.14ms] */
select * from `party` where `party`.`id` = 58397 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 40 - 2025-01-09 12:35:25 [0.15ms] */
select * from `person` where `person`.`id` = 55881 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 41 - 2025-01-09 12:35:25 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55881 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 42 - 2025-01-09 12:35:25 [0.15ms] */
select * from `address` where `address`.`id` = 58397 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 43 - 2025-01-09 12:35:25 [0.13ms] */
select * from `district` where `district`.`id` = 109 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 44 - 2025-01-09 12:35:25 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 45 - 2025-01-09 12:35:25 [0.55ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 46 - 2025-01-09 12:35:25 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 47 - 2025-01-09 12:35:25 [0.12ms] */
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/103109
   Query 48 - 2025-01-09 12:35:25 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 49 - 2025-01-09 12:35:25 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 50 - 2025-01-09 12:35:25 [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/103109
   Query 51 - 2025-01-09 12:35:25 [0.16ms] */
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/103109
   Query 52 - 2025-01-09 12:35:25 [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/103109
   Query 53 - 2025-01-09 12:35:25 [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/103109
   Query 54 - 2025-01-09 12:35:25 [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/103109
   Query 55 - 2025-01-09 12:35:25 [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/103109
   Query 56 - 2025-01-09 12:35:25 [0.3ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 57 - 2025-01-09 12:35:25 [0.15ms] */
select * from `users` where `users`.`id` = 117 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 58 - 2025-01-09 12:35:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 59 - 2025-01-09 12:35:25 [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/103109
   Query 60 - 2025-01-09 12:35:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 61 - 2025-01-09 12:35:25 [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/103109
   Query 62 - 2025-01-09 12:35:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 63 - 2025-01-09 12:35:25 [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/103109
   Query 64 - 2025-01-09 12:35:25 [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/103109
   Query 65 - 2025-01-09 12:35:25 [0.18ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 66 - 2025-01-09 12:35:25 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 1 - 2025-01-09 12:35:29 [1.36ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 2 - 2025-01-09 12:35:29 [0.44ms] */
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/m/trns/i/102671
   Query 3 - 2025-01-09 12:35:29 [0.32ms] */
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/m/trns/i/102671
   Query 4 - 2025-01-09 12:35:29 [0.44ms] */
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/m/trns/i/102671
   Query 5 - 2025-01-09 12:35:29 [1.04ms] */
select * from `payment_method` where `name` = 'Cash' and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 6 - 2025-01-09 12:35:29 [0.68ms] */
select * from `invoice` where `id` = 102671 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 7 - 2025-01-09 12:35:29 [0.27ms] */
select * from `transaction` where `transaction`.`id` in (103109) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 8 - 2025-01-09 12:35:29 [0.68ms] */
select * from `vehicle` where `vehicle`.`id` in (90031) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 9 - 2025-01-09 12:35:29 [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/m/trns/i/102671
   Query 10 - 2025-01-09 12:35:29 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 11 - 2025-01-09 12:35:29 [0.61ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 12 - 2025-01-09 12:35:29 [0.24ms] */
select * from `party` where `party`.`id` in (58397) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 13 - 2025-01-09 12:35:29 [0.72ms] */
select * from `address` where `address`.`id` in (58397) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 14 - 2025-01-09 12:35:29 [0.15ms] */
select * from `party` where `party`.`id` = 58397 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 15 - 2025-01-09 12:35:29 [0.15ms] */
select * from `person` where `person`.`id` = 55881 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 16 - 2025-01-09 12:35:29 [0.14ms] */
select * from `address` where `address`.`id` = 58397 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 17 - 2025-01-09 12:35:29 [1.08ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102671 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 18 - 2025-01-09 12:35:29 [0.66ms] */
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` = 102671 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-01-09 12:35:34 [2.17ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-01-09 12:35:34 [0.63ms] */
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 - 2025-01-09 12:35:34 [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/workflow.view-workflow-transaction-component
   Query 4 - 2025-01-09 12:35:34 [0.42ms] */
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 - 2025-01-09 12:35:34 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 103109 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-09 12:35:34 [0.24ms] */
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 - 2025-01-09 12:35:34 [0.14ms] */
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 - 2025-01-09 12:35:34 [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/workflow.view-workflow-transaction-component
   Query 9 - 2025-01-09 12:35:34 [0.25ms] */
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 - 2025-01-09 12:35:34 [0.29ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (2) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-01-09 12:35:34 [0.22ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-01-09 12:35:34 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (98839) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-01-09 12:35:34 [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 - 2025-01-09 12:35:34 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (90031) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-01-09 12:35:34 [0.15ms] */
select * from `party` where `party`.`id` in (58397) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-01-09 12:35:34 [0.25ms] */
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 - 2025-01-09 12:35:34 [0.23ms] */
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 - 2025-01-09 12:35:34 [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 19 - 2025-01-09 12:35:34 [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 20 - 2025-01-09 12:35:34 [0.29ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 89291 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-01-09 12:35:34 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 90031 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-01-09 12:35:34 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-01-09 12:35:34 [0.15ms] */
select * from `driver_license` where `party_id` = 58397 and `transaction_id` = 103109 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-01-09 12:35:34 [0.13ms] */
select * from `driver_license` where `driver_license`.`id` is null and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-01-09 12:35:34 [0.13ms] */
select * from `driver_license` where `party_id` = 58397 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-09 12:35:34 [0.31ms] */
select * from `invoice_item` where `invoice_id` = 102671;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-01-09 12:35:34 [3.01ms] */
delete from `invoice_item` where `id` = 200793;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-09 12:35:34 [0.28ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 1 and `frequency_type_id` in (4, 1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` in (1, 2, 4) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` in (1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` in (4, 1) and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-01-09 12:35:34 [3.37ms] */
insert into `invoice_item` (`item`, `description`, `unit_price`, `total_price`, `quantity`, `invoice_id`, `created_by`, `updated_by`, `created_at`, `updated_at`) values ('Service Fee for Private', 'Service Fee for Title Registration for Private', 10.00, 10.00, 1, 102671, 116, 116, '2025-01-09 12:35:34', '2025-01-09 12:35:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-01-09 12:35:34 [0.38ms] */
select * from `invoice_item` where `id` = 204809 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-01-09 12:35:34 [3.31ms] */
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 Private","description":"Service Fee for Title Registration for Private","unit_price":"10.00","quantity":1,"total_price":"10.00","invoice_id":102671}}', 116, 'App\Models\User', 204809, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-09 12:35:34', '2025-01-09 12:35:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-01-09 12:35:34 [0.4ms] */
select * from `invoice` where `invoice`.`id` = 102671 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-01-09 12:35:34 [2.98ms] */
update `invoice` set `invoice_amount` = 10, `outstanding_balance` = 10, `total_invoice_amount` = 10, `updated_by` = 116, `invoice`.`updated_at` = '2025-01-09 12:35:34' where `id` = 102671;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-01-09 12:35:34 [0.37ms] */
select * from `invoice` where `id` = 102671 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-01-09 12:35:34 [3.04ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"10.00","outstanding_balance":"10.00","total_invoice_amount":"10.00"},"old":{"invoice_amount":"8.00","outstanding_balance":"8.00","total_invoice_amount":"8.00"}}', 116, 'App\Models\User', 102671, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:34', '2025-01-09 12:35:34');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-01-09 12:35:34 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 103109 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-01-09 12:35:34 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 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 38 - 2025-01-09 12:35:34 [0.42ms] */
select * from `invoice` where `transaction_id` = 103109 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-01-09 12:35:34 [0.18ms] */
select * from `invoice_payment` where `invoice_id` = 102671;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-01-09 12:35:34 [0.18ms] */
select * from `payment_documents` where `transaction_id` = 103109;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-01-09 12:35:34 [0.21ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 103109 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 42 - 2025-01-09 12:35:34 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 90031 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2025-01-09 12:35:34 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2025-01-09 12:35:34 [0.2ms] */
select * from `driver_license` where `party_id` = 58397 and `transaction_id` = 103109 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2025-01-09 12:35:34 [0.19ms] */
select * from `driver_license` where `driver_license`.`id` is null and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2025-01-09 12:35:34 [0.19ms] */
select * from `driver_license` where `party_id` = 58397 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2025-01-09 12:35:34 [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/workflow.view-workflow-transaction-component
   Query 48 - 2025-01-09 12:35:34 [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 49 - 2025-01-09 12:35:34 [0.19ms] */
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 50 - 2025-01-09 12:35:34 [0.35ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 1 and `frequency_type_id` in (4, 1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` in (1, 2, 4) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` in (1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` in (4, 1) and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-01-09 12:35:34 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 52 - 2025-01-09 12:35:34 [0.22ms] */
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.view-workflow-transaction-component
   Query 53 - 2025-01-09 12:35:34 [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 54 - 2025-01-09 12:35:34 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2025-01-09 12:35:34 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 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 56 - 2025-01-09 12:35:34 [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 57 - 2025-01-09 12:35:34 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 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 58 - 2025-01-09 12:35:34 [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 59 - 2025-01-09 12:35:34 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 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 60 - 2025-01-09 12:35:34 [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 61 - 2025-01-09 12:35:34 [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 62 - 2025-01-09 12:35:34 [0.16ms] */
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 63 - 2025-01-09 12:35:34 [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 64 - 2025-01-09 12:35:34 [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 65 - 2025-01-09 12:35:34 [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/widgets.title-workflow-widget
   Query 1 - 2025-01-09 12:35:34 [1.94ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 2 - 2025-01-09 12:35:34 [0.55ms] */
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 - 2025-01-09 12:35:34 [0.33ms] */
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 - 2025-01-09 12:35:34 [0.42ms] */
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 - 2025-01-09 12:35:34 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-01-09 12:35:35 [2.33ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-01-09 12:35:35 [0.85ms] */
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 - 2025-01-09 12:35:35 [0.61ms] */
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 - 2025-01-09 12:35:35 [0.4ms] */
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 - 2025-01-09 12:35:35 [0.17ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 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 - 2025-01-09 12:35:35 [0.19ms] */
select * from `users` where `users`.`id` = 117 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 - 2025-01-09 12:35:35 [0.14ms] */
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 - 2025-01-09 12:35:35 [1.24ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-01-09 12:35:35 [0.47ms] */
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 - 2025-01-09 12:35:35 [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/widgets.workflow-progress-widget
   Query 4 - 2025-01-09 12:35:35 [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/widgets.workflow-progress-widget
   Query 5 - 2025-01-09 12:35:35 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 103109 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-01-09 12:35:35 [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 - 2025-01-09 12:35:35 [0.14ms] */
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 - 2025-01-09 12:35:35 [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 9 - 2025-01-09 12:35:35 [0.15ms] */
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 - 2025-01-09 12:35:35 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (2) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-01-09 12:35:35 [0.13ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-01-09 12:35:35 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (98839) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-01-09 12:35:35 [0.14ms] */
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 - 2025-01-09 12:35:35 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (90031) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-01-09 12:35:35 [0.15ms] */
select * from `party` where `party`.`id` in (58397) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2025-01-09 12:35:35 [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 - 2025-01-09 12:35:35 [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/widgets.workflow-progress-widget
   Query 18 - 2025-01-09 12:35:35 [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/widgets.workflow-progress-widget
   Query 19 - 2025-01-09 12:35:35 [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/widgets.workflow-progress-widget
   Query 20 - 2025-01-09 12:35:35 [0.16ms] */
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 - 2025-01-09 12:35:35 [0.14ms] */
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 - 2025-01-09 12:35:35 [0.15ms] */
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 - 2025-01-09 12:35:35 [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/widgets.workflow-progress-widget
   Query 24 - 2025-01-09 12:35:35 [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/widgets.workflow-progress-widget
   Query 25 - 2025-01-09 12:35:35 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 1 - 2025-01-09 12:35:37 [1.36ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 2 - 2025-01-09 12:35:37 [0.43ms] */
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/m/trns/i/102671
   Query 3 - 2025-01-09 12:35:37 [0.32ms] */
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/m/trns/i/102671
   Query 4 - 2025-01-09 12:35:37 [0.4ms] */
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/m/trns/i/102671
   Query 5 - 2025-01-09 12:35:37 [0.17ms] */
select * from `payment_method` where `name` = 'Cash' and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 6 - 2025-01-09 12:35:37 [0.86ms] */
select * from `invoice` where `id` = 102671 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 7 - 2025-01-09 12:35:37 [0.18ms] */
select * from `transaction` where `transaction`.`id` in (103109) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 8 - 2025-01-09 12:35:37 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (90031) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 9 - 2025-01-09 12:35:37 [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): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 10 - 2025-01-09 12:35:37 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 11 - 2025-01-09 12:35:37 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 12 - 2025-01-09 12:35:37 [0.15ms] */
select * from `party` where `party`.`id` in (58397) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 13 - 2025-01-09 12:35:37 [0.14ms] */
select * from `address` where `address`.`id` in (58397) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 14 - 2025-01-09 12:35:37 [0.15ms] */
select * from `party` where `party`.`id` = 58397 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 15 - 2025-01-09 12:35:37 [0.16ms] */
select * from `person` where `person`.`id` = 55881 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 16 - 2025-01-09 12:35:37 [0.14ms] */
select * from `address` where `address`.`id` = 58397 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 17 - 2025-01-09 12:35:37 [1.45ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102671 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 18 - 2025-01-09 12:35:37 [0.19ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 102671 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-09 12:35:42 [1.38ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-09 12:35:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-09 12:35:42 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-09 12:35:42 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-09 12:35:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-09 12:35:42 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-09 12:35:42 [1.17ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RL881' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-09 12:35:43 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-09 12:35:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-09 12:35:43 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-09 12:35:43 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-09 12:35:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-09 12:35:43 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-09 12:35:43 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 816 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-09 12:35:43 [0.21ms] */
select * from `vehicle` where `id` = 816 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-09 12:35:43 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 816 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-09 12:35:43 [0.89ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 816 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-09 12:35:44 [2.07ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-09 12:35:44 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-09 12:35:44 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-09 12:35:44 [0.39ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-09 12:35:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-09 12:35:44 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-09 12:35:44 [0.49ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-09 12:35:44 [2.17ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-09 12:35:44 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-09 12:35:44 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-09 12:35:44 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-09 12:35:44 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-09 12:35:44 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-09 12:35:44 [0.62ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-09 12:35:46 [2.23ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-09 12:35:46 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-09 12:35:46 [0.32ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-09 12:35:46 [0.38ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-09 12:35:46 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-09 12:35:46 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-09 12:35:46 [0.76ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-09 12:35:46 [0.46ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100550, 100551, 100552, 100553, 100554) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-09 12:35:46 [0.44ms] */
select `parent_id` from `transaction` where `id` in (104215, 104216, 104217, 104218, 104219) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-09 12:35:46 [0.16ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-09 12:35:46 [0.21ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-09 12:35:46 [0.26ms] */
select * from `transaction` where `id` in (104215, 104216, 104217, 104218, 104219) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-09 12:35:46 [0.29ms] */
select * from `invoice` where `invoice`.`id` = 103777 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-09 12:35:46 [5.94ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-09 12:35:46' where `id` = 103777;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-09 12:35:46 [0.23ms] */
select * from `invoice` where `id` = 103777 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-09 12:35:46 [3.73ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 103777, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-09 12:35:46 [0.41ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-09 12:35:46 [0.43ms] */
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/api/make_payment
   Query 19 - 2025-01-09 12:35:46 [3.27ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104215;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-09 12:35:46 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 103778 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-09 12:35:46 [3.05ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-09 12:35:46' where `id` = 103778;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-09 12:35:46 [0.32ms] */
select * from `invoice` where `id` = 103778 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-09 12:35:46 [3.08ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 103778, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-01-09 12:35:46 [0.21ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-01-09 12:35:46 [0.24ms] */
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/api/make_payment
   Query 26 - 2025-01-09 12:35:46 [3.15ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104216;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2025-01-09 12:35:46 [0.5ms] */
select * from `invoice` where `invoice`.`id` = 103779 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-01-09 12:35:46 [3.31ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-09 12:35:46' where `id` = 103779;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-01-09 12:35:46 [0.36ms] */
select * from `invoice` where `id` = 103779 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-01-09 12:35:46 [3.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 103779, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-01-09 12:35:46 [0.21ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-01-09 12:35:46 [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/api/make_payment
   Query 33 - 2025-01-09 12:35:46 [3.18ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104217;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2025-01-09 12:35:46 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 103780 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-01-09 12:35:46 [3.33ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-09 12:35:46' where `id` = 103780;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-01-09 12:35:46 [0.32ms] */
select * from `invoice` where `id` = 103780 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-01-09 12:35:46 [3.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 103780, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-01-09 12:35:46 [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/api/make_payment
   Query 39 - 2025-01-09 12:35:46 [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/api/make_payment
   Query 40 - 2025-01-09 12:35:46 [3.22ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104218;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-01-09 12:35:46 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 103781 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-01-09 12:35:46 [3.19ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-09 12:35:46' where `id` = 103781;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-01-09 12:35:46 [0.34ms] */
select * from `invoice` where `id` = 103781 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-01-09 12:35:46 [3.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 103781, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-01-09 12:35:46 [0.21ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-01-09 12:35:46 [0.21ms] */
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/api/make_payment
   Query 47 - 2025-01-09 12:35:46 [3.22ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104219;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-01-09 12:35:46 [3.42ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-01-09 12:35:46' where `id` in (100550, 100551, 100552, 100553, 100554) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2025-01-09 12:35:46 [0.43ms] */
select * from `vehicle` where `vehicle`.`id` = 816 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-01-09 12:35:46 [0.34ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-01-09 12:35:46 [0.45ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 816 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-01-09 12:35:46 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 816 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-01-09 12:35:46 [0.25ms] */
select * from `party` where `party`.`id` = 27123 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-01-09 12:35:46 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 816 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-01-09 12:35:46 [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/api/make_payment
   Query 56 - 2025-01-09 12:35:46 [0.21ms] */
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/api/make_payment
   Query 57 - 2025-01-09 12:35:46 [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 (27123, 2, 816, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2025-01-09 12:35:46 [0.33ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105290, 'INITIATED', '2025-01-09 12:35:46', 5, 5, 5, 5, '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-01-09 12:35:46 [0.22ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 78196, `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 105290;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-01-09 12:35:46 [0.28ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (100550, 100551, 100552, 100553, 100554) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-01-09 12:35:46 [0.22ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (100550, 100551, 100552, 100553, 100554) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-01-09 12:35:46 [0.26ms] */
insert into `invoice` (`transaction_id`, `party_id`, `invoice_date`, `due_date`, `invoice_amount`, `discounts`, `total_invoice_amount`, `outstanding_balance`, `taxes`, `status`, `grouped`, `parent`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105290, 27123, '2025-01-09 12:35:46', '2025-01-09 12:35:46', 176.00, 0, 176.00, 176.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-01-09 12:35:46 [0.19ms] */
select * from `invoice` where `id` = 104847 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2025-01-09 12:35:46 [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":{"transaction_id":105290,"party_id":27123,"invoice_amount":"176.00","invoice_date":"2025-01-09 12:35:46","due_date":"2025-01-09 12:35:46","outstanding_balance":"176.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"176.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 104847, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 65 - 2025-01-09 12:35:46 [0.3ms] */
select `invoice`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (100550, 100551, 100552, 100553, 100554) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2025-01-09 12:35:46 [0.25ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Tax Fees', 5, 176, 176, 104847, 5, 5, '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-01-09 12:35:46 [0.17ms] */
select * from `invoice_item` where `id` = 204810 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-01-09 12:35:46 [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":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"176.00","quantity":5,"total_price":"176.00","invoice_id":104847}}', 5, 'App\Models\User', 204810, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 69 - 2025-01-09 12:35:46 [0.22ms] */
update `invoice` set `invoice_number` = 'INV-568-104847292', `invoice`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104847;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 70 - 2025-01-09 12:35:46 [0.19ms] */
select * from `invoice` where `id` = 104847 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 71 - 2025-01-09 12:35:46 [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_number":"INV-568-104847292"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 104847, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2025-01-09 12:35:46 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 100550 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-01-09 12:35:46 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-09 12:35:46' where `id` = 100550;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-01-09 12:35:46 [0.18ms] */
select * from `vehicle_tax` where `id` = 100550 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 75 - 2025-01-09 12:35:46 [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":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 100550, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-01-09 12:35:46 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 104215 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-01-09 12:35:46 [0.17ms] */
update `transaction` set `parent_id` = 105290, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104215;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-01-09 12:35:46 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103777 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 79 - 2025-01-09 12:35:46 [0.23ms] */
update `invoice` set `parent_id` = 104847, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-09 12:35:46' where `id` = 103777;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-01-09 12:35:46 [0.18ms] */
select * from `invoice` where `id` = 103777 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-01-09 12:35:46 [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":{"parent_id":104847,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 103777, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2025-01-09 12:35:46 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 104215 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2025-01-09 12:35:46 [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/api/make_payment
   Query 84 - 2025-01-09 12:35:46 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 85 - 2025-01-09 12:35:46 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 86 - 2025-01-09 12:35:46 [0.37ms] */
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/api/make_payment
   Query 87 - 2025-01-09 12:35:46 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2025-01-09 12:35:46 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104215, 'APPROVED', '2025-01-09 12:35:46', 5, 5, null, 5, 5, '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 89 - 2025-01-09 12:35:46 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 90 - 2025-01-09 12:35:46 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104215;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 91 - 2025-01-09 12:35:46 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 92 - 2025-01-09 12:35:46 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 103777 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 93 - 2025-01-09 12:35:46 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 100551 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 94 - 2025-01-09 12:35:46 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-09 12:35:46' where `id` = 100551;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 95 - 2025-01-09 12:35:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 100551 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 96 - 2025-01-09 12:35:46 [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":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 100551, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 97 - 2025-01-09 12:35:46 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 104216 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 98 - 2025-01-09 12:35:46 [0.17ms] */
update `transaction` set `parent_id` = 105290, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104216;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 99 - 2025-01-09 12:35:46 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103778 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 100 - 2025-01-09 12:35:46 [0.16ms] */
update `invoice` set `parent_id` = 104847, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-09 12:35:46' where `id` = 103778;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 101 - 2025-01-09 12:35:46 [0.18ms] */
select * from `invoice` where `id` = 103778 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 102 - 2025-01-09 12:35:46 [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":{"parent_id":104847,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 103778, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 103 - 2025-01-09 12:35:46 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 104216 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 104 - 2025-01-09 12:35:46 [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/api/make_payment
   Query 105 - 2025-01-09 12:35:46 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 106 - 2025-01-09 12:35:46 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 107 - 2025-01-09 12:35:46 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 108 - 2025-01-09 12:35:46 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104216, 'APPROVED', '2025-01-09 12:35:46', 5, 5, null, 5, 5, '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 109 - 2025-01-09 12:35:46 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 110 - 2025-01-09 12:35:46 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104216;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 111 - 2025-01-09 12:35:46 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 112 - 2025-01-09 12:35:46 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103778 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 113 - 2025-01-09 12:35:46 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 100552 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 114 - 2025-01-09 12:35:46 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-09 12:35:46' where `id` = 100552;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 115 - 2025-01-09 12:35:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 100552 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 116 - 2025-01-09 12:35:46 [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":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 100552, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 117 - 2025-01-09 12:35:46 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 104217 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 118 - 2025-01-09 12:35:46 [0.18ms] */
update `transaction` set `parent_id` = 105290, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104217;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 119 - 2025-01-09 12:35:46 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103779 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 120 - 2025-01-09 12:35:46 [0.16ms] */
update `invoice` set `parent_id` = 104847, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-09 12:35:46' where `id` = 103779;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 121 - 2025-01-09 12:35:46 [0.18ms] */
select * from `invoice` where `id` = 103779 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 122 - 2025-01-09 12:35:46 [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":{"parent_id":104847,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 103779, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 123 - 2025-01-09 12:35:46 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 104217 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 124 - 2025-01-09 12:35:46 [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/api/make_payment
   Query 125 - 2025-01-09 12:35:46 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 126 - 2025-01-09 12:35:46 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 127 - 2025-01-09 12:35:46 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 128 - 2025-01-09 12:35:46 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104217, 'APPROVED', '2025-01-09 12:35:46', 5, 5, null, 5, 5, '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 129 - 2025-01-09 12:35:46 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 130 - 2025-01-09 12:35:46 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104217;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 131 - 2025-01-09 12:35:46 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 132 - 2025-01-09 12:35:46 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103779 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 133 - 2025-01-09 12:35:46 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 100553 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 134 - 2025-01-09 12:35:46 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-09 12:35:46' where `id` = 100553;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 135 - 2025-01-09 12:35:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 100553 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 136 - 2025-01-09 12:35:46 [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":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 100553, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 137 - 2025-01-09 12:35:46 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 104218 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 138 - 2025-01-09 12:35:46 [0.17ms] */
update `transaction` set `parent_id` = 105290, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104218;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 139 - 2025-01-09 12:35:46 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103780 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 140 - 2025-01-09 12:35:46 [0.18ms] */
update `invoice` set `parent_id` = 104847, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-09 12:35:46' where `id` = 103780;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 141 - 2025-01-09 12:35:46 [0.18ms] */
select * from `invoice` where `id` = 103780 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 142 - 2025-01-09 12:35:46 [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":{"parent_id":104847,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 103780, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 143 - 2025-01-09 12:35:46 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 104218 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 144 - 2025-01-09 12:35:46 [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/api/make_payment
   Query 145 - 2025-01-09 12:35:46 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 146 - 2025-01-09 12:35:46 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 147 - 2025-01-09 12:35:46 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 148 - 2025-01-09 12:35:46 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104218, 'APPROVED', '2025-01-09 12:35:46', 5, 5, null, 5, 5, '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 149 - 2025-01-09 12:35:46 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 150 - 2025-01-09 12:35:46 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104218;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 151 - 2025-01-09 12:35:46 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 152 - 2025-01-09 12:35:46 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103780 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 153 - 2025-01-09 12:35:46 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 100554 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 154 - 2025-01-09 12:35:46 [0.17ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-09 12:35:46' where `id` = 100554;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 155 - 2025-01-09 12:35:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 100554 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 156 - 2025-01-09 12:35:46 [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":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 100554, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 157 - 2025-01-09 12:35:46 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 104219 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 158 - 2025-01-09 12:35:46 [0.17ms] */
update `transaction` set `parent_id` = 105290, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104219;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 159 - 2025-01-09 12:35:46 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 103781 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 160 - 2025-01-09 12:35:46 [0.16ms] */
update `invoice` set `parent_id` = 104847, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-09 12:35:46' where `id` = 103781;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 161 - 2025-01-09 12:35:46 [0.18ms] */
select * from `invoice` where `id` = 103781 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 162 - 2025-01-09 12:35:46 [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":{"parent_id":104847,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 103781, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 163 - 2025-01-09 12:35:46 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 104219 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 164 - 2025-01-09 12:35:46 [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/api/make_payment
   Query 165 - 2025-01-09 12:35:46 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 166 - 2025-01-09 12:35:46 [0.36ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 167 - 2025-01-09 12:35:46 [0.32ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 168 - 2025-01-09 12:35:46 [0.39ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104219, 'APPROVED', '2025-01-09 12:35:46', 5, 5, null, 5, 5, '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 169 - 2025-01-09 12:35:46 [0.42ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 170 - 2025-01-09 12:35:46 [0.4ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 104219;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 171 - 2025-01-09 12:35:46 [0.34ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 172 - 2025-01-09 12:35:46 [0.39ms] */
select * from `invoice` where `invoice`.`id` = 103781 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 173 - 2025-01-09 12:35:46 [0.19ms] */
update `transaction` set `invoice_id` = 104847, `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 105290;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 174 - 2025-01-09 12:35:46 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 105290 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 175 - 2025-01-09 12:35:46 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 176 - 2025-01-09 12:35:46 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 177 - 2025-01-09 12:35:46 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 178 - 2025-01-09 12:35:46 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105290, 'APPROVED', '2025-01-09 12:35:46', 5, 5, null, 5, 5, '2025-01-09 12:35:46', '2025-01-09 12:35:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 179 - 2025-01-09 12:35:46 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 180 - 2025-01-09 12:35:46 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-09 12:35:46' where `id` = 105290;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 181 - 2025-01-09 12:35:46 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 182 - 2025-01-09 12:35:46 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 104847 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 183 - 2025-01-09 12:35:46 [0.34ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100550, 100551, 100552, 100553, 100554) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 184 - 2025-01-09 12:35:46 [0.45ms] */
select * from `invoice` where `transaction_id` = 104215 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 185 - 2025-01-09 12:35:46 [0.45ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103777 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 186 - 2025-01-09 12:35:46 [0.4ms] */
select * from `invoice` where `transaction_id` = 104216 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 187 - 2025-01-09 12:35:46 [0.36ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103778 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 188 - 2025-01-09 12:35:46 [0.52ms] */
select * from `invoice` where `transaction_id` = 104217 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 189 - 2025-01-09 12:35:46 [0.43ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103779 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 190 - 2025-01-09 12:35:46 [0.45ms] */
select * from `invoice` where `transaction_id` = 104218 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 191 - 2025-01-09 12:35:46 [0.42ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103780 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 192 - 2025-01-09 12:35:46 [0.44ms] */
select * from `invoice` where `transaction_id` = 104219 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 193 - 2025-01-09 12:35:46 [0.43ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103781 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 194 - 2025-01-09 12:35:46 [0.5ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 195 - 2025-01-09 12:35:46 [0.36ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-09 12:35:47 [1.76ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-09 12:35:47 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-09 12:35:47 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-09 12:35:47 [0.27ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-09 12:35:47 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-09 12:35:47 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-09 12:35:47 [0.29ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:35:58 [1.65ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:35:58 [0.6ms] */
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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:35:58 [0.55ms] */
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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:35:58 [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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:35:58 [0.39ms] */
select * from `service_fee` where `service_fee`.`id` = 1 and `service_fee`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:35:58 [0.18ms] */
select count(*) as aggregate from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:35:58 [0.18ms] */
select * from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:35:58 [0.19ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:35:58 [0.16ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:35:58 [0.17ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:35:58 [0.17ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:35:58 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:35:58 [0.16ms] */
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/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:35:58 [0.16ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:35:58 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:35:58 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:35:58 [0.16ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:35:58 [0.16ms] */
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/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:35:58 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:35:58 [0.15ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:35:58 [0.16ms] */
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/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:35:58 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 23 - 2025-01-09 12:35:58 [0.15ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:36:02 [1.35ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:36:02 [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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:36:02 [0.33ms] */
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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:36:02 [0.41ms] */
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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:36:02 [0.16ms] */
select count(*) as aggregate from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:36:02 [0.15ms] */
select * from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:36:02 [0.16ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:36:02 [0.14ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:36:02 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:36:02 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:36:02 [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/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:36:02 [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/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:36:02 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:36:02 [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/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:36:02 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:36:02 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:36:02 [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/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:36:02 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:36:02 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:36:02 [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/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:36:02 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:36:02 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:36:03 [2.63ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:36:03 [0.82ms] */
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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:36:03 [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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:36:03 [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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:36:03 [0.15ms] */
select count(*) as aggregate from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:36:03 [0.16ms] */
select * from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:36:03 [0.15ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:36:03 [0.13ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:36:03 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:36:03 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:36:03 [0.15ms] */
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/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:36:03 [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/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:36:03 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:36:03 [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/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:36:03 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:36:03 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:36:03 [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/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:36:03 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:36:03 [0.16ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:36:03 [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/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:36:03 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:36:03 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:36:04 [1.59ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:36:04 [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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:36:04 [0.59ms] */
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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:36:04 [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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:36:04 [0.26ms] */
select count(*) as aggregate from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:36:04 [0.26ms] */
select * from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:36:04 [0.29ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:36:04 [0.24ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:36:04 [0.25ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:36:04 [0.23ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:36:04 [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/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:36:04 [0.24ms] */
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/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:36:04 [0.24ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:36:04 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:36:04 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:36:04 [0.15ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:36:04 [0.16ms] */
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/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:36:04 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:36:04 [0.16ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:36:04 [0.16ms] */
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/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:36:04 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:36:04 [0.16ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:36:04 [1.35ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:36:04 [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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:36:04 [0.33ms] */
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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:36:04 [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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:36:04 [0.28ms] */
select * from `service_fee` where `service_fee`.`id` = 1 and `service_fee`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:36:04 [11.57ms] */
update `service_fee` set `fee` = 8.00, `service_fee`.`updated_at` = '2025-01-09 12:36:04' where `id` = 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:36:04 [3.44ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('default', '[]', 116, 'App\Models\User', 1, 'Modules\Service\Entities\ServiceFee', 'updated', '2025-01-09 12:36:04', '2025-01-09 12:36:04');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:36:04 [0.33ms] */
select count(*) as aggregate from `service_fee` where `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:36:04 [0.33ms] */
select * from `service_fee` where `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:36:04 [0.24ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:36:04 [0.2ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:36:04 [0.22ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:36:04 [0.2ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:36:04 [0.23ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:36:04 [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/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:36:04 [0.2ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:36:04 [0.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:36:04 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:36:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:36:04 [0.2ms] */
select * from `frequency_type` where `frequency_type`.`id` = 2 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:36:04 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:36:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 23 - 2025-01-09 12:36:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 24 - 2025-01-09 12:36:04 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 25 - 2025-01-09 12:36:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 26 - 2025-01-09 12:36:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 27 - 2025-01-09 12:36:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 28 - 2025-01-09 12:36:04 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 29 - 2025-01-09 12:36:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 30 - 2025-01-09 12:36:04 [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/config.manage-service-fee-component
   Query 31 - 2025-01-09 12:36:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 32 - 2025-01-09 12:36:04 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` = 2 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 33 - 2025-01-09 12:36:04 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 34 - 2025-01-09 12:36:04 [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/config.manage-service-fee-component
   Query 35 - 2025-01-09 12:36:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 36 - 2025-01-09 12:36:04 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 1 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 37 - 2025-01-09 12:36:04 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 38 - 2025-01-09 12:36:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 39 - 2025-01-09 12:36:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 40 - 2025-01-09 12:36:04 [0.12ms] */
select * from `frequency_type` where `frequency_type`.`id` = 2 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 41 - 2025-01-09 12:36:04 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 42 - 2025-01-09 12:36:04 [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/config.manage-service-fee-component
   Query 43 - 2025-01-09 12:36:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 44 - 2025-01-09 12:36:04 [0.14ms] */
select * from `frequency_type` where `frequency_type`.`id` = 1 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 45 - 2025-01-09 12:36:05 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 46 - 2025-01-09 12:36:05 [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/config.manage-service-fee-component
   Query 47 - 2025-01-09 12:36:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 48 - 2025-01-09 12:36:05 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 1 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 49 - 2025-01-09 12:36:05 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 50 - 2025-01-09 12:36:05 [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/config.manage-service-fee-component
   Query 51 - 2025-01-09 12:36:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`id` is not null and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 52 - 2025-01-09 12:36:05 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 1 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 1 - 2025-01-09 12:36:08 [1.33ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 2 - 2025-01-09 12:36:08 [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/config.manage-service-fee-component
   Query 3 - 2025-01-09 12:36:08 [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/config.manage-service-fee-component
   Query 4 - 2025-01-09 12:36:08 [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/config.manage-service-fee-component
   Query 5 - 2025-01-09 12:36:08 [0.34ms] */
select count(*) as aggregate from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 6 - 2025-01-09 12:36:08 [0.24ms] */
select * from `service_fee` where `service_id` = 1 and `service_fee`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 7 - 2025-01-09 12:36:08 [0.16ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 8 - 2025-01-09 12:36:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 9 - 2025-01-09 12:36:08 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 10 - 2025-01-09 12:36:08 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 11 - 2025-01-09 12:36:08 [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/config.manage-service-fee-component
   Query 12 - 2025-01-09 12:36:08 [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): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 13 - 2025-01-09 12:36:08 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 14 - 2025-01-09 12:36:08 [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/config.manage-service-fee-component
   Query 15 - 2025-01-09 12:36:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 16 - 2025-01-09 12:36:08 [0.15ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 17 - 2025-01-09 12:36:08 [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/config.manage-service-fee-component
   Query 18 - 2025-01-09 12:36:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 19 - 2025-01-09 12:36:08 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 20 - 2025-01-09 12:36:08 [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/config.manage-service-fee-component
   Query 21 - 2025-01-09 12:36:08 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.manage-service-fee-component
   Query 22 - 2025-01-09 12:36:08 [0.13ms] */
select * from `frequency_type` where `frequency_type`.`id` = 4 and `frequency_type`.`id` is not null and `frequency_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-09 12:36:12 [2.03ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-09 12:36:12 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-09 12:36:12 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-09 12:36:12 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-09 12:36:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-09 12:36:12 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-09 12:36:12 [0.38ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-09 12:36:12 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100550, 100551, 100552, 100553, 100554) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-09 12:36:12 [0.27ms] */
select `parent_id` from `transaction` where `id` in (104215, 104216, 104217, 104218, 104219) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-09 12:36:12 [29.97ms] */
select `id` from `transaction` where `parent_id` in (105290) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-09 12:36:12 [0.36ms] */
select * from `transaction` where `id` in (105290) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-09 12:36:12 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100550, 100551, 100552, 100553, 100554) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-09 12:36:12 [0.15ms] */
select * from `invoice` where `transaction_id` = 104215 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-09 12:36:12 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103777 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-09 12:36:12 [0.16ms] */
select * from `invoice` where `transaction_id` = 104216 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-09 12:36:12 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103778 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-09 12:36:12 [0.14ms] */
select * from `invoice` where `transaction_id` = 104217 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-09 12:36:12 [0.12ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103779 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-09 12:36:12 [0.15ms] */
select * from `invoice` where `transaction_id` = 104218 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-09 12:36:12 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103780 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-09 12:36:12 [0.16ms] */
select * from `invoice` where `transaction_id` = 104219 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-09 12:36:12 [0.12ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103781 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-09 12:36:12 [0.24ms] */
select * from `merchants` where `merchants`.`id` = 4 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-01-09 12:36:12 [0.18ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 1 - 2025-01-09 12:36:15 [1.96ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 2 - 2025-01-09 12:36:15 [0.82ms] */
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/103109
   Query 3 - 2025-01-09 12:36:15 [0.35ms] */
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/103109
   Query 4 - 2025-01-09 12:36:15 [0.42ms] */
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/103109
   Query 5 - 2025-01-09 12:36:15 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 103109 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 6 - 2025-01-09 12:36:15 [0.33ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 7 - 2025-01-09 12:36:15 [0.32ms] */
select * from `invoice` where `transaction_id` = 103109 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 8 - 2025-01-09 12:36:15 [0.12ms] */
select * from `invoice_payment` where `invoice_id` = 102671;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 9 - 2025-01-09 12:36:15 [0.12ms] */
select * from `payment_documents` where `transaction_id` = 103109;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 10 - 2025-01-09 12:36:15 [0.14ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 103109 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 11 - 2025-01-09 12:36:15 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 90031 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 12 - 2025-01-09 12:36:15 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 13 - 2025-01-09 12:36:15 [0.27ms] */
select * from `driver_license` where `party_id` = 58397 and `transaction_id` = 103109 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 14 - 2025-01-09 12:36:15 [0.24ms] */
select * from `driver_license` where `driver_license`.`id` is null and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 15 - 2025-01-09 12:36:15 [0.25ms] */
select * from `driver_license` where `party_id` = 58397 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 16 - 2025-01-09 12:36:15 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 17 - 2025-01-09 12:36:15 [0.24ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 18 - 2025-01-09 12:36:15 [0.22ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 19 - 2025-01-09 12:36:15 [0.87ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 1 and `frequency_type_id` in (4, 1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` in (1, 2, 4) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` in (1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` in (4, 1) and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 20 - 2025-01-09 12:36:15 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 21 - 2025-01-09 12:36:15 [0.2ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 22 - 2025-01-09 12:36:15 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 23 - 2025-01-09 12:36:15 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 24 - 2025-01-09 12:36:15 [0.28ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 25 - 2025-01-09 12:36:15 [54.37ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 26 - 2025-01-09 12:36:15 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 90031 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 27 - 2025-01-09 12:36:15 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 90031 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 28 - 2025-01-09 12:36:15 [0.27ms] */
select * from `model` where `model`.`id` = 1335 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 29 - 2025-01-09 12:36:15 [0.29ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 30 - 2025-01-09 12:36:15 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 31 - 2025-01-09 12:36:15 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 90031 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 32 - 2025-01-09 12:36:15 [0.22ms] */
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/103109
   Query 33 - 2025-01-09 12:36:15 [0.23ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 34 - 2025-01-09 12:36:15 [0.23ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 12 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 35 - 2025-01-09 12:36:15 [0.23ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 36 - 2025-01-09 12:36:15 [0.25ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 37 - 2025-01-09 12:36:15 [0.19ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 38 - 2025-01-09 12:36:15 [0.32ms] */
select * from `party` where `party`.`id` = 58397 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 39 - 2025-01-09 12:36:15 [0.28ms] */
select * from `party` where `party`.`id` = 58397 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 40 - 2025-01-09 12:36:15 [0.31ms] */
select * from `person` where `person`.`id` = 55881 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 41 - 2025-01-09 12:36:15 [0.3ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55881 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 42 - 2025-01-09 12:36:15 [0.3ms] */
select * from `address` where `address`.`id` = 58397 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 43 - 2025-01-09 12:36:15 [0.37ms] */
select * from `district` where `district`.`id` = 109 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 44 - 2025-01-09 12:36:15 [0.27ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 45 - 2025-01-09 12:36:15 [0.99ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 46 - 2025-01-09 12:36:15 [0.14ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 47 - 2025-01-09 12:36:15 [0.12ms] */
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/103109
   Query 48 - 2025-01-09 12:36:15 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 49 - 2025-01-09 12:36:15 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 50 - 2025-01-09 12:36:15 [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/103109
   Query 51 - 2025-01-09 12:36:15 [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): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 52 - 2025-01-09 12:36:15 [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/103109
   Query 53 - 2025-01-09 12:36:15 [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/103109
   Query 54 - 2025-01-09 12:36:15 [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/103109
   Query 55 - 2025-01-09 12:36:15 [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/103109
   Query 56 - 2025-01-09 12:36:15 [0.42ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 57 - 2025-01-09 12:36:15 [0.15ms] */
select * from `users` where `users`.`id` = 117 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 58 - 2025-01-09 12:36:15 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 59 - 2025-01-09 12:36:15 [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/103109
   Query 60 - 2025-01-09 12:36:15 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 61 - 2025-01-09 12:36:15 [0.13ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 62 - 2025-01-09 12:36:15 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/103109
   Query 63 - 2025-01-09 12:36:15 [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/103109
   Query 64 - 2025-01-09 12:36:15 [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/103109
   Query 65 - 2025-01-09 12:36:15 [0.39ms] */
(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/103109
   Query 66 - 2025-01-09 12:36:15 [0.29ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 1 - 2025-01-09 12:36:20 [2.02ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 2 - 2025-01-09 12:36:20 [0.75ms] */
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 - 2025-01-09 12:36:20 [0.33ms] */
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 - 2025-01-09 12:36:20 [0.4ms] */
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 - 2025-01-09 12:36:20 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 103109 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 6 - 2025-01-09 12:36:20 [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 - 2025-01-09 12:36:20 [0.14ms] */
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 - 2025-01-09 12:36:20 [0.14ms] */
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 9 - 2025-01-09 12:36:20 [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/workflow.view-workflow-transaction-component
   Query 10 - 2025-01-09 12:36:20 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (2) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 11 - 2025-01-09 12:36:20 [0.12ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 12 - 2025-01-09 12:36:20 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (98839) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 13 - 2025-01-09 12:36:20 [0.14ms] */
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 - 2025-01-09 12:36:20 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (90031) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 15 - 2025-01-09 12:36:20 [0.14ms] */
select * from `party` where `party`.`id` in (58397) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 16 - 2025-01-09 12:36:20 [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 - 2025-01-09 12:36:20 [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 18 - 2025-01-09 12:36:20 [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 19 - 2025-01-09 12:36:20 [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 - 2025-01-09 12:36:20 [0.14ms] */
select * from `party_vehicle_purchase` where `party_vehicle_purchase`.`id` = 89291 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 21 - 2025-01-09 12:36:20 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 90031 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 22 - 2025-01-09 12:36:20 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 23 - 2025-01-09 12:36:20 [0.15ms] */
select * from `driver_license` where `party_id` = 58397 and `transaction_id` = 103109 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-01-09 12:36:20 [0.15ms] */
select * from `driver_license` where `driver_license`.`id` is null and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-01-09 12:36:20 [0.13ms] */
select * from `driver_license` where `party_id` = 58397 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-09 12:36:20 [0.62ms] */
select * from `invoice_item` where `invoice_id` = 102671;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 27 - 2025-01-09 12:36:20 [12.08ms] */
delete from `invoice_item` where `id` = 204809;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-09 12:36:20 [0.49ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 1 and `frequency_type_id` in (4, 1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` in (1, 2, 4) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` in (1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` in (4, 1) and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 29 - 2025-01-09 12:36:20 [3.29ms] */
insert into `invoice_item` (`item`, `description`, `unit_price`, `total_price`, `quantity`, `invoice_id`, `created_by`, `updated_by`, `created_at`, `updated_at`) values ('Service Fee for Private', 'Service Fee for Title Registration for Private', 8.00, 8.00, 1, 102671, 116, 116, '2025-01-09 12:36:20', '2025-01-09 12:36:20');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-01-09 12:36:20 [0.34ms] */
select * from `invoice_item` where `id` = 204811 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 31 - 2025-01-09 12:36:20 [3.79ms] */
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 Private","description":"Service Fee for Title Registration for Private","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":102671}}', 116, 'App\Models\User', 204811, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-09 12:36:20', '2025-01-09 12:36:20');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-01-09 12:36:20 [0.39ms] */
select * from `invoice` where `invoice`.`id` = 102671 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 33 - 2025-01-09 12:36:20 [3.31ms] */
update `invoice` set `invoice_amount` = 8, `outstanding_balance` = 8, `total_invoice_amount` = 8, `invoice`.`updated_at` = '2025-01-09 12:36:20' where `id` = 102671;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 34 - 2025-01-09 12:36:20 [0.34ms] */
select * from `invoice` where `id` = 102671 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 35 - 2025-01-09 12:36:20 [4.72ms] */
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":"8.00","outstanding_balance":"8.00","total_invoice_amount":"8.00"},"old":{"invoice_amount":"10.00","outstanding_balance":"10.00","total_invoice_amount":"10.00"}}', 116, 'App\Models\User', 102671, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-09 12:36:20', '2025-01-09 12:36:20');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 36 - 2025-01-09 12:36:20 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 103109 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 37 - 2025-01-09 12:36:20 [0.22ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 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 38 - 2025-01-09 12:36:20 [0.38ms] */
select * from `invoice` where `transaction_id` = 103109 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 39 - 2025-01-09 12:36:20 [0.18ms] */
select * from `invoice_payment` where `invoice_id` = 102671;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 40 - 2025-01-09 12:36:20 [0.21ms] */
select * from `payment_documents` where `transaction_id` = 103109;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 41 - 2025-01-09 12:36:20 [0.21ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 103109 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 42 - 2025-01-09 12:36:20 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 90031 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 43 - 2025-01-09 12:36:20 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 44 - 2025-01-09 12:36:20 [0.21ms] */
select * from `driver_license` where `party_id` = 58397 and `transaction_id` = 103109 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 45 - 2025-01-09 12:36:20 [0.19ms] */
select * from `driver_license` where `driver_license`.`id` is null and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 46 - 2025-01-09 12:36:20 [0.22ms] */
select * from `driver_license` where `party_id` = 58397 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 47 - 2025-01-09 12:36:20 [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/workflow.view-workflow-transaction-component
   Query 48 - 2025-01-09 12:36:20 [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 49 - 2025-01-09 12:36:20 [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/workflow.view-workflow-transaction-component
   Query 50 - 2025-01-09 12:36:20 [0.36ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 1 and `frequency_type_id` in (4, 1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` in (1, 2, 4) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` in (1, 2) and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 1 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` in (4, 1) and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-01-09 12:36:20 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 2 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 52 - 2025-01-09 12:36:20 [0.21ms] */
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.view-workflow-transaction-component
   Query 53 - 2025-01-09 12:36:20 [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 54 - 2025-01-09 12:36:20 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 55 - 2025-01-09 12:36:20 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 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 56 - 2025-01-09 12:36:20 [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 57 - 2025-01-09 12:36:20 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 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 58 - 2025-01-09 12:36:20 [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 59 - 2025-01-09 12:36:20 [0.13ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 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 60 - 2025-01-09 12:36:20 [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 61 - 2025-01-09 12:36:20 [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 62 - 2025-01-09 12:36:20 [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 63 - 2025-01-09 12:36:20 [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 64 - 2025-01-09 12:36:20 [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 65 - 2025-01-09 12:36:20 [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/widgets.title-workflow-widget
   Query 1 - 2025-01-09 12:36:21 [1.54ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.title-workflow-widget
   Query 2 - 2025-01-09 12:36:21 [0.6ms] */
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 - 2025-01-09 12:36:21 [0.51ms] */
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 - 2025-01-09 12:36:21 [0.53ms] */
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 - 2025-01-09 12:36:21 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98839 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 1 - 2025-01-09 12:36:21 [1.35ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-history-component
   Query 2 - 2025-01-09 12:36:21 [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-history-component
   Query 3 - 2025-01-09 12:36:21 [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/workflow.workflow-history-component
   Query 4 - 2025-01-09 12:36:21 [0.44ms] */
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 - 2025-01-09 12:36:21 [0.17ms] */
select * from `transaction_workflow` where `transaction_id` = 103109 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 - 2025-01-09 12:36:21 [0.16ms] */
select * from `users` where `users`.`id` = 117 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 - 2025-01-09 12:36:21 [0.13ms] */
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 - 2025-01-09 12:36:21 [1.38ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 2 - 2025-01-09 12:36:21 [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.workflow-progress-widget
   Query 3 - 2025-01-09 12:36:21 [0.33ms] */
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 - 2025-01-09 12:36:21 [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/widgets.workflow-progress-widget
   Query 5 - 2025-01-09 12:36:21 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 103109 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 6 - 2025-01-09 12:36:21 [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 - 2025-01-09 12:36:21 [0.14ms] */
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 - 2025-01-09 12:36:21 [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 9 - 2025-01-09 12:36:21 [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 - 2025-01-09 12:36:21 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` in (2) and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 11 - 2025-01-09 12:36:21 [0.12ms] */
select * from `roles` where `roles`.`id` in (6);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 12 - 2025-01-09 12:36:21 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (98839) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 13 - 2025-01-09 12:36:21 [0.14ms] */
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 - 2025-01-09 12:36:21 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` in (90031) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 15 - 2025-01-09 12:36:21 [0.27ms] */
select * from `party` where `party`.`id` in (58397) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/widgets.workflow-progress-widget
   Query 16 - 2025-01-09 12:36:21 [0.19ms] */
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 - 2025-01-09 12:36:21 [0.18ms] */
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 - 2025-01-09 12:36:21 [0.17ms] */
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 - 2025-01-09 12:36:21 [0.16ms] */
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 - 2025-01-09 12:36:21 [0.2ms] */
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 - 2025-01-09 12:36:21 [0.19ms] */
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 - 2025-01-09 12:36:21 [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/widgets.workflow-progress-widget
   Query 23 - 2025-01-09 12:36:21 [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/widgets.workflow-progress-widget
   Query 24 - 2025-01-09 12:36:21 [0.17ms] */
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 - 2025-01-09 12:36:21 [0.16ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 1 - 2025-01-09 12:36:24 [1.42ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 2 - 2025-01-09 12:36:24 [0.43ms] */
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/m/trns/i/102671
   Query 3 - 2025-01-09 12:36:24 [0.32ms] */
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/m/trns/i/102671
   Query 4 - 2025-01-09 12:36:24 [0.43ms] */
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/m/trns/i/102671
   Query 5 - 2025-01-09 12:36:24 [0.2ms] */
select * from `payment_method` where `name` = 'Cash' and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 6 - 2025-01-09 12:36:24 [0.29ms] */
select * from `invoice` where `id` = 102671 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 7 - 2025-01-09 12:36:24 [0.28ms] */
select * from `transaction` where `transaction`.`id` in (103109) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 8 - 2025-01-09 12:36:24 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (90031) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 9 - 2025-01-09 12:36:24 [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/m/trns/i/102671
   Query 10 - 2025-01-09 12:36:24 [0.15ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 11 - 2025-01-09 12:36:24 [0.13ms] */
select * from `service` where `service`.`id` in (1) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 12 - 2025-01-09 12:36:24 [0.16ms] */
select * from `party` where `party`.`id` in (58397) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 13 - 2025-01-09 12:36:24 [0.15ms] */
select * from `address` where `address`.`id` in (58397) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 14 - 2025-01-09 12:36:24 [0.15ms] */
select * from `party` where `party`.`id` = 58397 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 15 - 2025-01-09 12:36:24 [0.16ms] */
select * from `person` where `person`.`id` = 55881 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 16 - 2025-01-09 12:36:24 [0.14ms] */
select * from `address` where `address`.`id` = 58397 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 17 - 2025-01-09 12:36:24 [0.26ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102671 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/102671
   Query 18 - 2025-01-09 12:36:24 [0.18ms] */
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` = 102671 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-09 12:36:41 [2.31ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-09 12:36:41 [0.19ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-09 12:36:41 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-09 12:36:41 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-09 12:36:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e0f488bcb7f2fcb6c853b90430da23abde3c70a7e5a3cc6badc5ee3db5a386469df4128cfa37b9ee' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-09 12:36:41 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-09 12:36:41 [0.57ms] */
select * from `payment_documents` where `payment_provider_id` = 1 and `receipt_number` = 'C0241209.1716.D02088.';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-01-09 12:36:41 [0.48ms] */
delete from `payment_documents` where `transaction_id` = 105290 and `type` = 'GOV_SMS_IMAGE';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-01-09 12:36:41 [25.11ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `receipt_attachment`, `updated_at`, `created_at`) values (105290, 'GOV_SMS_IMAGE', 'C0241209.1716.D02088.', 1, 'payment_confirmation/Payment-Confirmation-TR105290-ATTC-143825377.png', '2025-01-09 12:36:41', '2025-01-09 12:36:41');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-09 12:37:46 [1.48ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-01-09 12:37:46 [0.17ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-01-09 12:37:46 [0.44ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 116 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-01-09 12:37:46 [11.27ms] */
update `userprofiles` set `login_count` = 6696, `last_login` = '2025-01-09 12:37:46', `userprofiles`.`updated_at` = '2025-01-09 12:37:46' where `id` = 116;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-09 12:37:46 [0.24ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-01-09 12:37:46 [0.56ms] */
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/api/login
   Query 7 - 2025-01-09 12:37:46 [0.27ms] */
select `id`, `name`, `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` in (116) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-01-09 12:37:46 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-09 12:37:46 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-09 12:37:46 [0.17ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-09 12:37:46 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-09 12:37:46 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-09 12:37:46 [3.21ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('bae53e624cf43ce93c7b81319e8c94d6a44e5122a4f87017219c6274058ea9cd13c130f2ef81be56', 116, 3, '[]', 0, '2025-01-09 12:37:46', '2025-01-09 12:37:46', '2026-01-09 12:37:46');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-09 12:37:46 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'bae53e624cf43ce93c7b81319e8c94d6a44e5122a4f87017219c6274058ea9cd13c130f2ef81be56' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-09 12:37:46 [2.97ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'bae53e624cf43ce93c7b81319e8c94d6a44e5122a4f87017219c6274058ea9cd13c130f2ef81be56';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicles
   Query 1 - 2025-01-09 12:37:47 [2.35ms] */
select * from `oauth_access_tokens` where `id` = 'bae53e624cf43ce93c7b81319e8c94d6a44e5122a4f87017219c6274058ea9cd13c130f2ef81be56' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicles
   Query 2 - 2025-01-09 12:37:47 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'bae53e624cf43ce93c7b81319e8c94d6a44e5122a4f87017219c6274058ea9cd13c130f2ef81be56' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicles
   Query 3 - 2025-01-09 12:37:47 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicles
   Query 4 - 2025-01-09 12:37:47 [0.35ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicles
   Query 5 - 2025-01-09 12:37:47 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'bae53e624cf43ce93c7b81319e8c94d6a44e5122a4f87017219c6274058ea9cd13c130f2ef81be56' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicles
   Query 6 - 2025-01-09 12:37:47 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicles
   Query 7 - 2025-01-09 12:37:47 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `party_vehicle` left join `vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `party_id` = 58708 and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-09 12:37:47 [2.43ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-01-09 12:37:47 [0.16ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-01-09 12:37:47 [0.36ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 116 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-01-09 12:37:47 [3.06ms] */
update `userprofiles` set `login_count` = 6697, `last_login` = '2025-01-09 12:37:47', `userprofiles`.`updated_at` = '2025-01-09 12:37:47' where `id` = 116;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-09 12:37:47 [0.15ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-01-09 12:37:47 [0.39ms] */
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/api/login
   Query 7 - 2025-01-09 12:37:47 [0.24ms] */
select `id`, `name`, `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` in (116) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-01-09 12:37:47 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-09 12:37:47 [0.25ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-09 12:37:47 [0.29ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-09 12:37:47 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-09 12:37:47 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-09 12:37:47 [3.45ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('f1d181a40eae75c7698bd97d027063180ba6fcda3111e1176723f020aff33dba0fa94aa169da5790', 116, 3, '[]', 0, '2025-01-09 12:37:47', '2025-01-09 12:37:47', '2026-01-09 12:37:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-09 12:37:47 [0.37ms] */
select * from `oauth_access_tokens` where `id` = 'f1d181a40eae75c7698bd97d027063180ba6fcda3111e1176723f020aff33dba0fa94aa169da5790' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-09 12:37:47 [3.1ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'f1d181a40eae75c7698bd97d027063180ba6fcda3111e1176723f020aff33dba0fa94aa169da5790';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-09 12:37:48 [2.27ms] */
select * from `oauth_access_tokens` where `id` = 'f1d181a40eae75c7698bd97d027063180ba6fcda3111e1176723f020aff33dba0fa94aa169da5790' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-09 12:37:48 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'f1d181a40eae75c7698bd97d027063180ba6fcda3111e1176723f020aff33dba0fa94aa169da5790' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-09 12:37:48 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-09 12:37:48 [0.31ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-09 12:37:48 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'f1d181a40eae75c7698bd97d027063180ba6fcda3111e1176723f020aff33dba0fa94aa169da5790' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-09 12:37:48 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-09 12:37:48 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'TN45RR6363' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-09 12:37:49 [1.46ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-01-09 12:37:49 [0.16ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-01-09 12:37:49 [0.37ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 116 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-01-09 12:37:49 [5.96ms] */
update `userprofiles` set `login_count` = 6698, `last_login` = '2025-01-09 12:37:49', `userprofiles`.`updated_at` = '2025-01-09 12:37:49' where `id` = 116;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-09 12:37:49 [0.16ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-01-09 12:37:49 [0.39ms] */
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/api/login
   Query 7 - 2025-01-09 12:37:49 [0.16ms] */
select `id`, `name`, `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` in (116) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-01-09 12:37:49 [0.2ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-09 12:37:49 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-09 12:37:49 [0.21ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-09 12:37:49 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-09 12:37:49 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-09 12:37:49 [3.42ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('7245a8f0979cdf9f3516f3ed0fe35566f0d42e12e2ca4a859cac720e56c68e693b7fad0b28bee30a', 116, 3, '[]', 0, '2025-01-09 12:37:49', '2025-01-09 12:37:49', '2026-01-09 12:37:49');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-09 12:37:49 [0.39ms] */
select * from `oauth_access_tokens` where `id` = '7245a8f0979cdf9f3516f3ed0fe35566f0d42e12e2ca4a859cac720e56c68e693b7fad0b28bee30a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-09 12:37:49 [2.96ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '7245a8f0979cdf9f3516f3ed0fe35566f0d42e12e2ca4a859cac720e56c68e693b7fad0b28bee30a';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transactions
   Query 1 - 2025-01-09 12:37:49 [1.44ms] */
select * from `oauth_access_tokens` where `id` = '7245a8f0979cdf9f3516f3ed0fe35566f0d42e12e2ca4a859cac720e56c68e693b7fad0b28bee30a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transactions
   Query 2 - 2025-01-09 12:37:49 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '7245a8f0979cdf9f3516f3ed0fe35566f0d42e12e2ca4a859cac720e56c68e693b7fad0b28bee30a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transactions
   Query 3 - 2025-01-09 12:37:49 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transactions
   Query 4 - 2025-01-09 12:37:49 [0.17ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transactions
   Query 5 - 2025-01-09 12:37:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '7245a8f0979cdf9f3516f3ed0fe35566f0d42e12e2ca4a859cac720e56c68e693b7fad0b28bee30a' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transactions
   Query 6 - 2025-01-09 12:37:49 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transactions
   Query 7 - 2025-01-09 12:37:49 [1.17ms] */
select `transaction`.`id` as `transaction_id`, `invoice`.`id` as `invoice_id`, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS customer_name, `vehicle`.`license_plate`, `service`.`name` as `service_name`, `transaction`.`status`, `users`.`name` as `assigned_to`, `transaction`.`created_at`, `transaction`.`updated_at`, `roles`.`name` as `role`, `invoice`.`total_invoice_amount` as `total_tax_amount`, CASE WHEN invoice_payment.id IS NULL THEN "Y" ELSE "N" END as make_payment from `transaction` left join `service` on `transaction`.`service_id` = `service`.`id` left join `vehicle` on `transaction`.`vehicle_id` = `vehicle`.`id` left join `party` on `transaction`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' left join `users` on `transaction`.`assigned_to` = `users`.`id` left join `workflow_definition` on `transaction`.`current_workflow_state_id` = `workflow_definition`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `roles` on `workflow_definition`.`role_id` = `roles`.`id` left join `invoice_payment` on `invoice_payment`.`invoice_id` = `invoice`.`id` where `transaction`.`party_id` = 58708 and `vehicle`.`license_plate` = 'TN45RR6363' and `invoice`.`total_invoice_amount` > 0 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-09 12:37:50 [2.51ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-01-09 12:37:50 [0.17ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-01-09 12:37:50 [0.38ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 116 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-01-09 12:37:50 [10.8ms] */
update `userprofiles` set `login_count` = 6699, `last_login` = '2025-01-09 12:37:50', `userprofiles`.`updated_at` = '2025-01-09 12:37:50' where `id` = 116;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-09 12:37:50 [0.16ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-01-09 12:37:50 [0.39ms] */
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/api/login
   Query 7 - 2025-01-09 12:37:50 [0.24ms] */
select `id`, `name`, `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` in (116) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-01-09 12:37:50 [0.19ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-09 12:37:50 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-09 12:37:50 [0.23ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-09 12:37:50 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-09 12:37:50 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-09 12:37:50 [3.17ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('eb896c17278aa52a61b024d9f43be7020d0d844b708f2fe3f7c35b03f355a6444a27a1d15c380daf', 116, 3, '[]', 0, '2025-01-09 12:37:50', '2025-01-09 12:37:50', '2026-01-09 12:37:50');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-09 12:37:50 [0.35ms] */
select * from `oauth_access_tokens` where `id` = 'eb896c17278aa52a61b024d9f43be7020d0d844b708f2fe3f7c35b03f355a6444a27a1d15c380daf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-09 12:37:50 [3.01ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'eb896c17278aa52a61b024d9f43be7020d0d844b708f2fe3f7c35b03f355a6444a27a1d15c380daf';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 1 - 2025-01-09 12:37:50 [2.25ms] */
select * from `oauth_access_tokens` where `id` = 'eb896c17278aa52a61b024d9f43be7020d0d844b708f2fe3f7c35b03f355a6444a27a1d15c380daf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 2 - 2025-01-09 12:37:50 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'eb896c17278aa52a61b024d9f43be7020d0d844b708f2fe3f7c35b03f355a6444a27a1d15c380daf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 3 - 2025-01-09 12:37:50 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 4 - 2025-01-09 12:37:50 [0.32ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 5 - 2025-01-09 12:37:50 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'eb896c17278aa52a61b024d9f43be7020d0d844b708f2fe3f7c35b03f355a6444a27a1d15c380daf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 6 - 2025-01-09 12:37:50 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoices
   Query 7 - 2025-01-09 12:37:50 [0.83ms] */
select `invoice`.`id` as `invoice_id`, `invoice_number`, `invoice`.`transaction_id`, `party`.`id` as `customer_id`, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS customer_name, `vehicle`.`license_plate`, `service`.`name` as `service_name`, `invoice`.`due_date`, `invoice`.`total_invoice_amount` as `invoice_amount`, `invoice`.`status`, `invoice`.`parent`, `invoice`.`created_at`, `invoice`.`updated_at`, `roles`.`name` as `role`, CASE WHEN invoice_payment.id IS NULL THEN "Y" ELSE "N" END as make_payment from `invoice` left join `party` on `invoice`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' left join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` left join `vehicle` on `transaction`.`vehicle_id` = `vehicle`.`id` left join `service` on `transaction`.`service_id` = `service`.`id` left join `workflow_definition` on `transaction`.`current_workflow_state_id` = `workflow_definition`.`id` left join `roles` on `workflow_definition`.`role_id` = `roles`.`id` left join `invoice_payment` on `invoice_payment`.`invoice_id` = `invoice`.`id` where `roles`.`name` = 'payment' and `invoice`.`total_invoice_amount` > 0 and `invoice`.`party_id` = 58708 and `license_plate` = 'TN45RR6363' and `invoice`.`parent` = 'N' and `invoice`.`grouped` = 'N' or `invoice`.`party_id` = 58708 and `license_plate` = 'TN45RR6363' and `invoice`.`parent` = 'Y' and `invoice`.`grouped` = 'N' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-09 12:40:07 [2.46ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-01-09 12:40:07 [0.23ms] */
select * from `users` where `id` = 116 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-01-09 12:40:07 [0.48ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 116 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-01-09 12:40:07 [6.35ms] */
update `userprofiles` set `login_count` = 6700, `last_login` = '2025-01-09 12:40:07', `userprofiles`.`updated_at` = '2025-01-09 12:40:07' where `id` = 116;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-09 12:40:07 [0.17ms] */
select * from `users` where `email` = 'sivaprasad@admin.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-01-09 12:40:07 [0.61ms] */
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/api/login
   Query 7 - 2025-01-09 12:40:07 [0.27ms] */
select `id`, `name`, `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` in (116) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-01-09 12:40:07 [0.13ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-09 12:40:07 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-09 12:40:07 [0.14ms] */
