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/mytrn
   Query 46 - 2025-01-01 11:56:20 [0.14ms] */
select * from `party` where `party`.`id` = 45621 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 47 - 2025-01-01 11:56:20 [0.15ms] */
select * from `person` where `person`.`id` = 45621 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 48 - 2025-01-01 11:56:20 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 49 - 2025-01-01 11:56:20 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 50 - 2025-01-01 11:56:20 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 51 - 2025-01-01 11:56:20 [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/mytrn
   Query 52 - 2025-01-01 11:56:20 [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/mytrn
   Query 53 - 2025-01-01 11:56:20 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 54 - 2025-01-01 11:56:20 [0.22ms] */
select * from `party` where `party`.`id` = 25313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 55 - 2025-01-01 11:56:20 [0.24ms] */
select * from `person` where `person`.`id` = 25313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 56 - 2025-01-01 11:56:20 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 89954 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 57 - 2025-01-01 11:56:20 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 58 - 2025-01-01 11:56:20 [0.13ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 59 - 2025-01-01 11:56:20 [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/mytrn
   Query 60 - 2025-01-01 11:56:20 [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/mytrn
   Query 61 - 2025-01-01 11:56:20 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 62 - 2025-01-01 11:56:20 [0.26ms] */
select * from `party` where `party`.`id` = 18193 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 63 - 2025-01-01 11:56:20 [0.28ms] */
select * from `person` where `person`.`id` = 18193 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 64 - 2025-01-01 11:56:20 [0.45ms] */
select * from `vehicle` where `vehicle`.`id` = 89953 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 65 - 2025-01-01 11:56:20 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 66 - 2025-01-01 11:56:20 [0.2ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 67 - 2025-01-01 11:56:20 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 68 - 2025-01-01 11:56:20 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 69 - 2025-01-01 11:56:20 [0.2ms] */
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/mytrn
   Query 70 - 2025-01-01 11:56:20 [0.33ms] */
select * from `party` where `party`.`id` = 6900 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 71 - 2025-01-01 11:56:20 [0.39ms] */
select * from `person` where `person`.`id` = 6900 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 72 - 2025-01-01 11:56:20 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 89951 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 73 - 2025-01-01 11:56:20 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 74 - 2025-01-01 11:56:20 [0.21ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 75 - 2025-01-01 11:56:20 [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): GET https://testtra.puntlandgov.org/m/mytrn
   Query 76 - 2025-01-01 11:56:20 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 77 - 2025-01-01 11:56:20 [0.27ms] */
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/mytrn
   Query 78 - 2025-01-01 11:56:20 [0.46ms] */
select * from `party` where `party`.`id` = 45768 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 79 - 2025-01-01 11:56:20 [0.47ms] */
select * from `person` where `person`.`id` = 45768 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 80 - 2025-01-01 11:56:20 [0.4ms] */
select * from `vehicle` where `vehicle`.`id` = 89949 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 81 - 2025-01-01 11:56:20 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 82 - 2025-01-01 11:56:20 [0.26ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 83 - 2025-01-01 11:56:20 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 84 - 2025-01-01 11:56:20 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 85 - 2025-01-01 11:56:20 [0.21ms] */
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/mytrn
   Query 86 - 2025-01-01 11:56:20 [0.39ms] */
select * from `party` where `party`.`id` = 14882 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 87 - 2025-01-01 11:56:20 [0.4ms] */
select * from `person` where `person`.`id` = 14882 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 88 - 2025-01-01 11:56:20 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 89947 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 89 - 2025-01-01 11:56:20 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 90 - 2025-01-01 11:56:20 [0.2ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 91 - 2025-01-01 11:56:20 [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/mytrn
   Query 92 - 2025-01-01 11:56:20 [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/105100
   Query 1 - 2025-01-01 11:56:25 [1.36ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 2 - 2025-01-01 11:56:25 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 3 - 2025-01-01 11:56:25 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 4 - 2025-01-01 11:56:25 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 5 - 2025-01-01 11:56:25 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 105100 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 6 - 2025-01-01 11:56:25 [0.36ms] */
select * from `transaction_workflow` where `transaction_id` = 105100 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 7 - 2025-01-01 11:56:25 [0.39ms] */
select * from `invoice` where `transaction_id` = 105100 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 8 - 2025-01-01 11:56:25 [0.23ms] */
select * from `invoice_payment` where `invoice_id` = 104660;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 9 - 2025-01-01 11:56:25 [0.29ms] */
select * from `party_vehicle_purchase` where `transaction_id` = 105100 and `party_vehicle_purchase`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 10 - 2025-01-01 11:56:25 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 90016 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 11 - 2025-01-01 11:56:25 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98824 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 12 - 2025-01-01 11:56:25 [0.81ms] */
select * from `driver_license` where `party_id` = 9998 and `transaction_id` = 105100 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 13 - 2025-01-01 11:56:25 [0.13ms] */
select * from `driver_license` where `driver_license`.`id` is null and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 14 - 2025-01-01 11:56:25 [0.34ms] */
select * from `driver_license` where `party_id` = 9998 and `driver_license`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 15 - 2025-01-01 11:56:25 [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/105100
   Query 16 - 2025-01-01 11:56:25 [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/105100
   Query 17 - 2025-01-01 11:56:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 18 - 2025-01-01 11:56:25 [121.37ms] */
select * from `transaction` where `parent_id` = 105100 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 19 - 2025-01-01 11:56:25 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 90016 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 20 - 2025-01-01 11:56:25 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 21 - 2025-01-01 11:56:25 [1.24ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 1 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 22 - 2025-01-01 11:56:25 [0.53ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 23 - 2025-01-01 11:56:25 [0.58ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 24 - 2025-01-01 11:56:25 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 25 - 2025-01-01 11:56:25 [0.54ms] */
(select * from `service_fee` where `sub_category_id` = 4 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 4 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 26 - 2025-01-01 11:56:25 [1.69ms] */
select * from `transaction` where `service_id` = 7 and `vehicle_id` = 90016 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 27 - 2025-01-01 11:56:25 [1.47ms] */
select * from `vehicle_tax` where `vehicle_id` = 90016 and `vehicle_tax`.`deleted_at` is null order by `created_at` asc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 28 - 2025-01-01 11:56:25 [0.64ms] */
select * from `transaction` where `transaction`.`id` = 103160 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 29 - 2025-01-01 11:56:25 [0.88ms] */
select * from `invoice` where `id` = 102722 and `migration_id` is null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 30 - 2025-01-01 11:56:25 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 103160 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 31 - 2025-01-01 11:56:25 [0.82ms] */
select * from `vehicle_tax` where `vehicle_tax`.`transaction_id` = 103160 and `vehicle_tax`.`transaction_id` is not null and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 32 - 2025-01-01 11:56:25 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 33 - 2025-01-01 11:56:25 [0.49ms] */
select * from `invoice` where `invoice`.`id` = 102722 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 34 - 2025-01-01 11:56:25 [0.48ms] */
select * from `transaction` where `transaction`.`id` = 103161 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 35 - 2025-01-01 11:56:25 [0.49ms] */
select * from `vehicle_tax` where `vehicle_tax`.`transaction_id` = 103161 and `vehicle_tax`.`transaction_id` is not null and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 36 - 2025-01-01 11:56:25 [0.16ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 37 - 2025-01-01 11:56:25 [0.47ms] */
select * from `invoice` where `invoice`.`id` = 102723 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 38 - 2025-01-01 11:56:25 [0.46ms] */
select * from `transaction` where `transaction`.`id` = 103162 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 39 - 2025-01-01 11:56:25 [0.65ms] */
select * from `vehicle_tax` where `vehicle_tax`.`transaction_id` = 103162 and `vehicle_tax`.`transaction_id` is not null and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 40 - 2025-01-01 11:56:25 [0.2ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 41 - 2025-01-01 11:56:25 [0.51ms] */
select * from `invoice` where `invoice`.`id` = 102724 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 42 - 2025-01-01 11:56:25 [0.48ms] */
select * from `transaction` where `transaction`.`id` = 103163 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 43 - 2025-01-01 11:56:25 [0.49ms] */
select * from `vehicle_tax` where `vehicle_tax`.`transaction_id` = 103163 and `vehicle_tax`.`transaction_id` is not null and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 44 - 2025-01-01 11:56:25 [0.19ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 45 - 2025-01-01 11:56:25 [0.51ms] */
select * from `invoice` where `invoice`.`id` = 102725 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 46 - 2025-01-01 11:56:25 [0.76ms] */
select * from `transaction` where `transaction`.`id` = 103164 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 47 - 2025-01-01 11:56:25 [0.61ms] */
select * from `vehicle_tax` where `vehicle_tax`.`transaction_id` = 103164 and `vehicle_tax`.`transaction_id` is not null and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 48 - 2025-01-01 11:56:25 [0.19ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 49 - 2025-01-01 11:56:25 [0.58ms] */
select * from `invoice` where `invoice`.`id` = 102726 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 50 - 2025-01-01 11:56:25 [0.18ms] */
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/105100
   Query 51 - 2025-01-01 11:56:25 [0.18ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 52 - 2025-01-01 11:56:25 [3.11ms] */
select * from `workflow` where `workflow`.`id` = 2 and `workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 53 - 2025-01-01 11:56:25 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 105100 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 54 - 2025-01-01 11:56:25 [128.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 `transaction`.`parent_id` = 105100 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 55 - 2025-01-01 11:56:25 [32.93ms] */
select sum(`invoice`.`total_invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 105100 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 56 - 2025-01-01 11:56:25 [0.25ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 57 - 2025-01-01 11:56:25 [0.3ms] */
select * from `transaction` where `transaction`.`id` = 103160 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 58 - 2025-01-01 11:56:25 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102722 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 59 - 2025-01-01 11:56:25 [0.14ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 60 - 2025-01-01 11:56:25 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 103161 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 61 - 2025-01-01 11:56:25 [0.12ms] */
select * from `invoice` where `invoice`.`id` = 102723 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 62 - 2025-01-01 11:56:25 [0.11ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 63 - 2025-01-01 11:56:25 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 103162 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 64 - 2025-01-01 11:56:25 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 102724 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 65 - 2025-01-01 11:56:25 [0.24ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 66 - 2025-01-01 11:56:25 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 103163 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 67 - 2025-01-01 11:56:25 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 102725 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 68 - 2025-01-01 11:56:25 [0.26ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 69 - 2025-01-01 11:56:25 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 103164 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 70 - 2025-01-01 11:56:25 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 102726 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 71 - 2025-01-01 11:56:25 [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): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 72 - 2025-01-01 11:56:25 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 73 - 2025-01-01 11:56:25 [0.51ms] */
select * from `transaction_workflow` where `transaction_id` = 105100 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 74 - 2025-01-01 11:56:25 [44.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 75 - 2025-01-01 11:56:25 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 90016 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 76 - 2025-01-01 11:56:25 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 90016 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 77 - 2025-01-01 11:56:25 [0.14ms] */
select * from `model` where `model`.`id` = 3103 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 78 - 2025-01-01 11:56:25 [0.13ms] */
select * from `make` where `make`.`id` = 751 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 79 - 2025-01-01 11:56:25 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 80 - 2025-01-01 11:56:25 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 90016 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 81 - 2025-01-01 11:56:25 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 82 - 2025-01-01 11:56:25 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 11 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 83 - 2025-01-01 11:56:25 [0.18ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 14 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 84 - 2025-01-01 11:56:25 [0.22ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 85 - 2025-01-01 11:56:25 [0.91ms] */
select * from `transaction_workflow` where `transaction_id` = 105100 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 86 - 2025-01-01 11:56:25 [0.17ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 87 - 2025-01-01 11:56:25 [0.31ms] */
select * from `party` where `party`.`id` = 9998 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 88 - 2025-01-01 11:56:25 [0.22ms] */
select * from `party` where `party`.`id` = 9998 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 89 - 2025-01-01 11:56:25 [0.28ms] */
select * from `person` where `person`.`id` = 9998 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 90 - 2025-01-01 11:56:25 [0.26ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 9998 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 91 - 2025-01-01 11:56:25 [0.22ms] */
select * from `address` where `address`.`id` = 9998 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 92 - 2025-01-01 11:56:25 [0.86ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 93 - 2025-01-01 11:56:25 [0.19ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 94 - 2025-01-01 11:56:25 [0.16ms] */
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/105100
   Query 95 - 2025-01-01 11:56:25 [0.22ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 96 - 2025-01-01 11:56:25 [0.21ms] */
select * from `transaction_workflow` where `transaction_id` = 105100 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 97 - 2025-01-01 11:56:25 [0.14ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 98 - 2025-01-01 11:56:25 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98824 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 99 - 2025-01-01 11:56:25 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 100 - 2025-01-01 11:56:25 [0.37ms] */
select * from `district` where `district`.`id` = 5 and `district`.`id` is not null and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 101 - 2025-01-01 11:56:25 [0.21ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 102 - 2025-01-01 11:56:25 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 105100 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 103 - 2025-01-01 11:56:25 [0.77ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 104 - 2025-01-01 11:56:25 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 105 - 2025-01-01 11:56:25 [0.15ms] */
select * from `users` where `users`.`id` = 5 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 106 - 2025-01-01 11:56:25 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 107 - 2025-01-01 11:56:25 [0.18ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `workflow_definition`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 108 - 2025-01-01 11:56:25 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 109 - 2025-01-01 11:56:25 [0.15ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 110 - 2025-01-01 11:56:25 [0.17ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 111 - 2025-01-01 11:56:25 [0.14ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 112 - 2025-01-01 11:56:25 [0.26ms] */
(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/105100
   Query 113 - 2025-01-01 11:56:25 [0.17ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 114 - 2025-01-01 11:56:25 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/105100
   Query 115 - 2025-01-01 11:56:25 [0.17ms] */
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-01-01 12:18:00 [1.61ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 12:18:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 12:18:00 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 12:18:00 [0.62ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-01 12:18:00 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 12:18:00 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 12:18:00 [1.09ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'EA1600' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 12:18:09 [2.69ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 12:18:09 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 12:18:09 [1.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 12:18:09 [0.46ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-01 12:18:09 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 12:18:09 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 12:18:09 [4.44ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'EA6100' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-01 12:18:10 [2.2ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 12:18:10 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 12:18:10 [0.47ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-01 12:18:10 [0.36ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-01 12:18:10 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 12:18:10 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 12:18:11 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` = 29 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 12:18:11 [0.35ms] */
select * from `vehicle` where `id` = 29 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-01 12:18:11 [0.45ms] */
select * from `party_vehicle` where `vehicle_id` = 29 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-01 12:18:11 [4.32ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 29 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-01 12:18:12 [1.82ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 12:18:12 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 12:18:12 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-01 12:18:12 [0.24ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-01 12:18:12 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 12:18:12 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 12:18:12 [0.76ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 12:18:13 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 12:18:13 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 12:18:13 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 12:18:13 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 12:18:13 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 12:18:13 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 12:18:13 [0.57ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 12:18:16 [1.98ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 12:18:16 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 12:18:16 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 12:18:16 [0.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 12:18:16 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 12:18:16 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 12:18:16 [1.02ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 12:18:16 [0.87ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100523, 100524, 100525, 100526, 100527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 12:18:16 [0.93ms] */
select `parent_id` from `transaction` where `id` in (104188, 104189, 104190, 104191, 104192) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 12:18:16 [61.59ms] */
select `id` from `transaction` where `parent_id` in (105098) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 12:18:16 [0.49ms] */
select * from `transaction` where `id` in (105098) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 12:18:16 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100523, 100524, 100525, 100526, 100527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 12:18:16 [0.41ms] */
select * from `invoice` where `transaction_id` = 104188 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 12:18:16 [0.67ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103750 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 12:18:16 [0.24ms] */
select * from `invoice` where `transaction_id` = 104189 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 12:18:16 [0.22ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103751 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 12:18:16 [0.21ms] */
select * from `invoice` where `transaction_id` = 104190 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 12:18:16 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103752 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 12:18:16 [0.21ms] */
select * from `invoice` where `transaction_id` = 104191 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 12:18:16 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103753 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 12:18:16 [0.2ms] */
select * from `invoice` where `transaction_id` = 104192 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-01 12:18:16 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103754 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-01 12:18:16 [0.22ms] */
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 24 - 2025-01-01 12:18:16 [0.18ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 12:18:17 [2.11ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 12:18:17 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 12:18:17 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 12:18:17 [0.23ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 12:18:17 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 12:18:17 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 12:18:17 [0.22ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-01 12:24:04 [1.71ms] */
select * from `users` where `email` = 'mukhtaar.maxamed@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-01-01 12:24:04 [0.28ms] */
select * from `users` where `id` = 111 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-01-01 12:24:05 [0.52ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 111 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-01-01 12:24:05 [15.25ms] */
update `userprofiles` set `last_ip` = '82.197.34.118', `login_count` = 95, `last_login` = '2025-01-01 12:24:05', `userprofiles`.`updated_at` = '2025-01-01 12:24:05' where `id` = 111;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-01 12:24:05 [0.36ms] */
select * from `users` where `email` = 'mukhtaar.maxamed@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-01-01 12:24:05 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-01-01 12:24:05 [0.36ms] */
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 (111) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-01-01 12:24:05 [0.29ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-01 12:24:05 [0.16ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-01 12:24:05 [0.23ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-01 12:24:05 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-01 12:24:05 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-01 12:24:05 [6.35ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('2e4cc513aa8c8bd719dabbe0908e923bc31c53b744c0346d5cfc9c6bd26a71d49021706544b4c142', 111, 3, '[]', 0, '2025-01-01 12:24:05', '2025-01-01 12:24:05', '2026-01-01 12:24:05');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-01 12:24:05 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '2e4cc513aa8c8bd719dabbe0908e923bc31c53b744c0346d5cfc9c6bd26a71d49021706544b4c142' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-01 12:24:05 [3.97ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '2e4cc513aa8c8bd719dabbe0908e923bc31c53b744c0346d5cfc9c6bd26a71d49021706544b4c142';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 1 - 2025-01-01 12:24:05 [2.2ms] */
select * from `oauth_access_tokens` where `id` = '2e4cc513aa8c8bd719dabbe0908e923bc31c53b744c0346d5cfc9c6bd26a71d49021706544b4c142' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 2 - 2025-01-01 12:24:05 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '2e4cc513aa8c8bd719dabbe0908e923bc31c53b744c0346d5cfc9c6bd26a71d49021706544b4c142' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 3 - 2025-01-01 12:24:05 [0.44ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 4 - 2025-01-01 12:24:05 [0.54ms] */
select * from `users` where `id` = 111 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 5 - 2025-01-01 12:24:05 [0.35ms] */
select * from `oauth_access_tokens` where `id` = '2e4cc513aa8c8bd719dabbe0908e923bc31c53b744c0346d5cfc9c6bd26a71d49021706544b4c142' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 6 - 2025-01-01 12:24:05 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 1 - 2025-01-01 12:24:05 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '2e4cc513aa8c8bd719dabbe0908e923bc31c53b744c0346d5cfc9c6bd26a71d49021706544b4c142' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 2 - 2025-01-01 12:24:05 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2e4cc513aa8c8bd719dabbe0908e923bc31c53b744c0346d5cfc9c6bd26a71d49021706544b4c142' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 3 - 2025-01-01 12:24:05 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 4 - 2025-01-01 12:24:05 [0.18ms] */
select * from `users` where `id` = 111 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 5 - 2025-01-01 12:24:05 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '2e4cc513aa8c8bd719dabbe0908e923bc31c53b744c0346d5cfc9c6bd26a71d49021706544b4c142' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 6 - 2025-01-01 12:24:05 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-01 12:27:25 [1.44ms] */
select * from `users` where `email` = 'mukhtaar.maxamed@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-01-01 12:27:25 [0.3ms] */
select * from `users` where `id` = 111 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-01-01 12:27:25 [0.58ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 111 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-01-01 12:27:25 [6.37ms] */
update `userprofiles` set `login_count` = 96, `last_login` = '2025-01-01 12:27:25', `userprofiles`.`updated_at` = '2025-01-01 12:27:25' where `id` = 111;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-01 12:27:25 [0.3ms] */
select * from `users` where `email` = 'mukhtaar.maxamed@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-01-01 12:27:25 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-01-01 12:27:25 [0.28ms] */
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 (111) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-01-01 12:27:25 [0.24ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-01 12:27:25 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-01 12:27:25 [0.21ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-01 12:27:25 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-01 12:27:25 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-01 12:27:25 [3.34ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4', 111, 3, '[]', 0, '2025-01-01 12:27:25', '2025-01-01 12:27:25', '2026-01-01 12:27:25');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-01 12:27:25 [0.52ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-01 12:27:25 [3.21ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 1 - 2025-01-01 12:27:25 [1.46ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 2 - 2025-01-01 12:27:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 3 - 2025-01-01 12:27:25 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 4 - 2025-01-01 12:27:25 [0.16ms] */
select * from `users` where `id` = 111 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 5 - 2025-01-01 12:27:25 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 6 - 2025-01-01 12:27:25 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 1 - 2025-01-01 12:27:26 [2.32ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 2 - 2025-01-01 12:27:26 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 3 - 2025-01-01 12:27:26 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 4 - 2025-01-01 12:27:26 [0.27ms] */
select * from `users` where `id` = 111 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 5 - 2025-01-01 12:27:26 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 6 - 2025-01-01 12:27:26 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-01 12:29:39 [1.65ms] */
select * from `users` where `email` = 'aali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 1 - 2025-01-01 12:29:40 [2.32ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 2 - 2025-01-01 12:29:40 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 3 - 2025-01-01 12:29:40 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 4 - 2025-01-01 12:29:40 [0.25ms] */
select * from `users` where `id` = 111 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 5 - 2025-01-01 12:29:40 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 6 - 2025-01-01 12:29:40 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 1 - 2025-01-01 12:29:40 [1.38ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 2 - 2025-01-01 12:29:40 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 3 - 2025-01-01 12:29:40 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 4 - 2025-01-01 12:29:40 [0.17ms] */
select * from `users` where `id` = 111 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 5 - 2025-01-01 12:29:40 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 6 - 2025-01-01 12:29:40 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-01 12:31:04 [1.46ms] */
select * from `users` where `email` = 'aali@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 1 - 2025-01-01 12:31:05 [1.33ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 2 - 2025-01-01 12:31:05 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 3 - 2025-01-01 12:31:05 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 4 - 2025-01-01 12:31:05 [0.16ms] */
select * from `users` where `id` = 111 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 5 - 2025-01-01 12:31:05 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyapiendpoint
   Query 6 - 2025-01-01 12:31:05 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 1 - 2025-01-01 12:31:06 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 2 - 2025-01-01 12:31:06 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 3 - 2025-01-01 12:31:06 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 4 - 2025-01-01 12:31:06 [0.16ms] */
select * from `users` where `id` = 111 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 5 - 2025-01-01 12:31:06 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'e1500c0affb954e541c3b48ec55d68d0b284c9295e5b1687d12b71225dfbd836b43a49784afdebc4' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/legacyuser/mukhtar
   Query 6 - 2025-01-01 12:31:06 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 12:43:27 [1.6ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 12:43:27 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 12:43:27 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 12:43:27 [0.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-01 12:43:27 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 12:43:27 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 12:43:27 [1.05ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'EA6100' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-01 12:43:28 [2.06ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 12:43:28 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 12:43:28 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-01 12:43:28 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-01 12:43:28 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 12:43:28 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 12:43:28 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` = 29 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 12:43:28 [0.36ms] */
select * from `vehicle` where `id` = 29 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-01 12:43:28 [0.42ms] */
select * from `party_vehicle` where `vehicle_id` = 29 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-01 12:43:28 [1.04ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 29 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-01 12:43:30 [2.35ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 12:43:30 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 12:43:30 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-01 12:43:30 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-01 12:43:30 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 12:43:30 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 12:43:30 [0.5ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 12:43:31 [2.31ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 12:43:31 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 12:43:31 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 12:43:31 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 12:43:31 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 12:43:31 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 12:43:31 [0.46ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 12:43:32 [2.04ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 12:43:32 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 12:43:32 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 12:43:32 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 12:43:32 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 12:43:32 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 12:43:32 [0.4ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 12:43:32 [0.4ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100523, 100524, 100525, 100526, 100527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 12:43:32 [0.2ms] */
select `parent_id` from `transaction` where `id` in (104188, 104189, 104190, 104191, 104192) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 12:43:32 [26.89ms] */
select `id` from `transaction` where `parent_id` in (105098) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 12:43:32 [0.34ms] */
select * from `transaction` where `id` in (105098) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 12:43:32 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100523, 100524, 100525, 100526, 100527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 12:43:32 [0.3ms] */
select * from `invoice` where `transaction_id` = 104188 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 12:43:32 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103750 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 12:43:32 [0.22ms] */
select * from `invoice` where `transaction_id` = 104189 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 12:43:32 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103751 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 12:43:32 [0.21ms] */
select * from `invoice` where `transaction_id` = 104190 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 12:43:32 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103752 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 12:43:32 [0.21ms] */
select * from `invoice` where `transaction_id` = 104191 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 12:43:32 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103753 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 12:43:32 [0.21ms] */
select * from `invoice` where `transaction_id` = 104192 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-01 12:43:32 [0.21ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103754 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-01 12:43:32 [0.23ms] */
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 24 - 2025-01-01 12:43:32 [0.18ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 12:43:33 [1.43ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 12:43:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 12:43:33 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 12:43:33 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 12:43:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 12:43:33 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 12:43:33 [0.16ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-01-01 12:51:31 [1.6ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-01 12:51:31 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-01 12:51:31 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-01-01 12:51:31 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-01-01 12:51:31 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-01 12:51:31 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-01-01 12:51:31 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-01 12:51:31 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-01 12:51:31 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-01-01 12:51:31 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-01-01 12:51:31 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-01 12:51:31 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-01-01 12:53:31 [2.66ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-01 12:53:31 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-01 12:53:31 [0.33ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-01-01 12:53:31 [0.37ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-01-01 12:53:31 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-01 12:53:31 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 12:54:11 [1.4ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 12:54:11 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 12:54:11 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 12:54:11 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 12:54:11 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 12:54:11 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 12:54:11 [17.25ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-1169997054.png', '2025-01-01 12:54:11', '2025-01-01 12:54:11');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 12:54:33 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 12:54:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 12:54:33 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 12:54:33 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-01 12:54:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 12:54:33 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 12:54:33 [1.17ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'EA6100' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-01 12:54:34 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 12:54:34 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 12:54:34 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-01 12:54:34 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-01 12:54:34 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 12:54:34 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 12:54:34 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 29 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 12:54:34 [0.27ms] */
select * from `vehicle` where `id` = 29 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-01 12:54:34 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 29 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-01 12:54:34 [0.85ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 29 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-01 12:54:36 [2.32ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 12:54:36 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 12:54:36 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-01 12:54:36 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-01 12:54:36 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 12:54:36 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 12:54:36 [0.81ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 12:54:36 [2.24ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 12:54:36 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 12:54:36 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 12:54:36 [0.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 12:54:36 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 12:54:36 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 12:54:36 [0.3ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 12:56:14 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 12:56:14 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 12:56:14 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 12:56:14 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 12:56:14 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 12:56:14 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 12:56:14 [0.46ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 12:56:14 [0.27ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100523, 100524, 100525, 100526, 100527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 12:56:14 [0.27ms] */
select `parent_id` from `transaction` where `id` in (104188, 104189, 104190, 104191, 104192) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 12:56:14 [28.78ms] */
select `id` from `transaction` where `parent_id` in (105098) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 12:56:14 [0.36ms] */
select * from `transaction` where `id` in (105098) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 12:56:14 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100523, 100524, 100525, 100526, 100527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 12:56:14 [0.35ms] */
select * from `invoice` where `transaction_id` = 104188 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 12:56:14 [0.41ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103750 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 12:56:14 [0.25ms] */
select * from `invoice` where `transaction_id` = 104189 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 12:56:14 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103751 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 12:56:14 [0.24ms] */
select * from `invoice` where `transaction_id` = 104190 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 12:56:14 [0.22ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103752 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 12:56:14 [0.23ms] */
select * from `invoice` where `transaction_id` = 104191 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 12:56:14 [0.22ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103753 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 12:56:14 [0.23ms] */
select * from `invoice` where `transaction_id` = 104192 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-01 12:56:14 [0.22ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103754 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-01 12:56:14 [0.24ms] */
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 24 - 2025-01-01 12:56:14 [0.32ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 12:56:15 [2.51ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 12:56:15 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 12:56:15 [0.34ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 12:56:15 [0.24ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 12:56:15 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 12:56:15 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 12:56:15 [0.22ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 12:57:18 [1.81ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 12:57:18 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 12:57:18 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 12:57:18 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 12:57:18 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 12:57:18 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 12:57:18 [13.73ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-1316582451.png', '2025-01-01 12:57:18', '2025-01-01 12:57:18');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 12:58:39 [2.17ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 12:58:39 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 12:58:39 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 12:58:39 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 12:58:39 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 12:58:39 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 12:58:39 [28.05ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-1752144141.png', '2025-01-01 12:58:39', '2025-01-01 12:58:39');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 13:00:30 [2.48ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 13:00:30 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 13:00:30 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 13:00:30 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 13:00:30 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 13:00:30 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 13:00:30 [14.09ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-794879901.png', '2025-01-01 13:00:30', '2025-01-01 13:00:30');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 13:01:07 [2.07ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 13:01:07 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 13:01:07 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 13:01:07 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 13:01:07 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 13:01:07 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 13:01:07 [12.54ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-1577591711.png', '2025-01-01 13:01:07', '2025-01-01 13:01:07');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 13:01:40 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 13:01:40 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 13:01:40 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 13:01:40 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 13:01:40 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 13:01:40 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 13:01:40 [9.99ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'GOV_RECEIPT_IMAGE', 12345, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-175906382.png', '2025-01-01 13:01:40', '2025-01-01 13:01:40');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 13:08:30 [2.28ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 13:08:30 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 13:08:30 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 13:08:30 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 13:08:30 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 13:08:30 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 13:08:30 [24.73ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'SERVICE_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-1309750268.png', '2025-01-01 13:08:30', '2025-01-01 13:08:30');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 13:12:42 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 13:12:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 13:12:42 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 13:12:42 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 13:12:42 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 13:12:42 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 13:12:42 [22.41ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'SERVICE_RECEIPT_IMAGE', 245667, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-1358278748.png', '2025-01-01 13:12:42', '2025-01-01 13:12:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 13:12:52 [1.6ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 13:12:52 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 13:12:52 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 13:12:52 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 13:12:52 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 13:12:52 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 13:12:52 [16.29ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'SERVICE_RECEIPT_IMAGE', 245667, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-1366796357.png', '2025-01-01 13:12:52', '2025-01-01 13:12:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 13:16:25 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 13:16:25 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 13:16:25 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 13:16:25 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-01 13:16:25 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 13:16:25 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 13:16:25 [1.1ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'EA6100' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-01 13:16:26 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 13:16:26 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 13:16:26 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-01 13:16:26 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-01 13:16:26 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 13:16:26 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 13:16:26 [0.33ms] */
select * from `vehicle` where `vehicle`.`id` = 29 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 13:16:26 [0.25ms] */
select * from `vehicle` where `id` = 29 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-01 13:16:26 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 29 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-01 13:16:26 [0.83ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 29 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-01 13:16:28 [2.13ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 13:16:28 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 13:16:28 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-01 13:16:28 [0.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-01 13:16:28 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 13:16:28 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 13:16:28 [0.72ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 13:16:28 [1.72ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 13:16:28 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 13:16:28 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 13:16:28 [0.27ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 13:16:28 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 13:16:28 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 13:16:28 [0.26ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 13:16:29 [2.02ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 13:16:29 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 13:16:29 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 13:16:29 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 13:16:29 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 13:16:29 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 13:16:29 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 13:16:29 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100523, 100524, 100525, 100526, 100527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 13:16:29 [0.13ms] */
select `parent_id` from `transaction` where `id` in (104188, 104189, 104190, 104191, 104192) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 13:16:29 [0.12ms] */
select `id` from `transaction` where `parent_id` in (105098) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 13:16:29 [0.14ms] */
select * from `transaction` where `id` in (105098) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 13:16:29 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100523, 100524, 100525, 100526, 100527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 13:16:29 [0.16ms] */
select * from `invoice` where `transaction_id` = 104188 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 13:16:29 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103750 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 13:16:29 [0.15ms] */
select * from `invoice` where `transaction_id` = 104189 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 13:16:29 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103751 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 13:16:29 [0.15ms] */
select * from `invoice` where `transaction_id` = 104190 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 13:16:29 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103752 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 13:16:29 [0.14ms] */
select * from `invoice` where `transaction_id` = 104191 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 13:16:29 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103753 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 13:16:29 [0.14ms] */
select * from `invoice` where `transaction_id` = 104192 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-01 13:16:29 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103754 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-01 13:16:29 [0.14ms] */
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 24 - 2025-01-01 13:16:29 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 13:16:30 [1.97ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 13:16:30 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 13:16:30 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 13:16:30 [0.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 13:16:30 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 13:16:30 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 13:16:30 [0.18ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 13:42:37 [2.45ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 13:42:37 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 13:42:37 [0.43ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 13:42:37 [0.33ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 13:42:37 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 13:42:37 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 13:42:37 [18.1ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-667944631.png', '2025-01-01 13:42:37', '2025-01-01 13:42:37');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-01 13:46:32 [2.49ms] */
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 1 - 2025-01-01 13:46:43 [2.07ms] */
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-01-01 13:46:43 [0.32ms] */
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-01-01 13:46:43 [0.3ms] */
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-01-01 13:46:43 [13.53ms] */
update `userprofiles` set `last_ip` = '49.47.216.248', `login_count` = 726, `last_login` = '2025-01-01 13:46:43', `userprofiles`.`updated_at` = '2025-01-01 13:46:43' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-01 13:46:43 [0.46ms] */
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-01-01 13:46:43 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-01-01 13:46:43 [0.49ms] */
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-01-01 13:46:43 [0.31ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-01 13:46:43 [0.26ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-01 13:46:43 [0.31ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-01 13:46:43 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-01 13:46:43 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-01 13:46:43 [3.49ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c', 5, 3, '[]', 0, '2025-01-01 13:46:43', '2025-01-01 13:46:43', '2026-01-01 13:46:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-01 13:46:43 [0.36ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-01 13:46:43 [3.3ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 13:47:27 [1.56ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 13:47:27 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 13:47:27 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 13:47:27 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-01 13:47:27 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 13:47:27 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 13:47:27 [1.15ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'JJCAFH' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-01 13:47:28 [1.48ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 13:47:28 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 13:47:28 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-01 13:47:28 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-01 13:47:28 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 13:47:28 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 13:47:28 [0.41ms] */
select * from `vehicle` where `vehicle`.`id` = 89869 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 13:47:28 [0.47ms] */
select * from `vehicle` where `id` = 89869 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-01 13:47:28 [0.52ms] */
select * from `party_vehicle` where `vehicle_id` = 89869 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-01 13:47:28 [1.24ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 89869 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-01 13:47:28 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 13:47:28 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 13:47:28 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-01 13:47:28 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-01 13:47:28 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 13:47:28 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 13:47:28 [0.6ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 13:47:29 [1.42ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 13:47:29 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 13:47:29 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 13:47:29 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 13:47:29 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 13:47:29 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 13:47:29 [0.33ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 13:47:58 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 13:47:58 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 13:47:58 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 13:47:58 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-01 13:47:58 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 13:47:58 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 13:47:58 [0.9ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'FM857' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-01 13:47:58 [2.24ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 13:47:58 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 13:47:58 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-01 13:47:58 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-01 13:47:58 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 13:47:58 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 13:47:58 [0.45ms] */
select * from `vehicle` where `vehicle`.`id` = 81 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 13:47:58 [0.35ms] */
select * from `vehicle` where `id` = 81 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-01 13:47:58 [0.39ms] */
select * from `party_vehicle` where `vehicle_id` = 81 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-01 13:47:58 [0.85ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 81 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-01 13:47:59 [2.06ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 13:47:59 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 13:47:59 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-01 13:47:59 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-01 13:47:59 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 13:47:59 [0.34ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 13:47:59 [0.41ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 13:47:59 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 13:47:59 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 13:47:59 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 13:47:59 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 13:47:59 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 13:47:59 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 13:47:59 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 13:48:13 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 13:48:13 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 13:48:13 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 13:48:13 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 13:48:13 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 13:48:13 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 13:48:13 [0.41ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 13:48:13 [0.29ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 13:48:13 [0.24ms] */
select `parent_id` from `transaction` where `id` in (103388, 103389, 103390, 103391) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 13:48:13 [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-01-01 13:48:13 [0.32ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 13:48:13 [0.24ms] */
select * from `transaction` where `id` in (103388, 103389, 103390, 103391) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 13:48:13 [0.27ms] */
select * from `invoice` where `invoice`.`id` = 102950 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 13:48:13 [11.4ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-01 13:48:13' where `id` = 102950;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 13:48:13 [0.45ms] */
select * from `invoice` where `id` = 102950 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 13:48:13 [3.68ms] */
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', 102950, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 13:48:13 [0.45ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 13:48:13 [0.64ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 13:48:13 [3.53ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103388;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 13:48:13 [0.54ms] */
select * from `invoice` where `invoice`.`id` = 102951 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 13:48:13 [3.45ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-01 13:48:13' where `id` = 102951;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-01 13:48:13 [0.49ms] */
select * from `invoice` where `id` = 102951 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-01 13:48:13 [3.4ms] */
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', 102951, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-01-01 13:48:13 [0.21ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-01-01 13:48:13 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2025-01-01 13:48:13 [3.33ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103389;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2025-01-01 13:48:13 [0.53ms] */
select * from `invoice` where `invoice`.`id` = 102952 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-01-01 13:48:13 [3.35ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-01 13:48:13' where `id` = 102952;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-01-01 13:48:13 [0.48ms] */
select * from `invoice` where `id` = 102952 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-01-01 13:48:13 [3.35ms] */
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', 102952, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-01-01 13:48:13 [0.2ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-01-01 13:48:13 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2025-01-01 13:48:13 [4.22ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103390;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2025-01-01 13:48:13 [0.92ms] */
select * from `invoice` where `invoice`.`id` = 102953 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-01-01 13:48:13 [7.33ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-01 13:48:13' where `id` = 102953;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-01-01 13:48:13 [0.91ms] */
select * from `invoice` where `id` = 102953 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-01-01 13:48:13 [4.18ms] */
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', 102953, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-01-01 13:48:13 [0.2ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-01-01 13:48:13 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-01-01 13:48:13 [3.76ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103391;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-01-01 13:48:13 [3.9ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-01-01 13:48:13' where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-01-01 13:48:13 [0.96ms] */
select * from `vehicle` where `vehicle`.`id` = 81 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-01-01 13:48:13 [0.37ms] */
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 44 - 2025-01-01 13:48:13 [0.34ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 81 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-01-01 13:48:13 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 81 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 46 - 2025-01-01 13:48:13 [0.37ms] */
select * from `party` where `party`.`id` = 12351 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 47 - 2025-01-01 13:48:13 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 81 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 48 - 2025-01-01 13:48:13 [0.33ms] */
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 49 - 2025-01-01 13:48:13 [0.33ms] */
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 50 - 2025-01-01 13:48:13 [0.58ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (12351, 2, 81, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-01-01 13:48:13 [0.39ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105101, 'INITIATED', '2025-01-01 13:48:13', 5, 5, 5, 5, '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-01-01 13:48:13 [0.35ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 46965, `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 105101;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-01-01 13:48:13 [0.32ms] */
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 (99724, 99725, 99726, 99727) 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 54 - 2025-01-01 13:48:13 [0.23ms] */
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 (99724, 99725, 99726, 99727) 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 55 - 2025-01-01 13:48:13 [0.44ms] */
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 (105101, 12351, '2025-01-01 13:48:13', '2025-01-01 13:48:13', 157.00, 0, 157.00, 157.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2025-01-01 13:48:13 [0.19ms] */
select * from `invoice` where `id` = 104661 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2025-01-01 13:48:13 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105101,"party_id":12351,"invoice_amount":"157.00","invoice_date":"2025-01-01 13:48:13","due_date":"2025-01-01 13:48:13","outstanding_balance":"157.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"157.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 104661, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2025-01-01 13:48:13 [0.28ms] */
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 (99724, 99725, 99726, 99727) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-01-01 13:48:13 [0.22ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Tax Fees', 4, 157, 157, 104661, 5, 5, '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-01-01 13:48:13 [0.17ms] */
select * from `invoice_item` where `id` = 204576 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-01-01 13:48:13 [0.24ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"157.00","quantity":4,"total_price":"157.00","invoice_id":104661}}', 5, 'App\Models\User', 204576, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-01-01 13:48:13 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-506-104661864', `invoice`.`updated_at` = '2025-01-01 13:48:13' where `id` = 104661;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-01-01 13:48:13 [0.19ms] */
select * from `invoice` where `id` = 104661 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2025-01-01 13:48:13 [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-506-104661864"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 104661, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 65 - 2025-01-01 13:48:13 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99724 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2025-01-01 13:48:13 [0.38ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-01 13:48:13' where `id` = 99724;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-01-01 13:48:13 [0.19ms] */
select * from `vehicle_tax` where `id` = 99724 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-01-01 13:48:13 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 99724, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 69 - 2025-01-01 13:48:13 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 103388 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 70 - 2025-01-01 13:48:13 [0.3ms] */
update `transaction` set `parent_id` = 105101, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103388;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 71 - 2025-01-01 13:48:13 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102950 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-01-01 13:48:13 [0.3ms] */
update `invoice` set `parent_id` = 104661, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-01 13:48:13' where `id` = 102950;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-01-01 13:48:13 [0.18ms] */
select * from `invoice` where `id` = 102950 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-01-01 13:48:13 [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":104661,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102950, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 75 - 2025-01-01 13:48:13 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 103388 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-01-01 13:48:13 [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 77 - 2025-01-01 13:48:13 [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 78 - 2025-01-01 13:48:13 [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 79 - 2025-01-01 13:48:13 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-01-01 13:48:13 [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 81 - 2025-01-01 13:48:13 [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 (103388, 'APPROVED', '2025-01-01 13:48:13', 5, 5, null, 5, 5, '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2025-01-01 13:48:13 [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 83 - 2025-01-01 13:48:13 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103388;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 84 - 2025-01-01 13:48:13 [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 85 - 2025-01-01 13:48:13 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102950 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 86 - 2025-01-01 13:48:13 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99725 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 87 - 2025-01-01 13:48:13 [0.23ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-01 13:48:13' where `id` = 99725;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2025-01-01 13:48:13 [0.17ms] */
select * from `vehicle_tax` where `id` = 99725 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 89 - 2025-01-01 13:48:13 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 99725, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 90 - 2025-01-01 13:48:13 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 103389 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 91 - 2025-01-01 13:48:13 [0.22ms] */
update `transaction` set `parent_id` = 105101, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103389;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 92 - 2025-01-01 13:48:13 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102951 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 93 - 2025-01-01 13:48:13 [0.19ms] */
update `invoice` set `parent_id` = 104661, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-01 13:48:13' where `id` = 102951;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 94 - 2025-01-01 13:48:13 [0.18ms] */
select * from `invoice` where `id` = 102951 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 95 - 2025-01-01 13:48:13 [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":104661,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102951, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 96 - 2025-01-01 13:48:13 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 103389 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 97 - 2025-01-01 13:48:13 [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 98 - 2025-01-01 13:48:13 [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 99 - 2025-01-01 13:48:13 [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 100 - 2025-01-01 13:48:13 [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 101 - 2025-01-01 13:48:13 [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 (103389, 'APPROVED', '2025-01-01 13:48:13', 5, 5, null, 5, 5, '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 102 - 2025-01-01 13:48:13 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 103 - 2025-01-01 13:48:13 [0.23ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103389;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 104 - 2025-01-01 13:48:13 [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-01-01 13:48:13 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102951 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-01-01 13:48:13 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99726 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 107 - 2025-01-01 13:48:13 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-01 13:48:13' where `id` = 99726;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 108 - 2025-01-01 13:48:13 [0.17ms] */
select * from `vehicle_tax` where `id` = 99726 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 109 - 2025-01-01 13:48:13 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 99726, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 110 - 2025-01-01 13:48:13 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 103390 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 111 - 2025-01-01 13:48:13 [0.21ms] */
update `transaction` set `parent_id` = 105101, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103390;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 112 - 2025-01-01 13:48:13 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102952 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 113 - 2025-01-01 13:48:13 [0.2ms] */
update `invoice` set `parent_id` = 104661, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-01 13:48:13' where `id` = 102952;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 114 - 2025-01-01 13:48:13 [0.18ms] */
select * from `invoice` where `id` = 102952 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 115 - 2025-01-01 13:48:13 [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":104661,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102952, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 116 - 2025-01-01 13:48:13 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 103390 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 117 - 2025-01-01 13:48:13 [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 118 - 2025-01-01 13:48:13 [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 119 - 2025-01-01 13:48:13 [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 120 - 2025-01-01 13:48:13 [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 121 - 2025-01-01 13:48:13 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103390, 'APPROVED', '2025-01-01 13:48:13', 5, 5, null, 5, 5, '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 122 - 2025-01-01 13:48:13 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 123 - 2025-01-01 13:48:13 [0.23ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103390;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 124 - 2025-01-01 13:48:13 [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 125 - 2025-01-01 13:48:13 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102952 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 126 - 2025-01-01 13:48:13 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99727 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 127 - 2025-01-01 13:48:13 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-01 13:48:13' where `id` = 99727;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 128 - 2025-01-01 13:48:13 [0.17ms] */
select * from `vehicle_tax` where `id` = 99727 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 129 - 2025-01-01 13:48:13 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 99727, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 130 - 2025-01-01 13:48:13 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 103391 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 131 - 2025-01-01 13:48:13 [0.21ms] */
update `transaction` set `parent_id` = 105101, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103391;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 132 - 2025-01-01 13:48:13 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102953 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 133 - 2025-01-01 13:48:13 [0.21ms] */
update `invoice` set `parent_id` = 104661, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-01 13:48:13' where `id` = 102953;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 134 - 2025-01-01 13:48:13 [0.18ms] */
select * from `invoice` where `id` = 102953 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 135 - 2025-01-01 13:48:13 [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":104661,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102953, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 136 - 2025-01-01 13:48:13 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 103391 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 137 - 2025-01-01 13:48:13 [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 138 - 2025-01-01 13:48:13 [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 139 - 2025-01-01 13:48:13 [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 140 - 2025-01-01 13:48:13 [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 141 - 2025-01-01 13:48:13 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103391, 'APPROVED', '2025-01-01 13:48:13', 5, 5, null, 5, 5, '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 142 - 2025-01-01 13:48:13 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 143 - 2025-01-01 13:48:13 [0.23ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 103391;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 144 - 2025-01-01 13:48:13 [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 145 - 2025-01-01 13:48:13 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102953 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 146 - 2025-01-01 13:48:13 [0.17ms] */
update `transaction` set `invoice_id` = 104661, `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 105101;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 147 - 2025-01-01 13:48:13 [0.29ms] */
update `vehicle` set `updated_by` = 5, `vehicle`.`updated_at` = '2025-01-01 13:48:13' where `id` = 81;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 148 - 2025-01-01 13:48:13 [0.18ms] */
select * from `vehicle` where `id` = 81 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 149 - 2025-01-01 13:48:13 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 81, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 150 - 2025-01-01 13:48:13 [0.24ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":124}', '{"updated_by":5}', 'updated', 81, 'Modules\Vehicle\Entities\Vehicle', 5, 'App\Models\User', null, '49.47.216.248', 'Dart/3.4 (dart:io)', 'https://testtra.puntlandgov.org/api/make_payment', '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 151 - 2025-01-01 13:48:13 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 105101 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 152 - 2025-01-01 13:48:13 [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 153 - 2025-01-01 13:48:13 [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 154 - 2025-01-01 13:48:13 [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 155 - 2025-01-01 13:48:13 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105101, 'APPROVED', '2025-01-01 13:48:13', 5, 5, null, 5, 5, '2025-01-01 13:48:13', '2025-01-01 13:48:13');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 156 - 2025-01-01 13:48:13 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 157 - 2025-01-01 13:48:13 [0.22ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-01 13:48:13' where `id` = 105101;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 158 - 2025-01-01 13:48:13 [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-01-01 13:48:13 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 104661 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 160 - 2025-01-01 13:48:13 [0.33ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 161 - 2025-01-01 13:48:13 [0.35ms] */
select * from `invoice` where `transaction_id` = 103388 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 162 - 2025-01-01 13:48:13 [0.38ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102950 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 163 - 2025-01-01 13:48:13 [0.33ms] */
select * from `invoice` where `transaction_id` = 103389 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 164 - 2025-01-01 13:48:13 [0.35ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102951 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 165 - 2025-01-01 13:48:13 [0.33ms] */
select * from `invoice` where `transaction_id` = 103390 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 166 - 2025-01-01 13:48:13 [0.35ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102952 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 167 - 2025-01-01 13:48:13 [0.33ms] */
select * from `invoice` where `transaction_id` = 103391 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 168 - 2025-01-01 13:48:13 [0.33ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102953 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 169 - 2025-01-01 13:48:13 [0.33ms] */
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 170 - 2025-01-01 13:48:13 [0.29ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 13:48:13 [1.8ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 13:48:13 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 13:48:13 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 13:48:14 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 13:48:14 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 13:48:14 [0.32ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 13:48:14 [0.28ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 13:48:19 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 13:48:19 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 13:48:19 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 13:48:19 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 13:48:19 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 13:48:19 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 13:48:19 [0.26ms] */
select * from `payment_configurations` where `provider_id` = 3 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 13:48:19 [0.17ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 13:48:19 [0.21ms] */
select `parent_id` from `transaction` where `id` in (103388, 103389, 103390, 103391) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 13:48:19 [31.78ms] */
select `id` from `transaction` where `parent_id` in (105101) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 13:48:19 [0.31ms] */
select * from `transaction` where `id` in (105101) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 13:48:19 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 13:48:19 [0.15ms] */
select * from `invoice` where `transaction_id` = 103388 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 13:48:19 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102950 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 13:48:19 [0.15ms] */
select * from `invoice` where `transaction_id` = 103389 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 13:48:19 [0.12ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102951 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 13:48:19 [0.13ms] */
select * from `invoice` where `transaction_id` = 103390 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 13:48:19 [0.12ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102952 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 13:48:19 [0.15ms] */
select * from `invoice` where `transaction_id` = 103391 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 13:48:19 [0.12ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102953 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 13:48:19 [0.14ms] */
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 1 - 2025-01-01 13:49:11 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 13:49:11 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 13:49:11 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 13:49:11 [0.23ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 13:49:11 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 13:49:11 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 13:49:11 [0.26ms] */
select * from `payment_configurations` where `provider_id` = 3 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 13:49:11 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 13:49:11 [0.14ms] */
select `parent_id` from `transaction` where `id` in (103388, 103389, 103390, 103391) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 13:49:11 [0.13ms] */
select `id` from `transaction` where `parent_id` in (105101) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 13:49:11 [0.15ms] */
select * from `transaction` where `id` in (105101) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 13:49:11 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 13:49:11 [0.16ms] */
select * from `invoice` where `transaction_id` = 103388 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 13:49:11 [0.16ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102950 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 13:49:11 [0.15ms] */
select * from `invoice` where `transaction_id` = 103389 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 13:49:11 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102951 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 13:49:11 [0.14ms] */
select * from `invoice` where `transaction_id` = 103390 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 13:49:11 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102952 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 13:49:11 [0.14ms] */
select * from `invoice` where `transaction_id` = 103391 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 13:49:11 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102953 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 13:49:11 [0.14ms] */
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 1 - 2025-01-01 13:49:11 [2.13ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 13:49:11 [0.32ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 13:49:11 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 13:49:11 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 13:49:11 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 13:49:11 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 13:49:11 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 3 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 13:49:11 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 13:49:11 [0.13ms] */
select `parent_id` from `transaction` where `id` in (103388, 103389, 103390, 103391) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 13:49:11 [0.12ms] */
select `id` from `transaction` where `parent_id` in (105101) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 13:49:11 [0.14ms] */
select * from `transaction` where `id` in (105101) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 13:49:11 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 13:49:11 [0.16ms] */
select * from `invoice` where `transaction_id` = 103388 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 13:49:11 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102950 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 13:49:11 [0.15ms] */
select * from `invoice` where `transaction_id` = 103389 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 13:49:11 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102951 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 13:49:11 [0.14ms] */
select * from `invoice` where `transaction_id` = 103390 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 13:49:11 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102952 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 13:49:11 [0.14ms] */
select * from `invoice` where `transaction_id` = 103391 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 13:49:11 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102953 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 13:49:11 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 13:49:14 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 13:49:14 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 13:49:14 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 13:49:14 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-01 13:49:14 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 13:49:14 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 13:49:14 [0.82ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'FM857' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-01 13:49:15 [1.42ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 13:49:15 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 13:49:15 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-01 13:49:15 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-01 13:49:15 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 13:49:15 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 13:49:15 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 81 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 13:49:15 [0.22ms] */
select * from `vehicle` where `id` = 81 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-01 13:49:15 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 81 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-01 13:49:15 [0.65ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 81 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-01 13:49:16 [2.04ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 13:49:16 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 13:49:16 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-01 13:49:16 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-01 13:49:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 13:49:16 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 13:49:16 [0.25ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 13:49:16 [2.06ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 13:49:16 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 13:49:16 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 13:49:16 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 13:49:16 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 13:49:16 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 13:49:16 [0.22ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 13:49:20 [2.65ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 13:49:20 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 13:49:20 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 13:49:20 [0.22ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 13:49:20 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 13:49:20 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 13:49:20 [0.21ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 13:49:20 [0.18ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 13:49:20 [0.2ms] */
select `parent_id` from `transaction` where `id` in (103388, 103389, 103390, 103391) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 13:49:20 [0.15ms] */
select `id` from `transaction` where `parent_id` in (105101) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 13:49:20 [0.19ms] */
select * from `transaction` where `id` in (105101) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 13:49:20 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 13:49:20 [0.2ms] */
select * from `invoice` where `transaction_id` = 103388 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 13:49:20 [0.18ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102950 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 13:49:20 [0.19ms] */
select * from `invoice` where `transaction_id` = 103389 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 13:49:20 [0.17ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102951 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 13:49:20 [0.18ms] */
select * from `invoice` where `transaction_id` = 103390 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 13:49:20 [0.17ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102952 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 13:49:20 [0.18ms] */
select * from `invoice` where `transaction_id` = 103391 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 13:49:20 [0.16ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102953 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 13:49:20 [0.17ms] */
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 22 - 2025-01-01 13:49:20 [0.16ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 13:49:21 [2.23ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 13:49:21 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 13:49:21 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 13:49:21 [0.27ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 13:49:21 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 13:49:21 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 13:49:21 [0.24ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 13:49:21 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 13:49:21 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 13:49:21 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 13:49:21 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 13:49:21 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 13:49:21 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 13:49:21 [0.18ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 13:49:21 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 13:49:21 [0.13ms] */
select `parent_id` from `transaction` where `id` in (103388, 103389, 103390, 103391) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 13:49:21 [0.12ms] */
select `id` from `transaction` where `parent_id` in (105101) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 13:49:21 [0.15ms] */
select * from `transaction` where `id` in (105101) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 13:49:21 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 13:49:21 [0.16ms] */
select * from `invoice` where `transaction_id` = 103388 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 13:49:21 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102950 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 13:49:21 [0.15ms] */
select * from `invoice` where `transaction_id` = 103389 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 13:49:21 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102951 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 13:49:21 [0.14ms] */
select * from `invoice` where `transaction_id` = 103390 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 13:49:21 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102952 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 13:49:21 [0.14ms] */
select * from `invoice` where `transaction_id` = 103391 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 13:49:21 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102953 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 13:49:21 [0.14ms] */
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 22 - 2025-01-01 13:49:21 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 13:49:21 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 13:49:21 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 13:49:21 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 13:49:21 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 13:49:21 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 13:49:21 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 13:49:21 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 13:49:27 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 13:49:27 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 13:49:27 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 13:49:27 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 13:49:27 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 13:49:27 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 13:49:27 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 13:49:27 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 13:49:27 [0.13ms] */
select `parent_id` from `transaction` where `id` in (103388, 103389, 103390, 103391) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 13:49:27 [0.12ms] */
select `id` from `transaction` where `parent_id` in (105101) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 13:49:27 [0.15ms] */
select * from `transaction` where `id` in (105101) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 13:49:27 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 13:49:27 [0.19ms] */
select * from `invoice` where `transaction_id` = 103388 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 13:49:27 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102950 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 13:49:27 [0.15ms] */
select * from `invoice` where `transaction_id` = 103389 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 13:49:27 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102951 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 13:49:27 [0.14ms] */
select * from `invoice` where `transaction_id` = 103390 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 13:49:27 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102952 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 13:49:27 [0.14ms] */
select * from `invoice` where `transaction_id` = 103391 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 13:49:27 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102953 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 13:49:27 [0.18ms] */
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 22 - 2025-01-01 13:49:28 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 13:49:28 [1.78ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 13:49:28 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 13:49:28 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 13:49:28 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 13:49:28 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 13:49:28 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 13:49:28 [0.26ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 13:49:30 [1.92ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 13:49:30 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 13:49:30 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 13:49:30 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 13:49:30 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 13:49:30 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 13:49:30 [0.17ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 13:49:30 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 13:49:30 [0.14ms] */
select `parent_id` from `transaction` where `id` in (103388, 103389, 103390, 103391) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 13:49:30 [0.12ms] */
select `id` from `transaction` where `parent_id` in (105101) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 13:49:30 [0.15ms] */
select * from `transaction` where `id` in (105101) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 13:49:30 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99724, 99725, 99726, 99727) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 13:49:30 [0.16ms] */
select * from `invoice` where `transaction_id` = 103388 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 13:49:30 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102950 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 13:49:30 [0.15ms] */
select * from `invoice` where `transaction_id` = 103389 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 13:49:30 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102951 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 13:49:30 [0.14ms] */
select * from `invoice` where `transaction_id` = 103390 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 13:49:30 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102952 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 13:49:30 [0.15ms] */
select * from `invoice` where `transaction_id` = 103391 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 13:49:30 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102953 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 13:49:30 [0.14ms] */
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 22 - 2025-01-01 13:49:30 [0.16ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 13:49:30 [2.01ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 13:49:30 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 13:49:30 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 13:49:30 [0.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 13:49:30 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 13:49:30 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 13:49:30 [0.28ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 13:50:27 [2.18ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 13:50:27 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 13:50:27 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 13:50:27 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-01 13:50:27 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 13:50:27 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 13:50:27 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'FM857' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-01 13:50:28 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 13:50:28 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 13:50:28 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-01 13:50:28 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-01 13:50:28 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 13:50:28 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 13:50:28 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 81 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 13:50:28 [0.17ms] */
select * from `vehicle` where `id` = 81 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-01 13:50:28 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 81 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-01 13:50:28 [0.24ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 81 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-01 13:50:29 [1.48ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 13:50:29 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 13:50:29 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-01 13:50:29 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-01 13:50:29 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 13:50:29 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 13:50:29 [0.27ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 13:50:29 [1.91ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 13:50:29 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 13:50:29 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 13:50:29 [0.27ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 13:50:29 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '12adb915b28bfe4131ac50690175cab858caf38eec89d8176352d542564e7319a64d5c844fd6974c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 13:50:29 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 13:50:29 [0.22ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 13:59:54 [2.11ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 13:59:54 [0.75ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 13:59:54 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 13:59:54 [0.61ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 13:59:54 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 13:59:54 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 13:59:54 [24.57ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'GOV_RECEIPT_IMAGE', 1233, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-460721950.png', '2025-01-01 13:59:54', '2025-01-01 13:59:54');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 14:00:42 [1.76ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 14:00:42 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 14:00:42 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 14:00:42 [0.23ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 14:00:42 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 14:00:42 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 14:00:42 [15.2ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'SERVICE_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-935172312.png', '2025-01-01 14:00:42', '2025-01-01 14:00:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 14:01:05 [1.44ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 14:01:05 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 14:01:05 [0.31ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 14:01:05 [0.19ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 14:01:05 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 14:01:05 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 14:01:05 [23.87ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'SERVICE_RECEIPT_IMAGE', 234, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-1024087096.png', '2025-01-01 14:01:05', '2025-01-01 14:01:05');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 14:23:48 [1.58ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 14:23:48 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 14:23:48 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 14:23:48 [0.5ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-01 14:23:48 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 14:23:48 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 14:23:48 [1.93ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'EA6100' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-01 14:23:49 [1.41ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 14:23:49 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 14:23:49 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-01 14:23:49 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-01 14:23:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 14:23:49 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 14:23:49 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 29 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 14:23:49 [0.26ms] */
select * from `vehicle` where `id` = 29 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-01 14:23:49 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 29 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-01 14:23:49 [0.83ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 29 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-01 14:23:51 [2.2ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 14:23:51 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 14:23:51 [0.29ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-01 14:23:51 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-01 14:23:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 14:23:51 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 14:23:51 [0.61ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 14:23:51 [2.01ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 14:23:51 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 14:23:51 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 14:23:51 [0.27ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 14:23:51 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 14:23:51 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 14:23:51 [0.48ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 14:23:52 [2.12ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 14:23:52 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 14:23:52 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 14:23:52 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 14:23:52 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 14:23:52 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 14:23:52 [0.48ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-01 14:23:52 [0.58ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100523, 100524, 100525, 100526, 100527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 14:23:52 [0.32ms] */
select `parent_id` from `transaction` where `id` in (104188, 104189, 104190, 104191, 104192) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 14:23:52 [29.93ms] */
select `id` from `transaction` where `parent_id` in (105098) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 14:23:52 [0.44ms] */
select * from `transaction` where `id` in (105098) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 14:23:52 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100523, 100524, 100525, 100526, 100527) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 14:23:52 [0.4ms] */
select * from `invoice` where `transaction_id` = 104188 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 14:23:52 [0.42ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103750 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 14:23:52 [0.33ms] */
select * from `invoice` where `transaction_id` = 104189 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 14:23:52 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103751 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 14:23:52 [0.34ms] */
select * from `invoice` where `transaction_id` = 104190 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-01 14:23:52 [0.3ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103752 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 14:23:52 [0.35ms] */
select * from `invoice` where `transaction_id` = 104191 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 14:23:52 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103753 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 14:23:52 [0.32ms] */
select * from `invoice` where `transaction_id` = 104192 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-01 14:23:52 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103754 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-01 14:23:52 [0.36ms] */
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 24 - 2025-01-01 14:23:52 [0.28ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 14:23:53 [1.24ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 14:23:53 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 14:23:53 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 14:23:53 [0.22ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-01 14:23:53 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 14:23:53 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 14:23:53 [0.18ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 14:24:38 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 14:24:38 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 14:24:38 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 14:24:38 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 14:24:38 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 14:24:38 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 14:24:38 [13.68ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-1803085974.png', '2025-01-01 14:24:38', '2025-01-01 14:24:38');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 14:25:30 [2.06ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 14:25:30 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 14:25:30 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 14:25:30 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 14:25:30 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 14:25:30 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 14:25:30 [12.67ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'GOV_RECEIPT_IMAGE', 123456, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-557150533.png', '2025-01-01 14:25:30', '2025-01-01 14:25:30');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 14:26:15 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 14:26:15 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 14:26:15 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 14:26:15 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 14:26:15 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 14:26:15 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 14:26:15 [9.36ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'SERVICE_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-1042090053.png', '2025-01-01 14:26:15', '2025-01-01 14:26:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 14:26:39 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 14:26:39 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 14:26:39 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-01 14:26:39 [0.24ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 14:26:39 [0.39ms] */
select * from `oauth_access_tokens` where `id` = '88889da41bdd8af9b7ef826f5c4624979d49015a977be4ae0418e7c33694aa3607845929c8bd0e6b' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 14:26:39 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 14:26:39 [11.66ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105098, 'SERVICE_RECEIPT_IMAGE', 2456, 'payment_confirmation/Payment-Confirmation-TR105098-ATTC-1009977784.png', '2025-01-01 14:26:39', '2025-01-01 14:26:39');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-01 14:44:52 [3.03ms] */
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-01-01 14:44:52 [0.64ms] */
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-01-01 14:44:52 [1.48ms] */
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-01-01 14:44:52 [13.31ms] */
update `userprofiles` set `login_count` = 727, `last_login` = '2025-01-01 14:44:52', `userprofiles`.`updated_at` = '2025-01-01 14:44:52' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-01 14:44:52 [0.99ms] */
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-01-01 14:44:52 [0.9ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-01-01 14:44:52 [1.32ms] */
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-01-01 14:44:52 [0.56ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-01 14:44:52 [0.28ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-01 14:44:52 [0.88ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-01 14:44:52 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-01 14:44:52 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-01 14:44:52 [4.39ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('6a9a729e59826af07cb03b7087a45d2e215e7ee9f991397fead0a971f3071a714432596de8cedbca', 5, 3, '[]', 0, '2025-01-01 14:44:52', '2025-01-01 14:44:52', '2026-01-01 14:44:52');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-01 14:44:52 [0.49ms] */
select * from `oauth_access_tokens` where `id` = '6a9a729e59826af07cb03b7087a45d2e215e7ee9f991397fead0a971f3071a714432596de8cedbca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-01 14:44:52 [3.42ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '6a9a729e59826af07cb03b7087a45d2e215e7ee9f991397fead0a971f3071a714432596de8cedbca';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 14:45:33 [1.64ms] */
select * from `oauth_access_tokens` where `id` = '6a9a729e59826af07cb03b7087a45d2e215e7ee9f991397fead0a971f3071a714432596de8cedbca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 14:45:33 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '6a9a729e59826af07cb03b7087a45d2e215e7ee9f991397fead0a971f3071a714432596de8cedbca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 14:45:33 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 14:45:33 [0.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-01 14:45:33 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '6a9a729e59826af07cb03b7087a45d2e215e7ee9f991397fead0a971f3071a714432596de8cedbca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 14:45:33 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 14:45:33 [4.48ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 54321 and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-01 14:45:33 [2.08ms] */
select * from `oauth_access_tokens` where `id` = '6a9a729e59826af07cb03b7087a45d2e215e7ee9f991397fead0a971f3071a714432596de8cedbca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 14:45:33 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '6a9a729e59826af07cb03b7087a45d2e215e7ee9f991397fead0a971f3071a714432596de8cedbca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 14:45:33 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-01 14:45:33 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-01 14:45:33 [0.34ms] */
select * from `oauth_access_tokens` where `id` = '6a9a729e59826af07cb03b7087a45d2e215e7ee9f991397fead0a971f3071a714432596de8cedbca' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 14:45:33 [0.29ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 14:45:33 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 88996 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 14:45:33 [0.24ms] */
select * from `vehicle` where `id` = 88996 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-01 14:45:33 [0.27ms] */
