select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 37 - 2025-01-01 16:55:41 [0.2ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 38 - 2025-01-01 16:55:41 [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?page=149
   Query 39 - 2025-01-01 16:55:41 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 40 - 2025-01-01 16:55:41 [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/w/wkflw?page=149
   Query 41 - 2025-01-01 16:55:41 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 88903 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 42 - 2025-01-01 16:55:41 [0.21ms] */
select * from `party` where `party`.`id` = 49543 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 43 - 2025-01-01 16:55:41 [0.24ms] */
select * from `person` where `person`.`id` = 49543 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 44 - 2025-01-01 16:55:41 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88171 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 45 - 2025-01-01 16:55:41 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 46 - 2025-01-01 16:55:41 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 47 - 2025-01-01 16:55:41 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92062 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 48 - 2025-01-01 16:55:41 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 49 - 2025-01-01 16:55:41 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 50 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 92062 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 51 - 2025-01-01 16:55:41 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 52 - 2025-01-01 16:55:41 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 53 - 2025-01-01 16:55:41 [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?page=149
   Query 54 - 2025-01-01 16:55:41 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88903 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 55 - 2025-01-01 16:55:41 [0.14ms] */
select * from `party` where `party`.`id` = 49543 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 56 - 2025-01-01 16:55:41 [0.15ms] */
select * from `person` where `person`.`id` = 49543 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 57 - 2025-01-01 16:55:41 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88171 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 58 - 2025-01-01 16:55:41 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 59 - 2025-01-01 16:55:41 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 60 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92063 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 61 - 2025-01-01 16:55:41 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 62 - 2025-01-01 16:55:41 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 63 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 92063 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 64 - 2025-01-01 16:55:41 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 65 - 2025-01-01 16:55:41 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 66 - 2025-01-01 16:55:41 [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?page=149
   Query 67 - 2025-01-01 16:55:41 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88903 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 68 - 2025-01-01 16:55:41 [0.14ms] */
select * from `party` where `party`.`id` = 49543 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 69 - 2025-01-01 16:55:41 [0.15ms] */
select * from `person` where `person`.`id` = 49543 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 70 - 2025-01-01 16:55:41 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88171 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 71 - 2025-01-01 16:55:41 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 72 - 2025-01-01 16:55:41 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 73 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92064 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 74 - 2025-01-01 16:55:41 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 75 - 2025-01-01 16:55:41 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 76 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 92064 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 77 - 2025-01-01 16:55:41 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 78 - 2025-01-01 16:55:41 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 79 - 2025-01-01 16:55:41 [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?page=149
   Query 80 - 2025-01-01 16:55:41 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88902 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 81 - 2025-01-01 16:55:41 [0.16ms] */
select * from `party` where `party`.`id` = 57987 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 82 - 2025-01-01 16:55:41 [0.15ms] */
select * from `person` where `person`.`id` = 55610 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 83 - 2025-01-01 16:55:41 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88170 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 84 - 2025-01-01 16:55:41 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 85 - 2025-01-01 16:55:41 [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?page=149
   Query 86 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92052 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 87 - 2025-01-01 16:55:41 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 88 - 2025-01-01 16:55:41 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 89 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 92052 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 90 - 2025-01-01 16:55:41 [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?page=149
   Query 91 - 2025-01-01 16:55:41 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 92 - 2025-01-01 16:55:41 [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?page=149
   Query 93 - 2025-01-01 16:55:41 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88902 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 94 - 2025-01-01 16:55:41 [0.14ms] */
select * from `party` where `party`.`id` = 57987 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 95 - 2025-01-01 16:55:41 [0.14ms] */
select * from `person` where `person`.`id` = 55610 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 96 - 2025-01-01 16:55:41 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88170 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 97 - 2025-01-01 16:55:41 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 98 - 2025-01-01 16:55:41 [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?page=149
   Query 99 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92053 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 100 - 2025-01-01 16:55:41 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 101 - 2025-01-01 16:55:41 [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?page=149
   Query 102 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 92053 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 103 - 2025-01-01 16:55:41 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 104 - 2025-01-01 16:55:41 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 105 - 2025-01-01 16:55:41 [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?page=149
   Query 106 - 2025-01-01 16:55:41 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 69959 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 107 - 2025-01-01 16:55:41 [0.14ms] */
select * from `party` where `party`.`id` = 53728 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 108 - 2025-01-01 16:55:41 [0.15ms] */
select * from `person` where `person`.`id` = 53728 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 109 - 2025-01-01 16:55:41 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 27078 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 110 - 2025-01-01 16:55:41 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 111 - 2025-01-01 16:55:41 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 112 - 2025-01-01 16:55:41 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92049 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 113 - 2025-01-01 16:55:41 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 114 - 2025-01-01 16:55:41 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 115 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 92049 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 116 - 2025-01-01 16:55:41 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 117 - 2025-01-01 16:55:41 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 118 - 2025-01-01 16:55:41 [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?page=149
   Query 119 - 2025-01-01 16:55:41 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 88900 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 120 - 2025-01-01 16:55:41 [0.28ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 121 - 2025-01-01 16:55:41 [0.28ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 122 - 2025-01-01 16:55:41 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88153 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 123 - 2025-01-01 16:55:41 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 124 - 2025-01-01 16:55:41 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 125 - 2025-01-01 16:55:41 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92044 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 126 - 2025-01-01 16:55:41 [0.28ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 127 - 2025-01-01 16:55:41 [0.24ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 128 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 92044 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 129 - 2025-01-01 16:55:41 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 130 - 2025-01-01 16:55:41 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 131 - 2025-01-01 16:55:41 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 132 - 2025-01-01 16:55:41 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88900 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 133 - 2025-01-01 16:55:41 [0.14ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 134 - 2025-01-01 16:55:41 [0.15ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 135 - 2025-01-01 16:55:41 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88153 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 136 - 2025-01-01 16:55:41 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 137 - 2025-01-01 16:55:41 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 138 - 2025-01-01 16:55:41 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92045 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 139 - 2025-01-01 16:55:41 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 140 - 2025-01-01 16:55:41 [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?page=149
   Query 141 - 2025-01-01 16:55:41 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 92045 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 142 - 2025-01-01 16:55:41 [0.18ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 143 - 2025-01-01 16:55:41 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 1 - 2025-01-01 16:56:03 [1.38ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 2 - 2025-01-01 16:56:03 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 3 - 2025-01-01 16:56:03 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 4 - 2025-01-01 16:56:03 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 5 - 2025-01-01 16:56:03 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 6 - 2025-01-01 16:56:03 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 7 - 2025-01-01 16:56:03 [0.26ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 8 - 2025-01-01 16:56:03 [0.33ms] */
select * from `frequency_type` where `name` in ('Quarterly', 'Yearly') and `frequency_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 9 - 2025-01-01 16:56:03 [17.86ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 10 - 2025-01-01 16:56:03 [14.25ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 11 - 2025-01-01 16:56:03 [0.37ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 12 - 2025-01-01 16:56:03 [0.13ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 13 - 2025-01-01 16:56:03 [5.4ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 10755 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 14 - 2025-01-01 16:56:03 [0.29ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 10755 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 15 - 2025-01-01 16:56:03 [10.17ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 23513 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 16 - 2025-01-01 16:56:03 [0.22ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 23513 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 17 - 2025-01-01 16:56:03 [4.27ms] */
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/m/service/title
   Query 18 - 2025-01-01 16:56:03 [0.19ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 9998 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 19 - 2025-01-01 16:56:03 [36.96ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56271 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 20 - 2025-01-01 16:56:03 [0.33ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58794 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 21 - 2025-01-01 16:56:03 [2.68ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 3945 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 22 - 2025-01-01 16:56:03 [0.36ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 3945 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 23 - 2025-01-01 16:56:03 [14.58ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 23313 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 24 - 2025-01-01 16:56:03 [0.36ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 23313 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 25 - 2025-01-01 16:56:03 [13.7ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 32952 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 26 - 2025-01-01 16:56:03 [0.47ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 32952 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 27 - 2025-01-01 16:56:03 [3.33ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 7158 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 28 - 2025-01-01 16:56:03 [0.32ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 7158 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 29 - 2025-01-01 16:56:03 [0.53ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 516 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 30 - 2025-01-01 16:56:03 [0.34ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 516 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 31 - 2025-01-01 16:56:03 [5.59ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 12904 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 32 - 2025-01-01 16:56:03 [0.34ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 12904 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 33 - 2025-01-01 16:56:03 [1.51ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 34 - 2025-01-01 16:56:03 [0.27ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 35 - 2025-01-01 16:56:03 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2025-01-01 16:56:11 [1.21ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2025-01-01 16:56:11 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 3 - 2025-01-01 16:56:11 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 4 - 2025-01-01 16:56:11 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 5 - 2025-01-01 16:56:11 [0.22ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2025-01-01 16:56:11 [0.13ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-01-01' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2025-01-01 16:56:11 [0.13ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2025-01-01 16:56:11 [0.12ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-01-01' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-01-01 16:56:11 [0.19ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2024-12-31' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-01-01 16:56:11 [0.15ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2024-12-31' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-01-01 16:56:11 [0.15ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-01' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-01-01 16:56:11 [0.14ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-01' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 13 - 2025-01-01 16:56:11 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 14 - 2025-01-01 16:56:11 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 1 - 2025-01-01 16:56:15 [1.39ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 2 - 2025-01-01 16:56:15 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 3 - 2025-01-01 16:56:15 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 4 - 2025-01-01 16:56:15 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 5 - 2025-01-01 16:56:15 [0.43ms] */
select `region`.`name` from `district` inner join `region` on `region`.`id` = `district`.`region_id` where `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 6 - 2025-01-01 16:56:15 [0.18ms] */
select `name` from `classification_type` where `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 7 - 2025-01-01 16:56:15 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports
   Query 8 - 2025-01-01 16:56:15 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports/TaxCollectionReport
   Query 1 - 2025-01-01 16:56:29 [1.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/reports/TaxCollectionReport
   Query 2 - 2025-01-01 16:56:29 [0.4ms] */
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/reports/TaxCollectionReport
   Query 3 - 2025-01-01 16:56:29 [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/reports/TaxCollectionReport
   Query 4 - 2025-01-01 16:56:29 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2025-01-01 16:56:48 [2.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2025-01-01 16:56:48 [0.65ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 3 - 2025-01-01 16:56:48 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 4 - 2025-01-01 16:56:48 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 5 - 2025-01-01 16:56:48 [0.21ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2025-01-01 16:56:48 [0.14ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-01-01' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2025-01-01 16:56:48 [0.14ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2025-01-01 16:56:48 [0.12ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-01-01' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-01-01 16:56:48 [0.2ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2024-12-31' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-01-01 16:56:48 [0.16ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2024-12-31' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-01-01 16:56:48 [0.15ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-01' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-01-01 16:56:48 [0.14ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-01' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 13 - 2025-01-01 16:56:48 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 14 - 2025-01-01 16:56:48 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 1 - 2025-01-01 16:56:48 [2.03ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 2 - 2025-01-01 16:56:48 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 3 - 2025-01-01 16:56:48 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 4 - 2025-01-01 16:56:48 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 5 - 2025-01-01 16:56:48 [0.2ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 6 - 2025-01-01 16:56:48 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 7 - 2025-01-01 16:56:48 [0.13ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 8 - 2025-01-01 16:56:48 [0.15ms] */
select * from `frequency_type` where `name` in ('Quarterly', 'Yearly') and `frequency_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 9 - 2025-01-01 16:56:48 [0.15ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 10 - 2025-01-01 16:56:48 [0.16ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 11 - 2025-01-01 16:56:48 [0.14ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 12 - 2025-01-01 16:56:48 [0.14ms] */
select * from `company_type` where `company_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 13 - 2025-01-01 16:56:48 [0.18ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 10755 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 14 - 2025-01-01 16:56:48 [0.15ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 10755 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 15 - 2025-01-01 16:56:48 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 23513 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 16 - 2025-01-01 16:56:48 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 23513 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 17 - 2025-01-01 16:56:48 [0.15ms] */
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/m/service/title
   Query 18 - 2025-01-01 16:56:48 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 9998 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 19 - 2025-01-01 16:56:48 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 56271 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 20 - 2025-01-01 16:56:48 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 58794 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 21 - 2025-01-01 16:56:48 [0.17ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 3945 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 22 - 2025-01-01 16:56:48 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 3945 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 23 - 2025-01-01 16:56:48 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 23313 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 24 - 2025-01-01 16:56:48 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 23313 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 25 - 2025-01-01 16:56:48 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 32952 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 26 - 2025-01-01 16:56:48 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 32952 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 27 - 2025-01-01 16:56:48 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 7158 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 28 - 2025-01-01 16:56:48 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 7158 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 29 - 2025-01-01 16:56:48 [0.15ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 516 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 30 - 2025-01-01 16:56:48 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 516 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 31 - 2025-01-01 16:56:48 [0.16ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 12904 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 32 - 2025-01-01 16:56:48 [0.14ms] */
select * from `customer_identity_documents` where `customer_identity_documents`.`party_id` = 12904 and `customer_identity_documents`.`party_id` is not null and `customer_identity_documents`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 33 - 2025-01-01 16:56:48 [0.2ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 34 - 2025-01-01 16:56:48 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/title
   Query 35 - 2025-01-01 16:56:48 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 1 - 2025-01-01 16:56:49 [1.75ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 2 - 2025-01-01 16:56:49 [0.57ms] */
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?page=149
   Query 3 - 2025-01-01 16:56:49 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 4 - 2025-01-01 16:56:49 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 5 - 2025-01-01 16:56:49 [0.17ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 6 - 2025-01-01 16:56:49 [0.36ms] */
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?page=149
   Query 7 - 2025-01-01 16:56:49 [0.17ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 5 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 8 - 2025-01-01 16:56:49 [0.16ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 5 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 9 - 2025-01-01 16:56:49 [0.16ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (5) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 10 - 2025-01-01 16:56:49 [0.21ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (5) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 1480;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 11 - 2025-01-01 16:56:49 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 12 - 2025-01-01 16:56:49 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 13 - 2025-01-01 16:56:49 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 14 - 2025-01-01 16:56:49 [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/w/wkflw?page=149
   Query 15 - 2025-01-01 16:56:49 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 950 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 16 - 2025-01-01 16:56:49 [0.16ms] */
select * from `party` where `party`.`id` = 56561 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 17 - 2025-01-01 16:56:49 [0.14ms] */
select * from `company` where `company`.`id` = 952 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 18 - 2025-01-01 16:56:49 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 58871 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 19 - 2025-01-01 16:56:49 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 20 - 2025-01-01 16:56:49 [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?page=149
   Query 21 - 2025-01-01 16:56:49 [0.16ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92074 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 22 - 2025-01-01 16:56:49 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 23 - 2025-01-01 16:56:49 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 24 - 2025-01-01 16:56:49 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 92074 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 25 - 2025-01-01 16:56:49 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 26 - 2025-01-01 16:56:49 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 27 - 2025-01-01 16:56:49 [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?page=149
   Query 28 - 2025-01-01 16:56:49 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 950 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 29 - 2025-01-01 16:56:49 [0.14ms] */
select * from `party` where `party`.`id` = 56561 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 30 - 2025-01-01 16:56:49 [0.14ms] */
select * from `company` where `company`.`id` = 952 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 31 - 2025-01-01 16:56:49 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 58871 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 32 - 2025-01-01 16:56:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 33 - 2025-01-01 16:56:49 [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?page=149
   Query 34 - 2025-01-01 16:56:49 [0.18ms] */
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?page=149
   Query 35 - 2025-01-01 16:56:49 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92075 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 36 - 2025-01-01 16:56:49 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 37 - 2025-01-01 16:56:49 [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?page=149
   Query 38 - 2025-01-01 16:56:49 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 39 - 2025-01-01 16:56:49 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 40 - 2025-01-01 16:56:49 [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?page=149
   Query 41 - 2025-01-01 16:56:49 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88903 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 42 - 2025-01-01 16:56:49 [0.14ms] */
select * from `party` where `party`.`id` = 49543 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 43 - 2025-01-01 16:56:49 [0.17ms] */
select * from `person` where `person`.`id` = 49543 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 44 - 2025-01-01 16:56:49 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88171 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 45 - 2025-01-01 16:56:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 46 - 2025-01-01 16:56:49 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 47 - 2025-01-01 16:56:49 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92062 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 48 - 2025-01-01 16:56:49 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 49 - 2025-01-01 16:56:49 [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?page=149
   Query 50 - 2025-01-01 16:56:49 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 92062 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 51 - 2025-01-01 16:56:49 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 52 - 2025-01-01 16:56:49 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 53 - 2025-01-01 16:56:49 [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?page=149
   Query 54 - 2025-01-01 16:56:49 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 88903 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 55 - 2025-01-01 16:56:49 [0.14ms] */
select * from `party` where `party`.`id` = 49543 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 56 - 2025-01-01 16:56:49 [0.15ms] */
select * from `person` where `person`.`id` = 49543 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 57 - 2025-01-01 16:56:49 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88171 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 58 - 2025-01-01 16:56:49 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 59 - 2025-01-01 16:56:49 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 60 - 2025-01-01 16:56:49 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92063 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 61 - 2025-01-01 16:56:49 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 62 - 2025-01-01 16:56:49 [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?page=149
   Query 63 - 2025-01-01 16:56:49 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 92063 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 64 - 2025-01-01 16:56:49 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 65 - 2025-01-01 16:56:49 [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?page=149
   Query 66 - 2025-01-01 16:56:49 [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/w/wkflw?page=149
   Query 67 - 2025-01-01 16:56:49 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 88903 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 68 - 2025-01-01 16:56:49 [0.14ms] */
select * from `party` where `party`.`id` = 49543 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 69 - 2025-01-01 16:56:49 [0.15ms] */
select * from `person` where `person`.`id` = 49543 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 70 - 2025-01-01 16:56:49 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88171 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 71 - 2025-01-01 16:56:49 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 72 - 2025-01-01 16:56:49 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 73 - 2025-01-01 16:56:49 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92064 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 74 - 2025-01-01 16:56:49 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 75 - 2025-01-01 16:56:49 [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?page=149
   Query 76 - 2025-01-01 16:56:49 [0.14ms] */
select * from `transaction_workflow` where `transaction_id` = 92064 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 77 - 2025-01-01 16:56:49 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 78 - 2025-01-01 16:56:49 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 79 - 2025-01-01 16:56:49 [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?page=149
   Query 80 - 2025-01-01 16:56:49 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 88902 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 81 - 2025-01-01 16:56:49 [0.36ms] */
select * from `party` where `party`.`id` = 57987 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 82 - 2025-01-01 16:56:49 [0.36ms] */
select * from `person` where `person`.`id` = 55610 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 83 - 2025-01-01 16:56:49 [0.3ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88170 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 84 - 2025-01-01 16:56:49 [0.27ms] */
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?page=149
   Query 85 - 2025-01-01 16:56:49 [0.26ms] */
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?page=149
   Query 86 - 2025-01-01 16:56:49 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92052 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 87 - 2025-01-01 16:56:49 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 88 - 2025-01-01 16:56:49 [0.27ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 89 - 2025-01-01 16:56:49 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 92052 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 90 - 2025-01-01 16:56:49 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 91 - 2025-01-01 16:56:49 [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?page=149
   Query 92 - 2025-01-01 16:56:49 [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?page=149
   Query 93 - 2025-01-01 16:56:49 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 88902 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 94 - 2025-01-01 16:56:49 [0.15ms] */
select * from `party` where `party`.`id` = 57987 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 95 - 2025-01-01 16:56:49 [0.15ms] */
select * from `person` where `person`.`id` = 55610 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 96 - 2025-01-01 16:56:49 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88170 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 97 - 2025-01-01 16:56:49 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 98 - 2025-01-01 16:56:50 [0.22ms] */
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?page=149
   Query 99 - 2025-01-01 16:56:50 [0.16ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92053 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 100 - 2025-01-01 16:56:50 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 101 - 2025-01-01 16:56:50 [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?page=149
   Query 102 - 2025-01-01 16:56:50 [0.15ms] */
select * from `transaction_workflow` where `transaction_id` = 92053 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 103 - 2025-01-01 16:56:50 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 104 - 2025-01-01 16:56:50 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 105 - 2025-01-01 16:56:50 [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?page=149
   Query 106 - 2025-01-01 16:56:50 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 69959 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 107 - 2025-01-01 16:56:50 [0.14ms] */
select * from `party` where `party`.`id` = 53728 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 108 - 2025-01-01 16:56:50 [0.15ms] */
select * from `person` where `person`.`id` = 53728 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 109 - 2025-01-01 16:56:50 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 27078 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 110 - 2025-01-01 16:56:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 111 - 2025-01-01 16:56:50 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 112 - 2025-01-01 16:56:50 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92049 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 113 - 2025-01-01 16:56:50 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 114 - 2025-01-01 16:56:50 [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?page=149
   Query 115 - 2025-01-01 16:56:50 [0.34ms] */
select * from `transaction_workflow` where `transaction_id` = 92049 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 116 - 2025-01-01 16:56:50 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 117 - 2025-01-01 16:56:50 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 118 - 2025-01-01 16:56:50 [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/w/wkflw?page=149
   Query 119 - 2025-01-01 16:56:50 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 88900 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 120 - 2025-01-01 16:56:50 [0.16ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 121 - 2025-01-01 16:56:50 [0.17ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 122 - 2025-01-01 16:56:50 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88153 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 123 - 2025-01-01 16:56:50 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 124 - 2025-01-01 16:56:50 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 125 - 2025-01-01 16:56:50 [0.16ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92044 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 126 - 2025-01-01 16:56:50 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 127 - 2025-01-01 16:56:50 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 128 - 2025-01-01 16:56:50 [0.18ms] */
select * from `transaction_workflow` where `transaction_id` = 92044 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 129 - 2025-01-01 16:56:50 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 130 - 2025-01-01 16:56:50 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 131 - 2025-01-01 16:56:50 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 132 - 2025-01-01 16:56:50 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 88900 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 133 - 2025-01-01 16:56:50 [0.16ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 134 - 2025-01-01 16:56:50 [0.19ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 135 - 2025-01-01 16:56:50 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88153 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 136 - 2025-01-01 16:56:50 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 137 - 2025-01-01 16:56:50 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 138 - 2025-01-01 16:56:50 [0.18ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92045 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 139 - 2025-01-01 16:56:50 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 140 - 2025-01-01 16:56:50 [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?page=149
   Query 141 - 2025-01-01 16:56:50 [0.17ms] */
select * from `transaction_workflow` where `transaction_id` = 92045 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 142 - 2025-01-01 16:56:50 [0.21ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw?page=149
   Query 143 - 2025-01-01 16:56:50 [0.19ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2025-01-01 16:56:51 [2.04ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2025-01-01 16:56:51 [0.75ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 3 - 2025-01-01 16:56:51 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 4 - 2025-01-01 16:56:51 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 5 - 2025-01-01 16:56:51 [0.16ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2025-01-01 16:56:51 [0.13ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-01-01' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2025-01-01 16:56:51 [0.13ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2025-01-01 16:56:51 [0.13ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-01-01' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-01-01 16:56:51 [0.21ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2024-12-31' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-01-01 16:56:51 [0.16ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2024-12-31' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-01-01 16:56:51 [0.15ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-01' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-01-01 16:56:51 [0.14ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-01' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 13 - 2025-01-01 16:56:51 [0.23ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 14 - 2025-01-01 16:56:51 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-01 19:25:33 [1.62ms] */
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 19:27:59 [2.38ms] */
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 19:28:29 [1.48ms] */
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 19:28:29 [0.38ms] */
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 19:28:29 [0.34ms] */
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 19:28:29 [12.84ms] */
update `userprofiles` set `last_ip` = '103.10.28.169', `login_count` = 731, `last_login` = '2025-01-01 19:28:29', `userprofiles`.`updated_at` = '2025-01-01 19:28:29' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-01 19:28:29 [0.52ms] */
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 19:28:29 [0.72ms] */
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 19:28:29 [0.51ms] */
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 19:28:29 [0.43ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-01 19:28:29 [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 19:28:29 [0.38ms] */
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 19:28:29 [0.33ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-01 19:28:29 [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 19:28:29 [3.22ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10', 5, 3, '[]', 0, '2025-01-01 19:28:29', '2025-01-01 19:28:29', '2026-01-01 19:28:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-01 19:28:29 [0.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-01 19:28:29 [3.1ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 19:28:34 [2.3ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 19:28:34 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 19:28:34 [0.42ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 19:28:34 [0.52ms] */
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 19:28:34 [0.3ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 19:28:34 [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 19:28:34 [1.22ms] */
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` = 'RTA001' 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 19:28:35 [2.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 19:28:35 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 19:28:35 [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 19:28:35 [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 19:28:35 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 19:28:35 [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 19:28:35 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 19:28:35 [0.25ms] */
select * from `vehicle` where `id` = 89946 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 19:28:35 [0.31ms] */
select * from `party_vehicle` where `vehicle_id` = 89946 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 19:28:35 [0.76ms] */
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` = 89946 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 19:28:36 [1.58ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 19:28:36 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 19:28:36 [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 19:28:36 [0.3ms] */
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 19:28:36 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 19:28:36 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 19:28:36 [0.63ms] */
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 19:28:36 [1.31ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 19:28:36 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 19:28:36 [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 19:28:36 [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 19:28:36 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 19:28:36 [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 19:28:36 [0.31ms] */
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 19:28:39 [1.33ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 19:28:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 19:28:39 [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 19:28:39 [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 19:28:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 19:28:39 [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 19:28:39 [0.61ms] */
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` = 'RTA001' 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 19:28:40 [2.38ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 19:28:40 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 19:28:40 [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 19:28:40 [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 19:28:40 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 19:28:40 [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 19:28:40 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 19:28:40 [0.24ms] */
select * from `vehicle` where `id` = 89946 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 19:28:40 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 89946 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 19:28:40 [0.35ms] */
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` = 89946 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 19:28:41 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 19:28:41 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 19:28:41 [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 19:28:41 [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 19:28:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 19:28:41 [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 19:28:41 [0.24ms] */
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 19:28:42 [1.65ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 19:28:42 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 19:28:42 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 19:28:42 [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 19:28:42 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 19:28:42 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 19:28:42 [0.25ms] */
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 19:28:43 [2.1ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 19:28:43 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 19:28:43 [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 19:28:43 [0.3ms] */
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 19:28:43 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 19:28:43 [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 19:28:43 [0.38ms] */
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 19:28:43 [0.19ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 19:28:43 [0.23ms] */
select `parent_id` from `transaction` where `id` in (103107) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 19:28:43 [0.51ms] */
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 19:28:43 [0.61ms] */
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 19:28:43 [0.65ms] */
select * from `transaction` where `id` in (103107) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 19:28:43 [0.65ms] */
select * from `invoice` where `invoice`.`id` = 102669 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 19:28:43 [12.05ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-01 19:28:43' where `id` = 102669;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 19:28:43 [0.51ms] */
select * from `invoice` where `id` = 102669 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 19:28:43 [3.72ms] */
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', 102669, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 19:28:43 [0.6ms] */
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 19:28:43 [0.62ms] */
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 19:28:43 [3.52ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-01 19:28:43' where `id` = 103107;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 19:28:43 [3.41ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-01-01 19:28:43' where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 19:28:43 [0.53ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-01 19:28:43 [0.39ms] */
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 23 - 2025-01-01 19:28:43 [0.34ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89946 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-01-01 19:28:43 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 89946 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 25 - 2025-01-01 19:28:43 [0.22ms] */
select * from `party` where `party`.`id` = 45621 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 26 - 2025-01-01 19:28:43 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 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 27 - 2025-01-01 19:28:43 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-01-01 19:28:43 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-01-01 19:28:43 [0.44ms] */
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 (45621, 2, 89946, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-01-01 19:28:43 [0.33ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105104, 'INITIATED', '2025-01-01 19:28:43', 5, 5, 5, 5, '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-01-01 19:28:43 [0.3ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 98756, `transaction`.`updated_at` = '2025-01-01 19:28:43' where `id` = 105104;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-01-01 19:28:43 [0.47ms] */
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 (99451) 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 33 - 2025-01-01 19:28:43 [0.2ms] */
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 (99451) 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 34 - 2025-01-01 19:28:43 [0.28ms] */
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 (105104, 45621, '2025-01-01 19:28:43', '2025-01-01 19:28:43', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-01-01 19:28:43 [0.19ms] */
select * from `invoice` where `id` = 104664 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-01-01 19:28:43 [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":105104,"party_id":45621,"invoice_amount":"31.00","invoice_date":"2025-01-01 19:28:43","due_date":"2025-01-01 19:28:43","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.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', 104664, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-01-01 19:28:43 [0.24ms] */
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 (99451) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-01-01 19:28:43 [0.26ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Tax Fees', 1, 31, 31, 104664, 5, 5, '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-01-01 19:28:43 [0.17ms] */
select * from `invoice_item` where `id` = 204579 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-01-01 19:28:43 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":104664}}', 5, 'App\Models\User', 204579, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-01-01 19:28:43 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-475-104664268', `invoice`.`updated_at` = '2025-01-01 19:28:43' where `id` = 104664;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-01-01 19:28:43 [0.18ms] */
select * from `invoice` where `id` = 104664 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-01-01 19:28:43 [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-475-104664268"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 104664, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-01-01 19:28:43 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99451 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-01-01 19:28:43 [0.17ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-01 19:28:43' where `id` = 99451;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-01-01 19:28:43 [0.18ms] */
select * from `vehicle_tax` where `id` = 99451 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-01-01 19:28:43 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 99451, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-01-01 19:28:43 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 103107 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 49 - 2025-01-01 19:28:43 [0.33ms] */
update `transaction` set `parent_id` = 105104, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-01 19:28:43' where `id` = 103107;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-01-01 19:28:43 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102669 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 51 - 2025-01-01 19:28:43 [0.28ms] */
update `invoice` set `parent_id` = 104664, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-01 19:28:43' where `id` = 102669;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-01-01 19:28:43 [0.18ms] */
select * from `invoice` where `id` = 102669 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-01-01 19:28:43 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104664,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102669, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-01-01 19:28:43 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 103107 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-01-01 19:28:43 [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 56 - 2025-01-01 19:28:43 [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 57 - 2025-01-01 19:28:43 [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 58 - 2025-01-01 19:28:43 [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 59 - 2025-01-01 19:28:43 [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 60 - 2025-01-01 19:28:43 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103107, 'APPROVED', '2025-01-01 19:28:43', 5, 5, null, 5, 5, '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-01-01 19:28:43 [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 62 - 2025-01-01 19:28:43 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-01 19:28:43' where `id` = 103107;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-01-01 19:28:43 [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 64 - 2025-01-01 19:28:43 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102669 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 65 - 2025-01-01 19:28:43 [0.18ms] */
update `transaction` set `invoice_id` = 104664, `transaction`.`updated_at` = '2025-01-01 19:28:43' where `id` = 105104;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2025-01-01 19:28:43 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 105104 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-01-01 19:28:43 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-01-01 19:28:43 [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 69 - 2025-01-01 19:28:43 [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 70 - 2025-01-01 19:28:43 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105104, 'APPROVED', '2025-01-01 19:28:43', 5, 5, null, 5, 5, '2025-01-01 19:28:43', '2025-01-01 19:28:43');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 71 - 2025-01-01 19:28:43 [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 72 - 2025-01-01 19:28:43 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-01 19:28:43' where `id` = 105104;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-01-01 19:28:43 [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 74 - 2025-01-01 19:28:43 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 104664 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 75 - 2025-01-01 19:28:43 [0.3ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-01-01 19:28:43 [0.41ms] */
select * from `invoice` where `transaction_id` = 103107 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-01-01 19:28:43 [0.46ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102669 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 78 - 2025-01-01 19:28:43 [0.26ms] */
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 79 - 2025-01-01 19:28:43 [0.17ms] */
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 19:28:43 [1.6ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 19:28:43 [0.19ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 19:28:43 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 19:28:43 [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 19:28:43 [0.2ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 19:28:43 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 19:28:43 [0.21ms] */
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 20:48:28 [1.63ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 20:48:28 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 20:48:28 [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 20:48:28 [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 20:48:28 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 20:48:28 [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 20:48:28 [0.35ms] */
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` = 'RTA001' 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 20:48:29 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 20:48:29 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 20:48:29 [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 20:48: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/taxes
   Query 5 - 2025-01-01 20:48:29 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 20:48:29 [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 20:48:29 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 20:48:29 [0.15ms] */
select * from `vehicle` where `id` = 89946 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 20:48:29 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89946 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 20:48:29 [0.97ms] */
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` = 89946 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 20:48:30 [1.39ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 20:48:30 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 20:48:30 [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 20:48:30 [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 20:48:30 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 20:48: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 20:48:30 [0.26ms] */
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 20:48:31 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 20:48:31 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 20:48:31 [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 20:48:31 [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 20:48:31 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 20:48:31 [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 20:48:31 [0.14ms] */
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 20:48:32 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 20:48:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 20:48:32 [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 20:48:32 [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 20:48:32 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 20:48: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 20:48:32 [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 20:48:32 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 20:48:32 [0.41ms] */
select `parent_id` from `transaction` where `id` in (103107) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 20:48:32 [38.22ms] */
select `id` from `transaction` where `parent_id` in (105104) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 20:48:32 [0.53ms] */
select * from `transaction` where `id` in (105104) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 20:48:32 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 20:48:32 [0.15ms] */
select * from `invoice` where `transaction_id` = 103107 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 20:48:32 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102669 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 20:48:32 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 20:48:32 [0.15ms] */
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 20:48:33 [1.3ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 20:48:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 20:48: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 20:48: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 20:48:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 20:48: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 20:48:33 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 1 - 2025-01-01 20:48:45 [1.34ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 2 - 2025-01-01 20:48:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 3 - 2025-01-01 20:48:45 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 4 - 2025-01-01 20:48:45 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 5 - 2025-01-01 20:48:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 6 - 2025-01-01 20:48:45 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 7 - 2025-01-01 20:48:45 [0.44ms] */
select * from `transaction` where `transaction`.`id` = 105104 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 8 - 2025-01-01 20:48:45 [11.3ms] */
update `transaction` set `gov_fee_sms_confirmation` = 5283176384, `gov_fee_payment_date` = '2025-01-01 20:48:45', `transaction`.`updated_at` = '2025-01-01 20:48:45' where `id` = 105104;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 9 - 2025-01-01 20:48:45 [0.69ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 10 - 2025-01-01 20:48:45 [0.65ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 20:52:11 [1.37ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 20:52:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 20:52:11 [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 20:52:11 [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 20:52:11 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 20:52:11 [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 20:52:11 [0.34ms] */
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` = 'RTA001' 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 20:52:12 [1.35ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 20:52:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 20:52:12 [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 20:52:12 [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 20:52:12 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 20:52:12 [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 20:52:12 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 20:52:12 [0.15ms] */
select * from `vehicle` where `id` = 89946 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 20:52:12 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89946 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 20:52:12 [0.8ms] */
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` = 89946 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 20:52:13 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 20:52:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 20:52:13 [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 20:52:13 [0.2ms] */
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 20:52:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 20:52:13 [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 20:52:13 [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 20:52:14 [1.34ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 20:52:14 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 20:52:14 [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 20:52:14 [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 20:52:14 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 20:52:14 [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 20:52:14 [0.14ms] */
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 20:52:16 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 20:52:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 20:52:16 [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 20:52:16 [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 20:52:16 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 20:52:16 [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 20:52:16 [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 20:52:16 [0.29ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99452) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 20:52:16 [0.21ms] */
select `parent_id` from `transaction` where `id` in (103108) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 20:52:16 [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 20:52:16 [0.2ms] */
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 20:52:16 [0.23ms] */
select * from `transaction` where `id` in (103108) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 20:52:16 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 102670 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 20:52:16 [11.08ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-01 20:52:16' where `id` = 102670;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-01 20:52:16 [0.45ms] */
select * from `invoice` where `id` = 102670 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 20:52:16 [3.65ms] */
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', 102670, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-01 20:52:16 [0.22ms] */
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 20:52:16 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-01 20:52:16 [3.41ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-01 20:52:16' where `id` = 103108;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-01 20:52:16 [3.13ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-01-01 20:52:16' where `id` in (99452) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-01 20:52:16 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-01 20:52:16 [0.22ms] */
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 23 - 2025-01-01 20:52:16 [0.22ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89946 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-01-01 20:52:16 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 89946 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 25 - 2025-01-01 20:52:16 [0.24ms] */
select * from `party` where `party`.`id` = 45621 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 26 - 2025-01-01 20:52:16 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 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 27 - 2025-01-01 20:52:16 [0.25ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-01-01 20:52:16 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-01-01 20:52:16 [0.45ms] */
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 (45621, 2, 89946, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-01-01 20:52:16 [0.31ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105105, 'INITIATED', '2025-01-01 20:52:16', 5, 5, 5, 5, '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-01-01 20:52:16 [0.19ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 98756, `transaction`.`updated_at` = '2025-01-01 20:52:16' where `id` = 105105;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-01-01 20:52:16 [0.24ms] */
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 (99452) 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 33 - 2025-01-01 20:52:16 [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 (99452) 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 34 - 2025-01-01 20:52:16 [0.3ms] */
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 (105105, 45621, '2025-01-01 20:52:16', '2025-01-01 20:52:16', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-01-01 20:52:16 [0.19ms] */
select * from `invoice` where `id` = 104665 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-01-01 20:52:16 [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":105105,"party_id":45621,"invoice_amount":"31.00","invoice_date":"2025-01-01 20:52:16","due_date":"2025-01-01 20:52:16","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.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', 104665, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-01-01 20:52:16 [0.24ms] */
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 (99452) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-01-01 20:52:16 [0.23ms] */
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', 1, 31, 31, 104665, 5, 5, '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-01-01 20:52:16 [0.17ms] */
select * from `invoice_item` where `id` = 204580 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-01-01 20:52:16 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":104665}}', 5, 'App\Models\User', 204580, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-01-01 20:52:16 [0.19ms] */
update `invoice` set `invoice_number` = 'INV-112-104665131', `invoice`.`updated_at` = '2025-01-01 20:52:16' where `id` = 104665;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-01-01 20:52:16 [0.19ms] */
select * from `invoice` where `id` = 104665 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-01-01 20:52:16 [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-112-104665131"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 104665, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-01-01 20:52:16 [0.22ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99452 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-01-01 20:52:16 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-01 20:52:16' where `id` = 99452;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-01-01 20:52:16 [0.18ms] */
select * from `vehicle_tax` where `id` = 99452 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-01-01 20:52:16 [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', 99452, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-01-01 20:52:16 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 103108 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 49 - 2025-01-01 20:52:16 [0.24ms] */
update `transaction` set `parent_id` = 105105, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-01 20:52:16' where `id` = 103108;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-01-01 20:52:16 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 102670 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 51 - 2025-01-01 20:52:16 [0.25ms] */
update `invoice` set `parent_id` = 104665, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-01 20:52:16' where `id` = 102670;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-01-01 20:52:16 [0.18ms] */
select * from `invoice` where `id` = 102670 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-01-01 20:52:16 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":104665,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102670, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-01-01 20:52:16 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 103108 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-01-01 20:52:16 [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 56 - 2025-01-01 20:52:16 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2025-01-01 20:52:16 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2025-01-01 20:52:16 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-01-01 20:52:16 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-01-01 20:52:16 [0.3ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103108, 'APPROVED', '2025-01-01 20:52:16', 5, 5, null, 5, 5, '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-01-01 20:52:16 [0.66ms] */
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 62 - 2025-01-01 20:52:16 [0.57ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-01 20:52:16' where `id` = 103108;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2025-01-01 20:52:16 [0.35ms] */
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 64 - 2025-01-01 20:52:16 [0.41ms] */
select * from `invoice` where `invoice`.`id` = 102670 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 65 - 2025-01-01 20:52:16 [0.43ms] */
update `transaction` set `invoice_id` = 104665, `transaction`.`updated_at` = '2025-01-01 20:52:16' where `id` = 105105;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2025-01-01 20:52:16 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 105105 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-01-01 20:52:16 [0.27ms] */
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 68 - 2025-01-01 20:52:16 [0.26ms] */
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 69 - 2025-01-01 20:52:16 [0.28ms] */
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 70 - 2025-01-01 20:52:16 [0.31ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105105, 'APPROVED', '2025-01-01 20:52:16', 5, 5, null, 5, 5, '2025-01-01 20:52:16', '2025-01-01 20:52:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 71 - 2025-01-01 20:52:16 [0.3ms] */
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 72 - 2025-01-01 20:52:16 [0.31ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-01 20:52:16' where `id` = 105105;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-01-01 20:52:16 [0.26ms] */
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 74 - 2025-01-01 20:52:16 [0.31ms] */
select * from `invoice` where `invoice`.`id` = 104665 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 75 - 2025-01-01 20:52:16 [0.45ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99452) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-01-01 20:52:16 [0.58ms] */
select * from `invoice` where `transaction_id` = 103108 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-01-01 20:52:16 [1.03ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102670 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 78 - 2025-01-01 20:52:16 [0.27ms] */
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 79 - 2025-01-01 20:52:16 [0.25ms] */
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 20:52:16 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 20:52:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 20:52:16 [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 20:52:16 [0.15ms] */
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 20:52:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 20:52:16 [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 20:52:16 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 1 - 2025-01-01 20:52:26 [2.39ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 2 - 2025-01-01 20:52:26 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 3 - 2025-01-01 20:52:26 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 4 - 2025-01-01 20:52:26 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 5 - 2025-01-01 20:52:26 [0.34ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 6 - 2025-01-01 20:52:26 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 7 - 2025-01-01 20:52:26 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 105105 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 8 - 2025-01-01 20:52:26 [10.94ms] */
update `transaction` set `gov_fee_sms_confirmation` = 5283176384, `gov_fee_payment_date` = '2025-01-01 20:52:26', `transaction`.`updated_at` = '2025-01-01 20:52:26' where `id` = 105105;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 9 - 2025-01-01 20:52:26 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 10 - 2025-01-01 20:52:26 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 1 - 2025-01-01 20:56:35 [1.37ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 2 - 2025-01-01 20:56:35 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 3 - 2025-01-01 20:56:35 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 4 - 2025-01-01 20:56:35 [0.38ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 5 - 2025-01-01 20:56:35 [0.33ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 6 - 2025-01-01 20:56:35 [0.3ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 7 - 2025-01-01 20:56:35 [0.49ms] */
select * from `transaction` where `transaction`.`id` = 105105 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 8 - 2025-01-01 20:56:35 [3.58ms] */
update `transaction` set `gov_fee_payment_date` = '2025-01-01 20:56:35', `transaction`.`updated_at` = '2025-01-01 20:56:35' where `id` = 105105;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 9 - 2025-01-01 20:56:35 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105105
   Query 10 - 2025-01-01 20:56:35 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 21:00:51 [1.35ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 21:00:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 21:00:51 [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 21:00:51 [0.2ms] */
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 21:00:51 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 21:00:51 [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 21:00:51 [0.43ms] */
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` = 'RTA001' 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 21:00:52 [1.33ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 21:00:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 21:00:52 [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 21:00:52 [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 21:00:52 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 21:00:52 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 21:00:52 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 21:00:52 [0.15ms] */
select * from `vehicle` where `id` = 89946 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 21:00:52 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 89946 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 21:00:52 [0.55ms] */
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` = 89946 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 21:00:53 [1.54ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 21:00:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 21:00:53 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-01 21:00:53 [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 21:00:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 21:00:53 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 21:00:53 [0.26ms] */
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 21:00:53 [1.32ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:00:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:00:53 [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 21:00:53 [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 21:00:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:00:53 [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 21:00:53 [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 21:00:58 [1.33ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 21:00:58 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 21:00:58 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-01 21:00: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/make_payment
   Query 5 - 2025-01-01 21:00:58 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 21:00:58 [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 21:00:58 [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 21:00:58 [0.29ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 21:00:58 [0.21ms] */
select `parent_id` from `transaction` where `id` in (103107) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 21:00:58 [23.18ms] */
select `id` from `transaction` where `parent_id` in (105104) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 21:00:58 [0.36ms] */
select * from `transaction` where `id` in (105104) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 21:00:58 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 21:00:58 [0.26ms] */
select * from `invoice` where `transaction_id` = 103107 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 21:00:58 [0.27ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102669 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 21:00:58 [0.15ms] */
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 16 - 2025-01-01 21:00:58 [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 21:00:59 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:00:59 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:00: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 21:00:59 [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 21:00:59 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:00:59 [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 21:00:59 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 1 - 2025-01-01 21:01:26 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 2 - 2025-01-01 21:01:26 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 3 - 2025-01-01 21:01:26 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 4 - 2025-01-01 21:01:26 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 5 - 2025-01-01 21:01:26 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 6 - 2025-01-01 21:01:26 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 7 - 2025-01-01 21:01:26 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 105104 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 8 - 2025-01-01 21:01:26 [11.03ms] */
update `transaction` set `gov_fee_payment_date` = '2025-01-01 21:01:26', `transaction`.`updated_at` = '2025-01-01 21:01:26' where `id` = 105104;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 9 - 2025-01-01 21:01:26 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 10 - 2025-01-01 21:01:26 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:01:42 [1.63ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:01:42 [0.25ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:01:42 [0.24ms] */
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 21:01:42 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 21:01:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:01: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 21:01:42 [20.45ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-1560420525.png', '2025-01-01 21:01:42', '2025-01-01 21:01:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:03:36 [1.39ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:03:36 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:03:36 [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 21:03:36 [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 21:03:36 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:03:36 [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 21:03:36 [12.11ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'GOV_RECEIPT_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-80022648.png', '2025-01-01 21:03:36', '2025-01-01 21:03:36');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-01 21:04:43 [1.41ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 21:04:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 21:04:43 [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 21:04:43 [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 21:04:43 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 21:04:43 [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 21:04:43 [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 21:04:43 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 21:04:43 [0.29ms] */
select `parent_id` from `transaction` where `id` in (103107) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 21:04:43 [22.93ms] */
select `id` from `transaction` where `parent_id` in (105104) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 21:04:43 [0.35ms] */
select * from `transaction` where `id` in (105104) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 21:04:43 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 21:04:43 [0.15ms] */
select * from `invoice` where `transaction_id` = 103107 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 21:04:43 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102669 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 21:04:43 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 21:04:43 [0.12ms] */
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 21:04:44 [1.32ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:04:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:04:44 [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 21:04:44 [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 21:04:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:04:44 [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 21:04:44 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 1 - 2025-01-01 21:04:59 [2.03ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 2 - 2025-01-01 21:04:59 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 3 - 2025-01-01 21:04:59 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 4 - 2025-01-01 21:04:59 [0.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 5 - 2025-01-01 21:04:59 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 6 - 2025-01-01 21:04:59 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 7 - 2025-01-01 21:04:59 [0.61ms] */
select * from `transaction` where `transaction`.`id` = 105104 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 8 - 2025-01-01 21:04:59 [11.15ms] */
update `transaction` set `gov_fee_payment_date` = '2025-01-01 21:04:59', `transaction`.`updated_at` = '2025-01-01 21:04:59' where `id` = 105104;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 9 - 2025-01-01 21:04:59 [0.3ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 10 - 2025-01-01 21:04:59 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:05:47 [2.06ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:05:47 [0.35ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:05:47 [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 21:05:47 [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 21:05:47 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:05:47 [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 21:05:47 [25.16ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-1564974133.png', '2025-01-01 21:05:47', '2025-01-01 21:05:47');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:09:01 [1.37ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:09:01 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:09:01 [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 21:09:01 [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 21:09:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:09:01 [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 21:09:01 [18.67ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'GOV_RECEIPT_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-1571105013.png', '2025-01-01 21:09:01', '2025-01-01 21:09:01');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 21:09:07 [2.1ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:09:07 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:09:07 [0.29ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 21:09:07 [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 21:09:07 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:09:07 [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 21:09:07 [0.14ms] */
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 21:20:49 [2.1ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 21:20:49 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 21:20:49 [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 21:20:49 [0.31ms] */
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 21:20:49 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 21:20:49 [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 21:20:49 [0.47ms] */
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` = 'RTA001' 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 21:20:50 [2.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 21:20:50 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 21:20:50 [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 21:20:50 [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 21:20:50 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 21:20:50 [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 21:20:50 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 21:20:50 [0.15ms] */
select * from `vehicle` where `id` = 89946 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 21:20:50 [0.18ms] */
select * from `party_vehicle` where `vehicle_id` = 89946 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 21:20:50 [0.82ms] */
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` = 89946 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 21:20:51 [2.38ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 21:20:51 [0.25ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 21:20:51 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-01 21:20:51 [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 21:20:51 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 21:20:51 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 21:20:51 [0.4ms] */
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 21:20:51 [1.97ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:20:51 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:20:51 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-01 21:20:51 [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 21:20:51 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:20:51 [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 21:20:51 [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 21:20:55 [1.49ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 21:20:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 21:20:55 [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 21:20:55 [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 21:20:55 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 21:20:55 [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 21:20:55 [0.19ms] */
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 21:20:55 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 21:20:55 [0.32ms] */
select `parent_id` from `transaction` where `id` in (103107) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 21:20:55 [28.68ms] */
select `id` from `transaction` where `parent_id` in (105104) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 21:20:55 [0.35ms] */
select * from `transaction` where `id` in (105104) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 21:20:55 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 21:20:55 [0.15ms] */
select * from `invoice` where `transaction_id` = 103107 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 21:20:55 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102669 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 21:20:55 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 21:20:55 [0.15ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 21:21:03 [1.63ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 21:21:03 [0.19ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 21:21:03 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 21:21:03 [0.22ms] */
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 21:21:03 [0.2ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 21:21:03 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-01 21:21:03 [0.53ms] */
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` = 'RTA001' 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 21:21:04 [1.35ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 21:21:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 21:21:04 [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 21:21:04 [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 21:21:04 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 21:21:04 [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 21:21:04 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 21:21:04 [0.16ms] */
select * from `vehicle` where `id` = 89946 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 21:21:04 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89946 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 21:21:04 [0.26ms] */
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` = 89946 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 21:21:05 [2.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 21:21:05 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 21:21:05 [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 21:21:05 [0.35ms] */
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 21:21:05 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 21:21:05 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 21:21:05 [0.26ms] */
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 21:21:06 [1.33ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:21:06 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:21:06 [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 21:21:06 [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 21:21:06 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:21:06 [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 21:21:06 [0.19ms] */
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 21:21:07 [2.32ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 21:21:07 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 21:21:07 [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 21:21:07 [0.48ms] */
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 21:21:07 [0.33ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 21:21:07 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 21:21:07 [0.31ms] */
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 21:21:07 [0.27ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 21:21:07 [0.26ms] */
select `parent_id` from `transaction` where `id` in (103107) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 21:21:07 [0.23ms] */
select `id` from `transaction` where `parent_id` in (105104) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 21:21:07 [0.21ms] */
select * from `transaction` where `id` in (105104) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 21:21:07 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 21:21:07 [0.16ms] */
select * from `invoice` where `transaction_id` = 103107 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 21:21:07 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102669 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 21:21:07 [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 16 - 2025-01-01 21:21:07 [0.14ms] */
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 21:21:08 [1.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:21:08 [0.2ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:21:08 [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 21:21:08 [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 21:21:08 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:21:08 [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 21:21:08 [0.17ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 1 - 2025-01-01 21:22:00 [2.13ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 2 - 2025-01-01 21:22:00 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 3 - 2025-01-01 21:22:00 [0.29ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 4 - 2025-01-01 21:22:00 [0.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 5 - 2025-01-01 21:22:00 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 6 - 2025-01-01 21:22:00 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 7 - 2025-01-01 21:22:00 [0.56ms] */
select * from `transaction` where `transaction`.`id` = 105104 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 8 - 2025-01-01 21:22:00 [3.93ms] */
update `transaction` set `gov_fee_payment_date` = '2025-01-01 21:22:00', `transaction`.`updated_at` = '2025-01-01 21:22:00' where `id` = 105104;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 9 - 2025-01-01 21:22:00 [0.34ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 10 - 2025-01-01 21:22:00 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:22:03 [1.34ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:22:03 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:22:03 [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 21:22:03 [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 21:22:03 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:22:03 [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 21:22:03 [21.52ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-127951132.png', '2025-01-01 21:22:03', '2025-01-01 21:22:03');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:22:43 [1.4ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:22:43 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:22:43 [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 21:22:43 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 21:22:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:22:43 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-01 21:22:43 [16.2ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'GOV_RECEIPT_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-373809698.png', '2025-01-01 21:22:43', '2025-01-01 21:22:43');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 21:22:56 [1.33ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:22:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:22:56 [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 21:22:56 [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 21:22:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:22:56 [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 21:22:56 [0.16ms] */
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 21:38:13 [2.22ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 21:38:13 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 21:38:13 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-01 21:38:13 [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 21:38:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 21:38:13 [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 21:38:13 [0.34ms] */
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` = 'RTA001' 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 21:38:14 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 21:38:14 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 21:38:14 [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 21:38: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/taxes
   Query 5 - 2025-01-01 21:38:14 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 21:38:14 [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 21:38:14 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 21:38:14 [0.15ms] */
select * from `vehicle` where `id` = 89946 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 21:38:14 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89946 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 21:38:14 [0.76ms] */
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` = 89946 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 21:38:15 [1.8ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 21:38:15 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 21:38:15 [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 21:38:15 [0.37ms] */
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 21:38:15 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 21:38:15 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-01 21:38:15 [0.26ms] */
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 21:38:16 [2.1ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:38:16 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:38:16 [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 21:38:16 [0.3ms] */
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 21:38:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:38:16 [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 21:38:16 [0.17ms] */
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 21:38:16 [2.34ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 21:38:16 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 21:38:16 [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 21:38:16 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-01 21:38:16 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 21:38:16 [0.29ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 21:38:16 [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 21:38:16 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 21:38:16 [0.25ms] */
select `parent_id` from `transaction` where `id` in (103107) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 21:38:17 [28.01ms] */
select `id` from `transaction` where `parent_id` in (105104) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 21:38:17 [0.38ms] */
select * from `transaction` where `id` in (105104) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 21:38:17 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 21:38:17 [0.15ms] */
select * from `invoice` where `transaction_id` = 103107 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 21:38:17 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102669 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 21:38:17 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 21:38:17 [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 21:38:17 [1.62ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:38:17 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:38:17 [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 21:38:17 [0.31ms] */
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 21:38:17 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:38:17 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 21:38:17 [0.29ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 1 - 2025-01-01 21:38:39 [1.31ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 2 - 2025-01-01 21:38:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 3 - 2025-01-01 21:38:39 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 4 - 2025-01-01 21:38: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/transaction/receipt/105104
   Query 5 - 2025-01-01 21:38:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 6 - 2025-01-01 21:38:39 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 7 - 2025-01-01 21:38:39 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 105104 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 8 - 2025-01-01 21:38:39 [5.62ms] */
update `transaction` set `gov_fee_payment_date` = '2025-01-01 21:38:39', `transaction`.`updated_at` = '2025-01-01 21:38:39' where `id` = 105104;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 9 - 2025-01-01 21:38:39 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 10 - 2025-01-01 21:38:39 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:38:42 [1.33ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:38:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:38: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 21:38:42 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-01 21:38:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:38: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 21:38:42 [20.71ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-1146880799.png', '2025-01-01 21:38:42', '2025-01-01 21:38:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:38:56 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:38:56 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:38:56 [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 21:38:56 [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 21:38:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:38:56 [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 21:38:56 [20.3ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'GOV_RECEIPT_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-1151525425.png', '2025-01-01 21:38:56', '2025-01-01 21:38:56');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 21:38:59 [2ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:38:59 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:38:59 [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 21:38:59 [0.33ms] */
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 21:38:59 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:38:59 [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 21:38:59 [0.17ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 1 - 2025-01-01 21:39:06 [1.74ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 2 - 2025-01-01 21:39:06 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 3 - 2025-01-01 21:39:06 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 4 - 2025-01-01 21:39:06 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 5 - 2025-01-01 21:39:06 [0.13ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 6 - 2025-01-01 21:39:06 [0.12ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 7 - 2025-01-01 21:39:06 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 105104 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 8 - 2025-01-01 21:39:06 [6.25ms] */
update `transaction` set `service_fee_sms_confirmation` = 5283176384, `service_fee_payment_date` = '2025-01-01 21:39:06', `transaction`.`updated_at` = '2025-01-01 21:39:06' where `id` = 105104;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 9 - 2025-01-01 21:39:06 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 10 - 2025-01-01 21:39:06 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:39:09 [1.67ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:39:09 [0.2ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:39:09 [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 21:39:09 [0.22ms] */
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 21:39:09 [0.3ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:39:09 [0.25ms] */
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 21:39:09 [20.34ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'SERVICE_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-614194018.png', '2025-01-01 21:39:09', '2025-01-01 21:39:09');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:39:22 [1.48ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:39:22 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:39:22 [0.17ms] */
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 21:39:22 [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 21:39:22 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:39:22 [0.15ms] */
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 21:39:22 [21.14ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'SERVICE_RECEIPT_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-1308398196.png', '2025-01-01 21:39:22', '2025-01-01 21:39:22');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-01-01 21:39:30 [2.11ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-01 21:39:30 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-01 21:39:30 [0.29ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-01-01 21:39: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/confirm_payment
   Query 5 - 2025-01-01 21:39:30 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-01 21:39:30 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-01-01 21:39:30 [0.42ms] */
select * from `payment_confirmation` where `gov_fee_tr_id` = 5283176384 and `serv_fee_tr_id` = 5283176384 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 21:39:44 [1.39ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:39:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:39:44 [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 21:39:44 [0.45ms] */
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 21:39:44 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:39:44 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 21:39:44 [0.31ms] */
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 21:41:03 [1.39ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-01 21:41:03 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-01 21:41:03 [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 21:41:03 [0.16ms] */
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 21:41:03 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-01 21:41:03 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-01-01 21:41:03 [0.16ms] */
select * from `payment_confirmation` where `gov_fee_tr_id` = 5283176384 and `serv_fee_tr_id` = 5283176384 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-01 21:42:13 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-01 21:42:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-01 21:42:13 [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 21:42:13 [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 21:42:13 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-01 21:42:13 [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 21:42:13 [0.35ms] */
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` = 'RTA001' 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 21:42:14 [2.09ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-01 21:42:14 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-01 21:42:14 [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 21:42:14 [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 21:42:14 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-01 21:42:14 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-01 21:42:14 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 89946 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-01 21:42:14 [0.15ms] */
select * from `vehicle` where `id` = 89946 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 21:42:14 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89946 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 21:42:14 [0.76ms] */
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` = 89946 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 21:42:15 [2.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-01 21:42:15 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-01 21:42:15 [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 21:42:15 [0.31ms] */
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 21:42:15 [0.32ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-01 21:42:15 [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 21:42:15 [0.26ms] */
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 21:42:16 [1.49ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:42:16 [0.19ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:42:16 [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 21:42:16 [0.21ms] */
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 21:42:16 [0.18ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:42:16 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 21:42:16 [0.2ms] */
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 21:42:18 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 21:42:18 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 21:42:18 [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 21:42: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/make_payment
   Query 5 - 2025-01-01 21:42:18 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 21:42:18 [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 21:42:18 [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 21:42:18 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 21:42:18 [0.33ms] */
select `parent_id` from `transaction` where `id` in (103107) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 21:42:18 [28.27ms] */
select `id` from `transaction` where `parent_id` in (105104) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 21:42:18 [0.49ms] */
select * from `transaction` where `id` in (105104) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 21:42:18 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 21:42:18 [0.15ms] */
select * from `invoice` where `transaction_id` = 103107 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 21:42:18 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102669 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 21:42:18 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 21:42:18 [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 21:42:18 [1.97ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:42:18 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:42:18 [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 21:42:18 [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 21:42:18 [0.3ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:42:18 [0.29ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-01 21:42:18 [0.17ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 1 - 2025-01-01 21:42:26 [1.37ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 2 - 2025-01-01 21:42:26 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 3 - 2025-01-01 21:42:26 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 4 - 2025-01-01 21:42:26 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 5 - 2025-01-01 21:42:26 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 6 - 2025-01-01 21:42:26 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 7 - 2025-01-01 21:42:26 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 105104 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 8 - 2025-01-01 21:42:26 [7.76ms] */
update `transaction` set `gov_fee_payment_date` = '2025-01-01 21:42:26', `transaction`.`updated_at` = '2025-01-01 21:42:26' where `id` = 105104;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 9 - 2025-01-01 21:42:26 [0.29ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 10 - 2025-01-01 21:42:26 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:42:29 [2.4ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:42:29 [0.31ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:42:29 [0.28ms] */
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 21:42: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/payment_confirm_image
   Query 5 - 2025-01-01 21:42:29 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:42:29 [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 21:42:29 [24.68ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-1360480462.png', '2025-01-01 21:42:29', '2025-01-01 21:42:29');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:42:43 [1.52ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:42:43 [0.2ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:42:43 [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 21:42:43 [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 21:42:43 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:42:43 [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 21:42:43 [10.65ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'GOV_RECEIPT_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-1712370073.png', '2025-01-01 21:42:43', '2025-01-01 21:42:43');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 21:42:46 [1.34ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:42:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:42:46 [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 21:42:46 [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 21:42:46 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:42:46 [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 21:42:46 [0.21ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 1 - 2025-01-01 21:43:18 [2.06ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 2 - 2025-01-01 21:43:18 [0.21ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 3 - 2025-01-01 21:43:18 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 4 - 2025-01-01 21:43: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/transaction/receipt/105104
   Query 5 - 2025-01-01 21:43:18 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 6 - 2025-01-01 21:43:18 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 7 - 2025-01-01 21:43:18 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 105104 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 8 - 2025-01-01 21:43:18 [14.65ms] */
update `transaction` set `service_fee_payment_date` = '2025-01-01 21:43:18', `transaction`.`updated_at` = '2025-01-01 21:43:18' where `id` = 105104;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 9 - 2025-01-01 21:43:18 [0.33ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105104
   Query 10 - 2025-01-01 21:43:18 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:43:22 [2.48ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:43:22 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:43:22 [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 21:43:22 [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 21:43:22 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:43:22 [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 21:43:22 [11.05ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'SERVICE_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-331803751.png', '2025-01-01 21:43:22', '2025-01-01 21:43:22');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-01 21:43:35 [1.35ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-01 21:43:35 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-01 21:43:35 [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 21:43:35 [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 21:43:35 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-01 21:43:35 [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 21:43:35 [11.93ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105104, 'SERVICE_RECEIPT_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105104-ATTC-1395088291.png', '2025-01-01 21:43:35', '2025-01-01 21:43:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-01-01 21:43:42 [2.19ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-01 21:43:42 [0.19ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-01 21:43:42 [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 21:43: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/confirm_payment
   Query 5 - 2025-01-01 21:43:42 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-01 21:43:42 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-01-01 21:43:42 [0.15ms] */
select * from `payment_confirmation` where `gov_fee_tr_id` = 5283176384 and `serv_fee_tr_id` = 5283176384 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-01 21:43:51 [1.44ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:43:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:43:51 [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 21:43:51 [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 21:43:51 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:43:51 [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 21:43:51 [0.17ms] */
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 21:45:34 [2.28ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-01 21:45:34 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-01 21:45:34 [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 21:45:34 [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 21:45:34 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-01 21:45:34 [0.29ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-01 21:45:34 [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 21:45:34 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-01 21:45:34 [0.34ms] */
select `parent_id` from `transaction` where `id` in (103107) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-01 21:45:34 [33.13ms] */
select `id` from `transaction` where `parent_id` in (105104) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-01 21:45:34 [0.39ms] */
select * from `transaction` where `id` in (105104) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-01 21:45:34 [0.16ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99451) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-01 21:45:34 [0.15ms] */
select * from `invoice` where `transaction_id` = 103107 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-01 21:45:34 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102669 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 21:45:34 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-01 21:45:34 [0.12ms] */
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 21:45:35 [2.05ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-01 21:45:35 [0.31ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-01 21:45:35 [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 21:45:35 [0.31ms] */
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 21:45:35 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a7b2de1d1e00693e180a41a439e69cd042374bca5a7e3dd93e3dbd687400e9dc7f39d6bbed852b10' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-01 21:45:35 [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 21:45:35 [0.2ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
