select * from `party` where `party`.`id` = 48922 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210191
   Query 17 - 2025-04-03 14:11:04 [0.15ms] */
select * from `person` where `person`.`id` = 48922 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210191
   Query 18 - 2025-04-03 14:11:04 [0.12ms] */
select * from `address` where `address`.`id` = 48922 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210191
   Query 19 - 2025-04-03 14:11:04 [0.33ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 210191 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/210191
   Query 20 - 2025-04-03 14:11:04 [0.29ms] */
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` = 210191 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210191
   Query 21 - 2025-04-03 14:11:04 [2.52ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210191
   Query 22 - 2025-04-03 14:11:04 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 1 - 2025-04-03 14:11:04 [1.38ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 2 - 2025-04-03 14:11:04 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 3 - 2025-04-03 14:11:04 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 4 - 2025-04-03 14:11:04 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 5 - 2025-04-03 14:11:04 [0.28ms] */
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/210192
   Query 6 - 2025-04-03 14:11:04 [0.34ms] */
select * from `invoice` where `id` = 210192 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 7 - 2025-04-03 14:11:04 [0.27ms] */
select * from `transaction` where `transaction`.`id` in (225257) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 8 - 2025-04-03 14:11:04 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (83642) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 9 - 2025-04-03 14:11:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 10 - 2025-04-03 14:11:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 11 - 2025-04-03 14:11:04 [0.13ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 12 - 2025-04-03 14:11:04 [0.14ms] */
select * from `party` where `party`.`id` in (48922) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 13 - 2025-04-03 14:11:04 [0.14ms] */
select * from `address` where `address`.`id` in (48922) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 14 - 2025-04-03 14:11:04 [0.72ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 225257 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 15 - 2025-04-03 14:11:04 [0.67ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 225257 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 16 - 2025-04-03 14:11:04 [0.14ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 17 - 2025-04-03 14:11:04 [0.16ms] */
select * from `person` where `person`.`id` = 48922 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 18 - 2025-04-03 14:11:04 [0.14ms] */
select * from `address` where `address`.`id` = 48922 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 19 - 2025-04-03 14:11:04 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 210192 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/210192
   Query 20 - 2025-04-03 14:11:04 [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` = 210192 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 21 - 2025-04-03 14:11:04 [0.29ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210192
   Query 22 - 2025-04-03 14:11:04 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 1 - 2025-04-03 14:11:05 [1.92ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 2 - 2025-04-03 14:11:05 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 3 - 2025-04-03 14:11:05 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 4 - 2025-04-03 14:11:05 [4.29ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 5 - 2025-04-03 14:11:05 [0.29ms] */
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/486899
   Query 6 - 2025-04-03 14:11:05 [0.27ms] */
select * from `invoice` where `id` = 486899 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 7 - 2025-04-03 14:11:05 [0.33ms] */
select * from `transaction` where `transaction`.`id` in (511231) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 8 - 2025-04-03 14:11:05 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (83642) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 9 - 2025-04-03 14:11:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 10 - 2025-04-03 14:11:05 [0.11ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 11 - 2025-04-03 14:11:05 [0.11ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 12 - 2025-04-03 14:11:05 [0.13ms] */
select * from `party` where `party`.`id` in (48922) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 13 - 2025-04-03 14:11:05 [0.13ms] */
select * from `address` where `address`.`id` in (48922) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 14 - 2025-04-03 14:11:05 [0.65ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 511231 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 15 - 2025-04-03 14:11:05 [0.62ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 511231 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 16 - 2025-04-03 14:11:05 [0.12ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 17 - 2025-04-03 14:11:05 [0.14ms] */
select * from `person` where `person`.`id` = 48922 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 18 - 2025-04-03 14:11:05 [0.12ms] */
select * from `address` where `address`.`id` = 48922 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 19 - 2025-04-03 14:11:05 [0.27ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 486899 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/486899
   Query 20 - 2025-04-03 14:11:05 [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` = 486899 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 21 - 2025-04-03 14:11:05 [0.29ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486899
   Query 22 - 2025-04-03 14:11:05 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 1 - 2025-04-03 14:11:06 [1.33ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 2 - 2025-04-03 14:11:06 [2.89ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 3 - 2025-04-03 14:11:06 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 4 - 2025-04-03 14:11:06 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 5 - 2025-04-03 14:11:06 [0.28ms] */
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/486900
   Query 6 - 2025-04-03 14:11:06 [0.36ms] */
select * from `invoice` where `id` = 486900 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 7 - 2025-04-03 14:11:06 [0.35ms] */
select * from `transaction` where `transaction`.`id` in (511232) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 8 - 2025-04-03 14:11:06 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` in (83642) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 9 - 2025-04-03 14:11:06 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 10 - 2025-04-03 14:11:06 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 11 - 2025-04-03 14:11:06 [0.13ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 12 - 2025-04-03 14:11:06 [0.15ms] */
select * from `party` where `party`.`id` in (48922) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 13 - 2025-04-03 14:11:06 [0.14ms] */
select * from `address` where `address`.`id` in (48922) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 14 - 2025-04-03 14:11:06 [0.69ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 511232 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 15 - 2025-04-03 14:11:06 [0.76ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 511232 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 16 - 2025-04-03 14:11:06 [0.14ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 17 - 2025-04-03 14:11:06 [0.17ms] */
select * from `person` where `person`.`id` = 48922 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 18 - 2025-04-03 14:11:06 [0.14ms] */
select * from `address` where `address`.`id` = 48922 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 19 - 2025-04-03 14:11:06 [0.36ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 486900 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/486900
   Query 20 - 2025-04-03 14:11:06 [0.38ms] */
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` = 486900 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 21 - 2025-04-03 14:11:06 [0.31ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/486900
   Query 22 - 2025-04-03 14:11:06 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 1 - 2025-04-03 14:11:15 [1.43ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 2 - 2025-04-03 14:11:15 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 3 - 2025-04-03 14:11:15 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 4 - 2025-04-03 14:11:15 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 5 - 2025-04-03 14:11:15 [0.29ms] */
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/210190
   Query 6 - 2025-04-03 14:11:15 [0.39ms] */
select * from `invoice` where `id` = 210190 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 7 - 2025-04-03 14:11:15 [0.3ms] */
select * from `transaction` where `transaction`.`id` in (225255) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 8 - 2025-04-03 14:11:15 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` in (83642) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 9 - 2025-04-03 14:11: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): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 10 - 2025-04-03 14:11:15 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 11 - 2025-04-03 14:11:15 [0.13ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 12 - 2025-04-03 14:11:15 [0.15ms] */
select * from `party` where `party`.`id` in (48922) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 13 - 2025-04-03 14:11:15 [0.15ms] */
select * from `address` where `address`.`id` in (48922) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 14 - 2025-04-03 14:11:15 [0.86ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 225255 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 15 - 2025-04-03 14:11:15 [0.81ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 225255 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 16 - 2025-04-03 14:11:15 [0.14ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 17 - 2025-04-03 14:11:15 [0.16ms] */
select * from `person` where `person`.`id` = 48922 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 18 - 2025-04-03 14:11:15 [0.14ms] */
select * from `address` where `address`.`id` = 48922 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 19 - 2025-04-03 14:11:15 [0.38ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 210190 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/210190
   Query 20 - 2025-04-03 14:11:15 [0.38ms] */
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` = 210190 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 21 - 2025-04-03 14:11:15 [0.28ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/210190
   Query 22 - 2025-04-03 14:11:15 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-04-03 14:12:39 [1.58ms] */
select * from `users` where `email` = 'testreceipt@user.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-04-03 14:12:50 [1.43ms] */
select * from `users` where `email` = 'testreceipt@gmail.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-04-03 14:12:50 [0.3ms] */
select * from `users` where `id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-04-03 14:12:50 [0.55ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 159 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-04-03 14:12:50 [5.73ms] */
update `userprofiles` set `login_count` = 5, `last_login` = '2025-04-03 14:12:50', `userprofiles`.`updated_at` = '2025-04-03 14:12:50' where `id` = 159;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-04-03 14:12:50 [0.2ms] */
select * from `users` where `email` = 'testreceipt@gmail.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-04-03 14:12:50 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-04-03 14:12:50 [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 (159) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-04-03 14:12:50 [0.15ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-04-03 14:12:50 [0.11ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-04-03 14:12:50 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-04-03 14:12:50 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-04-03 14:12:50 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-04-03 14:12:50 [3.02ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('29f7a6db56025c964cfc09abd1e69f79d7d530a424eb1d2f597b1870bca1ea294331e581f24e7cd7', 159, 5, '[]', 0, '2025-04-03 14:12:50', '2025-04-03 14:12:50', '2026-04-03 14:12:50');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-04-03 14:12:50 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '29f7a6db56025c964cfc09abd1e69f79d7d530a424eb1d2f597b1870bca1ea294331e581f24e7cd7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-04-03 14:12:50 [9.1ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '29f7a6db56025c964cfc09abd1e69f79d7d530a424eb1d2f597b1870bca1ea294331e581f24e7cd7';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-04-03 14:14:19 [1.39ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-04-03 14:14:19 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2025-04-03 14:14:19 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2025-04-03 14:14:19 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 1 - 2025-04-03 14:14:20 [1.37ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 2 - 2025-04-03 14:14:20 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 3 - 2025-04-03 14:14:20 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 4 - 2025-04-03 14:14:20 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 5 - 2025-04-03 14:14:20 [0.55ms] */
select * from `party_vehicle` where `vehicle_id` = 83642 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 6 - 2025-04-03 14:14:20 [0.29ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 83642 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 7 - 2025-04-03 14:14:20 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 83642 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 8 - 2025-04-03 14:14:20 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 44784 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 9 - 2025-04-03 14:14:20 [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/service/tax/start/83642
   Query 10 - 2025-04-03 14:14:20 [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/service/tax/start/83642
   Query 11 - 2025-04-03 14:14:20 [0.35ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 12 - 2025-04-03 14:14:20 [0.43ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 13 - 2025-04-03 14:14:20 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 14 - 2025-04-03 14:14:20 [0.58ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2023 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-04-03 14:14:20 [3.05ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-04-03 14:14:20 [0.78ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2025-04-03 14:14:20 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2025-04-03 14:14:20 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 15 - 2025-04-03 14:14:20 [573.69ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 16 - 2025-04-03 14:14:20 [19.7ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2023 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 17 - 2025-04-03 14:14:20 [15.32ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 18 - 2025-04-03 14:14:20 [0.61ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2023 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 19 - 2025-04-03 14:14:20 [0.28ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 1 - 2025-04-03 14:14:20 [1.64ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 20 - 2025-04-03 14:14:20 [3.81ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2023 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 2 - 2025-04-03 14:14:20 [1.06ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 21 - 2025-04-03 14:14:20 [1.39ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 3 - 2025-04-03 14:14:20 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 22 - 2025-04-03 14:14:20 [1.45ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2024 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 23 - 2025-04-03 14:14:20 [4.88ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 4 - 2025-04-03 14:14:20 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 24 - 2025-04-03 14:14:20 [18.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 25 - 2025-04-03 14:14:20 [7.51ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 26 - 2025-04-03 14:14:20 [12.72ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 27 - 2025-04-03 14:14:20 [2.86ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 28 - 2025-04-03 14:14:20 [0.29ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 29 - 2025-04-03 14:14:20 [0.12ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 30 - 2025-04-03 14:14:20 [0.35ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 31 - 2025-04-03 14:14:20 [0.12ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 32 - 2025-04-03 14:14:20 [0.67ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 33 - 2025-04-03 14:14:20 [0.12ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 34 - 2025-04-03 14:14:20 [0.3ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 35 - 2025-04-03 14:14:20 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 36 - 2025-04-03 14:14:20 [12.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 37 - 2025-04-03 14:14:20 [1.04ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 38 - 2025-04-03 14:14:20 [0.14ms] */
select `id` from `term` where `year` < 2025 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 39 - 2025-04-03 14:14:20 [1.67ms] */
select * from `vehicle_tax` where `party_vehicle_id` = 44784 and `status` = 'OPEN' and `term_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 40 - 2025-04-03 14:14:20 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 183890 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 5 - 2025-04-03 14:14:20 [0.19ms] */
select * from `party_vehicle` where `vehicle_id` = 83642 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 6 - 2025-04-03 14:14:20 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 83642 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 7 - 2025-04-03 14:14:20 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 83642 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 8 - 2025-04-03 14:14:20 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 44784 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 9 - 2025-04-03 14:14:20 [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/service/tax/start/83642
   Query 10 - 2025-04-03 14:14:20 [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/service/tax/start/83642
   Query 11 - 2025-04-03 14:14:20 [0.15ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 12 - 2025-04-03 14:14:20 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 13 - 2025-04-03 14:14:20 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 14 - 2025-04-03 14:14:20 [0.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2023 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 41 - 2025-04-03 14:14:20 [13.32ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-04-03 14:14:20' where `id` = 183890;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 42 - 2025-04-03 14:14:20 [0.23ms] */
select * from `vehicle_tax` where `id` = 183890 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 43 - 2025-04-03 14:14:21 [2.91ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 5, 'App\Models\User', 183890, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-03 14:14:20', '2025-04-03 14:14:20');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 44 - 2025-04-03 14:14:21 [0.28ms] */
select * from `invoice` where `transaction_id` = 225256 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 45 - 2025-04-03 14:14:21 [2.85ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 5, `invoice`.`updated_at` = '2025-04-03 14:14:21' where `id` = 210191;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 46 - 2025-04-03 14:14:21 [0.24ms] */
select * from `invoice` where `id` = 210191 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 47 - 2025-04-03 14:14:21 [2.63ms] */
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', 210191, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:14:21', '2025-04-03 14:14:21');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 48 - 2025-04-03 14:14:21 [0.36ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 183891 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 49 - 2025-04-03 14:14:21 [1.33ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-04-03 14:14:21' where `id` = 183891;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 50 - 2025-04-03 14:14:21 [0.19ms] */
select * from `vehicle_tax` where `id` = 183891 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 51 - 2025-04-03 14:14:21 [2.7ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 5, 'App\Models\User', 183891, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-03 14:14:21', '2025-04-03 14:14:21');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 52 - 2025-04-03 14:14:21 [0.25ms] */
select * from `invoice` where `transaction_id` = 225257 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 53 - 2025-04-03 14:14:21 [2.66ms] */
update `invoice` set `exempt` = 'Y', `updated_by` = 5, `invoice`.`updated_at` = '2025-04-03 14:14:21' where `id` = 210192;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 54 - 2025-04-03 14:14:21 [0.31ms] */
select * from `invoice` where `id` = 210192 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 55 - 2025-04-03 14:14:21 [3.26ms] */
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', 210192, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:14:21', '2025-04-03 14:14:21');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 56 - 2025-04-03 14:14:21 [7.32ms] */
select * from `discount` where `vehicle_tax` = 183890 and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 57 - 2025-04-03 14:14:21 [6.26ms] */
insert into `discount` (`description`, `service_id`, `vehicle_tax`, `vehicle_id`, `party_id`, `expiry_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Exempt Before 2025 Taxes', 2, '[183890,183891]', 83642, 48922, '2025-09-01 14:14:21', 5, 5, '2025-04-03 14:14:21', '2025-04-03 14:14:21');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 58 - 2025-04-03 14:14:21 [0.28ms] */
select * from `discount` where `id` = 6305 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 59 - 2025-04-03 14:14:21 [3.92ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('discount', '{"attributes":{"description":"Exempt Before 2025 Taxes","percentage":null,"vehicle_id":83642,"amount":null,"expiry_date":"2025-09-01 14:14:21","party_id":48922,"service_id":2,"vehicle_tax":[183890,183891],"party_vehicle_id":null}}', 5, 'App\Models\User', 6305, 'Modules\Transaction\Entities\Discount', 'created', '2025-04-03 14:14:21', '2025-04-03 14:14:21');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 60 - 2025-04-03 14:14:21 [0.5ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 83642 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 61 - 2025-04-03 14:14:21 [0.58ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 83642 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 62 - 2025-04-03 14:14:21 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 83642 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 63 - 2025-04-03 14:14:21 [0.15ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 64 - 2025-04-03 14:14:21 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 65 - 2025-04-03 14:14:21 [0.47ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 83642 and `term`.`first_date_of_quarter` <= '2025-04-03 14:14:21' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 66 - 2025-04-03 14:14:21 [0.23ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 83642 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 67 - 2025-04-03 14:14:21 [0.27ms] */
select sum(`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 (183890, 183891, 401381, 401382) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 68 - 2025-04-03 14:14:21 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 69 - 2025-04-03 14:14:21 [0.15ms] */
select * from `model` where `model`.`id` = 1562 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 70 - 2025-04-03 14:14:21 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 71 - 2025-04-03 14:14:21 [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/m/service/tax/start/83642
   Query 72 - 2025-04-03 14:14:21 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 83642 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 73 - 2025-04-03 14:14:21 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 74 - 2025-04-03 14:14:21 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 75 - 2025-04-03 14:14:21 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 43 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 76 - 2025-04-03 14:14:21 [0.15ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 77 - 2025-04-03 14:14:21 [0.3ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 78 - 2025-04-03 14:14:21 [2.85ms] */
select * from `person` where `person`.`id` = 48922 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 79 - 2025-04-03 14:14:21 [85.42ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 48922 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 80 - 2025-04-03 14:14:21 [0.24ms] */
select * from `address` where `address`.`id` = 48922 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 81 - 2025-04-03 14:14:21 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 82 - 2025-04-03 14:14:21 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 83 - 2025-04-03 14:14:21 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 84 - 2025-04-03 14:14:21 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 85 - 2025-04-03 14:14:21 [0.11ms] */
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/m/service/tax/start/83642
   Query 86 - 2025-04-03 14:14:21 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 87 - 2025-04-03 14:14:21 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 88 - 2025-04-03 14:14:21 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 89 - 2025-04-03 14:14:21 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 90 - 2025-04-03 14:14:21 [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/m/service/tax/start/83642
   Query 91 - 2025-04-03 14:14:21 [0.12ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 92 - 2025-04-03 14:14:21 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 93 - 2025-04-03 14:14:21 [0.11ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 94 - 2025-04-03 14:14:21 [0.15ms] */
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/m/service/tax/start/83642
   Query 95 - 2025-04-03 14:14:21 [0.12ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 96 - 2025-04-03 14:14:21 [0.15ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 97 - 2025-04-03 14:14:21 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 98 - 2025-04-03 14:14:21 [0.14ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 99 - 2025-04-03 14:14:21 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 511231 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 100 - 2025-04-03 14:14:21 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 486899 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 101 - 2025-04-03 14:14:21 [0.2ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 102 - 2025-04-03 14:14:21 [0.77ms] */
select * from `transaction` where `transaction`.`id` = 511232 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 103 - 2025-04-03 14:14:21 [0.56ms] */
select * from `invoice` where `invoice`.`id` = 486900 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 104 - 2025-04-03 14:14:21 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 105 - 2025-04-03 14:14:21 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 511233 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 106 - 2025-04-03 14:14:21 [0.31ms] */
select * from `invoice` where `invoice`.`id` = 486901 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 107 - 2025-04-03 14:14:21 [0.13ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 108 - 2025-04-03 14:14:21 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 511234 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 109 - 2025-04-03 14:14:21 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 486902 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 110 - 2025-04-03 14:14:21 [0.25ms] */
(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/m/service/tax/start/83642
   Query 111 - 2025-04-03 14:14:21 [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): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 112 - 2025-04-03 14:14:21 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 113 - 2025-04-03 14:14:21 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 114 - 2025-04-03 14:14:21 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 115 - 2025-04-03 14:14:21 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 116 - 2025-04-03 14:14:21 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 117 - 2025-04-03 14:14:21 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 118 - 2025-04-03 14:14:21 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 119 - 2025-04-03 14:14:21 [0.29ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 120 - 2025-04-03 14:14:21 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 15 - 2025-04-03 14:14:21 [322.04ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 16 - 2025-04-03 14:14:21 [7.56ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2023 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 17 - 2025-04-03 14:14:21 [387.92ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 18 - 2025-04-03 14:14:21 [4.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2023 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 19 - 2025-04-03 14:14:22 [482.16ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 20 - 2025-04-03 14:14:22 [1.91ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2023 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 21 - 2025-04-03 14:14:22 [451.52ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 22 - 2025-04-03 14:14:22 [1.75ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2024 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 23 - 2025-04-03 14:14:23 [428.43ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 24 - 2025-04-03 14:14:23 [1.58ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 25 - 2025-04-03 14:14:23 [302.15ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 26 - 2025-04-03 14:14:23 [8.94ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 27 - 2025-04-03 14:14:23 [61.51ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 28 - 2025-04-03 14:14:23 [0.56ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 29 - 2025-04-03 14:14:23 [176.38ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 30 - 2025-04-03 14:14:23 [0.5ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 31 - 2025-04-03 14:14:23 [54.21ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 32 - 2025-04-03 14:14:23 [1.33ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 33 - 2025-04-03 14:14:23 [77.43ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 34 - 2025-04-03 14:14:23 [5.16ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 35 - 2025-04-03 14:14:23 [68.49ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 36 - 2025-04-03 14:14:23 [6.76ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 83642 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 37 - 2025-04-03 14:14:23 [81.19ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 38 - 2025-04-03 14:14:23 [0.22ms] */
select `id` from `term` where `year` < 2025 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 39 - 2025-04-03 14:14:23 [2.08ms] */
select * from `vehicle_tax` where `party_vehicle_id` = 44784 and `status` = 'OPEN' and `term_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 40 - 2025-04-03 14:14:23 [0.23ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 183890 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 41 - 2025-04-03 14:14:23 [0.26ms] */
select * from `invoice` where `transaction_id` = 225256 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 42 - 2025-04-03 14:14:23 [0.21ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 183891 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 43 - 2025-04-03 14:14:23 [0.24ms] */
select * from `invoice` where `transaction_id` = 225257 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 44 - 2025-04-03 14:14:23 [6.98ms] */
select * from `discount` where `vehicle_tax` = 183890 and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 45 - 2025-04-03 14:14:23 [13.58ms] */
insert into `discount` (`description`, `service_id`, `vehicle_tax`, `vehicle_id`, `party_id`, `expiry_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Exempt Before 2025 Taxes', 2, '[183890,183891]', 83642, 48922, '2025-09-01 14:14:23', 5, 5, '2025-04-03 14:14:23', '2025-04-03 14:14:23');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 46 - 2025-04-03 14:14:23 [0.24ms] */
select * from `discount` where `id` = 6306 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 47 - 2025-04-03 14:14:23 [4.26ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('discount', '{"attributes":{"description":"Exempt Before 2025 Taxes","percentage":null,"vehicle_id":83642,"amount":null,"expiry_date":"2025-09-01 14:14:23","party_id":48922,"service_id":2,"vehicle_tax":[183890,183891],"party_vehicle_id":null}}', 5, 'App\Models\User', 6306, 'Modules\Transaction\Entities\Discount', 'created', '2025-04-03 14:14:23', '2025-04-03 14:14:23');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 48 - 2025-04-03 14:14:23 [0.18ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 83642 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 49 - 2025-04-03 14:14:23 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 83642 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 50 - 2025-04-03 14:14:23 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 83642 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 51 - 2025-04-03 14:14:23 [0.16ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 52 - 2025-04-03 14:14:23 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 53 - 2025-04-03 14:14:23 [0.59ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 83642 and `term`.`first_date_of_quarter` <= '2025-04-03 14:14:23' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 54 - 2025-04-03 14:14:23 [0.15ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 83642 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 55 - 2025-04-03 14:14:23 [0.18ms] */
select sum(`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 (183890, 183891, 401381, 401382) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 56 - 2025-04-03 14:14:23 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 57 - 2025-04-03 14:14:23 [0.17ms] */
select * from `model` where `model`.`id` = 1562 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 58 - 2025-04-03 14:14:23 [0.16ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 59 - 2025-04-03 14:14:23 [0.18ms] */
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/m/service/tax/start/83642
   Query 60 - 2025-04-03 14:14:23 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 83642 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 61 - 2025-04-03 14:14:23 [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/m/service/tax/start/83642
   Query 62 - 2025-04-03 14:14:23 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 63 - 2025-04-03 14:14:23 [0.15ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 43 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 64 - 2025-04-03 14:14:23 [0.15ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 65 - 2025-04-03 14:14:23 [0.15ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 66 - 2025-04-03 14:14:23 [0.16ms] */
select * from `person` where `person`.`id` = 48922 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 67 - 2025-04-03 14:14:23 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 48922 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 68 - 2025-04-03 14:14:23 [0.15ms] */
select * from `address` where `address`.`id` = 48922 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 69 - 2025-04-03 14:14:23 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 70 - 2025-04-03 14:14:23 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 71 - 2025-04-03 14:14:23 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 72 - 2025-04-03 14:14:23 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 73 - 2025-04-03 14:14:23 [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/m/service/tax/start/83642
   Query 74 - 2025-04-03 14:14:23 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 75 - 2025-04-03 14:14:24 [6.11ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 76 - 2025-04-03 14:14:24 [0.18ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 77 - 2025-04-03 14:14:24 [0.14ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 78 - 2025-04-03 14:14:24 [0.14ms] */
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/m/service/tax/start/83642
   Query 79 - 2025-04-03 14:14:24 [0.14ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 80 - 2025-04-03 14:14:24 [0.17ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 81 - 2025-04-03 14:14:24 [0.13ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 82 - 2025-04-03 14:14:24 [0.14ms] */
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/m/service/tax/start/83642
   Query 83 - 2025-04-03 14:14:24 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 84 - 2025-04-03 14:14:24 [0.17ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 85 - 2025-04-03 14:14:24 [0.19ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 86 - 2025-04-03 14:14:24 [0.15ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 87 - 2025-04-03 14:14:24 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 511231 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 88 - 2025-04-03 14:14:24 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 486899 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 89 - 2025-04-03 14:14:24 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 90 - 2025-04-03 14:14:24 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 511232 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 91 - 2025-04-03 14:14:24 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 486900 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 92 - 2025-04-03 14:14:24 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 93 - 2025-04-03 14:14:24 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 511233 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 94 - 2025-04-03 14:14:24 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 486901 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 95 - 2025-04-03 14:14:24 [0.13ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 96 - 2025-04-03 14:14:24 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 511234 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 97 - 2025-04-03 14:14:24 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 486902 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 98 - 2025-04-03 14:14:24 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 99 - 2025-04-03 14:14:24 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 100 - 2025-04-03 14:14:24 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 101 - 2025-04-03 14:14:24 [0.45ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 102 - 2025-04-03 14:14:24 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 103 - 2025-04-03 14:14:24 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 104 - 2025-04-03 14:14:24 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 105 - 2025-04-03 14:14:24 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 106 - 2025-04-03 14:14:24 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 107 - 2025-04-03 14:14:24 [0.27ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/83642
   Query 108 - 2025-04-03 14:14:24 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-04-03 14:15:26 [1.55ms] */
select * from `oauth_access_tokens` where `id` = '29f7a6db56025c964cfc09abd1e69f79d7d530a424eb1d2f597b1870bca1ea294331e581f24e7cd7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-03 14:15:26 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '29f7a6db56025c964cfc09abd1e69f79d7d530a424eb1d2f597b1870bca1ea294331e581f24e7cd7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-03 14:15:26 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-03 14:15:26 [0.16ms] */
select * from `users` where `id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-03 14:15:26 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '29f7a6db56025c964cfc09abd1e69f79d7d530a424eb1d2f597b1870bca1ea294331e581f24e7cd7' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-03 14:15:26 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-03 14:15:26 [0.18ms] */
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-04-03 14:15:26 [0.36ms] */
select `transaction_id` from `vehicle_tax` where `id` in (183889, 183890, 183891, 401381, 401382) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-03 14:15:26 [0.3ms] */
select `parent_id` from `transaction` where `id` in (225255, 225256, 225257, 511231, 511232) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-03 14:15:26 [0.13ms] */
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-04-03 14:15:26 [0.18ms] */
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-04-03 14:15:26 [0.25ms] */
select * from `transaction` where `id` in (225255, 225256, 225257, 511231, 511232) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-03 14:15:26 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 210190 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-04-03 14:15:26 [0.14ms] */
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 15 - 2025-04-03 14:15:26 [0.14ms] */
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 16 - 2025-04-03 14:15:26 [19.39ms] */
update `transaction` set `current_workflow_state_id` = 6, `status` = 'OPEN', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 225255;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-03 14:15:26 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 210191 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 18 - 2025-04-03 14:15:26 [4.25ms] */
update `invoice` set `updated_by` = 159, `invoice`.`updated_at` = '2025-04-03 14:15:26' where `id` = 210191;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-03 14:15:26 [0.24ms] */
select * from `invoice` where `id` = 210191 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-03 14:15:26 [3.24ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 159, 'App\Models\User', 210191, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-04-03 14:15:26 [0.15ms] */
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 22 - 2025-04-03 14:15:26 [0.13ms] */
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 23 - 2025-04-03 14:15:26 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 210192 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 24 - 2025-04-03 14:15:26 [2.87ms] */
update `invoice` set `updated_by` = 159, `invoice`.`updated_at` = '2025-04-03 14:15:26' where `id` = 210192;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-04-03 14:15:26 [0.22ms] */
select * from `invoice` where `id` = 210192 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2025-04-03 14:15:26 [2.77ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 159, 'App\Models\User', 210192, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2025-04-03 14:15:26 [0.16ms] */
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 28 - 2025-04-03 14:15:26 [0.13ms] */
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 29 - 2025-04-03 14:15:26 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 486899 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 30 - 2025-04-03 14:15:26 [0.14ms] */
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 31 - 2025-04-03 14:15:26 [0.13ms] */
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 32 - 2025-04-03 14:15:26 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 486900 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 33 - 2025-04-03 14:15:26 [0.15ms] */
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 34 - 2025-04-03 14:15:26 [0.13ms] */
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 35 - 2025-04-03 14:15:26 [4.65ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-04-03 14:15:26' where `id` in (183889, 183890, 183891, 401381, 401382) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-04-03 14:15:26 [0.38ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-04-03 14:15:26 [0.15ms] */
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 38 - 2025-04-03 14:15:26 [0.35ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 83642 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-04-03 14:15:26 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 83642 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 40 - 2025-04-03 14:15:26 [0.16ms] */
select * from `party` where `party`.`id` = 48922 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 41 - 2025-04-03 14:15:26 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 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 42 - 2025-04-03 14:15:26 [0.13ms] */
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 43 - 2025-04-03 14:15:26 [0.14ms] */
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 44 - 2025-04-03 14:15:26 [0.98ms] */
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 (48922, 2, 83642, null, 2, 6, null, 37, 37, 'OPEN', 27, null, 159, 159, '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-04-03 14:15:26 [1.34ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574388, 'INITIATED', '2025-04-03 14:15:26', 5, 159, 159, 159, '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-04-03 14:15:26 [0.2ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 44784, `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 574388;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-04-03 14:15:26 [0.48ms] */
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 (183889, 183890, 183891, 401381, 401382) 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 48 - 2025-04-03 14:15:26 [0.25ms] */
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 (183889, 183890, 183891, 401381, 401382) 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 49 - 2025-04-03 14:15:26 [0.41ms] */
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 (574388, 48922, '2025-04-03 14:15:26', '2025-04-03 14:15:26', 130.00, 42.00, 130.00, 130.00, 0, 'OPEN', 'N', 'Y', 159, 159, '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-04-03 14:15:26 [0.19ms] */
select * from `invoice` where `id` = 550054 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-04-03 14:15:26 [0.24ms] */
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":574388,"party_id":48922,"invoice_amount":"130.00","invoice_date":"2025-04-03 14:15:26","due_date":"2025-04-03 14:15:26","outstanding_balance":"130.00","discounts":"42.00","taxes":"0.00","total_invoice_amount":"130.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 159, 'App\Models\User', 550054, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-04-03 14:15:26 [0.49ms] */
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 (183889, 183890, 183891, 401381, 401382) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-04-03 14:15:26 [0.4ms] */
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 Quarterly Tax Fees', 5, 21.00, 172, 550054, 159, 159, '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-04-03 14:15:26 [0.16ms] */
select * from `invoice_item` where `id` = 999294 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-04-03 14:15:26 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Quarterly Tax Fees","unit_price":"21.00","quantity":5,"total_price":"172.00","invoice_id":550054}}', 159, 'App\Models\User', 999294, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2025-04-03 14:15:26 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-923-550054519', `invoice`.`updated_at` = '2025-04-03 14:15:26' where `id` = 550054;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2025-04-03 14:15:26 [0.18ms] */
select * from `invoice` where `id` = 550054 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2025-04-03 14:15:26 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_number":"INV-923-550054519"},"old":{"invoice_number":null}}', 159, 'App\Models\User', 550054, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-04-03 14:15:26 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 183889 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-04-03 14:15:26 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2025-04-03 14:15:26' where `id` = 183889;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-04-03 14:15:26 [0.17ms] */
select * from `vehicle_tax` where `id` = 183889 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-04-03 14:15:26 [0.25ms] */
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"}}', 159, 'App\Models\User', 183889, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-04-03 14:15:26 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 225255 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 64 - 2025-04-03 14:15:26 [0.19ms] */
update `transaction` set `parent_id` = 574388, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 225255;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 65 - 2025-04-03 14:15:26 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 210190 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 66 - 2025-04-03 14:15:26 [0.15ms] */
update `invoice` set `parent_id` = 550054, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-03 14:15:26' where `id` = 210190;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-04-03 14:15:26 [0.18ms] */
select * from `invoice` where `id` = 210190 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-04-03 14:15:26 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":550054,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 159, 'App\Models\User', 210190, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 69 - 2025-04-03 14:15:26 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 225255 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 70 - 2025-04-03 14:15:26 [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 71 - 2025-04-03 14:15:26 [0.19ms] */
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 72 - 2025-04-03 14:15:26 [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 73 - 2025-04-03 14:15:26 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-04-03 14:15:26 [0.17ms] */
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 75 - 2025-04-03 14:15:26 [0.32ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (225255, 'APPROVED', '2025-04-03 14:15:26', 5, 159, null, 159, 159, '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-04-03 14:15:26 [0.25ms] */
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 77 - 2025-04-03 14:15:26 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 225255;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-04-03 14:15:26 [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 79 - 2025-04-03 14:15:26 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 210190 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 80 - 2025-04-03 14:15:26 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 183890 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-04-03 14:15:26 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 159, `vehicle_tax`.`updated_at` = '2025-04-03 14:15:26' where `id` = 183890;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2025-04-03 14:15:26 [0.17ms] */
select * from `vehicle_tax` where `id` = 183890 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2025-04-03 14:15:26 [0.2ms] */
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"}}', 159, 'App\Models\User', 183890, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 84 - 2025-04-03 14:15:26 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 225256 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 85 - 2025-04-03 14:15:26 [0.17ms] */
update `transaction` set `parent_id` = 574388, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 225256;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 86 - 2025-04-03 14:15:26 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 210191 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 87 - 2025-04-03 14:15:26 [0.16ms] */
update `invoice` set `parent_id` = 550054, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-03 14:15:26' where `id` = 210191;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2025-04-03 14:15:26 [0.18ms] */
select * from `invoice` where `id` = 210191 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 89 - 2025-04-03 14:15:26 [0.36ms] */
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":550054,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 159, 'App\Models\User', 210191, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 90 - 2025-04-03 14:15:26 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 225256 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 91 - 2025-04-03 14:15:26 [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 92 - 2025-04-03 14:15:26 [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 93 - 2025-04-03 14:15:26 [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 94 - 2025-04-03 14:15:26 [0.15ms] */
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 95 - 2025-04-03 14:15:26 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (225256, 'APPROVED', '2025-04-03 14:15:26', 5, 159, null, 159, 159, '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 96 - 2025-04-03 14:15:26 [0.21ms] */
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 97 - 2025-04-03 14:15:26 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 225256;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 98 - 2025-04-03 14:15:26 [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/make_payment
   Query 99 - 2025-04-03 14:15:26 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 210191 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-04-03 14:15:26 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 183891 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 101 - 2025-04-03 14:15:26 [0.58ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 159, `vehicle_tax`.`updated_at` = '2025-04-03 14:15:26' where `id` = 183891;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 102 - 2025-04-03 14:15:26 [0.17ms] */
select * from `vehicle_tax` where `id` = 183891 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 103 - 2025-04-03 14:15:26 [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"}}', 159, 'App\Models\User', 183891, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 104 - 2025-04-03 14:15:26 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 225257 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 105 - 2025-04-03 14:15:26 [0.18ms] */
update `transaction` set `parent_id` = 574388, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 225257;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 106 - 2025-04-03 14:15:26 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 210192 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 107 - 2025-04-03 14:15:26 [0.45ms] */
update `invoice` set `parent_id` = 550054, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-03 14:15:26' where `id` = 210192;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 108 - 2025-04-03 14:15:26 [0.46ms] */
select * from `invoice` where `id` = 210192 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 109 - 2025-04-03 14:15:26 [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":550054,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 159, 'App\Models\User', 210192, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 110 - 2025-04-03 14:15:26 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 225257 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 111 - 2025-04-03 14:15:26 [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/make_payment
   Query 112 - 2025-04-03 14:15:26 [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/make_payment
   Query 113 - 2025-04-03 14:15:26 [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 114 - 2025-04-03 14:15:26 [0.15ms] */
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 115 - 2025-04-03 14:15:26 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (225257, 'APPROVED', '2025-04-03 14:15:26', 5, 159, null, 159, 159, '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 116 - 2025-04-03 14:15:26 [0.21ms] */
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 117 - 2025-04-03 14:15:26 [0.26ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 225257;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 118 - 2025-04-03 14:15:26 [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/make_payment
   Query 119 - 2025-04-03 14:15:26 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 210192 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-04-03 14:15:26 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 401381 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 121 - 2025-04-03 14:15:26 [0.5ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 159, `vehicle_tax`.`updated_at` = '2025-04-03 14:15:26' where `id` = 401381;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 122 - 2025-04-03 14:15:26 [0.17ms] */
select * from `vehicle_tax` where `id` = 401381 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 123 - 2025-04-03 14:15:26 [0.2ms] */
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"}}', 159, 'App\Models\User', 401381, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 124 - 2025-04-03 14:15:26 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 511231 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 125 - 2025-04-03 14:15:26 [0.18ms] */
update `transaction` set `parent_id` = 574388, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 511231;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 126 - 2025-04-03 14:15:26 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 486899 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 127 - 2025-04-03 14:15:26 [0.16ms] */
update `invoice` set `parent_id` = 550054, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-03 14:15:26' where `id` = 486899;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 128 - 2025-04-03 14:15:26 [0.19ms] */
select * from `invoice` where `id` = 486899 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 129 - 2025-04-03 14:15:26 [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":{"parent_id":550054,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 159, 'App\Models\User', 486899, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 130 - 2025-04-03 14:15:26 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 511231 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 131 - 2025-04-03 14:15:26 [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 132 - 2025-04-03 14:15:26 [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 133 - 2025-04-03 14:15:26 [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 134 - 2025-04-03 14:15:26 [0.15ms] */
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 135 - 2025-04-03 14:15:26 [3.8ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (511231, 'APPROVED', '2025-04-03 14:15:26', 5, 159, null, 159, 159, '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 136 - 2025-04-03 14:15:26 [0.26ms] */
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 137 - 2025-04-03 14:15:26 [0.23ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 511231;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 138 - 2025-04-03 14:15:26 [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/make_payment
   Query 139 - 2025-04-03 14:15:26 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 486899 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-04-03 14:15:26 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 401382 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 141 - 2025-04-03 14:15:26 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2025-04-03 14:15:26' where `id` = 401382;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 142 - 2025-04-03 14:15:26 [0.16ms] */
select * from `vehicle_tax` where `id` = 401382 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 143 - 2025-04-03 14:15:26 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 159, 'App\Models\User', 401382, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 144 - 2025-04-03 14:15:26 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 511232 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 145 - 2025-04-03 14:15:26 [0.17ms] */
update `transaction` set `parent_id` = 574388, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 511232;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 146 - 2025-04-03 14:15:26 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 486900 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 147 - 2025-04-03 14:15:26 [0.16ms] */
update `invoice` set `parent_id` = 550054, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-03 14:15:26' where `id` = 486900;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 148 - 2025-04-03 14:15:26 [0.3ms] */
select * from `invoice` where `id` = 486900 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 149 - 2025-04-03 14:15:26 [0.29ms] */
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":550054,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 159, 'App\Models\User', 486900, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 150 - 2025-04-03 14:15:26 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 511232 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 151 - 2025-04-03 14:15:26 [0.25ms] */
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 152 - 2025-04-03 14:15:26 [0.23ms] */
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 153 - 2025-04-03 14:15:26 [0.25ms] */
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 154 - 2025-04-03 14:15:26 [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 155 - 2025-04-03 14:15:26 [0.34ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (511232, 'APPROVED', '2025-04-03 14:15:26', 5, 159, null, 159, 159, '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 156 - 2025-04-03 14:15:26 [0.21ms] */
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 157 - 2025-04-03 14:15:26 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 511232;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 158 - 2025-04-03 14:15:26 [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/make_payment
   Query 159 - 2025-04-03 14:15:26 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 486900 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-04-03 14:15:26 [0.19ms] */
update `transaction` set `invoice_id` = 550054, `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 574388;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 161 - 2025-04-03 14:15:26 [0.25ms] */
update `vehicle` set `updated_by` = 159, `vehicle`.`updated_at` = '2025-04-03 14:15:26' where `id` = 83642;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 162 - 2025-04-03 14:15:26 [0.18ms] */
select * from `vehicle` where `id` = 83642 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 163 - 2025-04-03 14:15:26 [0.31ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 159, 'App\Models\User', 83642, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 164 - 2025-04-03 14:15:26 [0.5ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":5}', '{"updated_by":159}', 'updated', 83642, 'Modules\Vehicle\Entities\Vehicle', 159, 'App\Models\User', null, '49.47.216.65', 'PostmanRuntime/7.43.3', 'https://testtra.puntlandgov.org/api/make_payment', '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 165 - 2025-04-03 14:15:26 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 574388 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 166 - 2025-04-03 14:15:26 [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 167 - 2025-04-03 14:15:26 [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 168 - 2025-04-03 14:15:26 [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 169 - 2025-04-03 14:15:26 [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 (574388, 'APPROVED', '2025-04-03 14:15:26', 5, 159, null, 159, 159, '2025-04-03 14:15:26', '2025-04-03 14:15:26');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 170 - 2025-04-03 14:15:26 [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 171 - 2025-04-03 14:15:26 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-03 14:15:26' where `id` = 574388;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 172 - 2025-04-03 14:15:26 [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/make_payment
   Query 173 - 2025-04-03 14:15:26 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 550054 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 174 - 2025-04-03 14:15:26 [0.48ms] */
select `transaction_id` from `vehicle_tax` where `id` in (183889, 183890, 183891, 401381, 401382) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 175 - 2025-04-03 14:15:26 [0.38ms] */
select * from `invoice` where `transaction_id` = 225255 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 176 - 2025-04-03 14:15:26 [0.47ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 210190 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 177 - 2025-04-03 14:15:26 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 225255 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 178 - 2025-04-03 14:15:26 [0.22ms] */
select * from `invoice` where `transaction_id` = 225256 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 179 - 2025-04-03 14:15:26 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 210191 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 180 - 2025-04-03 14:15:26 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 225256 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 181 - 2025-04-03 14:15:26 [0.21ms] */
select * from `invoice` where `transaction_id` = 225257 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 182 - 2025-04-03 14:15:26 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 210192 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 183 - 2025-04-03 14:15:26 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 225257 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 184 - 2025-04-03 14:15:26 [0.22ms] */
select * from `invoice` where `transaction_id` = 511231 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 185 - 2025-04-03 14:15:26 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 486899 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-04-03 14:15:26 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 511231 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 187 - 2025-04-03 14:15:26 [0.21ms] */
select * from `invoice` where `transaction_id` = 511232 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 188 - 2025-04-03 14:15:26 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 486900 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 189 - 2025-04-03 14:15:26 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 511232 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 190 - 2025-04-03 14:15:26 [0.13ms] */
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 191 - 2025-04-03 14:15:26 [0.13ms] */
select * from `user_accounts` where `user_id` = 159 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 192 - 2025-04-03 14:15:26 [0.12ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 193 - 2025-04-03 14:15:26 [0.12ms] */
select * from `user_accounts` where `user_id` = 159 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-04-03 14:15:35 [1.74ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-04-03 14:15:35 [0.27ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-04-03 14:15:35 [0.46ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 5 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-04-03 14:15:35 [6.31ms] */
update `userprofiles` set `last_ip` = '223.237.186.206', `login_count` = 126, `last_login` = '2025-04-03 14:15:35', `userprofiles`.`updated_at` = '2025-04-03 14:15:35' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-04-03 14:15:35 [0.48ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-04-03 14:15:35 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-04-03 14:15:35 [0.53ms] */
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 (5) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-04-03 14:15:35 [0.24ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-04-03 14:15:35 [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-04-03 14:15:35 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-04-03 14:15:35 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-04-03 14:15:35 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-04-03 14:15:35 [3.18ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('0d0de8402783c9431029c3c3abeb3cc7c5570b921231271232deaf32924c407168543d5d120387cb', 5, 5, '[]', 0, '2025-04-03 14:15:35', '2025-04-03 14:15:35', '2026-04-03 14:15:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-04-03 14:15:35 [0.55ms] */
select * from `oauth_access_tokens` where `id` = '0d0de8402783c9431029c3c3abeb3cc7c5570b921231271232deaf32924c407168543d5d120387cb' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-04-03 14:15:35 [2.84ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '0d0de8402783c9431029c3c3abeb3cc7c5570b921231271232deaf32924c407168543d5d120387cb';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 1 - 2025-04-03 14:15:40 [1.49ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 2 - 2025-04-03 14:15:40 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 3 - 2025-04-03 14:15:40 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 4 - 2025-04-03 14:15:40 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 5 - 2025-04-03 14:15:40 [0.56ms] */
select * from `transaction` where `transaction`.`id` = 511232 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 6 - 2025-04-03 14:15:40 [0.63ms] */
select * from `transaction_workflow` where `transaction_id` = 511232 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 7 - 2025-04-03 14:15:40 [0.16ms] */
select * from `invoice` where `transaction_id` = 511232 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 8 - 2025-04-03 14:15:40 [0.25ms] */
select * from `invoice_payment` where `invoice_id` = 486900;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 9 - 2025-04-03 14:15:40 [0.93ms] */
select * from `payment_documents` where `transaction_id` = 511232;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 10 - 2025-04-03 14:15:40 [0.41ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 511232 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 11 - 2025-04-03 14:15:40 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 12 - 2025-04-03 14:15:40 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 13 - 2025-04-03 14:15:40 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 14 - 2025-04-03 14:15:40 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 15 - 2025-04-03 14:15:40 [0.61ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 16 - 2025-04-03 14:15:40 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 511232 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 17 - 2025-04-03 14:15:40 [0.75ms] */
select `vehicle_tax`.* 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`.`id` = 511232 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 18 - 2025-04-03 14:15:40 [0.39ms] */
select sum(`invoice`.`outstanding_balance`) 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`.`id` = 511232 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 19 - 2025-04-03 14:15:40 [0.16ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 20 - 2025-04-03 14:15:40 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 511232 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 21 - 2025-04-03 14:15:40 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 486900 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 22 - 2025-04-03 14:15:40 [0.14ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 636428 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 23 - 2025-04-03 14:15:40 [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): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 24 - 2025-04-03 14:15:40 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 25 - 2025-04-03 14:15:40 [0.44ms] */
select * from `transaction_workflow` where `transaction_id` = 511232 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 26 - 2025-04-03 14:15:42 [1170.14ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 27 - 2025-04-03 14:15:42 [2.25ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 28 - 2025-04-03 14:15:42 [1.82ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 29 - 2025-04-03 14:15:42 [0.15ms] */
select * from `model` where `model`.`id` = 1562 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 30 - 2025-04-03 14:15:42 [0.14ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 31 - 2025-04-03 14:15:42 [1.86ms] */
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/511232
   Query 32 - 2025-04-03 14:15:42 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 83642 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 33 - 2025-04-03 14:15:42 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 34 - 2025-04-03 14:15:42 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 35 - 2025-04-03 14:15:42 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 43 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 36 - 2025-04-03 14:15:42 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 37 - 2025-04-03 14:15:42 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 511232 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 38 - 2025-04-03 14:15:42 [0.21ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 39 - 2025-04-03 14:15:42 [1.59ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 40 - 2025-04-03 14:15:42 [0.18ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 41 - 2025-04-03 14:15:42 [0.2ms] */
select * from `person` where `person`.`id` = 48922 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 42 - 2025-04-03 14:15:42 [1.3ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 48922 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 43 - 2025-04-03 14:15:42 [0.2ms] */
select * from `address` where `address`.`id` = 48922 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 44 - 2025-04-03 14:15:42 [0.15ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 45 - 2025-04-03 14:15:42 [0.16ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 46 - 2025-04-03 14:15:42 [0.16ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 47 - 2025-04-03 14:15:42 [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/511232
   Query 48 - 2025-04-03 14:15:42 [0.51ms] */
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/511232
   Query 49 - 2025-04-03 14:15:42 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 50 - 2025-04-03 14:15:42 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 511232 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 51 - 2025-04-03 14:15:42 [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/511232
   Query 52 - 2025-04-03 14:15:42 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 44784 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 53 - 2025-04-03 14:15:42 [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/511232
   Query 54 - 2025-04-03 14:15:42 [0.2ms] */
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/511232
   Query 55 - 2025-04-03 14:15:42 [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/511232
   Query 56 - 2025-04-03 14:15:42 [0.35ms] */
select * from `transaction_workflow` where `transaction_id` = 511232 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 57 - 2025-04-03 14:15:42 [0.17ms] */
select * from `users` where `users`.`id` = 159 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 58 - 2025-04-03 14:15:42 [4.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/511232
   Query 59 - 2025-04-03 14:15:42 [0.27ms] */
select * from `users` where `users`.`id` = 16 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 60 - 2025-04-03 14:15:42 [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/511232
   Query 61 - 2025-04-03 14:15:42 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 62 - 2025-04-03 14:15:42 [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/511232
   Query 63 - 2025-04-03 14:15:42 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 64 - 2025-04-03 14:15:42 [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/511232
   Query 65 - 2025-04-03 14:15:42 [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/511232
   Query 66 - 2025-04-03 14:15:42 [0.2ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 67 - 2025-04-03 14:15:42 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 68 - 2025-04-03 14:15:42 [0.3ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511232
   Query 69 - 2025-04-03 14:15:42 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 1 - 2025-04-03 14:15:51 [8.76ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 2 - 2025-04-03 14:15:51 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 3 - 2025-04-03 14:15:51 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 4 - 2025-04-03 14:15:51 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 5 - 2025-04-03 14:15:51 [0.51ms] */
select * from `transaction` where `transaction`.`id` = 511233 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 6 - 2025-04-03 14:15:51 [0.65ms] */
select * from `transaction_workflow` where `transaction_id` = 511233 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 7 - 2025-04-03 14:15:51 [0.57ms] */
select * from `invoice` where `transaction_id` = 511233 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 8 - 2025-04-03 14:15:51 [0.25ms] */
select * from `invoice_payment` where `invoice_id` = 486901;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 9 - 2025-04-03 14:15:51 [0.76ms] */
select * from `payment_documents` where `transaction_id` = 511233;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 10 - 2025-04-03 14:15:51 [0.31ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 511233 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 11 - 2025-04-03 14:15:51 [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): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 12 - 2025-04-03 14:15:51 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 13 - 2025-04-03 14:15:51 [0.14ms] */
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): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 14 - 2025-04-03 14:15:51 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 15 - 2025-04-03 14:15:51 [0.2ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 16 - 2025-04-03 14:15:51 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 511233 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 17 - 2025-04-03 14:15:51 [0.63ms] */
select `vehicle_tax`.* 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`.`id` = 511233 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 18 - 2025-04-03 14:15:51 [0.42ms] */
select sum(`invoice`.`outstanding_balance`) 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`.`id` = 511233 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 19 - 2025-04-03 14:15:51 [0.15ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 20 - 2025-04-03 14:15:51 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 511233 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 21 - 2025-04-03 14:15:51 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 486901 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 22 - 2025-04-03 14:15:51 [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): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 23 - 2025-04-03 14:15:51 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 24 - 2025-04-03 14:15:51 [0.41ms] */
select * from `transaction_workflow` where `transaction_id` = 511233 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 25 - 2025-04-03 14:15:51 [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/511233
   Query 26 - 2025-04-03 14:15:51 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 27 - 2025-04-03 14:15:51 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 28 - 2025-04-03 14:15:51 [0.14ms] */
select * from `model` where `model`.`id` = 1562 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 29 - 2025-04-03 14:15:51 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 30 - 2025-04-03 14:15:51 [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/511233
   Query 31 - 2025-04-03 14:15:51 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 83642 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 32 - 2025-04-03 14:15:51 [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/511233
   Query 33 - 2025-04-03 14:15:51 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 34 - 2025-04-03 14:15:51 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 43 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 35 - 2025-04-03 14:15:51 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 36 - 2025-04-03 14:15:51 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 511233 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 37 - 2025-04-03 14:15:51 [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/511233
   Query 38 - 2025-04-03 14:15:51 [0.15ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 39 - 2025-04-03 14:15:51 [0.15ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 40 - 2025-04-03 14:15:51 [0.16ms] */
select * from `person` where `person`.`id` = 48922 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 41 - 2025-04-03 14:15:51 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 48922 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 42 - 2025-04-03 14:15:51 [0.14ms] */
select * from `address` where `address`.`id` = 48922 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 43 - 2025-04-03 14:15:51 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 44 - 2025-04-03 14:15:51 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 45 - 2025-04-03 14:15:51 [0.15ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 46 - 2025-04-03 14:15:51 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 47 - 2025-04-03 14:15:51 [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/511233
   Query 48 - 2025-04-03 14:15:51 [0.12ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 49 - 2025-04-03 14:15:51 [0.16ms] */
select * from `transaction_workflow` where `transaction_id` = 511233 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 50 - 2025-04-03 14:15:51 [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/511233
   Query 51 - 2025-04-03 14:15:51 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 44784 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 52 - 2025-04-03 14:15:51 [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/511233
   Query 53 - 2025-04-03 14:15:51 [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): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 54 - 2025-04-03 14:15:51 [0.16ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 55 - 2025-04-03 14:15:51 [0.44ms] */
select * from `transaction_workflow` where `transaction_id` = 511233 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 56 - 2025-04-03 14:15:51 [0.16ms] */
select * from `users` where `users`.`id` = 16 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 57 - 2025-04-03 14:15:51 [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/511233
   Query 58 - 2025-04-03 14:15:51 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 59 - 2025-04-03 14:15:51 [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/511233
   Query 60 - 2025-04-03 14:15:51 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 61 - 2025-04-03 14:15:51 [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/511233
   Query 62 - 2025-04-03 14:15:51 [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/511233
   Query 63 - 2025-04-03 14:15:51 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 64 - 2025-04-03 14:15:51 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 65 - 2025-04-03 14:15:51 [0.27ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/511233
   Query 66 - 2025-04-03 14:15:51 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-03 14:16:00 [1.55ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-03 14:16:00 [0.18ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-03 14:16:00 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-03 14:16:00 [0.17ms] */
select * from `users` where `id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-03 14:16:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-03 14:16:00 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-03 14:16:00 [1.08ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_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_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` = 'TU834' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-03 14:16:00 [0.22ms] */
select * from `party` where `party`.`id` = 48922 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-03 14:16:00 [0.23ms] */
select * from `vehicle` where `id` = 83642 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-03 14:16:00 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 83642 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-03 14:16:01 [1.58ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-03 14:16:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-03 14:16:01 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-03 14:16:01 [0.17ms] */
select * from `users` where `id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-04-03 14:16:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-03 14:16:01 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-03 14:16:01 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 83642 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-03 14:16:01 [0.24ms] */
select * from `vehicle` where `id` = 83642 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-03 14:16:01 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 83642 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-04-03 14:16:01 [0.82ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_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` = 83642 and `vehicle_tax`.`exempt` = 'N' 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-04-03 14:16:02 [1.41ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-03 14:16:02 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-03 14:16:02 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-03 14:16:02 [0.17ms] */
select * from `users` where `id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-04-03 14:16:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-03 14:16:02 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-03 14:16:02 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-03 14:16:02 [1.31ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-03 14:16:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-03 14:16:02 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-03 14:16:02 [0.16ms] */
select * from `users` where `id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-03 14:16:02 [0.13ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-03 14:16:02 [0.12ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-03 14:16:02 [0.18ms] */
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): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 1 - 2025-04-03 14:16:13 [5.64ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 2 - 2025-04-03 14:16:13 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 3 - 2025-04-03 14:16:13 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 4 - 2025-04-03 14:16:13 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 5 - 2025-04-03 14:16:17 [3315.49ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` 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 `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:13') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 6 - 2025-04-03 14:16:19 [2784.57ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` 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 `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:13') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 110;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 7 - 2025-04-03 14:16:19 [0.34ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 54694 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 8 - 2025-04-03 14:16:19 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 54694 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 9 - 2025-04-03 14:16:19 [0.24ms] */
select * from `party` where `party`.`id` = 41316 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 10 - 2025-04-03 14:16:19 [2.67ms] */
select * from `person` where `person`.`id` = 41316 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 11 - 2025-04-03 14:16:19 [1.46ms] */
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/m/service/tax/list?page=12
   Query 12 - 2025-04-03 14:16:19 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 13 - 2025-04-03 14:16:19 [2.5ms] */
select * from `model` where `model`.`id` = 1531 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 14 - 2025-04-03 14:16:19 [0.23ms] */
select * from `make` where `make`.`id` = 78 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 15 - 2025-04-03 14:16:19 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 2 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 16 - 2025-04-03 14:16:19 [1.09ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 54694 and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:19' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 17 - 2025-04-03 14:16:19 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 18 - 2025-04-03 14:16:19 [0.18ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 71852 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 19 - 2025-04-03 14:16:19 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 71852 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 20 - 2025-04-03 14:16:19 [0.14ms] */
select * from `party` where `party`.`id` = 29155 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 21 - 2025-04-03 14:16:19 [0.15ms] */
select * from `person` where `person`.`id` = 29155 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 22 - 2025-04-03 14:16:19 [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): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 23 - 2025-04-03 14:16:19 [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/m/service/tax/list?page=12
   Query 24 - 2025-04-03 14:16:19 [0.12ms] */
select * from `model` where `model`.`id` = 1371 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 25 - 2025-04-03 14:16:19 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 26 - 2025-04-03 14:16:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 27 - 2025-04-03 14:16:19 [0.57ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 71852 and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:19' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 28 - 2025-04-03 14:16:19 [0.19ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 29 - 2025-04-03 14:16:19 [0.12ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 30 - 2025-04-03 14:16:19 [0.12ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 70009 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 31 - 2025-04-03 14:16:19 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 70009 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 32 - 2025-04-03 14:16:19 [0.14ms] */
select * from `party` where `party`.`id` = 57527 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 33 - 2025-04-03 14:16:19 [0.14ms] */
select * from `company` where `company`.`id` = 1814 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 34 - 2025-04-03 14:16:19 [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/m/service/tax/list?page=12
   Query 35 - 2025-04-03 14:16:19 [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/m/service/tax/list?page=12
   Query 36 - 2025-04-03 14:16:19 [0.12ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 37 - 2025-04-03 14:16:19 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 38 - 2025-04-03 14:16:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 39 - 2025-04-03 14:16:19 [0.57ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 70009 and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:19' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 40 - 2025-04-03 14:16:19 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 41 - 2025-04-03 14:16:19 [0.14ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 42 - 2025-04-03 14:16:19 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88918 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 43 - 2025-04-03 14:16:19 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 88918 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 44 - 2025-04-03 14:16:19 [0.14ms] */
select * from `party` where `party`.`id` = 49372 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 45 - 2025-04-03 14:16:19 [0.15ms] */
select * from `person` where `person`.`id` = 49372 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 46 - 2025-04-03 14:16:19 [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): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 47 - 2025-04-03 14:16:19 [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/m/service/tax/list?page=12
   Query 48 - 2025-04-03 14:16:19 [0.12ms] */
select * from `model` where `model`.`id` = 1371 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 49 - 2025-04-03 14:16:19 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 50 - 2025-04-03 14:16:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 51 - 2025-04-03 14:16:19 [0.58ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 88918 and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:19' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 52 - 2025-04-03 14:16:19 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 53 - 2025-04-03 14:16:19 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 87033 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 54 - 2025-04-03 14:16:19 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 87033 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 55 - 2025-04-03 14:16:19 [0.23ms] */
select * from `party` where `party`.`id` = 54369 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 56 - 2025-04-03 14:16:19 [0.23ms] */
select * from `person` where `person`.`id` = 54369 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 57 - 2025-04-03 14:16:19 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 58 - 2025-04-03 14:16:19 [0.21ms] */
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/m/service/tax/list?page=12
   Query 59 - 2025-04-03 14:16:19 [0.2ms] */
select * from `model` where `model`.`id` = 1356 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 60 - 2025-04-03 14:16:19 [0.2ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 61 - 2025-04-03 14:16:19 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 62 - 2025-04-03 14:16:19 [0.98ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 87033 and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:19' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 63 - 2025-04-03 14:16:19 [0.22ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 64 - 2025-04-03 14:16:19 [0.2ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 65 - 2025-04-03 14:16:19 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 92818 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 66 - 2025-04-03 14:16:19 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 92818 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 67 - 2025-04-03 14:16:19 [0.23ms] */
select * from `party` where `party`.`id` = 43312 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 68 - 2025-04-03 14:16:19 [0.15ms] */
select * from `person` where `person`.`id` = 43312 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 69 - 2025-04-03 14:16:19 [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/m/service/tax/list?page=12
   Query 70 - 2025-04-03 14:16:19 [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/m/service/tax/list?page=12
   Query 71 - 2025-04-03 14:16:19 [0.12ms] */
select * from `model` where `model`.`id` = 1056 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 72 - 2025-04-03 14:16:19 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 73 - 2025-04-03 14:16:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 74 - 2025-04-03 14:16:19 [1.75ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 92818 and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:19' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 75 - 2025-04-03 14:16:19 [0.14ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 76 - 2025-04-03 14:16:19 [0.12ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 77 - 2025-04-03 14:16:19 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 85456 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 78 - 2025-04-03 14:16:19 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 85456 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 79 - 2025-04-03 14:16:19 [0.14ms] */
select * from `party` where `party`.`id` = 38857 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 80 - 2025-04-03 14:16:19 [0.15ms] */
select * from `person` where `person`.`id` = 38857 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 81 - 2025-04-03 14:16:19 [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): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 82 - 2025-04-03 14:16:19 [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/m/service/tax/list?page=12
   Query 83 - 2025-04-03 14:16:19 [0.12ms] */
select * from `model` where `model`.`id` = 1353 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 84 - 2025-04-03 14:16:19 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 85 - 2025-04-03 14:16:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 86 - 2025-04-03 14:16:19 [1.39ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 85456 and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:19' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 87 - 2025-04-03 14:16:19 [0.28ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 88 - 2025-04-03 14:16:19 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88506 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 89 - 2025-04-03 14:16:19 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 88506 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 90 - 2025-04-03 14:16:19 [0.14ms] */
select * from `party` where `party`.`id` = 55377 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 91 - 2025-04-03 14:16:19 [0.14ms] */
select * from `person` where `person`.`id` = 55377 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 92 - 2025-04-03 14:16:19 [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): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 93 - 2025-04-03 14:16:19 [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/m/service/tax/list?page=12
   Query 94 - 2025-04-03 14:16:19 [0.14ms] */
select * from `model` where `model`.`id` = 1562 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 95 - 2025-04-03 14:16:19 [0.12ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 96 - 2025-04-03 14:16:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 97 - 2025-04-03 14:16:19 [1.32ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 88506 and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:19' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 98 - 2025-04-03 14:16:19 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 99 - 2025-04-03 14:16:19 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 100 - 2025-04-03 14:16:19 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 73717 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 101 - 2025-04-03 14:16:19 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 73717 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 102 - 2025-04-03 14:16:19 [0.14ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 103 - 2025-04-03 14:16:19 [0.15ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 104 - 2025-04-03 14:16:19 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 105 - 2025-04-03 14:16:19 [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/m/service/tax/list?page=12
   Query 106 - 2025-04-03 14:16:19 [0.12ms] */
select * from `model` where `model`.`id` = 1371 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 107 - 2025-04-03 14:16:19 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 108 - 2025-04-03 14:16:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 109 - 2025-04-03 14:16:19 [0.64ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 73717 and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:19' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 110 - 2025-04-03 14:16:19 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 111 - 2025-04-03 14:16:19 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 112 - 2025-04-03 14:16:19 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 99505 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 113 - 2025-04-03 14:16:19 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 99505 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 114 - 2025-04-03 14:16:19 [0.14ms] */
select * from `party` where `party`.`id` = 64951 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 115 - 2025-04-03 14:16:19 [0.14ms] */
select * from `person` where `person`.`id` = 62327 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 116 - 2025-04-03 14:16:19 [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): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 117 - 2025-04-03 14:16:19 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 118 - 2025-04-03 14:16:19 [0.13ms] */
select * from `model` where `model`.`id` = 103 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 119 - 2025-04-03 14:16:19 [0.12ms] */
select * from `make` where `make`.`id` = 7 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 120 - 2025-04-03 14:16:19 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 6 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 121 - 2025-04-03 14:16:19 [3.31ms] */
select `vehicle_tax`.* 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 `vehicle_tax`.`vehicle_id` = 99505 and `term`.`first_date_of_quarter` <= '2025-04-03 14:16:19' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 122 - 2025-04-03 14:16:19 [0.18ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 123 - 2025-04-03 14:16:19 [0.12ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 124 - 2025-04-03 14:16:19 [1.68ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list?page=12
   Query 125 - 2025-04-03 14:16:20 [0.19ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 1 - 2025-04-03 14:16:32 [14.48ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 2 - 2025-04-03 14:16:32 [4.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 3 - 2025-04-03 14:16:32 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 4 - 2025-04-03 14:16:32 [4.92ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 5 - 2025-04-03 14:16:32 [5.05ms] */
select * from `vehicle` where `id` = 73717 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 6 - 2025-04-03 14:16:32 [0.35ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 73717 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 7 - 2025-04-03 14:16:32 [0.16ms] */
select * from `vehicle` where `id` = 73717 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 8 - 2025-04-03 14:16:32 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 73717 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 9 - 2025-04-03 14:16:32 [4.25ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 10 - 2025-04-03 14:16:32 [0.14ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 11 - 2025-04-03 14:16:32 [0.22ms] */
select * from `model` where `model`.`id` = 1371 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 12 - 2025-04-03 14:16:32 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 13 - 2025-04-03 14:16:32 [0.14ms] */
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/m/vehicle/73717
   Query 14 - 2025-04-03 14:16:32 [0.32ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 73717 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 15 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 16 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 26 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 17 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 18 - 2025-04-03 14:16:32 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 19 - 2025-04-03 14:16:32 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 73717 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 20 - 2025-04-03 14:16:32 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 21 - 2025-04-03 14:16:32 [0.14ms] */
select * from `model` where `model`.`id` = 1371 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 22 - 2025-04-03 14:16:32 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 23 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 24 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 25 - 2025-04-03 14:16:32 [0.17ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 26 - 2025-04-03 14:16:32 [0.16ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 27 - 2025-04-03 14:16:32 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 30026 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 28 - 2025-04-03 14:16:32 [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/vehicle/73717
   Query 29 - 2025-04-03 14:16:32 [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/vehicle/73717
   Query 30 - 2025-04-03 14:16:32 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 31 - 2025-04-03 14:16:32 [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/vehicle/73717
   Query 32 - 2025-04-03 14:16:32 [0.83ms] */
select `vehicle_tax`.* 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 `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 73717 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 33 - 2025-04-03 14:16:32 [0.14ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 34 - 2025-04-03 14:16:32 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 35 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 36 - 2025-04-03 14:16:32 [0.35ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 37 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 38 - 2025-04-03 14:16:32 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 105653 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 39 - 2025-04-03 14:16:32 [0.14ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 40 - 2025-04-03 14:16:32 [0.15ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 41 - 2025-04-03 14:16:32 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 42 - 2025-04-03 14:16:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 43 - 2025-04-03 14:16:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 44 - 2025-04-03 14:16:32 [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/vehicle/73717
   Query 45 - 2025-04-03 14:16:32 [0.13ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 46 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 47 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 48 - 2025-04-03 14:16:32 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 49 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 50 - 2025-04-03 14:16:32 [0.49ms] */
select * from `transaction` where `transaction`.`id` = 105655 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 51 - 2025-04-03 14:16:32 [0.14ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 52 - 2025-04-03 14:16:32 [0.15ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 53 - 2025-04-03 14:16:32 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 54 - 2025-04-03 14:16:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 55 - 2025-04-03 14:16:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 56 - 2025-04-03 14:16:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 57 - 2025-04-03 14:16:32 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 58 - 2025-04-03 14:16:32 [0.42ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 463360 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 59 - 2025-04-03 14:16:32 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 60 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 61 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 62 - 2025-04-03 14:16:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 63 - 2025-04-03 14:16:32 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 123912 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 64 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 65 - 2025-04-03 14:16:32 [0.14ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 66 - 2025-04-03 14:16:32 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 67 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 68 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 69 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 70 - 2025-04-03 14:16:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 71 - 2025-04-03 14:16:32 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 123913 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 72 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 73 - 2025-04-03 14:16:32 [0.14ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 74 - 2025-04-03 14:16:32 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 75 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 76 - 2025-04-03 14:16:32 [0.12ms] */
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/m/vehicle/73717
   Query 77 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 78 - 2025-04-03 14:16:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 79 - 2025-04-03 14:16:32 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 387759 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 80 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 81 - 2025-04-03 14:16:32 [0.14ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 82 - 2025-04-03 14:16:32 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 83 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 84 - 2025-04-03 14:16:32 [0.12ms] */
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/m/vehicle/73717
   Query 85 - 2025-04-03 14:16:32 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 86 - 2025-04-03 14:16:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 87 - 2025-04-03 14:16:32 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 387760 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 88 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 89 - 2025-04-03 14:16:32 [0.14ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 90 - 2025-04-03 14:16:32 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 91 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 92 - 2025-04-03 14:16:32 [0.12ms] */
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/m/vehicle/73717
   Query 93 - 2025-04-03 14:16:32 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 94 - 2025-04-03 14:16:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 95 - 2025-04-03 14:16:32 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 387761 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 96 - 2025-04-03 14:16:32 [0.15ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 97 - 2025-04-03 14:16:32 [0.14ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 98 - 2025-04-03 14:16:32 [0.14ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 99 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 100 - 2025-04-03 14:16:32 [0.12ms] */
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/m/vehicle/73717
   Query 101 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 102 - 2025-04-03 14:16:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 103 - 2025-04-03 14:16:32 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 387762 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 104 - 2025-04-03 14:16:32 [0.38ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 105 - 2025-04-03 14:16:32 [0.64ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 106 - 2025-04-03 14:16:32 [0.16ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 107 - 2025-04-03 14:16:32 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 108 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 109 - 2025-04-03 14:16:32 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 110 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 111 - 2025-04-03 14:16:32 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 524305 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 112 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 113 - 2025-04-03 14:16:32 [0.18ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 114 - 2025-04-03 14:16:32 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 115 - 2025-04-03 14:16:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 116 - 2025-04-03 14:16:32 [8.1ms] */
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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 117 - 2025-04-03 14:16:32 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 118 - 2025-04-03 14:16:32 [0.15ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 119 - 2025-04-03 14:16:32 [6.4ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 120 - 2025-04-03 14:16:32 [7.69ms] */
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/m/vehicle/73717
   Query 121 - 2025-04-03 14:16:32 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 122 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 123 - 2025-04-03 14:16:32 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 524306 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 124 - 2025-04-03 14:16:32 [0.14ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 125 - 2025-04-03 14:16:32 [0.15ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 126 - 2025-04-03 14:16:32 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 127 - 2025-04-03 14:16:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 128 - 2025-04-03 14:16:32 [0.13ms] */
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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 129 - 2025-04-03 14:16:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 130 - 2025-04-03 14:16:32 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 131 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 132 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 133 - 2025-04-03 14:16:32 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 134 - 2025-04-03 14:16:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 135 - 2025-04-03 14:16:32 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 524307 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 136 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 137 - 2025-04-03 14:16:32 [0.14ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 138 - 2025-04-03 14:16:32 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 139 - 2025-04-03 14:16:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 140 - 2025-04-03 14:16:32 [0.13ms] */
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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 141 - 2025-04-03 14:16:32 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 142 - 2025-04-03 14:16:32 [0.13ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 143 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 144 - 2025-04-03 14:16:32 [0.12ms] */
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/m/vehicle/73717
   Query 145 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 146 - 2025-04-03 14:16:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 147 - 2025-04-03 14:16:32 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 524308 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 148 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 149 - 2025-04-03 14:16:32 [0.14ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 150 - 2025-04-03 14:16:32 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 151 - 2025-04-03 14:16:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 152 - 2025-04-03 14:16:32 [0.13ms] */
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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 153 - 2025-04-03 14:16:32 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 154 - 2025-04-03 14:16:32 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 155 - 2025-04-03 14:16:32 [3.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 156 - 2025-04-03 14:16:32 [0.17ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 5 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 157 - 2025-04-03 14:16:32 [0.15ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 5 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 158 - 2025-04-03 14:16:32 [16.16ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`vehicle_id` = 73717 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 159 - 2025-04-03 14:16:32 [0.68ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`vehicle_id` = 73717 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 160 - 2025-04-03 14:16:32 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 161 - 2025-04-03 14:16:32 [3.68ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 162 - 2025-04-03 14:16:32 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 163 - 2025-04-03 14:16:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 164 - 2025-04-03 14:16:32 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 165 - 2025-04-03 14:16:32 [0.14ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 166 - 2025-04-03 14:16:32 [0.15ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 167 - 2025-04-03 14:16:32 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 168 - 2025-04-03 14:16:32 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 169 - 2025-04-03 14:16:32 [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/m/vehicle/73717
   Query 170 - 2025-04-03 14:16:32 [1.21ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 524305 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 171 - 2025-04-03 14:16:32 [0.14ms] */
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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 172 - 2025-04-03 14:16:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 173 - 2025-04-03 14:16:32 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 174 - 2025-04-03 14:16:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 175 - 2025-04-03 14:16:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 176 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 177 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 178 - 2025-04-03 14:16:32 [0.15ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 179 - 2025-04-03 14:16:32 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 180 - 2025-04-03 14:16:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 181 - 2025-04-03 14:16:32 [0.12ms] */
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/m/vehicle/73717
   Query 182 - 2025-04-03 14:16:32 [0.39ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 524306 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 183 - 2025-04-03 14:16:32 [0.16ms] */
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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 184 - 2025-04-03 14:16:32 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 185 - 2025-04-03 14:16:32 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 186 - 2025-04-03 14:16:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 187 - 2025-04-03 14:16:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 188 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 189 - 2025-04-03 14:16:32 [0.13ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 190 - 2025-04-03 14:16:32 [0.14ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 191 - 2025-04-03 14:16:32 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 192 - 2025-04-03 14:16:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 193 - 2025-04-03 14:16:32 [0.12ms] */
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/m/vehicle/73717
   Query 194 - 2025-04-03 14:16:32 [0.39ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 524307 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 195 - 2025-04-03 14:16:32 [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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 196 - 2025-04-03 14:16:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 197 - 2025-04-03 14:16:32 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 198 - 2025-04-03 14:16:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 199 - 2025-04-03 14:16:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 200 - 2025-04-03 14:16:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 201 - 2025-04-03 14:16:32 [0.14ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 202 - 2025-04-03 14:16:33 [12.06ms] */
select * from `person` where `person`.`id` = 48712 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 203 - 2025-04-03 14:16:33 [0.68ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 30026 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 204 - 2025-04-03 14:16:33 [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/m/vehicle/73717
   Query 205 - 2025-04-03 14:16:33 [0.14ms] */
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/m/vehicle/73717
   Query 206 - 2025-04-03 14:16:33 [6.44ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 524308 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 207 - 2025-04-03 14:16:33 [0.16ms] */
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): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 208 - 2025-04-03 14:16:33 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 209 - 2025-04-03 14:16:33 [0.23ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 73717 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 210 - 2025-04-03 14:16:33 [3.42ms] */
select * from `title_reprint_history` where `vehicle_id` = 73717 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 211 - 2025-04-03 14:16:33 [0.3ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/73717
   Query 212 - 2025-04-03 14:16:33 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=73717&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-04-03 14:16:34 [1.41ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=73717&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-04-03 14:16:34 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=73717&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-04-03 14:16:34 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=73717&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-04-03 14:16:34 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=73717&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-04-03 14:16:34 [8.79ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 73717 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-04-03 14:16:42 [2.66ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-04-03 14:16:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-04-03 14:16:42 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-04-03 14:16:42 [0.17ms] */
select * from `users` where `id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-04-03 14:16:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-04-03 14:16:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-04-03 14:16:42 [1.58ms] */
select `vehicle`.`id` as `vehicle_id`, `party`.`id` as `party_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_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` = 'IE179' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 8 - 2025-04-03 14:16:42 [0.25ms] */
select * from `party` where `party`.`id` = 48712 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 9 - 2025-04-03 14:16:42 [0.27ms] */
select * from `vehicle` where `id` = 73717 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 10 - 2025-04-03 14:16:42 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 73717 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-04-03 14:16:44 [1.32ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-04-03 14:16:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-04-03 14:16:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-04-03 14:16:44 [3.32ms] */
select * from `users` where `id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-04-03 14:16:44 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-04-03 14:16:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-04-03 14:16:44 [0.4ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-04-03 14:16:44 [0.28ms] */
select * from `vehicle` where `id` = 73717 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-04-03 14:16:44 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 73717 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-04-03 14:16:44 [1.2ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_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` = 73717 and `vehicle_tax`.`exempt` = 'N' 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-04-03 14:16:45 [1.38ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-04-03 14:16:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-04-03 14:16:45 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-04-03 14:16:45 [0.17ms] */
select * from `users` where `id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-04-03 14:16:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-04-03 14:16:45 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-04-03 14:16:45 [0.15ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-04-03 14:16:46 [1.34ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-04-03 14:16:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-04-03 14:16:46 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-04-03 14:16:46 [0.16ms] */
select * from `users` where `id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-04-03 14:16:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-04-03 14:16:46 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-04-03 14:16:46 [0.21ms] */
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-04-03 14:16:59 [1.37ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-04-03 14:16:59 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-04-03 14:16:59 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-04-03 14:16:59 [0.18ms] */
select * from `users` where `id` = 159 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-04-03 14:16:59 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e696e10099cbcfc2eea84f2c70065cf88f463a98b24b7aee5ca0764b1e6178876ec646bce806dbbf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-04-03 14:16:59 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-04-03 14:16:59 [0.18ms] */
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-04-03 14:16:59 [0.46ms] */
select `transaction_id` from `vehicle_tax` where `id` in (414447, 414448) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-04-03 14:16:59 [0.23ms] */
select `parent_id` from `transaction` where `id` in (524305, 524306) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-04-03 14:16:59 [0.17ms] */
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-04-03 14:16:59 [0.23ms] */
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-04-03 14:16:59 [0.28ms] */
select * from `transaction` where `id` in (524305, 524306) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-04-03 14:16:59 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 499973 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-04-03 14:16:59 [7.49ms] */
update `invoice` set `updated_by` = 159, `invoice`.`updated_at` = '2025-04-03 14:16:59' where `id` = 499973;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-04-03 14:16:59 [0.33ms] */
select * from `invoice` where `id` = 499973 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-04-03 14:16:59 [3.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 159, 'App\Models\User', 499973, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-04-03 14:16:59 [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 18 - 2025-04-03 14:16:59 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-04-03 14:16:59 [2.83ms] */
update `transaction` set `updated_by` = 159, `transaction`.`updated_at` = '2025-04-03 14:16:59' where `id` = 524305;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-04-03 14:16:59 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 499974 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-04-03 14:16:59 [2.78ms] */
update `invoice` set `updated_by` = 159, `invoice`.`updated_at` = '2025-04-03 14:16:59' where `id` = 499974;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-04-03 14:16:59 [0.22ms] */
select * from `invoice` where `id` = 499974 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-04-03 14:16:59 [9.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":[]}', 159, 'App\Models\User', 499974, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-04-03 14:16:59 [0.31ms] */
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-04-03 14:16:59 [0.28ms] */
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-04-03 14:16:59 [2.93ms] */
update `transaction` set `updated_by` = 159, `transaction`.`updated_at` = '2025-04-03 14:16:59' where `id` = 524306;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2025-04-03 14:16:59 [2.65ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-04-03 14:16:59' where `id` in (414447, 414448) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-04-03 14:16:59 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-04-03 14:16:59 [0.15ms] */
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 30 - 2025-04-03 14:16:59 [0.26ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 73717 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-04-03 14:16:59 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 73717 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 32 - 2025-04-03 14:16:59 [0.22ms] */
select * from `party` where `party`.`id` = 48712 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 33 - 2025-04-03 14:16:59 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 73717 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 34 - 2025-04-03 14:16:59 [0.18ms] */
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 35 - 2025-04-03 14:16:59 [0.14ms] */
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 36 - 2025-04-03 14:16:59 [0.65ms] */
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 (48712, 2, 73717, null, 2, 6, null, 37, 37, 'OPEN', 27, null, 159, 159, '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-04-03 14:16:59 [0.52ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (574389, 'INITIATED', '2025-04-03 14:16:59', 5, 159, 159, 159, '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-04-03 14:16:59 [0.19ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 30026, `transaction`.`updated_at` = '2025-04-03 14:16:59' where `id` = 574389;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-04-03 14:16:59 [0.46ms] */
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 (414447, 414448) 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 40 - 2025-04-03 14:16:59 [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 (414447, 414448) 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 41 - 2025-04-03 14:16:59 [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 (574389, 48712, '2025-04-03 14:16:59', '2025-04-03 14:16:59', 109.00, 0, 109.00, 109.00, 0, 'OPEN', 'N', 'Y', 159, 159, '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-04-03 14:16:59 [0.19ms] */
select * from `invoice` where `id` = 550055 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-04-03 14:16:59 [0.21ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":574389,"party_id":48712,"invoice_amount":"109.00","invoice_date":"2025-04-03 14:16:59","due_date":"2025-04-03 14:16:59","outstanding_balance":"109.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"109.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 159, 'App\Models\User', 550055, 'Modules\Transaction\Entities\Invoice', 'created', '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-04-03 14:16:59 [0.27ms] */
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 (414447, 414448) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-04-03 14:16:59 [0.26ms] */
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 Quarterly Tax Fees', 2, 71.00, 109, 550055, 159, 159, '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-04-03 14:16:59 [0.19ms] */
select * from `invoice_item` where `id` = 999295 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-04-03 14:16:59 [0.21ms] */
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 Quarterly Tax Fees","unit_price":"71.00","quantity":2,"total_price":"109.00","invoice_id":550055}}', 159, 'App\Models\User', 999295, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-04-03 14:16:59 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-334-550055617', `invoice`.`updated_at` = '2025-04-03 14:16:59' where `id` = 550055;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2025-04-03 14:16:59 [0.21ms] */
select * from `invoice` where `id` = 550055 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-04-03 14:16:59 [0.77ms] */
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-334-550055617"},"old":{"invoice_number":null}}', 159, 'App\Models\User', 550055, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-04-03 14:16:59 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 414447 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-04-03 14:16:59 [0.17ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 159, `vehicle_tax`.`updated_at` = '2025-04-03 14:16:59' where `id` = 414447;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-04-03 14:16:59 [0.17ms] */
select * from `vehicle_tax` where `id` = 414447 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-04-03 14:16:59 [0.29ms] */
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"}}', 159, 'App\Models\User', 414447, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-04-03 14:16:59 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 524305 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 56 - 2025-04-03 14:16:59 [0.38ms] */
update `transaction` set `tax_collection_point_id` = 27, `parent_id` = 574389, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-03 14:16:59' where `id` = 524305;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2025-04-03 14:16:59 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 499973 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 58 - 2025-04-03 14:16:59 [0.64ms] */
update `invoice` set `parent_id` = 550055, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-03 14:16:59' where `id` = 499973;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-04-03 14:16:59 [0.18ms] */
select * from `invoice` where `id` = 499973 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-04-03 14:16:59 [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":550055,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 159, 'App\Models\User', 499973, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-04-03 14:16:59 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 524305 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-04-03 14:16:59 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-04-03 14:16:59 [0.18ms] */
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 64 - 2025-04-03 14:16:59 [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 65 - 2025-04-03 14:16:59 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta_temp' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2025-04-03 14:16:59 [0.18ms] */
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 67 - 2025-04-03 14:16:59 [0.24ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (524305, 'APPROVED', '2025-04-03 14:16:59', 5, 159, null, 159, 159, '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-04-03 14:16:59 [0.27ms] */
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 69 - 2025-04-03 14:16:59 [0.28ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-03 14:16:59' where `id` = 524305;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 70 - 2025-04-03 14:16:59 [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 71 - 2025-04-03 14:16:59 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 499973 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 72 - 2025-04-03 14:16:59 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 414448 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-04-03 14:16:59 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 159, `vehicle_tax`.`updated_at` = '2025-04-03 14:16:59' where `id` = 414448;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-04-03 14:16:59 [0.17ms] */
select * from `vehicle_tax` where `id` = 414448 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 75 - 2025-04-03 14:16:59 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 159, 'App\Models\User', 414448, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-04-03 14:16:59 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 524306 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-04-03 14:16:59 [0.27ms] */
update `transaction` set `tax_collection_point_id` = 27, `parent_id` = 574389, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-04-03 14:16:59' where `id` = 524306;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-04-03 14:16:59 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 499974 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-04-03 14:16:59 [0.16ms] */
update `invoice` set `parent_id` = 550055, `grouped` = 'Y', `invoice`.`updated_at` = '2025-04-03 14:16:59' where `id` = 499974;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-04-03 14:16:59 [0.26ms] */
select * from `invoice` where `id` = 499974 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-04-03 14:16:59 [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":{"parent_id":550055,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 159, 'App\Models\User', 499974, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2025-04-03 14:16:59 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 524306 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2025-04-03 14:16:59 [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/make_payment
   Query 84 - 2025-04-03 14:16:59 [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-04-03 14:16:59 [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 86 - 2025-04-03 14:16:59 [0.17ms] */
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 87 - 2025-04-03 14:16:59 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (524306, 'APPROVED', '2025-04-03 14:16:59', 5, 159, null, 159, 159, '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2025-04-03 14:16:59 [0.21ms] */
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 89 - 2025-04-03 14:16:59 [0.27ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-03 14:16:59' where `id` = 524306;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 90 - 2025-04-03 14:16:59 [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/make_payment
   Query 91 - 2025-04-03 14:16:59 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 499974 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 92 - 2025-04-03 14:16:59 [0.24ms] */
update `transaction` set `invoice_id` = 550055, `transaction`.`updated_at` = '2025-04-03 14:16:59' where `id` = 574389;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 93 - 2025-04-03 14:16:59 [0.31ms] */
update `vehicle` set `updated_by` = 159, `vehicle`.`updated_at` = '2025-04-03 14:16:59' where `id` = 73717;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 94 - 2025-04-03 14:16:59 [0.19ms] */
select * from `vehicle` where `id` = 73717 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 95 - 2025-04-03 14:16:59 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 159, 'App\Models\User', 73717, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 96 - 2025-04-03 14:16:59 [6.29ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":5}', '{"updated_by":159}', 'updated', 73717, 'Modules\Vehicle\Entities\Vehicle', 159, 'App\Models\User', null, '49.47.216.65', 'Dart/3.4 (dart:io)', 'https://testtra.puntlandgov.org/api/make_payment', '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 97 - 2025-04-03 14:16:59 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 574389 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 98 - 2025-04-03 14:16:59 [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 99 - 2025-04-03 14:16:59 [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 100 - 2025-04-03 14:16:59 [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 101 - 2025-04-03 14:16:59 [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 (574389, 'APPROVED', '2025-04-03 14:16:59', 5, 159, null, 159, 159, '2025-04-03 14:16:59', '2025-04-03 14:16:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 102 - 2025-04-03 14:16:59 [0.21ms] */
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 103 - 2025-04-03 14:16:59 [0.23ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-04-03 14:16:59' where `id` = 574389;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 104 - 2025-04-03 14:16:59 [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/make_payment
   Query 105 - 2025-04-03 14:16:59 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 550055 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 106 - 2025-04-03 14:16:59 [0.26ms] */
select `transaction_id` from `vehicle_tax` where `id` in (414447, 414448) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 107 - 2025-04-03 14:16:59 [5.64ms] */
select * from `invoice` where `transaction_id` = 524305 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 108 - 2025-04-03 14:16:59 [0.48ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 499973 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 109 - 2025-04-03 14:16:59 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 524305 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 110 - 2025-04-03 14:16:59 [3.06ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-04-03 14:16:59' where `id` = 524305;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 111 - 2025-04-03 14:16:59 [0.26ms] */
select * from `invoice` where `transaction_id` = 524306 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 112 - 2025-04-03 14:16:59 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 499974 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 113 - 2025-04-03 14:16:59 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 524306 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 114 - 2025-04-03 14:16:59 [2.71ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-04-03 14:16:59' where `id` = 524306;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 115 - 2025-04-03 14:16:59 [0.16ms] */
