select * from `party` where `party`.`id` = 24688 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 119 - 2024-12-18 07:55:04 [0.14ms] */
select * from `person` where `person`.`id` = 24688 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 120 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 121 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 122 - 2024-12-18 07:55:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 123 - 2024-12-18 07:55:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 124 - 2024-12-18 07:55:04 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 125 - 2024-12-18 07:55:04 [0.38ms] */
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/vehicle/17
   Query 126 - 2024-12-18 07:55:04 [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` = 2 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 127 - 2024-12-18 07:55:04 [0.36ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 17 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 128 - 2024-12-18 07:55:04 [0.43ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 17 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 129 - 2024-12-18 07:55:04 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 130 - 2024-12-18 07:55:04 [0.15ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 131 - 2024-12-18 07:55:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 12 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 132 - 2024-12-18 07:55:04 [0.14ms] */
select * from `service` where `service`.`id` = 12 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 133 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service` where `service`.`id` = 12 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 134 - 2024-12-18 07:55:04 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 135 - 2024-12-18 07:55:04 [0.14ms] */
select * from `party` where `party`.`id` = 24688 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 136 - 2024-12-18 07:55:04 [0.15ms] */
select * from `person` where `person`.`id` = 24688 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 137 - 2024-12-18 07:55:04 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 43553 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 138 - 2024-12-18 07:55:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 139 - 2024-12-18 07:55:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 140 - 2024-12-18 07:55:04 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 141 - 2024-12-18 07:55:04 [0.28ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 100857 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 142 - 2024-12-18 07:55:04 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 49 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 143 - 2024-12-18 07:55:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 144 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 12 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 145 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service` where `service`.`id` = 12 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 146 - 2024-12-18 07:55:04 [0.12ms] */
select * from `service` where `service`.`id` = 12 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 147 - 2024-12-18 07:55:04 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 148 - 2024-12-18 07:55:04 [0.14ms] */
select * from `party` where `party`.`id` = 24688 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 149 - 2024-12-18 07:55:04 [0.14ms] */
select * from `person` where `person`.`id` = 24688 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 150 - 2024-12-18 07:55:04 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 43553 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 151 - 2024-12-18 07:55:04 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 152 - 2024-12-18 07:55:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 153 - 2024-12-18 07:55:04 [0.22ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 154 - 2024-12-18 07:55:04 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 97799 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 155 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 12 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 156 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service` where `service`.`id` = 12 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 157 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service` where `service`.`id` = 12 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 158 - 2024-12-18 07:55:04 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 159 - 2024-12-18 07:55:04 [0.14ms] */
select * from `party` where `party`.`id` = 24688 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 160 - 2024-12-18 07:55:04 [0.14ms] */
select * from `person` where `person`.`id` = 24688 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 161 - 2024-12-18 07:55:04 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 43553 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 162 - 2024-12-18 07:55:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 163 - 2024-12-18 07:55:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 164 - 2024-12-18 07:55:04 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 165 - 2024-12-18 07:55:04 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 97730 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 166 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 12 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 167 - 2024-12-18 07:55:04 [0.14ms] */
select * from `service` where `service`.`id` = 12 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 168 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service` where `service`.`id` = 12 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 169 - 2024-12-18 07:55:04 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 170 - 2024-12-18 07:55:04 [0.14ms] */
select * from `party` where `party`.`id` = 24688 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 171 - 2024-12-18 07:55:04 [0.14ms] */
select * from `person` where `person`.`id` = 24688 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 172 - 2024-12-18 07:55:04 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 43553 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 173 - 2024-12-18 07:55:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 174 - 2024-12-18 07:55:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 175 - 2024-12-18 07:55:04 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 176 - 2024-12-18 07:55:04 [0.55ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 95972 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 177 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 5 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 178 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service` where `service`.`id` = 5 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 179 - 2024-12-18 07:55:04 [0.14ms] */
select * from `service` where `service`.`id` = 5 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 180 - 2024-12-18 07:55:04 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 181 - 2024-12-18 07:55:04 [0.13ms] */
select * from `party` where `party`.`id` = 24688 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 182 - 2024-12-18 07:55:04 [0.14ms] */
select * from `person` where `person`.`id` = 24688 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 183 - 2024-12-18 07:55:04 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 43553 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 184 - 2024-12-18 07:55:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 185 - 2024-12-18 07:55:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 186 - 2024-12-18 07:55:04 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 187 - 2024-12-18 07:55:04 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 95744 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 188 - 2024-12-18 07:55:04 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 18 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 189 - 2024-12-18 07:55:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 190 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 12 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 191 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service` where `service`.`id` = 12 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 192 - 2024-12-18 07:55:04 [0.12ms] */
select * from `service` where `service`.`id` = 12 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 193 - 2024-12-18 07:55:04 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 194 - 2024-12-18 07:55:04 [0.13ms] */
select * from `party` where `party`.`id` = 24688 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 195 - 2024-12-18 07:55:04 [0.16ms] */
select * from `person` where `person`.`id` = 24688 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 196 - 2024-12-18 07:55:04 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 43553 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 197 - 2024-12-18 07:55:04 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 198 - 2024-12-18 07:55:04 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 199 - 2024-12-18 07:55:04 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 200 - 2024-12-18 07:55:04 [7.9ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92890 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 201 - 2024-12-18 07:55:04 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 4 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 202 - 2024-12-18 07:55:04 [0.19ms] */
select * from `service` where `service`.`id` = 4 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 203 - 2024-12-18 07:55:04 [0.2ms] */
select * from `service` where `service`.`id` = 4 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 204 - 2024-12-18 07:55:04 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 17 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 205 - 2024-12-18 07:55:04 [0.21ms] */
select * from `party` where `party`.`id` = 24688 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 206 - 2024-12-18 07:55:04 [0.22ms] */
select * from `person` where `person`.`id` = 24688 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 207 - 2024-12-18 07:55:04 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 43553 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 208 - 2024-12-18 07:55:04 [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/m/vehicle/17
   Query 209 - 2024-12-18 07:55:04 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 210 - 2024-12-18 07:55:04 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 211 - 2024-12-18 07:55:04 [0.38ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92872 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 212 - 2024-12-18 07:55:04 [0.28ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 213 - 2024-12-18 07:55:04 [0.26ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 214 - 2024-12-18 07:55:04 [0.27ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 215 - 2024-12-18 07:55:04 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 17 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 216 - 2024-12-18 07:55:04 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 217 - 2024-12-18 07:55:04 [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/vehicle/17
   Query 218 - 2024-12-18 07:55:04 [0.39ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92855 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 219 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 220 - 2024-12-18 07:55:04 [0.12ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 221 - 2024-12-18 07:55:04 [0.12ms] */
select * from `service` where `service`.`id` = 3 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 222 - 2024-12-18 07:55:04 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 17 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 223 - 2024-12-18 07:55:04 [0.13ms] */
select * from `party` where `party`.`id` = 42874 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 224 - 2024-12-18 07:55:04 [0.14ms] */
select * from `person` where `person`.`id` = 42874 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 225 - 2024-12-18 07:55:04 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88318 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 226 - 2024-12-18 07:55:04 [0.12ms] */
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/m/vehicle/17
   Query 227 - 2024-12-18 07:55:04 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 228 - 2024-12-18 07:55:04 [0.18ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 229 - 2024-12-18 07:55:04 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92759 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 230 - 2024-12-18 07:55:04 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 10 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 231 - 2024-12-18 07:55:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 232 - 2024-12-18 07:55:04 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 233 - 2024-12-18 07:55:04 [0.12ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 234 - 2024-12-18 07:55:04 [0.12ms] */
select * from `service` where `service`.`id` = 3 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 235 - 2024-12-18 07:55:04 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 17 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 236 - 2024-12-18 07:55:04 [0.13ms] */
select * from `party` where `party`.`id` = 58000 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 237 - 2024-12-18 07:55:04 [0.14ms] */
select * from `person` where `person`.`id` = 55621 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 238 - 2024-12-18 07:55:04 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 88312 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 239 - 2024-12-18 07:55:04 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 240 - 2024-12-18 07:55:04 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 241 - 2024-12-18 07:55:04 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 242 - 2024-12-18 07:55:04 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92726 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 243 - 2024-12-18 07:55:04 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 10 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 244 - 2024-12-18 07:55:04 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/17
   Query 245 - 2024-12-18 07:55:04 [0.29ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 17 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 1 - 2024-12-18 07:55:13 [2.14ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 2 - 2024-12-18 07:55:13 [0.72ms] */
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/vehicle/18
   Query 3 - 2024-12-18 07:55:13 [0.59ms] */
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/vehicle/18
   Query 4 - 2024-12-18 07:55:13 [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/vehicle/18
   Query 5 - 2024-12-18 07:55:13 [0.28ms] */
select * from `vehicle` where `id` = 18 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 6 - 2024-12-18 07:55:13 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 18 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 7 - 2024-12-18 07:55:13 [0.15ms] */
select * from `vehicle` where `id` = 18 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 8 - 2024-12-18 07:55:13 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 18 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 9 - 2024-12-18 07:55:13 [1.27ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 10 - 2024-12-18 07:55:13 [0.14ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 11 - 2024-12-18 07:55:13 [0.2ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 12 - 2024-12-18 07:55:13 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 13 - 2024-12-18 07:55:13 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 14 - 2024-12-18 07:55:13 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 18 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 15 - 2024-12-18 07:55:13 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 16 - 2024-12-18 07:55:13 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 17 - 2024-12-18 07:55:13 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 18 - 2024-12-18 07:55:13 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 19 - 2024-12-18 07:55:13 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 18 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 20 - 2024-12-18 07:55:13 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 21 - 2024-12-18 07:55:13 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 22 - 2024-12-18 07:55:13 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 23 - 2024-12-18 07:55:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 24 - 2024-12-18 07:55:13 [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/m/vehicle/18
   Query 25 - 2024-12-18 07:55:13 [0.15ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 26 - 2024-12-18 07:55:13 [0.16ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 27 - 2024-12-18 07:55:13 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 61713 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 28 - 2024-12-18 07:55:13 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 29 - 2024-12-18 07:55:13 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 30 - 2024-12-18 07:55:13 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 31 - 2024-12-18 07:55:13 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 32 - 2024-12-18 07:55:13 [0.4ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 18 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 33 - 2024-12-18 07:55:13 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 34 - 2024-12-18 07:55:13 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 35 - 2024-12-18 07:55:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 36 - 2024-12-18 07:55:13 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 37 - 2024-12-18 07:55:13 [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/m/vehicle/18
   Query 38 - 2024-12-18 07:55:13 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 98109 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 39 - 2024-12-18 07:55:13 [0.14ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 40 - 2024-12-18 07:55:13 [0.15ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 41 - 2024-12-18 07:55:13 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 42 - 2024-12-18 07:55:13 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 43 - 2024-12-18 07:55:13 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 44 - 2024-12-18 07:55:13 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 45 - 2024-12-18 07:55:13 [0.15ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 46 - 2024-12-18 07:55:13 [0.21ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 417758 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 47 - 2024-12-18 07:55:13 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 48 - 2024-12-18 07:55:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 49 - 2024-12-18 07:55:13 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 50 - 2024-12-18 07:55:13 [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/m/vehicle/18
   Query 51 - 2024-12-18 07:55:13 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 98113 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 52 - 2024-12-18 07:55:13 [0.14ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 53 - 2024-12-18 07:55:13 [0.15ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 54 - 2024-12-18 07:55:13 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 55 - 2024-12-18 07:55:13 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 56 - 2024-12-18 07:55:13 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 57 - 2024-12-18 07:55:13 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 58 - 2024-12-18 07:55:13 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 59 - 2024-12-18 07:55:13 [0.37ms] */
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/vehicle/18
   Query 60 - 2024-12-18 07:55:13 [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` = 2 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 61 - 2024-12-18 07:55:13 [0.3ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 18 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 62 - 2024-12-18 07:55:13 [0.31ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 18 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 63 - 2024-12-18 07:55:13 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 64 - 2024-12-18 07:55:13 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 65 - 2024-12-18 07:55:13 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 66 - 2024-12-18 07:55:13 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 67 - 2024-12-18 07:55:13 [0.13ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 68 - 2024-12-18 07:55:13 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 69 - 2024-12-18 07:55:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 70 - 2024-12-18 07:55:13 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 71 - 2024-12-18 07:55:13 [0.31ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 101081 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 72 - 2024-12-18 07:55:13 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 73 - 2024-12-18 07:55:13 [0.12ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 74 - 2024-12-18 07:55:13 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 75 - 2024-12-18 07:55:13 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 76 - 2024-12-18 07:55:13 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 77 - 2024-12-18 07:55:13 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 78 - 2024-12-18 07:55:13 [0.27ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 79 - 2024-12-18 07:55:13 [0.28ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 80 - 2024-12-18 07:55:13 [0.37ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 81 - 2024-12-18 07:55:13 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 82 - 2024-12-18 07:55:13 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 83 - 2024-12-18 07:55:13 [0.25ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 84 - 2024-12-18 07:55:13 [0.41ms] */
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/m/vehicle/18
   Query 85 - 2024-12-18 07:55:13 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 98109 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 86 - 2024-12-18 07:55:13 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 87 - 2024-12-18 07:55:13 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 88 - 2024-12-18 07:55:13 [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): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 89 - 2024-12-18 07:55:13 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 90 - 2024-12-18 07:55:13 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 91 - 2024-12-18 07:55:13 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 92 - 2024-12-18 07:55:13 [0.14ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 93 - 2024-12-18 07:55:13 [0.15ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 94 - 2024-12-18 07:55:13 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 95 - 2024-12-18 07:55:13 [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/m/vehicle/18
   Query 96 - 2024-12-18 07:55:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 97 - 2024-12-18 07:55:13 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 98 - 2024-12-18 07:55:13 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 98113 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 99 - 2024-12-18 07:55:13 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 100 - 2024-12-18 07:55:13 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 101 - 2024-12-18 07:55:13 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 102 - 2024-12-18 07:55:13 [0.17ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 103 - 2024-12-18 07:55:13 [0.18ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 104 - 2024-12-18 07:55:13 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 105 - 2024-12-18 07:55:13 [0.15ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 106 - 2024-12-18 07:55:13 [0.15ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 107 - 2024-12-18 07:55:13 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 108 - 2024-12-18 07:55:13 [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/m/vehicle/18
   Query 109 - 2024-12-18 07:55:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 110 - 2024-12-18 07:55:13 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 111 - 2024-12-18 07:55:13 [0.22ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 98108 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 112 - 2024-12-18 07:55:13 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 113 - 2024-12-18 07:55:13 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 114 - 2024-12-18 07:55:13 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 115 - 2024-12-18 07:55:13 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 116 - 2024-12-18 07:55:13 [0.14ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 117 - 2024-12-18 07:55:13 [0.15ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 118 - 2024-12-18 07:55:13 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 119 - 2024-12-18 07:55:13 [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/m/vehicle/18
   Query 120 - 2024-12-18 07:55:13 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 121 - 2024-12-18 07:55:13 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 122 - 2024-12-18 07:55:13 [0.21ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 123 - 2024-12-18 07:55:13 [7.91ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 61713 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 124 - 2024-12-18 07:55:13 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 125 - 2024-12-18 07:55:13 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 126 - 2024-12-18 07:55:13 [0.21ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 18 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 127 - 2024-12-18 07:55:13 [0.19ms] */
select * from `title_reprint_history` where `vehicle_id` = 18 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=18&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2024-12-18 07:55:14 [1.33ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=18&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2024-12-18 07:55:14 [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/audit-details?audit_ids=18&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2024-12-18 07:55:14 [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/audit-details?audit_ids=18&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2024-12-18 07:55:14 [0.41ms] */
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/audit-details?audit_ids=18&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2024-12-18 07:55:14 [0.55ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 18 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2024-12-18 07:55:36 [1.35ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2024-12-18 07:55:36 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2024-12-18 07:55:36 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2024-12-18 07:55:36 [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 - 2024-12-18 07:55:36 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2024-12-18 07:55:36 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2024-12-18 07:55:36 [3.93ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'JE254' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2024-12-18 07:55:36 [1.39ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2024-12-18 07:55:36 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2024-12-18 07:55:36 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2024-12-18 07:55: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/taxes
   Query 5 - 2024-12-18 07:55:36 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2024-12-18 07:55:36 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2024-12-18 07:55:36 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2024-12-18 07:55:36 [0.23ms] */
select * from `vehicle` where `id` = 18 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2024-12-18 07:55:36 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 18 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2024-12-18 07:55:36 [0.46ms] */
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` = 18 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 - 2024-12-18 07:55:37 [1.39ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2024-12-18 07:55:37 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2024-12-18 07:55:37 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2024-12-18 07:55:37 [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 - 2024-12-18 07:55:37 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2024-12-18 07:55:37 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2024-12-18 07:55:37 [0.24ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-18 07:55:38 [2.26ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-18 07:55:38 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-18 07:55:38 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-18 07:55:38 [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 - 2024-12-18 07:55:38 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-18 07:55:38 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-18 07:55:38 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 1 - 2024-12-18 07:55:54 [1.51ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 2 - 2024-12-18 07:55:54 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 3 - 2024-12-18 07:55:54 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 4 - 2024-12-18 07:55:54 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 5 - 2024-12-18 07:55:54 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 18 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 6 - 2024-12-18 07:55:54 [0.22ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 7 - 2024-12-18 07:55:54 [0.2ms] */
select * from `make` where `make`.`id` in (1) and `make`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 8 - 2024-12-18 07:55:54 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` in (18) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 9 - 2024-12-18 07:55:54 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (18) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 10 - 2024-12-18 07:55:54 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` in (1) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 11 - 2024-12-18 07:55:54 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 12 - 2024-12-18 07:55:54 [0.19ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 13 - 2024-12-18 07:55:54 [0.19ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 14 - 2024-12-18 07:55:54 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 18 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 15 - 2024-12-18 07:55:54 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 16 - 2024-12-18 07:55:54 [0.39ms] */
select * from `service_fee` where (`sub_category_id` = 18 and `service_id` = 2 or `sub_category_id` is null and `service_id` = 2) and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 17 - 2024-12-18 07:55:54 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 18 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 18 - 2024-12-18 07:55:54 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 18 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 19 - 2024-12-18 07:55:54 [0.22ms] */
select * from `party_vehicle` where `vehicle_id` = 18 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 20 - 2024-12-18 07:55:54 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 61713 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 21 - 2024-12-18 07:55:54 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 22 - 2024-12-18 07:55:54 [0.2ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 23 - 2024-12-18 07:55:54 [0.25ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 24 - 2024-12-18 07:55:54 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 25 - 2024-12-18 07:55:54 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 26 - 2024-12-18 07:55:54 [0.31ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2023 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 27 - 2024-12-18 07:55:54 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 28 - 2024-12-18 07:55:54 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2023 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 29 - 2024-12-18 07:55:54 [0.15ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 30 - 2024-12-18 07:55:54 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2023 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 31 - 2024-12-18 07:55:54 [0.15ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 32 - 2024-12-18 07:55:54 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2023 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 33 - 2024-12-18 07:55:54 [1.89ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 34 - 2024-12-18 07:55:54 [0.15ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2023 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 35 - 2024-12-18 07:55:54 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2024 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 36 - 2024-12-18 07:55:54 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 37 - 2024-12-18 07:55:54 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 38 - 2024-12-18 07:55:54 [0.15ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 39 - 2024-12-18 07:55:54 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 40 - 2024-12-18 07:55:54 [0.15ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 41 - 2024-12-18 07:55:54 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 42 - 2024-12-18 07:55:54 [0.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 43 - 2024-12-18 07:55:54 [0.16ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 18 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 1 - 2024-12-18 07:55:55 [1.33ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 2 - 2024-12-18 07:55:55 [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/m/vehicle/18
   Query 3 - 2024-12-18 07:55:55 [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/vehicle/18
   Query 4 - 2024-12-18 07:55:55 [0.89ms] */
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/vehicle/18
   Query 5 - 2024-12-18 07:55:55 [0.23ms] */
select * from `vehicle` where `id` = 18 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 6 - 2024-12-18 07:55:55 [0.16ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 18 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 7 - 2024-12-18 07:55:55 [0.14ms] */
select * from `vehicle` where `id` = 18 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 8 - 2024-12-18 07:55:55 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 18 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 9 - 2024-12-18 07:55:55 [1.07ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 10 - 2024-12-18 07:55:55 [0.13ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 11 - 2024-12-18 07:55:55 [0.19ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 12 - 2024-12-18 07:55:55 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 13 - 2024-12-18 07:55:55 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 14 - 2024-12-18 07:55:55 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 18 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 15 - 2024-12-18 07:55:55 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 16 - 2024-12-18 07:55:55 [0.29ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 17 - 2024-12-18 07:55:55 [0.26ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 18 - 2024-12-18 07:55:55 [0.25ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 19 - 2024-12-18 07:55:55 [0.3ms] */
select * from `party_vehicle` where `vehicle_id` = 18 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 20 - 2024-12-18 07:55:55 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 21 - 2024-12-18 07:55:55 [0.3ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 22 - 2024-12-18 07:55:55 [0.2ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 23 - 2024-12-18 07:55:55 [0.22ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 24 - 2024-12-18 07:55:55 [0.2ms] */
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/m/vehicle/18
   Query 25 - 2024-12-18 07:55:55 [0.23ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 26 - 2024-12-18 07:55:55 [0.3ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 27 - 2024-12-18 07:55:55 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 61713 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 28 - 2024-12-18 07:55:55 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 29 - 2024-12-18 07:55:55 [0.21ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 30 - 2024-12-18 07:55:55 [0.21ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 31 - 2024-12-18 07:55:55 [0.2ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 32 - 2024-12-18 07:55:55 [0.29ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 18 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 33 - 2024-12-18 07:55:55 [0.24ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 34 - 2024-12-18 07:55:55 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 35 - 2024-12-18 07:55:55 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 36 - 2024-12-18 07:55:55 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 37 - 2024-12-18 07:55:55 [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/m/vehicle/18
   Query 38 - 2024-12-18 07:55:55 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 98109 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 39 - 2024-12-18 07:55:55 [0.14ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 40 - 2024-12-18 07:55:55 [0.15ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 41 - 2024-12-18 07:55:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 42 - 2024-12-18 07:55:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 43 - 2024-12-18 07:55:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 44 - 2024-12-18 07:55:55 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 45 - 2024-12-18 07:55:55 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 46 - 2024-12-18 07:55:55 [0.13ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 417758 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 47 - 2024-12-18 07:55:55 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 48 - 2024-12-18 07:55:55 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 49 - 2024-12-18 07:55:55 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 50 - 2024-12-18 07:55:55 [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/m/vehicle/18
   Query 51 - 2024-12-18 07:55:55 [0.14ms] */
select * from `transaction` where `transaction`.`id` = 98113 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 52 - 2024-12-18 07:55:55 [0.13ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 53 - 2024-12-18 07:55:55 [0.14ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 54 - 2024-12-18 07:55:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 55 - 2024-12-18 07:55:55 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 56 - 2024-12-18 07:55:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 57 - 2024-12-18 07:55:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 58 - 2024-12-18 07:55:55 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 59 - 2024-12-18 07:55:55 [0.41ms] */
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/vehicle/18
   Query 60 - 2024-12-18 07:55:55 [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` = 2 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 61 - 2024-12-18 07:55:55 [0.15ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 18 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 62 - 2024-12-18 07:55:55 [0.18ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 18 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 63 - 2024-12-18 07:55:55 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 64 - 2024-12-18 07:55:55 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 65 - 2024-12-18 07:55:55 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 8 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 66 - 2024-12-18 07:55:55 [0.12ms] */
select * from `service` where `service`.`id` = 8 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 67 - 2024-12-18 07:55:55 [0.19ms] */
select * from `service` where `service`.`id` = 8 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 68 - 2024-12-18 07:55:55 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 69 - 2024-12-18 07:55:55 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 70 - 2024-12-18 07:55:55 [0.25ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 71 - 2024-12-18 07:55:55 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 101081 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 72 - 2024-12-18 07:55:55 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 33 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 73 - 2024-12-18 07:55:55 [0.2ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 74 - 2024-12-18 07:55:55 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 75 - 2024-12-18 07:55:55 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 76 - 2024-12-18 07:55:55 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 77 - 2024-12-18 07:55:55 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 78 - 2024-12-18 07:55:55 [0.25ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 79 - 2024-12-18 07:55:55 [0.25ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 80 - 2024-12-18 07:55:55 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 81 - 2024-12-18 07:55:55 [0.21ms] */
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/m/vehicle/18
   Query 82 - 2024-12-18 07:55:55 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 83 - 2024-12-18 07:55:55 [0.21ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 84 - 2024-12-18 07:55:55 [0.22ms] */
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/m/vehicle/18
   Query 85 - 2024-12-18 07:55:55 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 98109 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 86 - 2024-12-18 07:55:55 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 87 - 2024-12-18 07:55:55 [0.19ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 88 - 2024-12-18 07:55:55 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 89 - 2024-12-18 07:55:55 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 90 - 2024-12-18 07:55:55 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 91 - 2024-12-18 07:55:55 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 92 - 2024-12-18 07:55:55 [0.13ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 93 - 2024-12-18 07:55:55 [0.15ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 94 - 2024-12-18 07:55:55 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 95 - 2024-12-18 07:55:55 [0.12ms] */
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/m/vehicle/18
   Query 96 - 2024-12-18 07:55:55 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 97 - 2024-12-18 07:55:55 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 98 - 2024-12-18 07:55:55 [0.14ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 98113 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 99 - 2024-12-18 07:55:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 100 - 2024-12-18 07:55:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 101 - 2024-12-18 07:55:55 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 102 - 2024-12-18 07:55:55 [0.14ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 103 - 2024-12-18 07:55:55 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 104 - 2024-12-18 07:55:55 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 105 - 2024-12-18 07:55:55 [0.13ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 106 - 2024-12-18 07:55:55 [0.14ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 107 - 2024-12-18 07:55:55 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 108 - 2024-12-18 07:55:55 [0.12ms] */
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/m/vehicle/18
   Query 109 - 2024-12-18 07:55:55 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 110 - 2024-12-18 07:55:55 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 111 - 2024-12-18 07:55:55 [0.15ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 98108 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 112 - 2024-12-18 07:55:55 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 113 - 2024-12-18 07:55:55 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 114 - 2024-12-18 07:55:55 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 115 - 2024-12-18 07:55:55 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 116 - 2024-12-18 07:55:55 [0.13ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 117 - 2024-12-18 07:55:55 [0.14ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 118 - 2024-12-18 07:55:55 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 61713 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 119 - 2024-12-18 07:55:55 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 120 - 2024-12-18 07:55:55 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 121 - 2024-12-18 07:55:55 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 122 - 2024-12-18 07:55:55 [0.14ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 123 - 2024-12-18 07:55:55 [0.13ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 61713 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 124 - 2024-12-18 07:55:55 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 125 - 2024-12-18 07:55:55 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 126 - 2024-12-18 07:55:55 [0.14ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 18 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/18
   Query 127 - 2024-12-18 07:55:55 [0.13ms] */
select * from `title_reprint_history` where `vehicle_id` = 18 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=18&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2024-12-18 07:55:55 [1.3ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=18&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2024-12-18 07:55:55 [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/audit-details?audit_ids=18&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2024-12-18 07:55:55 [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/audit-details?audit_ids=18&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2024-12-18 07:55:55 [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/audit-details?audit_ids=18&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2024-12-18 07:55:55 [0.19ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 18 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 1 - 2024-12-18 07:56:04 [2.35ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 2 - 2024-12-18 07:56:04 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 3 - 2024-12-18 07:56:04 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 4 - 2024-12-18 07:56:04 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 5 - 2024-12-18 07:56:04 [0.19ms] */
select * from `payment_method` where `name` = 'Cash' and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 6 - 2024-12-18 07:56:04 [0.29ms] */
select * from `invoice` where `id` = 97180 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 7 - 2024-12-18 07:56:04 [0.24ms] */
select * from `transaction` where `transaction`.`id` in (98109) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 8 - 2024-12-18 07:56:04 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` in (18) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 9 - 2024-12-18 07:56:04 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 10 - 2024-12-18 07:56:04 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 11 - 2024-12-18 07:56:04 [0.13ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 12 - 2024-12-18 07:56:04 [0.22ms] */
select * from `party` where `party`.`id` in (24797) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 13 - 2024-12-18 07:56:04 [0.46ms] */
select * from `address` where `address`.`id` in (24797) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 14 - 2024-12-18 07:56:04 [0.22ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 15 - 2024-12-18 07:56:04 [0.16ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 16 - 2024-12-18 07:56:04 [0.21ms] */
select * from `address` where `address`.`id` = 24797 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 17 - 2024-12-18 07:56:04 [0.45ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 97180 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97180
   Query 18 - 2024-12-18 07:56:04 [0.27ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 97180 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 1 - 2024-12-18 07:56:09 [1.32ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 2 - 2024-12-18 07:56:09 [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/m/trns/i/97184
   Query 3 - 2024-12-18 07:56:09 [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/trns/i/97184
   Query 4 - 2024-12-18 07:56:09 [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/m/trns/i/97184
   Query 5 - 2024-12-18 07:56:09 [0.17ms] */
select * from `payment_method` where `name` = 'Cash' and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 6 - 2024-12-18 07:56:09 [0.27ms] */
select * from `invoice` where `id` = 97184 and `invoice`.`invoice_amount` <> 0.00 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 7 - 2024-12-18 07:56:09 [0.24ms] */
select * from `transaction` where `transaction`.`id` in (98113) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 8 - 2024-12-18 07:56:09 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (18) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 9 - 2024-12-18 07:56:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 10 - 2024-12-18 07:56:09 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 11 - 2024-12-18 07:56:09 [0.13ms] */
select * from `service` where `service`.`id` in (2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 12 - 2024-12-18 07:56:09 [0.15ms] */
select * from `party` where `party`.`id` in (24797) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 13 - 2024-12-18 07:56:09 [0.14ms] */
select * from `address` where `address`.`id` in (24797) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 14 - 2024-12-18 07:56:09 [0.14ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 15 - 2024-12-18 07:56:09 [0.16ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 16 - 2024-12-18 07:56:09 [0.14ms] */
select * from `address` where `address`.`id` = 24797 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 17 - 2024-12-18 07:56:09 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 97184 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns/i/97184
   Query 18 - 2024-12-18 07:56:09 [0.26ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 97184 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2024-12-18 07:56:45 [1.44ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-18 07:56:45 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-18 07:56:45 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-18 07:56:45 [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 - 2024-12-18 07:56:45 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-18 07:56:45 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-18 07:56:45 [0.18ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-18 07:56:45 [0.27ms] */
select `transaction_id` from `vehicle_tax` where `id` in (96330, 96334) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-18 07:56:45 [0.21ms] */
select `parent_id` from `transaction` where `id` in (98109, 98113) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-18 07:56:45 [0.28ms] */
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 - 2024-12-18 07:56:45 [0.27ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-18 07:56:45 [0.26ms] */
select * from `transaction` where `id` in (98109, 98113) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-18 07:56:45 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 97180 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 - 2024-12-18 07:56:45 [3.55ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2024-12-18 07:56:45' where `id` = 97180;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-18 07:56:45 [0.25ms] */
select * from `invoice` where `id` = 97180 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-18 07:56:45 [2.97ms] */
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', 97180, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2024-12-18 07:56:45 [0.14ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2024-12-18 07:56:45 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2024-12-18 07:56:45 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 97184 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 20 - 2024-12-18 07:56:45 [2.96ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2024-12-18 07:56:45' where `id` = 97184;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2024-12-18 07:56:45 [0.32ms] */
select * from `invoice` where `id` = 97184 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2024-12-18 07:56:45 [2.93ms] */
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', 97184, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2024-12-18 07:56:45 [0.2ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2024-12-18 07:56:45 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2024-12-18 07:56:45 [3.24ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2024-12-18 07:56:45' where `id` = 98113;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2024-12-18 07:56:45 [3.04ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2024-12-18 07:56:45' where `id` in (96330, 96334) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2024-12-18 07:56:45 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 18 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2024-12-18 07:56:45 [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 29 - 2024-12-18 07:56:45 [0.33ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 18 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2024-12-18 07:56:45 [0.35ms] */
select * from `party_vehicle` where `vehicle_id` = 18 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 31 - 2024-12-18 07:56:45 [0.23ms] */
select * from `party` where `party`.`id` = 24797 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 32 - 2024-12-18 07:56:45 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 18 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 33 - 2024-12-18 07:56:45 [0.42ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2024-12-18 07:56:45 [0.29ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2024-12-18 07:56:45 [0.69ms] */
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 (24797, 2, 18, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2024-12-18 07:56:45 [0.45ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102818, 'INITIATED', '2024-12-18 07:56:45', 5, 5, 5, 5, '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2024-12-18 07:56:45 [0.36ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 61713, `transaction`.`updated_at` = '2024-12-18 07:56:45' where `id` = 102818;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2024-12-18 07:56:45 [0.49ms] */
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 (96330, 96334) 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 39 - 2024-12-18 07:56:45 [0.39ms] */
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 (96330, 96334) 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 40 - 2024-12-18 07:56:45 [0.42ms] */
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 (102818, 24797, '2024-12-18 07:56:45', '2024-12-18 07:56:45', 42.00, 0, 42.00, 42.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2024-12-18 07:56:45 [0.35ms] */
select * from `invoice` where `id` = 102402 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2024-12-18 07:56:45 [0.35ms] */
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":102818,"party_id":24797,"invoice_amount":"42.00","invoice_date":"2024-12-18 07:56:45","due_date":"2024-12-18 07:56:45","outstanding_balance":"42.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"42.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', 102402, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2024-12-18 07:56:45 [0.45ms] */
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 (96330, 96334) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2024-12-18 07:56:45 [0.21ms] */
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', 2, 42, 42, 102402, 5, 5, '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2024-12-18 07:56:45 [0.17ms] */
select * from `invoice_item` where `id` = 200439 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2024-12-18 07:56:45 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"42.00","quantity":2,"total_price":"42.00","invoice_id":102402}}', 5, 'App\Models\User', 200439, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2024-12-18 07:56:45 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-694-102402743', `invoice`.`updated_at` = '2024-12-18 07:56:45' where `id` = 102402;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2024-12-18 07:56:45 [0.18ms] */
select * from `invoice` where `id` = 102402 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2024-12-18 07:56:45 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_number":"INV-694-102402743"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 102402, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2024-12-18 07:56:45 [0.22ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 96330 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2024-12-18 07:56:45 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2024-12-18 07:56:45' where `id` = 96330;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2024-12-18 07:56:45 [0.18ms] */
select * from `vehicle_tax` where `id` = 96330 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2024-12-18 07:56:45 [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', 96330, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2024-12-18 07:56:45 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 98109 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 55 - 2024-12-18 07:56:45 [0.28ms] */
update `transaction` set `deliver_district_id` = null, `parent_id` = 102818, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2024-12-18 07:56:45' where `id` = 98109;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2024-12-18 07:56:45 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 97180 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 57 - 2024-12-18 07:56:45 [0.17ms] */
update `invoice` set `parent_id` = 102402, `grouped` = 'Y', `invoice`.`updated_at` = '2024-12-18 07:56:45' where `id` = 97180;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2024-12-18 07:56:45 [0.18ms] */
select * from `invoice` where `id` = 97180 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2024-12-18 07:56:45 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":102402,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 97180, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2024-12-18 07:56:45 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 98109 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2024-12-18 07:56:45 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2024-12-18 07:56:45 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2024-12-18 07:56:45 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2024-12-18 07:56:45 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 65 - 2024-12-18 07:56:45 [0.18ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2024-12-18 07:56:45 [0.23ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (98109, 'APPROVED', '2024-12-18 07:56:45', 5, 5, null, 5, 5, '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2024-12-18 07:56:45 [0.24ms] */
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 68 - 2024-12-18 07:56:45 [0.3ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2024-12-18 07:56:45' where `id` = 98109;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 69 - 2024-12-18 07:56:45 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 70 - 2024-12-18 07:56:45 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 97180 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 71 - 2024-12-18 07:56:45 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 96334 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2024-12-18 07:56:45 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2024-12-18 07:56:45' where `id` = 96334;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2024-12-18 07:56:45 [0.18ms] */
select * from `vehicle_tax` where `id` = 96334 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2024-12-18 07:56:45 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 96334, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 75 - 2024-12-18 07:56:45 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 98113 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 76 - 2024-12-18 07:56:45 [0.21ms] */
update `transaction` set `deliver_district_id` = null, `parent_id` = 102818, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2024-12-18 07:56:45' where `id` = 98113;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2024-12-18 07:56:45 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 97184 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 78 - 2024-12-18 07:56:45 [0.17ms] */
update `invoice` set `parent_id` = 102402, `grouped` = 'Y', `invoice`.`updated_at` = '2024-12-18 07:56:45' where `id` = 97184;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 79 - 2024-12-18 07:56:45 [0.18ms] */
select * from `invoice` where `id` = 97184 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2024-12-18 07:56:45 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":102402,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 97184, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2024-12-18 07:56:45 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 98113 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2024-12-18 07:56:45 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2024-12-18 07:56:45 [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 84 - 2024-12-18 07:56:45 [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 85 - 2024-12-18 07:56:45 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 86 - 2024-12-18 07:56:45 [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 (98113, 'APPROVED', '2024-12-18 07:56:45', 5, 5, null, 5, 5, '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 87 - 2024-12-18 07:56:45 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2024-12-18 07:56:45 [0.25ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2024-12-18 07:56:45' where `id` = 98113;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 89 - 2024-12-18 07:56:45 [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 90 - 2024-12-18 07:56:45 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 97184 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 91 - 2024-12-18 07:56:45 [0.18ms] */
update `transaction` set `invoice_id` = 102402, `transaction`.`updated_at` = '2024-12-18 07:56:45' where `id` = 102818;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 92 - 2024-12-18 07:56:45 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 102818 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 93 - 2024-12-18 07:56:45 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 94 - 2024-12-18 07:56:45 [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 95 - 2024-12-18 07:56:45 [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 96 - 2024-12-18 07:56:45 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102818, 'APPROVED', '2024-12-18 07:56:45', 5, 5, null, 5, 5, '2024-12-18 07:56:45', '2024-12-18 07:56:45');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 97 - 2024-12-18 07:56:45 [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 98 - 2024-12-18 07:56:45 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2024-12-18 07:56:45' where `id` = 102818;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 99 - 2024-12-18 07:56:45 [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 100 - 2024-12-18 07:56:45 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102402 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 101 - 2024-12-18 07:56:45 [0.15ms] */
select * from `payment_method` where `payment_method`.`id` = 1 and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 102 - 2024-12-18 07:56:45 [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 103 - 2024-12-18 07:56:45 [0.36ms] */
select * from `invoice` where `invoice`.`id` = 102402 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-18 07:56:45 [1.32ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-18 07:56:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-18 07:56:45 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-18 07:56:45 [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 - 2024-12-18 07:56:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-18 07:56:45 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-18 07:56:45 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 1 - 2024-12-18 07:58:05 [2.41ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 2 - 2024-12-18 07:58:05 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 3 - 2024-12-18 07:58:05 [0.6ms] */
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/r/report/expired-tax
   Query 4 - 2024-12-18 07:58:05 [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/r/report/expired-tax
   Query 5 - 2024-12-18 07:58:05 [10.46ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-18 07:58:05' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 6 - 2024-12-18 07:58:05 [12.27ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-18 07:58:05' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 7 - 2024-12-18 07:58:05 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 2 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 8 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 2 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 9 - 2024-12-18 07:58:05 [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/r/report/expired-tax
   Query 10 - 2024-12-18 07:58:05 [0.15ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 11 - 2024-12-18 07:58:05 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 12 - 2024-12-18 07:58:05 [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/r/report/expired-tax
   Query 13 - 2024-12-18 07:58:05 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 14 - 2024-12-18 07:58:05 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 15 - 2024-12-18 07:58:05 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 16 - 2024-12-18 07:58:05 [0.48ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 2 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 17 - 2024-12-18 07:58:05 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 4 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 18 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 4 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 19 - 2024-12-18 07:58:05 [0.15ms] */
select * from `party` where `party`.`id` = 23256 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 20 - 2024-12-18 07:58:05 [0.14ms] */
select * from `person` where `person`.`id` = 23256 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 21 - 2024-12-18 07:58:05 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 22 - 2024-12-18 07:58:05 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 23 - 2024-12-18 07:58:05 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 24 - 2024-12-18 07:58:05 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 25 - 2024-12-18 07:58:05 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 26 - 2024-12-18 07:58:05 [0.4ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 4 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 27 - 2024-12-18 07:58:05 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 6 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 28 - 2024-12-18 07:58:05 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 6 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 29 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party` where `party`.`id` = 23562 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 30 - 2024-12-18 07:58:05 [0.14ms] */
select * from `person` where `person`.`id` = 23562 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 31 - 2024-12-18 07:58:05 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 32 - 2024-12-18 07:58:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 33 - 2024-12-18 07:58:05 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 34 - 2024-12-18 07:58:05 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 35 - 2024-12-18 07:58:05 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 36 - 2024-12-18 07:58:05 [0.46ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 6 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 37 - 2024-12-18 07:58:05 [0.14ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 38 - 2024-12-18 07:58:05 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 39 - 2024-12-18 07:58:05 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 8 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 40 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 8 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 41 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 42 - 2024-12-18 07:58:05 [0.14ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 43 - 2024-12-18 07:58:05 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 44 - 2024-12-18 07:58:05 [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/r/report/expired-tax
   Query 45 - 2024-12-18 07:58:05 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 46 - 2024-12-18 07:58:05 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 47 - 2024-12-18 07:58:05 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 48 - 2024-12-18 07:58:05 [0.41ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 8 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 49 - 2024-12-18 07:58:05 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 50 - 2024-12-18 07:58:05 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 8 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 51 - 2024-12-18 07:58:05 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 8 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 52 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 53 - 2024-12-18 07:58:05 [0.14ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 54 - 2024-12-18 07:58:05 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 55 - 2024-12-18 07:58:05 [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/r/report/expired-tax
   Query 56 - 2024-12-18 07:58:05 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 57 - 2024-12-18 07:58:05 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 58 - 2024-12-18 07:58:05 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 59 - 2024-12-18 07:58:05 [0.16ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 8 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 60 - 2024-12-18 07:58:05 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 61 - 2024-12-18 07:58:05 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 14 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 62 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 14 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 63 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 64 - 2024-12-18 07:58:05 [0.15ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 65 - 2024-12-18 07:58:05 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 66 - 2024-12-18 07:58:05 [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/r/report/expired-tax
   Query 67 - 2024-12-18 07:58:05 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 68 - 2024-12-18 07:58:05 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 69 - 2024-12-18 07:58:05 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 70 - 2024-12-18 07:58:05 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 14 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 71 - 2024-12-18 07:58:05 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 72 - 2024-12-18 07:58:05 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 15 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 73 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 15 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 74 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 75 - 2024-12-18 07:58:05 [0.15ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 76 - 2024-12-18 07:58:05 [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/r/report/expired-tax
   Query 77 - 2024-12-18 07:58:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 78 - 2024-12-18 07:58:05 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 79 - 2024-12-18 07:58:05 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 80 - 2024-12-18 07:58:05 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 81 - 2024-12-18 07:58:05 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 15 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 82 - 2024-12-18 07:58:05 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 83 - 2024-12-18 07:58:05 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 17 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 84 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 17 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 85 - 2024-12-18 07:58:05 [0.16ms] */
select * from `party` where `party`.`id` = 24688 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 86 - 2024-12-18 07:58:05 [0.14ms] */
select * from `person` where `person`.`id` = 24688 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 87 - 2024-12-18 07:58:05 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 88 - 2024-12-18 07:58:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 89 - 2024-12-18 07:58:05 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 90 - 2024-12-18 07:58:05 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 91 - 2024-12-18 07:58:05 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 92 - 2024-12-18 07:58:05 [0.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 17 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 93 - 2024-12-18 07:58:05 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 94 - 2024-12-18 07:58:05 [0.12ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 95 - 2024-12-18 07:58:05 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 18 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 96 - 2024-12-18 07:58:05 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 18 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 97 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 98 - 2024-12-18 07:58:05 [0.14ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 99 - 2024-12-18 07:58:05 [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/r/report/expired-tax
   Query 100 - 2024-12-18 07:58:05 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 101 - 2024-12-18 07:58:05 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 102 - 2024-12-18 07:58:05 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 103 - 2024-12-18 07:58:05 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 104 - 2024-12-18 07:58:05 [0.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 18 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 105 - 2024-12-18 07:58:05 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 19 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 106 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 19 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 107 - 2024-12-18 07:58:05 [0.14ms] */
select * from `party` where `party`.`id` = 24962 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 108 - 2024-12-18 07:58:05 [0.15ms] */
select * from `person` where `person`.`id` = 24962 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 109 - 2024-12-18 07:58:05 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 110 - 2024-12-18 07:58:05 [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/r/report/expired-tax
   Query 111 - 2024-12-18 07:58:05 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 112 - 2024-12-18 07:58:05 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 113 - 2024-12-18 07:58:05 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 4 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 114 - 2024-12-18 07:58:05 [0.44ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 19 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 115 - 2024-12-18 07:58:05 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 116 - 2024-12-18 07:58:05 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 117 - 2024-12-18 07:58:05 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 1 - 2024-12-18 07:58:09 [2.15ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 2 - 2024-12-18 07:58:09 [0.68ms] */
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/vehicle/15
   Query 3 - 2024-12-18 07:58:09 [0.67ms] */
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/vehicle/15
   Query 4 - 2024-12-18 07:58:09 [0.54ms] */
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/vehicle/15
   Query 5 - 2024-12-18 07:58:09 [0.3ms] */
select * from `vehicle` where `id` = 15 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 6 - 2024-12-18 07:58:09 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 15 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 7 - 2024-12-18 07:58:09 [0.15ms] */
select * from `vehicle` where `id` = 15 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 8 - 2024-12-18 07:58:09 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 15 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 9 - 2024-12-18 07:58:09 [1.06ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 10 - 2024-12-18 07:58:09 [0.13ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 11 - 2024-12-18 07:58:09 [0.18ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 12 - 2024-12-18 07:58:09 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 13 - 2024-12-18 07:58:09 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 14 - 2024-12-18 07:58:09 [0.31ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 15 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 15 - 2024-12-18 07:58:09 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 16 - 2024-12-18 07:58:09 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 17 - 2024-12-18 07:58:09 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 1 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 18 - 2024-12-18 07:58:09 [0.14ms] */
select * from `fuel_type` where `fuel_type`.`id` = 1 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 19 - 2024-12-18 07:58:09 [0.26ms] */
select * from `party_vehicle` where `vehicle_id` = 15 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 20 - 2024-12-18 07:58:09 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 15 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 21 - 2024-12-18 07:58:09 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 22 - 2024-12-18 07:58:09 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 23 - 2024-12-18 07:58:09 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 24 - 2024-12-18 07:58:09 [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/m/vehicle/15
   Query 25 - 2024-12-18 07:58:09 [0.15ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 26 - 2024-12-18 07:58:09 [0.16ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 27 - 2024-12-18 07:58:09 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 71486 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 28 - 2024-12-18 07:58:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 29 - 2024-12-18 07:58:09 [0.14ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 30 - 2024-12-18 07:58:09 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 31 - 2024-12-18 07:58:09 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 32 - 2024-12-18 07:58:09 [0.38ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 15 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 33 - 2024-12-18 07:58:09 [0.14ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 34 - 2024-12-18 07:58:09 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 15 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 35 - 2024-12-18 07:58:09 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 36 - 2024-12-18 07:58:09 [0.23ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 71486 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 37 - 2024-12-18 07:58:09 [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/m/vehicle/15
   Query 38 - 2024-12-18 07:58:09 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 92859 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 39 - 2024-12-18 07:58:09 [0.14ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 40 - 2024-12-18 07:58:09 [0.15ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 41 - 2024-12-18 07:58:09 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 42 - 2024-12-18 07:58:09 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 43 - 2024-12-18 07:58:09 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 44 - 2024-12-18 07:58:09 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 45 - 2024-12-18 07:58:09 [0.14ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 46 - 2024-12-18 07:58:09 [0.23ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 425058 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 47 - 2024-12-18 07:58:09 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 15 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 48 - 2024-12-18 07:58:09 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 49 - 2024-12-18 07:58:09 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 71486 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 50 - 2024-12-18 07:58:09 [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/m/vehicle/15
   Query 51 - 2024-12-18 07:58:09 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 92860 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 52 - 2024-12-18 07:58:09 [0.14ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 53 - 2024-12-18 07:58:09 [0.15ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 54 - 2024-12-18 07:58:09 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 55 - 2024-12-18 07:58:09 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 56 - 2024-12-18 07:58:09 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 57 - 2024-12-18 07:58:09 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 58 - 2024-12-18 07:58:09 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 59 - 2024-12-18 07:58:09 [0.43ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 418925 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 60 - 2024-12-18 07:58:09 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 15 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 61 - 2024-12-18 07:58:09 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 62 - 2024-12-18 07:58:09 [0.27ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 71486 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 63 - 2024-12-18 07:58:09 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 64 - 2024-12-18 07:58:09 [0.47ms] */
select * from `transaction` where `transaction`.`id` = 92861 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 65 - 2024-12-18 07:58:09 [0.31ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 66 - 2024-12-18 07:58:09 [0.33ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 67 - 2024-12-18 07:58:09 [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): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 68 - 2024-12-18 07:58:09 [0.31ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 69 - 2024-12-18 07:58:09 [0.25ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 70 - 2024-12-18 07:58:09 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 71 - 2024-12-18 07:58:09 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 72 - 2024-12-18 07:58:09 [0.23ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 452801 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 73 - 2024-12-18 07:58:09 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 15 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 74 - 2024-12-18 07:58:09 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 75 - 2024-12-18 07:58:09 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 71486 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 76 - 2024-12-18 07:58:09 [0.12ms] */
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/m/vehicle/15
   Query 77 - 2024-12-18 07:58:09 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 92862 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 78 - 2024-12-18 07:58:09 [0.13ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 79 - 2024-12-18 07:58:09 [0.15ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 80 - 2024-12-18 07:58:09 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 81 - 2024-12-18 07:58:09 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 82 - 2024-12-18 07:58:09 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 83 - 2024-12-18 07:58:09 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 84 - 2024-12-18 07:58:09 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 85 - 2024-12-18 07:58:09 [0.38ms] */
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/vehicle/15
   Query 86 - 2024-12-18 07:58:09 [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` = 2 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 87 - 2024-12-18 07:58:09 [0.29ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 15 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 88 - 2024-12-18 07:58:09 [0.33ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 15 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 89 - 2024-12-18 07:58:09 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 90 - 2024-12-18 07:58:09 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 91 - 2024-12-18 07:58:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 92 - 2024-12-18 07:58:09 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 93 - 2024-12-18 07:58:09 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 94 - 2024-12-18 07:58:09 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 15 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 95 - 2024-12-18 07:58:09 [0.14ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 96 - 2024-12-18 07:58:09 [0.14ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 97 - 2024-12-18 07:58:09 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 71486 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 98 - 2024-12-18 07:58:09 [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/m/vehicle/15
   Query 99 - 2024-12-18 07:58:09 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 100 - 2024-12-18 07:58:09 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 101 - 2024-12-18 07:58:09 [0.23ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 102 - 2024-12-18 07:58:09 [0.22ms] */
select * from `users` where `users`.`id` = 102 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 103 - 2024-12-18 07:58:09 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92874 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 104 - 2024-12-18 07:58:09 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 105 - 2024-12-18 07:58:09 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 106 - 2024-12-18 07:58:09 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 107 - 2024-12-18 07:58:09 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 108 - 2024-12-18 07:58:09 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 109 - 2024-12-18 07:58:09 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 15 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 110 - 2024-12-18 07:58:09 [0.14ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 111 - 2024-12-18 07:58:09 [0.16ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 112 - 2024-12-18 07:58:09 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 71486 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 113 - 2024-12-18 07:58:09 [0.12ms] */
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/m/vehicle/15
   Query 114 - 2024-12-18 07:58:09 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 115 - 2024-12-18 07:58:09 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 116 - 2024-12-18 07:58:09 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92862 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 117 - 2024-12-18 07:58:09 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 118 - 2024-12-18 07:58:09 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 119 - 2024-12-18 07:58:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 120 - 2024-12-18 07:58:09 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 121 - 2024-12-18 07:58:09 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 122 - 2024-12-18 07:58:09 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 15 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 123 - 2024-12-18 07:58:09 [0.13ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 124 - 2024-12-18 07:58:09 [0.14ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 125 - 2024-12-18 07:58:09 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 71486 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 126 - 2024-12-18 07:58:09 [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/m/vehicle/15
   Query 127 - 2024-12-18 07:58:09 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 128 - 2024-12-18 07:58:09 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 129 - 2024-12-18 07:58:09 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 92857 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 130 - 2024-12-18 07:58:09 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 131 - 2024-12-18 07:58:09 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 132 - 2024-12-18 07:58:09 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 133 - 2024-12-18 07:58:09 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 15 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 134 - 2024-12-18 07:58:09 [0.13ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 135 - 2024-12-18 07:58:09 [0.14ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 136 - 2024-12-18 07:58:09 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 71486 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 137 - 2024-12-18 07:58:09 [0.12ms] */
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/m/vehicle/15
   Query 138 - 2024-12-18 07:58:09 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 139 - 2024-12-18 07:58:09 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 140 - 2024-12-18 07:58:09 [0.14ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 141 - 2024-12-18 07:58:09 [0.3ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 71486 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 142 - 2024-12-18 07:58:09 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 143 - 2024-12-18 07:58:09 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 144 - 2024-12-18 07:58:09 [0.22ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 15 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/15
   Query 145 - 2024-12-18 07:58:09 [0.21ms] */
select * from `title_reprint_history` where `vehicle_id` = 15 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=15&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2024-12-18 07:58:10 [2.07ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/audit-details?audit_ids=15&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2024-12-18 07:58:10 [0.72ms] */
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/audit-details?audit_ids=15&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2024-12-18 07:58:10 [0.59ms] */
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/audit-details?audit_ids=15&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2024-12-18 07:58:10 [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/audit-details?audit_ids=15&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2024-12-18 07:58:10 [0.52ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 15 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2024-12-18 07:58:13 [2.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2024-12-18 07:58:13 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2024-12-18 07:58:13 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2024-12-18 07:58:13 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2024-12-18 07:58:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2024-12-18 07:58:13 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2024-12-18 07:58:13 [0.73ms] */
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` = 'TF412' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2024-12-18 07:58:13 [1.44ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2024-12-18 07:58:13 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2024-12-18 07:58:13 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2024-12-18 07:58:13 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2024-12-18 07:58:13 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2024-12-18 07:58:13 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2024-12-18 07:58:13 [0.4ms] */
select * from `vehicle` where `vehicle`.`id` = 15 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2024-12-18 07:58:13 [0.4ms] */
select * from `vehicle` where `id` = 15 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2024-12-18 07:58:13 [0.43ms] */
select * from `party_vehicle` where `vehicle_id` = 15 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2024-12-18 07:58:13 [0.69ms] */
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` = 15 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 - 2024-12-18 07:58:14 [2.07ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2024-12-18 07:58:14 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2024-12-18 07:58:14 [0.34ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2024-12-18 07:58:14 [0.33ms] */
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 - 2024-12-18 07:58:14 [0.33ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2024-12-18 07:58:14 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2024-12-18 07:58:14 [0.2ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-18 07:58:14 [1.28ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-18 07:58:14 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-18 07:58:14 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-18 07:58: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 - 2024-12-18 07:58:14 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-18 07:58:14 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-18 07:58: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 - 2024-12-18 07:58:15 [2.01ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-18 07:58:15 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-18 07:58:15 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-18 07:58:15 [0.25ms] */
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 - 2024-12-18 07:58:15 [0.21ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-18 07:58:15 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-18 07:58:15 [0.23ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-18 07:58:15 [0.29ms] */
select `transaction_id` from `vehicle_tax` where `id` in (92365, 92366, 92367, 92368) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-18 07:58:15 [0.22ms] */
select `parent_id` from `transaction` where `id` in (92859, 92860, 92861, 92862) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-18 07:58:15 [24.82ms] */
select `id` from `transaction` where `parent_id` in (92874) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2024-12-18 07:58:15 [0.41ms] */
select * from `transaction` where `id` in (92874) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-18 07:58:15 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 92688 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 13 - 2024-12-18 07:58:15 [6.08ms] */
update `invoice` set `deleted_by` = 5, `invoice`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92688;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2024-12-18 07:58:15 [0.37ms] */
select * from `invoice` where `id` = 92688 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-18 07:58:15 [3.07ms] */
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', 92688, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:58:15', '2024-12-18 07:58:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-18 07:58:15 [2.19ms] */
update `invoice` set `deleted_at` = '2024-12-18 07:58:15', `invoice`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92688;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2024-12-18 07:58:15 [0.47ms] */
select * from `invoice` where `id` = 92688 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2024-12-18 07:58:15 [3.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":92874,"party_id":24361,"invoice_amount":"24.00","invoice_date":"2023-08-01 14:23:49","due_date":"2023-08-01 14:23:49","outstanding_balance":"24.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"24.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":"INV-726-92688678","invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 92688, 'Modules\Transaction\Entities\Invoice', 'deleted', '2024-12-18 07:58:15', '2024-12-18 07:58:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2024-12-18 07:58:15 [3.35ms] */
update `transaction` set `updated_by` = 5, `deleted_by` = 5, `transaction`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92874;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2024-12-18 07:58:15 [3.46ms] */
update `transaction` set `deleted_at` = '2024-12-18 07:58:15', `transaction`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92874;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2024-12-18 07:58:15 [0.55ms] */
select * from `transaction` where `id` in (92859, 92860, 92861, 92862) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2024-12-18 07:58:15 [0.47ms] */
select * from `invoice` where `invoice`.`id` = 92676 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 23 - 2024-12-18 07:58:15 [3.29ms] */
update `invoice` set `parent_id` = null, `grouped` = 'N', `invoice`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92676;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2024-12-18 07:58:15 [0.46ms] */
select * from `invoice` where `id` = 92676 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2024-12-18 07:58:15 [3.03ms] */
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":null,"grouped":"N"},"old":{"parent_id":92688,"grouped":"Y"}}', 5, 'App\Models\User', 92676, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:58:15', '2024-12-18 07:58:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2024-12-18 07:58:15 [0.2ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2024-12-18 07:58:15 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2024-12-18 07:58:15 [3.07ms] */
update `transaction` set `current_workflow_state_id` = 6, `status` = 'OPEN', `parent_id` = null, `child` = 'N', `grouped` = 'N', `updated_by` = 5, `transaction`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92859;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2024-12-18 07:58:15 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 92677 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2024-12-18 07:58:15 [3.07ms] */
update `invoice` set `parent_id` = null, `grouped` = 'N', `invoice`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92677;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2024-12-18 07:58:15 [0.3ms] */
select * from `invoice` where `id` = 92677 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2024-12-18 07:58:15 [3.02ms] */
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":null,"grouped":"N"},"old":{"parent_id":92688,"grouped":"Y"}}', 5, 'App\Models\User', 92677, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:58:15', '2024-12-18 07:58:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2024-12-18 07:58:15 [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 34 - 2024-12-18 07:58:15 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2024-12-18 07:58:15 [3.04ms] */
update `transaction` set `current_workflow_state_id` = 6, `status` = 'OPEN', `parent_id` = null, `child` = 'N', `grouped` = 'N', `updated_by` = 5, `transaction`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92860;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2024-12-18 07:58:15 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 92678 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 37 - 2024-12-18 07:58:15 [3.02ms] */
update `invoice` set `parent_id` = null, `grouped` = 'N', `invoice`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92678;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2024-12-18 07:58:15 [0.32ms] */
select * from `invoice` where `id` = 92678 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2024-12-18 07:58:15 [3.04ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":null,"grouped":"N"},"old":{"parent_id":92688,"grouped":"Y"}}', 5, 'App\Models\User', 92678, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:58:15', '2024-12-18 07:58:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2024-12-18 07:58:15 [0.2ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2024-12-18 07:58:15 [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 42 - 2024-12-18 07:58:15 [3.05ms] */
update `transaction` set `current_workflow_state_id` = 6, `status` = 'OPEN', `parent_id` = null, `child` = 'N', `grouped` = 'N', `updated_by` = 5, `transaction`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92861;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2024-12-18 07:58:15 [0.35ms] */
select * from `invoice` where `invoice`.`id` = 92679 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 44 - 2024-12-18 07:58:15 [3.11ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92679;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2024-12-18 07:58:15 [0.31ms] */
select * from `invoice` where `id` = 92679 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2024-12-18 07:58:15 [2.98ms] */
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', 92679, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:58:15', '2024-12-18 07:58:15');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2024-12-18 07:58:15 [0.2ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2024-12-18 07:58:15 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2024-12-18 07:58:15 [3.14ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2024-12-18 07:58:15' where `id` = 92862;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2024-12-18 07:58:15 [1.66ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2024-12-18 07:58:15' where `id` in (92365, 92366, 92367, 92368) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2024-12-18 07:58:15 [0.32ms] */
select * from `transaction` where `id` in (92874) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2024-12-18 07:58:15 [0.2ms] */
select * from `payment_method` where `payment_method`.`id` = 1 and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2024-12-18 07:58:15 [0.2ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2024-12-18 07:58:21 [1.32ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2024-12-18 07:58:21 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2024-12-18 07:58:21 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2024-12-18 07:58:21 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2024-12-18 07:58:21 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2024-12-18 07:58:21 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2024-12-18 07:58:21 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2024-12-18 07:58:21 [0.38ms] */
select `transaction_id` from `vehicle_tax` where `id` in (92365, 92366, 92367, 92368) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2024-12-18 07:58:21 [0.35ms] */
select `parent_id` from `transaction` where `id` in (92859, 92860, 92861, 92862) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2024-12-18 07:58:21 [0.26ms] */
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 - 2024-12-18 07:58:21 [0.3ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2024-12-18 07:58:21 [0.34ms] */
select * from `transaction` where `id` in (92859, 92860, 92861, 92862) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2024-12-18 07:58:21 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 92676 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 - 2024-12-18 07:58:21 [0.17ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2024-12-18 07:58:21 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2024-12-18 07:58:21 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 92677 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 17 - 2024-12-18 07:58:21 [0.13ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2024-12-18 07:58:21 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2024-12-18 07:58:21 [0.31ms] */
select * from `invoice` where `invoice`.`id` = 92678 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 20 - 2024-12-18 07:58:21 [0.13ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2024-12-18 07:58:21 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2024-12-18 07:58:21 [0.31ms] */
select * from `invoice` where `invoice`.`id` = 92679 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 23 - 2024-12-18 07:58:21 [0.13ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2024-12-18 07:58:21 [0.13ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2024-12-18 07:58:21 [9.88ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2024-12-18 07:58:21' where `id` in (92365, 92366, 92367, 92368) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2024-12-18 07:58:21 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 15 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2024-12-18 07:58:21 [0.28ms] */
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 28 - 2024-12-18 07:58:21 [0.47ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 15 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2024-12-18 07:58:21 [0.47ms] */
select * from `party_vehicle` where `vehicle_id` = 15 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 30 - 2024-12-18 07:58:21 [0.22ms] */
select * from `party` where `party`.`id` = 24361 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 31 - 2024-12-18 07:58:21 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 15 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 32 - 2024-12-18 07:58:21 [0.15ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2024-12-18 07:58:21 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2024-12-18 07:58:21 [0.36ms] */
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 (24361, 2, 15, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2024-12-18 07:58:21 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102819, 'INITIATED', '2024-12-18 07:58:21', 5, 5, 5, 5, '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2024-12-18 07:58:21 [0.2ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 71486, `transaction`.`updated_at` = '2024-12-18 07:58:21' where `id` = 102819;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2024-12-18 07:58:21 [0.3ms] */
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 (92365, 92366, 92367, 92368) 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 38 - 2024-12-18 07:58:21 [0.22ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (92365, 92366, 92367, 92368) 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 39 - 2024-12-18 07:58:21 [0.21ms] */
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 (102819, 24361, '2024-12-18 07:58:21', '2024-12-18 07:58:21', 32.00, 0, 32.00, 32.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2024-12-18 07:58:21 [0.19ms] */
select * from `invoice` where `id` = 102403 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2024-12-18 07:58:21 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":102819,"party_id":24361,"invoice_amount":"32.00","invoice_date":"2024-12-18 07:58:21","due_date":"2024-12-18 07:58:21","outstanding_balance":"32.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"32.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', 102403, 'Modules\Transaction\Entities\Invoice', 'created', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2024-12-18 07:58:21 [0.29ms] */
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 (92365, 92366, 92367, 92368) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2024-12-18 07:58:21 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Tax Fees', 4, 32, 32, 102403, 5, 5, '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2024-12-18 07:58:21 [0.17ms] */
select * from `invoice_item` where `id` = 200440 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2024-12-18 07:58:21 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"32.00","quantity":4,"total_price":"32.00","invoice_id":102403}}', 5, 'App\Models\User', 200440, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2024-12-18 07:58:21 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-785-102403556', `invoice`.`updated_at` = '2024-12-18 07:58:21' where `id` = 102403;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2024-12-18 07:58:21 [0.19ms] */
select * from `invoice` where `id` = 102403 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2024-12-18 07:58:21 [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-785-102403556"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 102403, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2024-12-18 07:58:21 [0.22ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 92365 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2024-12-18 07:58:21 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92365;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2024-12-18 07:58:21 [0.19ms] */
select * from `vehicle_tax` where `id` = 92365 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2024-12-18 07:58:21 [0.68ms] */
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', 92365, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2024-12-18 07:58:21 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 92859 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 54 - 2024-12-18 07:58:21 [0.38ms] */
update `transaction` set `tax_collection_point_id` = null, `deliver_district_id` = null, `parent_id` = 102819, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92859;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2024-12-18 07:58:21 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 92676 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 56 - 2024-12-18 07:58:21 [0.21ms] */
update `invoice` set `parent_id` = 102403, `grouped` = 'Y', `invoice`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92676;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2024-12-18 07:58:21 [0.19ms] */
select * from `invoice` where `id` = 92676 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2024-12-18 07:58:21 [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":102403,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 92676, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2024-12-18 07:58:21 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 92859 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2024-12-18 07:58:21 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2024-12-18 07:58:21 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2024-12-18 07:58:21 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 63 - 2024-12-18 07:58:21 [0.38ms] */
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 64 - 2024-12-18 07:58:21 [0.18ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 65 - 2024-12-18 07:58:21 [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 (92859, 'APPROVED', '2024-12-18 07:58:21', 5, 5, null, 5, 5, '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 66 - 2024-12-18 07:58:21 [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 67 - 2024-12-18 07:58:21 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92859;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2024-12-18 07:58:21 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 69 - 2024-12-18 07:58:21 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 92676 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 70 - 2024-12-18 07:58:21 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 92366 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 71 - 2024-12-18 07:58:21 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92366;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2024-12-18 07:58:21 [0.17ms] */
select * from `vehicle_tax` where `id` = 92366 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2024-12-18 07:58:21 [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', 92366, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2024-12-18 07:58:21 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 92860 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 75 - 2024-12-18 07:58:21 [0.19ms] */
update `transaction` set `tax_collection_point_id` = null, `deliver_district_id` = null, `parent_id` = 102819, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92860;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2024-12-18 07:58:21 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 92677 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 77 - 2024-12-18 07:58:21 [0.2ms] */
update `invoice` set `parent_id` = 102403, `grouped` = 'Y', `invoice`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92677;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2024-12-18 07:58:21 [0.19ms] */
select * from `invoice` where `id` = 92677 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 79 - 2024-12-18 07:58:21 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":102403,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 92677, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2024-12-18 07:58:21 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 92860 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2024-12-18 07:58:21 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2024-12-18 07:58:21 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2024-12-18 07:58:21 [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 84 - 2024-12-18 07:58:21 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 85 - 2024-12-18 07:58:21 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (92860, 'APPROVED', '2024-12-18 07:58:21', 5, 5, null, 5, 5, '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 86 - 2024-12-18 07:58:21 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 87 - 2024-12-18 07:58:21 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92860;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2024-12-18 07:58:21 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 89 - 2024-12-18 07:58:21 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 92677 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 90 - 2024-12-18 07:58:21 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 92367 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 91 - 2024-12-18 07:58:21 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92367;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 92 - 2024-12-18 07:58:21 [0.17ms] */
select * from `vehicle_tax` where `id` = 92367 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 93 - 2024-12-18 07:58:21 [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', 92367, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 94 - 2024-12-18 07:58:21 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 92861 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 95 - 2024-12-18 07:58:21 [0.2ms] */
update `transaction` set `tax_collection_point_id` = null, `deliver_district_id` = null, `parent_id` = 102819, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92861;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 96 - 2024-12-18 07:58:21 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 92678 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 97 - 2024-12-18 07:58:21 [0.2ms] */
update `invoice` set `parent_id` = 102403, `grouped` = 'Y', `invoice`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92678;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 98 - 2024-12-18 07:58:21 [0.19ms] */
select * from `invoice` where `id` = 92678 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 99 - 2024-12-18 07:58:21 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":102403,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 92678, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 100 - 2024-12-18 07:58:21 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 92861 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 101 - 2024-12-18 07:58:21 [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 102 - 2024-12-18 07:58:21 [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 103 - 2024-12-18 07:58:21 [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 104 - 2024-12-18 07:58:21 [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 105 - 2024-12-18 07:58:21 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (92861, 'APPROVED', '2024-12-18 07:58:21', 5, 5, null, 5, 5, '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 106 - 2024-12-18 07:58:21 [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 107 - 2024-12-18 07:58:21 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92861;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 108 - 2024-12-18 07:58:21 [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 109 - 2024-12-18 07:58:21 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 92678 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 110 - 2024-12-18 07:58:21 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 92368 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 111 - 2024-12-18 07:58:21 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92368;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 112 - 2024-12-18 07:58:21 [0.18ms] */
select * from `vehicle_tax` where `id` = 92368 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 113 - 2024-12-18 07:58:21 [0.28ms] */
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', 92368, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 114 - 2024-12-18 07:58:21 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 92862 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 115 - 2024-12-18 07:58:21 [0.18ms] */
update `transaction` set `deliver_district_id` = null, `parent_id` = 102819, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92862;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 116 - 2024-12-18 07:58:21 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 92679 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 117 - 2024-12-18 07:58:21 [0.19ms] */
update `invoice` set `parent_id` = 102403, `grouped` = 'Y', `invoice`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92679;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 118 - 2024-12-18 07:58:21 [0.19ms] */
select * from `invoice` where `id` = 92679 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 119 - 2024-12-18 07:58:21 [0.15ms] */
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":102403,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 92679, 'Modules\Transaction\Entities\Invoice', 'updated', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 120 - 2024-12-18 07:58:21 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 92862 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 121 - 2024-12-18 07:58:21 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 122 - 2024-12-18 07:58:21 [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 123 - 2024-12-18 07:58:21 [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 124 - 2024-12-18 07:58:21 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 125 - 2024-12-18 07:58:21 [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 (92862, 'APPROVED', '2024-12-18 07:58:21', 5, 5, null, 5, 5, '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 126 - 2024-12-18 07:58:21 [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 127 - 2024-12-18 07:58:21 [0.18ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2024-12-18 07:58:21' where `id` = 92862;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 128 - 2024-12-18 07:58:21 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 129 - 2024-12-18 07:58:21 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 92679 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 130 - 2024-12-18 07:58:21 [0.19ms] */
update `transaction` set `invoice_id` = 102403, `transaction`.`updated_at` = '2024-12-18 07:58:21' where `id` = 102819;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 131 - 2024-12-18 07:58:21 [0.25ms] */
update `vehicle` set `updated_by` = 5, `vehicle`.`updated_at` = '2024-12-18 07:58:21' where `id` = 15;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 132 - 2024-12-18 07:58:21 [0.19ms] */
select * from `vehicle` where `id` = 15 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 133 - 2024-12-18 07:58:21 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 15, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 134 - 2024-12-18 07:58:21 [0.2ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":99}', '{"updated_by":5}', 'updated', 15, 'Modules\Vehicle\Entities\Vehicle', 5, 'App\Models\User', null, '49.47.216.51', 'Dart/3.4 (dart:io)', 'https://testtra.puntlandgov.org/api/make_payment', '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 135 - 2024-12-18 07:58:21 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 102819 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 136 - 2024-12-18 07:58:21 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 137 - 2024-12-18 07:58:21 [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 138 - 2024-12-18 07:58:21 [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 139 - 2024-12-18 07:58:21 [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 (102819, 'APPROVED', '2024-12-18 07:58:21', 5, 5, null, 5, 5, '2024-12-18 07:58:21', '2024-12-18 07:58:21');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 140 - 2024-12-18 07:58:21 [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 141 - 2024-12-18 07:58:21 [0.22ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2024-12-18 07:58:21' where `id` = 102819;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 142 - 2024-12-18 07:58:21 [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 143 - 2024-12-18 07:58:21 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102403 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 144 - 2024-12-18 07:58:21 [0.15ms] */
select * from `payment_method` where `payment_method`.`id` = 1 and `payment_method`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 145 - 2024-12-18 07:58:21 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 146 - 2024-12-18 07:58:21 [0.39ms] */
select * from `invoice` where `invoice`.`id` = 102403 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2024-12-18 07:58:21 [1.27ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2024-12-18 07:58:21 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2024-12-18 07:58:21 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2024-12-18 07:58:21 [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 - 2024-12-18 07:58:21 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'c49781b109193586540369ce03f8928001bd843262d0c73d7bc6140225ab03375065b2f94ae6b85c' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2024-12-18 07:58:21 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2024-12-18 07:58:21 [2.48ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/vehicle/list
   Query 1 - 2024-12-18 08:01:36 [1.34ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/vehicle/list
   Query 2 - 2024-12-18 08:01:36 [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/m/service/vehicle/list
   Query 3 - 2024-12-18 08:01:36 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/vehicle/list
   Query 4 - 2024-12-18 08:01:36 [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/r/report/expired-tax
   Query 1 - 2024-12-18 08:01:37 [1.36ms] */
select * from `users` where `id` = 2 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 2 - 2024-12-18 08:01:37 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 3 - 2024-12-18 08:01:37 [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/r/report/expired-tax
   Query 4 - 2024-12-18 08:01:37 [0.39ms] */
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/r/report/expired-tax
   Query 5 - 2024-12-18 08:01:37 [10.24ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-18 08:01:37' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 6 - 2024-12-18 08:01:37 [7.75ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` inner join (select vehicle_tax.vehicle_id as vehicle_id, count(vehicle_tax.vehicle_id) as count from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `term`.`first_date_of_quarter` <= '2024-12-18 08:01:37' and `vehicle_tax`.`status` = 'OPEN' group by `vehicle_tax`.`vehicle_id`) as `vehicleTaxes` on `vehicle`.`id` = `vehicleTaxes`.`vehicle_id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 7 - 2024-12-18 08:01:37 [0.24ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 2 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 8 - 2024-12-18 08:01:37 [0.21ms] */
select * from `party_vehicle` where `vehicle_id` = 2 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 9 - 2024-12-18 08:01:37 [0.2ms] */
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/r/report/expired-tax
   Query 10 - 2024-12-18 08:01:37 [0.2ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 11 - 2024-12-18 08:01:37 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 12 - 2024-12-18 08:01:37 [0.22ms] */
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/r/report/expired-tax
   Query 13 - 2024-12-18 08:01:37 [0.22ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 14 - 2024-12-18 08:01:37 [0.21ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 15 - 2024-12-18 08:01:37 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 16 - 2024-12-18 08:01:37 [0.72ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 2 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 17 - 2024-12-18 08:01:37 [0.2ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 4 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 18 - 2024-12-18 08:01:37 [0.2ms] */
select * from `party_vehicle` where `vehicle_id` = 4 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 19 - 2024-12-18 08:01:37 [0.2ms] */
select * from `party` where `party`.`id` = 23256 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 20 - 2024-12-18 08:01:37 [0.19ms] */
select * from `person` where `person`.`id` = 23256 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 21 - 2024-12-18 08:01:37 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 22 - 2024-12-18 08:01:37 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 23 - 2024-12-18 08:01:37 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 24 - 2024-12-18 08:01:37 [0.15ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 25 - 2024-12-18 08:01:37 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 26 - 2024-12-18 08:01:37 [0.54ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 4 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 27 - 2024-12-18 08:01:37 [0.16ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 6 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 28 - 2024-12-18 08:01:37 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 6 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 29 - 2024-12-18 08:01:37 [0.17ms] */
select * from `party` where `party`.`id` = 23562 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 30 - 2024-12-18 08:01:37 [0.17ms] */
select * from `person` where `person`.`id` = 23562 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 31 - 2024-12-18 08:01:37 [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/r/report/expired-tax
   Query 32 - 2024-12-18 08:01:37 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 33 - 2024-12-18 08:01:37 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 34 - 2024-12-18 08:01:37 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 35 - 2024-12-18 08:01:37 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 36 - 2024-12-18 08:01:37 [0.56ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 6 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 37 - 2024-12-18 08:01:37 [0.17ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 38 - 2024-12-18 08:01:37 [0.16ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 39 - 2024-12-18 08:01:37 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 8 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 40 - 2024-12-18 08:01:37 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 8 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 41 - 2024-12-18 08:01:37 [0.16ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 42 - 2024-12-18 08:01:37 [0.16ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 43 - 2024-12-18 08:01:37 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 44 - 2024-12-18 08:01:37 [0.15ms] */
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/r/report/expired-tax
   Query 45 - 2024-12-18 08:01:37 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 46 - 2024-12-18 08:01:37 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 47 - 2024-12-18 08:01:37 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 48 - 2024-12-18 08:01:37 [0.56ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 8 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 49 - 2024-12-18 08:01:37 [0.16ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 50 - 2024-12-18 08:01:37 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 8 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 51 - 2024-12-18 08:01:37 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 8 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 52 - 2024-12-18 08:01:37 [0.16ms] */
select * from `party` where `party`.`id` = 4102 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 53 - 2024-12-18 08:01:37 [0.16ms] */
select * from `person` where `person`.`id` = 4102 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 54 - 2024-12-18 08:01:37 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 3 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 55 - 2024-12-18 08:01:37 [0.16ms] */
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/r/report/expired-tax
   Query 56 - 2024-12-18 08:01:37 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 57 - 2024-12-18 08:01:37 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 58 - 2024-12-18 08:01:37 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 59 - 2024-12-18 08:01:37 [0.2ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 8 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 60 - 2024-12-18 08:01:37 [0.15ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 61 - 2024-12-18 08:01:37 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 14 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 62 - 2024-12-18 08:01:37 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 14 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 63 - 2024-12-18 08:01:37 [0.16ms] */
select * from `party` where `party`.`id` = 24361 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 64 - 2024-12-18 08:01:37 [0.17ms] */
select * from `person` where `person`.`id` = 24361 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 65 - 2024-12-18 08:01:37 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 66 - 2024-12-18 08:01:37 [0.15ms] */
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/r/report/expired-tax
   Query 67 - 2024-12-18 08:01:37 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 68 - 2024-12-18 08:01:37 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 69 - 2024-12-18 08:01:37 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 70 - 2024-12-18 08:01:37 [0.53ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 14 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 71 - 2024-12-18 08:01:37 [0.17ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 72 - 2024-12-18 08:01:37 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 17 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 73 - 2024-12-18 08:01:37 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 17 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 74 - 2024-12-18 08:01:37 [0.17ms] */
select * from `party` where `party`.`id` = 24688 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 75 - 2024-12-18 08:01:37 [0.17ms] */
select * from `person` where `person`.`id` = 24688 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 76 - 2024-12-18 08:01:37 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 77 - 2024-12-18 08:01:37 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 6 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 78 - 2024-12-18 08:01:37 [0.15ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 79 - 2024-12-18 08:01:37 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 80 - 2024-12-18 08:01:37 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 81 - 2024-12-18 08:01:37 [0.54ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 17 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 82 - 2024-12-18 08:01:37 [0.18ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 83 - 2024-12-18 08:01:37 [0.15ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 84 - 2024-12-18 08:01:37 [0.15ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 18 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 85 - 2024-12-18 08:01:37 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 18 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 86 - 2024-12-18 08:01:37 [0.16ms] */
select * from `party` where `party`.`id` = 24797 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 87 - 2024-12-18 08:01:37 [0.17ms] */
select * from `person` where `person`.`id` = 24797 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 88 - 2024-12-18 08:01:37 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 89 - 2024-12-18 08:01:37 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 18 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 90 - 2024-12-18 08:01:37 [0.14ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 91 - 2024-12-18 08:01:37 [0.14ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 92 - 2024-12-18 08:01:37 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 93 - 2024-12-18 08:01:37 [0.52ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 18 and date(`term`.`first_date_of_quarter`) <= '2024-12-18' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 94 - 2024-12-18 08:01:37 [0.16ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 19 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 95 - 2024-12-18 08:01:37 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 19 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 96 - 2024-12-18 08:01:37 [0.16ms] */
select * from `party` where `party`.`id` = 24962 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 97 - 2024-12-18 08:01:37 [0.17ms] */
select * from `person` where `person`.`id` = 24962 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/r/report/expired-tax
   Query 98 - 2024-12-18 08:01:37 [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/r/report/expired-tax
   Query 99 - 2024-12-18 08:01:37 [0.15ms] */
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/r/report/expired-tax
   Query 100 - 2024-12-18 08:01:37 [0.15ms] */
