select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-02 08:17:16 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-02 08:17:16 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-01-02 08:17:16 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-01-02 08:17:16 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-02 08:17:16 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-01-02 08:17:16 [0.63ms] */
select * from `payment_confirmation` where `gov_fee_tr_id` = 25698656985 and `serv_fee_tr_id` = 25698656985 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-01-02 08:17:16 [0.72ms] */
select * from `transaction` where `transaction`.`id` = 102944 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-01-02 08:17:16 [0.6ms] */
select * from `invoice_payment` where `invoice_id` = 102513 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-01-02 08:17:16 [95.46ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 102944 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-01-02 08:17:16 [24.51ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 102944 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-01-02 08:17:16 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 102944 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-01-02 08:17:16 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 14 - 2025-01-02 08:17:16 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 15 - 2025-01-02 08:17:16 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-01-02 08:17:16 [54.5ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 102944 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-01-02 08:17:16 [0.42ms] */
select * from `party` where `party`.`id` = 49236 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-01-02 08:17:16 [1.35ms] */
select * from `invoice` where `invoice`.`id` = 102513 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-01-02 08:17:16 [4.9ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-01-02 08:17:16', '#6776215CE8B73', null, 5, 7.00, null, null, null, 37, 5, 5, 5, '2025-01-02 08:17:16', '2025-01-02 08:17:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-01-02 08:17:16 [0.27ms] */
select * from `Payment` where `id` = 89791 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-01-02 08:17:16 [1.28ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":5,"payment_amount":"7.00","payment_date":"2025-01-02 08:17:16","external_payment_reference_no":"#6776215CE8B73","payment_receipt_number":null,"siinpay_payref_number":null,"paid_by":null,"paid_by_mobile":null,"district_id":37,"migration_id":null,"payment_collected_by":5}}', 5, 'App\Models\User', 89791, 'Modules\Transaction\Entities\Payment', 'created', '2025-01-02 08:17:16', '2025-01-02 08:17:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-01-02 08:17:16 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 102944 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 23 - 2025-01-02 08:17:16 [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/confirm_payment
   Query 24 - 2025-01-02 08:17:16 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-01-02 08:17:16 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 102504 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-01-02 08:17:16 [0.62ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-02 08:17:16', 102504, 89791, '2025-01-02 08:17:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-01-02 08:17:16 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102504 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-01-02 08:17:16 [0.25ms] */
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` = 102504 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 29 - 2025-01-02 08:17:16 [0.86ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102504 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-01-02 08:17:16 [0.21ms] */
update `invoice` set `invoice_amount` = 7, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 7, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-02 08:17:16' where `id` = 102504;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-01-02 08:17:16 [0.19ms] */
select * from `invoice` where `id` = 102504 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-01-02 08:17:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"7.00","status":"OPEN"}}', 5, 'App\Models\User', 102504, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-02 08:17:16', '2025-01-02 08:17:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-01-02 08:17:16 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 102935 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-01-02 08:17:16 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 102935 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-01-02 08:17:16 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 36 - 2025-01-02 08:17:16 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 37 - 2025-01-02 08:17:16 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-01-02 08:17:16 [0.28ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102935, 'PAID', '2025-01-02 08:17:16', 7, 5, null, 5, 5, '2025-01-02 08:17:16', '2025-01-02 08:17:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-01-02 08:17:16 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-01-02 08:17:16 [0.33ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-02 08:17:16' where `id` = 102935;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 41 - 2025-01-02 08:17:16 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 42 - 2025-01-02 08:17:16 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102504 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-01-02 08:17:16 [0.25ms] */
select * from `vehicle_tax` where `transaction_id` = 102935 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-01-02 08:17:16 [0.2ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-01-02 08:17:16' where `id` = 99399;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-01-02 08:17:16 [0.17ms] */
select * from `vehicle_tax` where `id` = 99399 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-01-02 08:17:16 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 5, 'App\Models\User', 99399, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-02 08:17:16', '2025-01-02 08:17:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-01-02 08:17:16 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 102513 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-01-02 08:17:16 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 102513 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-01-02 08:17:16 [0.14ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-01-02 08:17:16', 102513, 89791, '2025-01-02 08:17:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-01-02 08:17:16 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 102513 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-01-02 08:17:16 [0.22ms] */
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` = 102513 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-01-02 08:17:16 [0.15ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-01-02 08:17:16' where `id` = 102513;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-01-02 08:17:16 [0.18ms] */
select * from `invoice` where `id` = 102513 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-01-02 08:17:16 [0.25ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"7.00","status":"OPEN"}}', 5, 'App\Models\User', 102513, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-02 08:17:16', '2025-01-02 08:17:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-01-02 08:17:16 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 102944 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-01-02 08:17:16 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 102944 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 57 - 2025-01-02 08:17:16 [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): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 58 - 2025-01-02 08:17:16 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 59 - 2025-01-02 08:17:16 [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): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-01-02 08:17:16 [0.24ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (102944, 'PAID', '2025-01-02 08:17:16', 7, 5, null, 5, 5, '2025-01-02 08:17:16', '2025-01-02 08:17:16');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 61 - 2025-01-02 08:17:16 [0.38ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-01-02 08:17:16 [0.18ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-01-02 08:17:16' where `id` = 102944;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 63 - 2025-01-02 08:17:17 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 64 - 2025-01-02 08:17:17 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102513 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 65 - 2025-01-02 08:17:17 [0.19ms] */
insert into `payment_confirmation` (`payment_id`, `gov_fee_tr_id`, `serv_fee_tr_id`, `text`, `attachment`, `updated_at`, `created_at`) values (89791, 25698656985, 25698656985, 'BANG & OLUFSEN
Untitled - Notepad
File Edit Format View Help
[SAHAL ] Kusoo dhawaaw RTA
GAROOWE252907057561 Store
Tixraac: 25698656985,
 ayaad u dirtay (500424). Haraagaagu
OType here to search', 'payment_confirmation/Payment-Confirmation-TR102944-INV-102513.png', '2025-01-02 08:17:17', '2025-01-02 08:17:17');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-02 08:17:20 [2.03ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-02 08:17:20 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-02 08:17:20 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-02 08:17:20 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-02 08:17:20 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-02 08:17:20 [0.12ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-02 08:17:20 [0.33ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'GD18HP' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-02 08:17:20 [1.43ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-02 08:17:20 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-02 08:17:20 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-02 08:17:20 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-02 08:17:20 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-02 08:17:20 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-02 08:17:20 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 89507 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-02 08:17:20 [0.15ms] */
select * from `vehicle` where `id` = 89507 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-02 08:17:20 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89507 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-02 08:17:20 [2.74ms] */
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` = 89507 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): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-02 08:17:21 [1.69ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-02 08:17:21 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-02 08:17:21 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-02 08:17:21 [0.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-02 08:17:21 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-02 08:17:21 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-02 08:17:21 [0.58ms] */
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` = 'GD18HP' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-02 08:17:21 [1.42ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-02 08:17:21 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-02 08:17:21 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-02 08:17:21 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-02 08:17:21 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-02 08:17:21 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-02 08:17:21 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 89507 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-02 08:17:21 [0.15ms] */
select * from `vehicle` where `id` = 89507 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-02 08:17:21 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 89507 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-02 08:17:21 [0.24ms] */
select `vehicle_tax`.`id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 89507 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-02 08:17:21 [1.65ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-02 08:17:21 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-02 08:17:21 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-02 08:17:21 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-02 08:17:21 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-02 08:17:21 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-02 08:17:21 [0.28ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:17:22 [2.91ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:17:22 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:17:22 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:17:22 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:17:22 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:17:22 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:17:22 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-02 08:17:22 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-02 08:17:22 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-02 08:17:22 [0.12ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-02 08:17:22 [0.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-02 08:17:22 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-02 08:17:22 [0.12ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-02 08:17:22 [0.23ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:17:22 [1.55ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:17:22 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:17:22 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:17:22 [0.15ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:17:22 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:17:22 [0.12ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:17:22 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-02 08:17:46 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-02 08:17:46 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-02 08:17:46 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-02 08:17:46 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-02 08:17:46 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-02 08:17:46 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-02 08:17:46 [1.68ms] */
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` = 'GD4321' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-02 08:17:47 [1.43ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-02 08:17:47 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-02 08:17:47 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-02 08:17:47 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-02 08:17:47 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-02 08:17:47 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-02 08:17:47 [0.86ms] */
select * from `vehicle` where `vehicle`.`id` = 89506 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-02 08:17:47 [0.25ms] */
select * from `vehicle` where `id` = 89506 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-02 08:17:47 [1.18ms] */
select * from `party_vehicle` where `vehicle_id` = 89506 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-02 08:17:47 [3.11ms] */
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` = 89506 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-02 08:17:48 [1.3ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-02 08:17:48 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-02 08:17:48 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-02 08:17:48 [0.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-02 08:17:48 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-02 08:17:48 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-02 08:17:48 [0.25ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:17:48 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:17:48 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:17:48 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:17:48 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:17:48 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:17:48 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:17:48 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:17:49 [1.49ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:17:49 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:17:49 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:17:49 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:17:49 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:17:49 [0.12ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:17:49 [0.17ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:17:49 [1.17ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99398) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:17:49 [1.92ms] */
select `parent_id` from `transaction` where `id` in (102934) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:17:49 [82.26ms] */
select `id` from `transaction` where `parent_id` in (102945) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:17:49 [0.43ms] */
select * from `transaction` where `id` in (102945) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:17:49 [0.17ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99398) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:17:49 [0.4ms] */
select * from `invoice` where `transaction_id` = 102934 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:17:49 [0.35ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102503 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:17:49 [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 16 - 2025-01-02 08:17:49 [0.17ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:17:49 [1.48ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:17:49 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:17:49 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:17:49 [0.24ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:17:49 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:17:49 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:17:49 [0.27ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 1 - 2025-01-02 08:17:58 [1.7ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 2 - 2025-01-02 08:17:58 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 3 - 2025-01-02 08:17:58 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 4 - 2025-01-02 08:17:58 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 5 - 2025-01-02 08:17:58 [0.32ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 6 - 2025-01-02 08:17:58 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 7 - 2025-01-02 08:17:58 [1.92ms] */
select * from `transaction` where `transaction`.`id` = 102945 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 8 - 2025-01-02 08:17:58 [13.65ms] */
update `transaction` set `gov_fee_sms_confirmation` = 5283175689, `gov_fee_payment_date` = '2025-01-02 08:17:58', `transaction`.`updated_at` = '2025-01-02 08:17:58' where `id` = 102945;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 9 - 2025-01-02 08:17:58 [0.36ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 10 - 2025-01-02 08:17:58 [0.24ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:18:00 [1.89ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:18:00 [0.33ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:18:00 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:18:00 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:18:00 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:18:00 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:18:00 [14.73ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (102945, 'GOV_SMS_IMAGE', 5283175689, 'payment_confirmation/Payment-Confirmation-TR102945-ATTC-1151723303.png', '2025-01-02 08:18:00', '2025-01-02 08:18:00');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:18:10 [1.44ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:18:10 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:18:10 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:18:10 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:18:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:18:10 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:18:10 [25.33ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (102945, 'GOV_RECEIPT_IMAGE', 5283175689, 'payment_confirmation/Payment-Confirmation-TR102945-ATTC-591974483.png', '2025-01-02 08:18:10', '2025-01-02 08:18:10');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:18:13 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:18:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:18:13 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:18:13 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:18:13 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:18:13 [0.41ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:18:13 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 1 - 2025-01-02 08:18:13 [1.85ms] */
select * from `users` where `id` = 109 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 2 - 2025-01-02 08:18:13 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 3 - 2025-01-02 08:18:13 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 4 - 2025-01-02 08:18:13 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 5 - 2025-01-02 08:18:13 [49.4ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 6 - 2025-01-02 08:18:13 [19.39ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-01-02' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 7 - 2025-01-02 08:18:13 [139.16ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 8 - 2025-01-02 08:18:13 [28.18ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-01-02' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-01-02 08:18:14 [202.34ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-01' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-01-02 08:18:14 [29.7ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-01' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-01-02 08:18:14 [528.84ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-02' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-01-02 08:18:14 [49.79ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-02' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 13 - 2025-01-02 08:18:14 [0.26ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 14 - 2025-01-02 08:18:14 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 1 - 2025-01-02 08:18:20 [1.56ms] */
select * from `users` where `id` = 109 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 2 - 2025-01-02 08:18:20 [0.61ms] */
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/tax/list
   Query 3 - 2025-01-02 08:18:20 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 4 - 2025-01-02 08:18:20 [0.51ms] */
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/tax/list
   Query 5 - 2025-01-02 08:18:20 [129.74ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-02 08:18:20' and `vehicle_tax`.`deleted_at` is null) and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-02 08:18:20 [36.4ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-02 08:18:20' and `vehicle_tax`.`deleted_at` is null) and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 7 - 2025-01-02 08:18:20 [0.55ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 206 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 8 - 2025-01-02 08:18:20 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 206 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 9 - 2025-01-02 08:18:20 [1.34ms] */
select * from `party` where `party`.`id` = 55697 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 10 - 2025-01-02 08:18:20 [1.27ms] */
select * from `company` where `company`.`id` = 88 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 11 - 2025-01-02 08:18:20 [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/service/tax/list
   Query 12 - 2025-01-02 08:18:20 [1.17ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 13 - 2025-01-02 08:18:20 [1ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 14 - 2025-01-02 08:18:20 [0.19ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 15 - 2025-01-02 08:18:20 [1.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/m/service/tax/list
   Query 16 - 2025-01-02 08:18:20 [1.75ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 206 and date(`term`.`first_date_of_quarter`) <= '2025-01-02' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 17 - 2025-01-02 08:18:20 [0.42ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 18 - 2025-01-02 08:18:20 [0.43ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 19 - 2025-01-02 08:18:20 [0.41ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 20 - 2025-01-02 08:18:20 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 21 - 2025-01-02 08:18:20 [0.16ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 22 - 2025-01-02 08:18:20 [0.44ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 90018 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 23 - 2025-01-02 08:18:20 [0.49ms] */
select * from `party_vehicle` where `vehicle_id` = 90018 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 24 - 2025-01-02 08:18:20 [0.46ms] */
select * from `party` where `party`.`id` = 58794 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 25 - 2025-01-02 08:18:20 [1.62ms] */
select * from `person` where `person`.`id` = 56271 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 26 - 2025-01-02 08:18:20 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 27 - 2025-01-02 08:18:20 [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/m/service/tax/list
   Query 28 - 2025-01-02 08:18:20 [0.78ms] */
select * from `model` where `model`.`id` = 196 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 29 - 2025-01-02 08:18:20 [1.14ms] */
select * from `make` where `make`.`id` = 10 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 30 - 2025-01-02 08:18:20 [0.42ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 19 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 31 - 2025-01-02 08:18:20 [0.99ms] */
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` = 90018 and date(`term`.`first_date_of_quarter`) <= '2025-01-02' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 32 - 2025-01-02 08:18:20 [0.18ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 33 - 2025-01-02 08:18:20 [0.17ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 34 - 2025-01-02 08:18:20 [0.46ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 90019 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 35 - 2025-01-02 08:18:20 [0.47ms] */
select * from `party_vehicle` where `vehicle_id` = 90019 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 36 - 2025-01-02 08:18:20 [0.66ms] */
select * from `party` where `party`.`id` = 3945 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 37 - 2025-01-02 08:18:20 [0.86ms] */
select * from `person` where `person`.`id` = 3945 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 38 - 2025-01-02 08:18:20 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 39 - 2025-01-02 08:18:20 [0.17ms] */
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/m/service/tax/list
   Query 40 - 2025-01-02 08:18:20 [0.39ms] */
select * from `model` where `model`.`id` = 17 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 41 - 2025-01-02 08:18:20 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 42 - 2025-01-02 08:18:20 [0.39ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 34 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 43 - 2025-01-02 08:18:20 [0.85ms] */
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` = 90019 and date(`term`.`first_date_of_quarter`) <= '2025-01-02' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 44 - 2025-01-02 08:18:20 [0.19ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 45 - 2025-01-02 08:18:20 [0.16ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 46 - 2025-01-02 08:18:20 [0.42ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 90020 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 47 - 2025-01-02 08:18:20 [0.47ms] */
select * from `party_vehicle` where `vehicle_id` = 90020 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 48 - 2025-01-02 08:18:20 [0.7ms] */
select * from `party` where `party`.`id` = 23313 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 49 - 2025-01-02 08:18:20 [0.68ms] */
select * from `person` where `person`.`id` = 23313 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 50 - 2025-01-02 08:18:20 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 51 - 2025-01-02 08:18:20 [0.17ms] */
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/m/service/tax/list
   Query 52 - 2025-01-02 08:18:20 [0.61ms] */
select * from `model` where `model`.`id` = 2503 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 53 - 2025-01-02 08:18:20 [0.18ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 54 - 2025-01-02 08:18:20 [0.4ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 30 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 55 - 2025-01-02 08:18:20 [0.59ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 90020 and date(`term`.`first_date_of_quarter`) <= '2025-01-02' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 56 - 2025-01-02 08:18:20 [0.18ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 57 - 2025-01-02 08:18:20 [0.16ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 58 - 2025-01-02 08:18:20 [0.46ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 90021 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 59 - 2025-01-02 08:18:20 [0.48ms] */
select * from `party_vehicle` where `vehicle_id` = 90021 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 60 - 2025-01-02 08:18:20 [0.45ms] */
select * from `party` where `party`.`id` = 32952 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 61 - 2025-01-02 08:18:20 [0.89ms] */
select * from `person` where `person`.`id` = 32952 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 62 - 2025-01-02 08:18:20 [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/service/tax/list
   Query 63 - 2025-01-02 08:18:20 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 64 - 2025-01-02 08:18:20 [0.77ms] */
select * from `model` where `model`.`id` = 2749 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 65 - 2025-01-02 08:18:20 [0.79ms] */
select * from `make` where `make`.`id` = 816 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 66 - 2025-01-02 08:18:20 [0.4ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 36 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 67 - 2025-01-02 08:18:20 [0.61ms] */
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` = 90021 and date(`term`.`first_date_of_quarter`) <= '2025-01-02' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 68 - 2025-01-02 08:18:20 [0.19ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 69 - 2025-01-02 08:18:20 [0.16ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 70 - 2025-01-02 08:18:20 [0.43ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 90022 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 71 - 2025-01-02 08:18:20 [0.47ms] */
select * from `party_vehicle` where `vehicle_id` = 90022 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 72 - 2025-01-02 08:18:20 [3.85ms] */
select * from `party` where `party`.`id` = 7158 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 73 - 2025-01-02 08:18:20 [1.18ms] */
select * from `person` where `person`.`id` = 7158 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 74 - 2025-01-02 08:18:20 [0.3ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 75 - 2025-01-02 08:18:20 [0.33ms] */
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/m/service/tax/list
   Query 76 - 2025-01-02 08:18:20 [0.28ms] */
select * from `model` where `model`.`id` = 2503 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 77 - 2025-01-02 08:18:20 [0.27ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 78 - 2025-01-02 08:18:20 [0.27ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 30 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 79 - 2025-01-02 08:18:20 [1.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` = 90022 and date(`term`.`first_date_of_quarter`) <= '2025-01-02' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 80 - 2025-01-02 08:18:20 [0.3ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 81 - 2025-01-02 08:18:20 [0.28ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 82 - 2025-01-02 08:18:20 [0.56ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 90023 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 83 - 2025-01-02 08:18:20 [0.56ms] */
select * from `party_vehicle` where `vehicle_id` = 90023 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 84 - 2025-01-02 08:18:20 [0.77ms] */
select * from `party` where `party`.`id` = 516 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 85 - 2025-01-02 08:18:20 [0.6ms] */
select * from `person` where `person`.`id` = 516 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 86 - 2025-01-02 08:18:20 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 87 - 2025-01-02 08:18:20 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 88 - 2025-01-02 08:18:20 [0.69ms] */
select * from `model` where `model`.`id` = 3140 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 89 - 2025-01-02 08:18:20 [0.32ms] */
select * from `make` where `make`.`id` = 723 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 90 - 2025-01-02 08:18:20 [0.31ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 11 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 91 - 2025-01-02 08:18:20 [0.86ms] */
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` = 90023 and date(`term`.`first_date_of_quarter`) <= '2025-01-02' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 92 - 2025-01-02 08:18:20 [0.25ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 93 - 2025-01-02 08:18:20 [0.24ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 94 - 2025-01-02 08:18:20 [0.37ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 90025 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 95 - 2025-01-02 08:18:20 [0.38ms] */
select * from `party_vehicle` where `vehicle_id` = 90025 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 96 - 2025-01-02 08:18:20 [0.64ms] */
select * from `party` where `party`.`id` = 12904 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 97 - 2025-01-02 08:18:20 [0.72ms] */
select * from `person` where `person`.`id` = 12904 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 98 - 2025-01-02 08:18:20 [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/service/tax/list
   Query 99 - 2025-01-02 08:18:20 [0.18ms] */
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/m/service/tax/list
   Query 100 - 2025-01-02 08:18:20 [0.19ms] */
select * from `model` where `model`.`id` = 17 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 101 - 2025-01-02 08:18:20 [0.16ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 102 - 2025-01-02 08:18:20 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 34 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 103 - 2025-01-02 08:18:20 [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` = 90025 and date(`term`.`first_date_of_quarter`) <= '2025-01-02' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 104 - 2025-01-02 08:18:20 [0.2ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 105 - 2025-01-02 08:18:20 [0.17ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 106 - 2025-01-02 08:18:20 [0.28ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89974 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 107 - 2025-01-02 08:18:20 [0.32ms] */
select * from `party_vehicle` where `vehicle_id` = 89974 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 108 - 2025-01-02 08:18:20 [0.63ms] */
select * from `party` where `party`.`id` = 58261 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 109 - 2025-01-02 08:18:20 [0.63ms] */
select * from `person` where `person`.`id` = 55800 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 110 - 2025-01-02 08:18:20 [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/m/service/tax/list
   Query 111 - 2025-01-02 08:18:20 [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/m/service/tax/list
   Query 112 - 2025-01-02 08:18:20 [0.2ms] */
select * from `model` where `model`.`id` = 12 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 113 - 2025-01-02 08:18:20 [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/service/tax/list
   Query 114 - 2025-01-02 08:18:20 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 36 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 115 - 2025-01-02 08:18:20 [0.47ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`vehicle_id` = 89974 and date(`term`.`first_date_of_quarter`) <= '2025-01-02' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 116 - 2025-01-02 08:18:20 [0.16ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 117 - 2025-01-02 08:18:20 [0.14ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 118 - 2025-01-02 08:18:20 [0.25ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89976 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 119 - 2025-01-02 08:18:20 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 89976 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 120 - 2025-01-02 08:18:20 [0.17ms] */
select * from `party` where `party`.`id` = 49236 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 121 - 2025-01-02 08:18:20 [0.66ms] */
select * from `person` where `person`.`id` = 49236 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 122 - 2025-01-02 08:18:20 [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/m/service/tax/list
   Query 123 - 2025-01-02 08:18:20 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 124 - 2025-01-02 08:18:20 [0.13ms] */
select * from `model` where `model`.`id` = 2503 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 125 - 2025-01-02 08:18:20 [0.16ms] */
select * from `make` where `make`.`id` = 555 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 126 - 2025-01-02 08:18:20 [0.16ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 34 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 127 - 2025-01-02 08:18:20 [0.8ms] */
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` = 89976 and date(`term`.`first_date_of_quarter`) <= '2025-01-02' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 128 - 2025-01-02 08:18:20 [0.19ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 129 - 2025-01-02 08:18:20 [0.19ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 130 - 2025-01-02 08:18:20 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 131 - 2025-01-02 08:18:20 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 1 - 2025-01-02 08:18:25 [1.4ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 2 - 2025-01-02 08:18:25 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 3 - 2025-01-02 08:18:25 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 4 - 2025-01-02 08:18:25 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 5 - 2025-01-02 08:18:25 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 6 - 2025-01-02 08:18:25 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 7 - 2025-01-02 08:18:25 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 102945 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 8 - 2025-01-02 08:18:25 [11.46ms] */
update `transaction` set `service_fee_sms_confirmation` = 5283175689, `service_fee_payment_date` = '2025-01-02 08:18:25', `transaction`.`updated_at` = '2025-01-02 08:18:25' where `id` = 102945;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 9 - 2025-01-02 08:18:25 [0.34ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 10 - 2025-01-02 08:18:25 [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/payment_confirm_image
   Query 1 - 2025-01-02 08:18:27 [1.77ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:18:27 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:18:27 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:18:27 [0.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:18:27 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:18:27 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:18:27 [12.22ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (102945, 'SERVICE_SMS_IMAGE', 5283175689, 'payment_confirmation/Payment-Confirmation-TR102945-ATTC-1283820467.png', '2025-01-02 08:18:27', '2025-01-02 08:18:27');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 1 - 2025-01-02 08:18:32 [1.62ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 2 - 2025-01-02 08:18:32 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 3 - 2025-01-02 08:18:32 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 4 - 2025-01-02 08:18:32 [0.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 5 - 2025-01-02 08:18:32 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 6 - 2025-01-02 08:18:32 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 7 - 2025-01-02 08:18:32 [0.85ms] */
select * from `transaction` where `transaction`.`id` = 105115 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 8 - 2025-01-02 08:18:32 [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/transaction/receipt/105115
   Query 9 - 2025-01-02 08:18:32 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-02 08:18:38 [2.8ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-02 08:18:38 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-02 08:18:38 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-02 08:18:38 [0.52ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-02 08:18:38 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-02 08:18:38 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-02 08:18:38 [1.41ms] */
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` = 'RTA51' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-02 08:18:38 [2.38ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-02 08:18:38 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-02 08:18:38 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-02 08:18:38 [0.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-02 08:18:38 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-02 08:18:38 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-02 08:18:38 [0.58ms] */
select * from `vehicle` where `vehicle`.`id` = 90025 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-02 08:18:38 [0.24ms] */
select * from `vehicle` where `id` = 90025 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-02 08:18:38 [0.71ms] */
select * from `party_vehicle` where `vehicle_id` = 90025 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-02 08:18:38 [2.08ms] */
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` = 90025 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): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:18:39 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:18:39 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:18:39 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:18:39 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:18:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:18:39 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:18:39 [19.68ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (102945, 'SERVICE_RECEIPT_IMAGE', 5283175689, 'payment_confirmation/Payment-Confirmation-TR102945-ATTC-1229175468.png', '2025-01-02 08:18:39', '2025-01-02 08:18:39');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-02 08:18:39 [1.3ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-02 08:18:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-02 08:18:39 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-02 08:18:39 [0.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-02 08:18:39 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-02 08:18:39 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-02 08:18:39 [0.25ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:18:40 [1.41ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:18:40 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:18:40 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:18:40 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:18:40 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:18:40 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:18:40 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-01-02 08:18:42 [2.18ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-02 08:18:42 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-02 08:18:42 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-01-02 08:18:42 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-01-02 08:18:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-02 08:18:42 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-01-02 08:18:42 [0.68ms] */
select * from `payment_confirmation` where `gov_fee_tr_id` = 5283175689 and `serv_fee_tr_id` = 5283175689 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:18:48 [2.19ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:18:48 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:18:48 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:18:48 [0.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:18:48 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:18:48 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:18:48 [0.3ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:18:48 [0.31ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:18:48 [0.26ms] */
select `parent_id` from `transaction` where `id` in (103110, 103111) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:18:48 [0.15ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:18:48 [0.2ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:18:48 [0.26ms] */
select * from `transaction` where `id` in (103110, 103111) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:18:48 [0.29ms] */
select * from `invoice` where `invoice`.`id` = 102672 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:18:48 [8.5ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-02 08:18:48' where `id` = 102672;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:18:48 [0.43ms] */
select * from `invoice` where `id` = 102672 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-02 08:18:48 [3.24ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 102672, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-02 08:18:48 [0.44ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-02 08:18:48 [0.66ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-02 08:18:48 [3.43ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-02 08:18:48' where `id` = 103110;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-02 08:18:48 [0.73ms] */
select * from `invoice` where `invoice`.`id` = 102673 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-02 08:18:48 [3.23ms] */
update `invoice` set `updated_by` = 5, `invoice`.`updated_at` = '2025-01-02 08:18:48' where `id` = 102673;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-02 08:18:48 [0.59ms] */
select * from `invoice` where `id` = 102673 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-02 08:18:48 [3.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 102673, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-01-02 08:18:48 [0.23ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 25 - 2025-01-02 08:18:48 [0.24ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 26 - 2025-01-02 08:18:48 [3.14ms] */
update `transaction` set `updated_by` = 5, `transaction`.`updated_at` = '2025-01-02 08:18:48' where `id` = 103111;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 27 - 2025-01-02 08:18:48 [3.14ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-01-02 08:18:48' where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 28 - 2025-01-02 08:18:48 [0.7ms] */
select * from `vehicle` where `vehicle`.`id` = 90025 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 29 - 2025-01-02 08:18:48 [0.4ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 30 - 2025-01-02 08:18:48 [0.51ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 90025 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 31 - 2025-01-02 08:18:48 [0.4ms] */
select * from `party_vehicle` where `vehicle_id` = 90025 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 32 - 2025-01-02 08:18:48 [0.42ms] */
select * from `party` where `party`.`id` = 12904 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 33 - 2025-01-02 08:18:48 [0.37ms] */
select * from `vehicle` where `vehicle`.`id` = 90025 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 34 - 2025-01-02 08:18:48 [0.32ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 35 - 2025-01-02 08:18:48 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 36 - 2025-01-02 08:18:48 [0.45ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (12904, 2, 90025, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 37 - 2025-01-02 08:18:48 [0.32ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105116, 'INITIATED', '2025-01-02 08:18:48', 5, 5, 5, 5, '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 38 - 2025-01-02 08:18:48 [0.24ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 98832, `transaction`.`updated_at` = '2025-01-02 08:18:48' where `id` = 105116;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 39 - 2025-01-02 08:18:48 [0.28ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (99453, 99454) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 40 - 2025-01-02 08:18:48 [0.23ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (99453, 99454) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 41 - 2025-01-02 08:18:48 [0.28ms] */
insert into `invoice` (`transaction_id`, `party_id`, `invoice_date`, `due_date`, `invoice_amount`, `discounts`, `total_invoice_amount`, `outstanding_balance`, `taxes`, `status`, `grouped`, `parent`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105116, 12904, '2025-01-02 08:18:48', '2025-01-02 08:18:48', 71.00, 0, 71.00, 71.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 42 - 2025-01-02 08:18:48 [0.2ms] */
select * from `invoice` where `id` = 104676 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 43 - 2025-01-02 08:18:48 [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":105116,"party_id":12904,"invoice_amount":"71.00","invoice_date":"2025-01-02 08:18:48","due_date":"2025-01-02 08:18:48","outstanding_balance":"71.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"71.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', 104676, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 44 - 2025-01-02 08:18:48 [0.44ms] */
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 (99453, 99454) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 45 - 2025-01-02 08:18:48 [0.31ms] */
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, 71, 71, 104676, 5, 5, '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 46 - 2025-01-02 08:18:48 [0.18ms] */
select * from `invoice_item` where `id` = 204591 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 47 - 2025-01-02 08:18:48 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"71.00","quantity":2,"total_price":"71.00","invoice_id":104676}}', 5, 'App\Models\User', 204591, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 48 - 2025-01-02 08:18:48 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-903-104676311', `invoice`.`updated_at` = '2025-01-02 08:18:48' where `id` = 104676;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 49 - 2025-01-02 08:18:48 [0.19ms] */
select * from `invoice` where `id` = 104676 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 50 - 2025-01-02 08:18:48 [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":{"invoice_number":"INV-903-104676311"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 104676, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 51 - 2025-01-02 08:18:48 [0.22ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99453 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 52 - 2025-01-02 08:18:48 [0.17ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-02 08:18:48' where `id` = 99453;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 53 - 2025-01-02 08:18:48 [0.19ms] */
select * from `vehicle_tax` where `id` = 99453 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 54 - 2025-01-02 08:18:48 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 99453, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 55 - 2025-01-02 08:18:48 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 103110 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 56 - 2025-01-02 08:18:48 [0.27ms] */
update `transaction` set `deliver_district_id` = null, `parent_id` = 105116, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-02 08:18:48' where `id` = 103110;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 57 - 2025-01-02 08:18:48 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102672 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 58 - 2025-01-02 08:18:48 [0.26ms] */
update `invoice` set `parent_id` = 104676, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-02 08:18:48' where `id` = 102672;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 59 - 2025-01-02 08:18:48 [0.19ms] */
select * from `invoice` where `id` = 102672 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 60 - 2025-01-02 08:18:48 [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":104676,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102672, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 61 - 2025-01-02 08:18:48 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 103110 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 62 - 2025-01-02 08:18:48 [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 63 - 2025-01-02 08:18:48 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 64 - 2025-01-02 08:18:48 [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 65 - 2025-01-02 08:18:48 [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 66 - 2025-01-02 08:18:48 [0.21ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 67 - 2025-01-02 08:18:48 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103110, 'APPROVED', '2025-01-02 08:18:48', 5, 5, null, 5, 5, '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 68 - 2025-01-02 08:18:48 [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 69 - 2025-01-02 08:18:48 [0.3ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-02 08:18:48' where `id` = 103110;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 70 - 2025-01-02 08:18:48 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 71 - 2025-01-02 08:18:48 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 102672 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 72 - 2025-01-02 08:18:48 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 99454 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 73 - 2025-01-02 08:18:48 [0.36ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-02 08:18:48' where `id` = 99454;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 74 - 2025-01-02 08:18:48 [0.22ms] */
select * from `vehicle_tax` where `id` = 99454 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 75 - 2025-01-02 08:18:48 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 99454, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 76 - 2025-01-02 08:18:48 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 103111 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 77 - 2025-01-02 08:18:48 [0.21ms] */
update `transaction` set `deliver_district_id` = null, `parent_id` = 105116, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-02 08:18:48' where `id` = 103111;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 78 - 2025-01-02 08:18:48 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 102673 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 79 - 2025-01-02 08:18:48 [0.2ms] */
update `invoice` set `parent_id` = 104676, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-02 08:18:48' where `id` = 102673;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 80 - 2025-01-02 08:18:48 [0.19ms] */
select * from `invoice` where `id` = 102673 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 81 - 2025-01-02 08:18:48 [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":104676,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 102673, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 82 - 2025-01-02 08:18:48 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 103111 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 83 - 2025-01-02 08:18:48 [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 84 - 2025-01-02 08:18:48 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 85 - 2025-01-02 08:18:48 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 86 - 2025-01-02 08:18:48 [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 87 - 2025-01-02 08:18:48 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (103111, 'APPROVED', '2025-01-02 08:18:48', 5, 5, null, 5, 5, '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 88 - 2025-01-02 08:18:48 [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 89 - 2025-01-02 08:18:48 [0.3ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-02 08:18:48' where `id` = 103111;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 90 - 2025-01-02 08:18:48 [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 91 - 2025-01-02 08:18:48 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 102673 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 92 - 2025-01-02 08:18:48 [0.19ms] */
update `transaction` set `invoice_id` = 104676, `transaction`.`updated_at` = '2025-01-02 08:18:48' where `id` = 105116;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 93 - 2025-01-02 08:18:48 [0.46ms] */
update `vehicle` set `updated_by` = 5, `vehicle`.`updated_at` = '2025-01-02 08:18:48' where `id` = 90025;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 94 - 2025-01-02 08:18:48 [0.19ms] */
select * from `vehicle` where `id` = 90025 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 95 - 2025-01-02 08:18:48 [0.19ms] */
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', 90025, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 96 - 2025-01-02 08:18:48 [0.25ms] */
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":8}', '{"updated_by":5}', 'updated', 90025, 'Modules\Vehicle\Entities\Vehicle', 5, 'App\Models\User', null, '171.79.54.228', 'Dart/3.6 (dart:io)', 'https://testtra.puntlandgov.org/api/make_payment', '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 97 - 2025-01-02 08:18:48 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 105116 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 98 - 2025-01-02 08:18:48 [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 99 - 2025-01-02 08:18:48 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 100 - 2025-01-02 08:18:48 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 101 - 2025-01-02 08:18:48 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105116, 'APPROVED', '2025-01-02 08:18:48', 5, 5, null, 5, 5, '2025-01-02 08:18:48', '2025-01-02 08:18:48');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 102 - 2025-01-02 08:18:48 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 103 - 2025-01-02 08:18:48 [0.22ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-02 08:18:48' where `id` = 105116;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 104 - 2025-01-02 08:18:48 [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 105 - 2025-01-02 08:18:48 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 104676 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 106 - 2025-01-02 08:18:48 [0.59ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 107 - 2025-01-02 08:18:48 [0.53ms] */
select * from `invoice` where `transaction_id` = 103110 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 108 - 2025-01-02 08:18:48 [0.54ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102672 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 109 - 2025-01-02 08:18:48 [0.46ms] */
select * from `invoice` where `transaction_id` = 103111 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 110 - 2025-01-02 08:18:48 [0.44ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102673 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 111 - 2025-01-02 08:18:48 [0.27ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 112 - 2025-01-02 08:18:48 [0.25ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:18:49 [2.24ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:18:49 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:18:49 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:18:49 [0.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:18:49 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:18:49 [0.49ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:18:49 [0.24ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:18:53 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:18:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:18:53 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:18:53 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:18:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:18:53 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:18:53 [1.13ms] */
select * from `payment_configurations` where `provider_id` = 4 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:18:53 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:18:53 [1.12ms] */
select `parent_id` from `transaction` where `id` in (103110, 103111) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:18:53 [77.33ms] */
select `id` from `transaction` where `parent_id` in (105116) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:18:53 [0.63ms] */
select * from `transaction` where `id` in (105116) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:18:53 [0.24ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:18:53 [0.29ms] */
select * from `invoice` where `transaction_id` = 103110 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:18:53 [0.3ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102672 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:18:53 [0.29ms] */
select * from `invoice` where `transaction_id` = 103111 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-02 08:18:53 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102673 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-02 08:18:53 [0.26ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 1 - 2025-01-02 08:18:53 [1.48ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 2 - 2025-01-02 08:18:53 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 3 - 2025-01-02 08:18:53 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 4 - 2025-01-02 08:18:53 [0.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 5 - 2025-01-02 08:18:53 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 6 - 2025-01-02 08:18:53 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 7 - 2025-01-02 08:18:53 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 105115 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 8 - 2025-01-02 08:18:53 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 9 - 2025-01-02 08:18:53 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:18:57 [1.43ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:18:57 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:18:57 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:18:57 [0.38ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:18:57 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:18:57 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:18:57 [7.17ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105115, 'GOV_RECEIPT_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105115-ATTC-1720422824.png', '2025-01-02 08:18:57', '2025-01-02 08:18:57');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:19:03 [2.21ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:19:03 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:19:03 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:19:03 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:19:03 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:19:03 [0.31ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:19:03 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 1 - 2025-01-02 08:19:22 [2.01ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 2 - 2025-01-02 08:19:22 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 3 - 2025-01-02 08:19:22 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 4 - 2025-01-02 08:19:22 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 5 - 2025-01-02 08:19:22 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 6 - 2025-01-02 08:19:22 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 7 - 2025-01-02 08:19:22 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 105115 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 8 - 2025-01-02 08:19:22 [13.41ms] */
update `transaction` set `service_fee_sms_confirmation` = 5283176384, `service_fee_payment_date` = '2025-01-02 08:19:22', `transaction`.`updated_at` = '2025-01-02 08:19:22' where `id` = 105115;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 9 - 2025-01-02 08:19:22 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 10 - 2025-01-02 08:19:22 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:19:25 [1.57ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:19:25 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:19:25 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:19:25 [0.21ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:19:25 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:19:25 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:19:25 [21.87ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105115, 'SERVICE_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105115-ATTC-1869342824.png', '2025-01-02 08:19:25', '2025-01-02 08:19:25');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:20:03 [1.96ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:20:03 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:20:03 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:20:03 [0.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:20:03 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:20:03 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:20:03 [0.17ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:20:03 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:20:03 [1.12ms] */
select `parent_id` from `transaction` where `id` in (103110, 103111) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:20:03 [126.29ms] */
select `id` from `transaction` where `parent_id` in (105116) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:20:03 [0.38ms] */
select * from `transaction` where `id` in (105116) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:20:03 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:20:03 [0.17ms] */
select * from `invoice` where `transaction_id` = 103110 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:20:03 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102672 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:20:03 [0.15ms] */
select * from `invoice` where `transaction_id` = 103111 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-02 08:20:03 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102673 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-02 08:20:03 [0.17ms] */
select * from `merchants` where `merchants`.`id` = 4 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-02 08:20:03 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:20:14 [1.84ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:20:14 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:20:14 [0.28ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:20:14 [0.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:20:14 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:20:14 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:20:14 [0.67ms] */
select * from `payment_configurations` where `provider_id` = 2 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:20:14 [0.15ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:20:14 [0.13ms] */
select `parent_id` from `transaction` where `id` in (103110, 103111) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:20:14 [0.12ms] */
select `id` from `transaction` where `parent_id` in (105116) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:20:14 [0.17ms] */
select * from `transaction` where `id` in (105116) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:20:14 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:20:14 [0.16ms] */
select * from `invoice` where `transaction_id` = 103110 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:20:14 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102672 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:20:14 [0.15ms] */
select * from `invoice` where `transaction_id` = 103111 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-02 08:20:14 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102673 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-02 08:20:14 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:21:12 [2.57ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:21:12 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:21:12 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:21:12 [0.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:21:12 [0.32ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:21:12 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:21:12 [0.17ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:21:12 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:21:12 [0.13ms] */
select `parent_id` from `transaction` where `id` in (103110, 103111) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:21:12 [0.12ms] */
select `id` from `transaction` where `parent_id` in (105116) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:21:12 [0.16ms] */
select * from `transaction` where `id` in (105116) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:21:12 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:21:12 [0.19ms] */
select * from `invoice` where `transaction_id` = 103110 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:21:12 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102672 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:21:12 [0.15ms] */
select * from `invoice` where `transaction_id` = 103111 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-02 08:21:12 [0.13ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102673 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-02 08:21:12 [0.15ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-02 08:21:12 [0.13ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-02 08:22:14 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-02 08:22:14 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-02 08:22:14 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-02 08:22:14 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-02 08:22:14 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-02 08:22:14 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-02 08:22:14 [6.35ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RTA007' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-02 08:22:15 [1.45ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-02 08:22:15 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-02 08:22:15 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-02 08:22:15 [0.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-02 08:22:15 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-02 08:22:15 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-02 08:22:15 [0.76ms] */
select * from `vehicle` where `vehicle`.`id` = 89955 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-02 08:22:15 [0.21ms] */
select * from `vehicle` where `id` = 89955 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-02 08:22:15 [1.16ms] */
select * from `party_vehicle` where `vehicle_id` = 89955 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-02 08:22:15 [2.94ms] */
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` = 89955 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-02 08:22:16 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-02 08:22:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-02 08:22:16 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-02 08:22:16 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-02 08:22:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-02 08:22:16 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-02 08:22:16 [0.3ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:22:16 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:22:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:22:16 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:22:16 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:22:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:22:16 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:22:16 [0.16ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:22:17 [2.08ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:22:17 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:22:17 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:22:17 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:22:17 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:22:17 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:22:17 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:22:17 [1.55ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:22:17 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:22:17 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:22:17 [0.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:22:17 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:22:17 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:22:17 [0.3ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:22:17 [1.2ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99411) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:22:17 [1.55ms] */
select `parent_id` from `transaction` where `id` in (102992) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:22:17 [115.95ms] */
select `id` from `transaction` where `parent_id` in (105115) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:22:17 [0.46ms] */
select * from `transaction` where `id` in (105115) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:22:17 [0.18ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99411) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:22:17 [1.16ms] */
select * from `invoice` where `transaction_id` = 102992 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:22:17 [1.37ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102557 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:22:17 [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 16 - 2025-01-02 08:22:17 [0.18ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:22:18 [1.48ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:22:18 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:22:18 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:22:18 [0.24ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:22:18 [0.2ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:22:18 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:22:18 [0.35ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 1 - 2025-01-02 08:22:31 [2.15ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 2 - 2025-01-02 08:22:31 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 3 - 2025-01-02 08:22:31 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 4 - 2025-01-02 08:22:31 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 5 - 2025-01-02 08:22:31 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 6 - 2025-01-02 08:22:31 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 7 - 2025-01-02 08:22:31 [0.52ms] */
select * from `transaction` where `transaction`.`id` = 105115 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 8 - 2025-01-02 08:22:31 [6.35ms] */
update `transaction` set `gov_fee_payment_date` = '2025-01-02 08:22:31', `transaction`.`updated_at` = '2025-01-02 08:22:31' where `id` = 105115;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 9 - 2025-01-02 08:22:31 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 10 - 2025-01-02 08:22:31 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 1 - 2025-01-02 08:22:35 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 2 - 2025-01-02 08:22:35 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 3 - 2025-01-02 08:22:35 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 4 - 2025-01-02 08:22:35 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 5 - 2025-01-02 08:22:35 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 6 - 2025-01-02 08:22:35 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 7 - 2025-01-02 08:22:35 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 105116 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 8 - 2025-01-02 08:22:35 [13.36ms] */
update `transaction` set `gov_fee_sms_confirmation` = 5283175689, `gov_fee_payment_date` = '2025-01-02 08:22:35', `transaction`.`updated_at` = '2025-01-02 08:22:35' where `id` = 105116;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:22:35 [1.25ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 9 - 2025-01-02 08:22:35 [0.3ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 10 - 2025-01-02 08:22:35 [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/payment_confirm_image
   Query 2 - 2025-01-02 08:22:35 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:22:35 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:22:35 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:22:35 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:22:35 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:22:35 [5.94ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105115, 'GOV_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105115-ATTC-1166665461.png', '2025-01-02 08:22:35', '2025-01-02 08:22:35');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:22:38 [4.63ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:22:38 [1.56ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:22:38 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:22:38 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:22:38 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:22:38 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:22:38 [23.01ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105116, 'GOV_SMS_IMAGE', 5283175689, 'payment_confirmation/Payment-Confirmation-TR105116-ATTC-365811724.png', '2025-01-02 08:22:38', '2025-01-02 08:22:38');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 1 - 2025-01-02 08:22:40 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 2 - 2025-01-02 08:22:40 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 3 - 2025-01-02 08:22:40 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 4 - 2025-01-02 08:22:40 [0.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 5 - 2025-01-02 08:22:40 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 6 - 2025-01-02 08:22:40 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 7 - 2025-01-02 08:22:40 [0.55ms] */
select * from `transaction` where `transaction`.`id` = 102945 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 8 - 2025-01-02 08:22:40 [8.28ms] */
update `transaction` set `service_fee_payment_date` = '2025-01-02 08:22:40', `transaction`.`updated_at` = '2025-01-02 08:22:40' where `id` = 102945;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 9 - 2025-01-02 08:22:40 [0.3ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 10 - 2025-01-02 08:22:40 [0.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:22:42 [1.91ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:22:42 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:22:42 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:22:42 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:22:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:22:42 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:22:42 [7.97ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (102945, 'SERVICE_SMS_IMAGE', 5283175689, 'payment_confirmation/Payment-Confirmation-TR102945-ATTC-1541043512.png', '2025-01-02 08:22:42', '2025-01-02 08:22:42');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 1 - 2025-01-02 08:22:42 [2.15ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 2 - 2025-01-02 08:22:42 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 3 - 2025-01-02 08:22:42 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 4 - 2025-01-02 08:22:42 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 5 - 2025-01-02 08:22:42 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 6 - 2025-01-02 08:22:42 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 7 - 2025-01-02 08:22:42 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 105115 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 8 - 2025-01-02 08:22:42 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 9 - 2025-01-02 08:22:42 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:23:04 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:23:04 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:23:04 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:23:04 [0.45ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:23:04 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:23:04 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:23:04 [14.2ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105116, 'GOV_RECEIPT_IMAGE', 5283175689, 'payment_confirmation/Payment-Confirmation-TR105116-ATTC-491061907.png', '2025-01-02 08:23:04', '2025-01-02 08:23:04');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:23:09 [1.37ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:23:09 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:23:09 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:23:09 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:23:09 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:23:09 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:23:09 [0.16ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 1 - 2025-01-02 08:23:16 [2.32ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 2 - 2025-01-02 08:23:16 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 3 - 2025-01-02 08:23:16 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 4 - 2025-01-02 08:23:16 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 5 - 2025-01-02 08:23:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 6 - 2025-01-02 08:23:16 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 7 - 2025-01-02 08:23:16 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 105115 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 8 - 2025-01-02 08:23:16 [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): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 9 - 2025-01-02 08:23:16 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:23:19 [2.33ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:23:19 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:23:19 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:23:19 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:23:19 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:23:19 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:23:19 [14.76ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105115, 'GOV_RECEIPT_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105115-ATTC-882571429.png', '2025-01-02 08:23:19', '2025-01-02 08:23:19');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:23:29 [1.91ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:23:29 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:23:29 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:23:29 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:23:29 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:23:29 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:23:29 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 1 - 2025-01-02 08:23:52 [1.68ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 2 - 2025-01-02 08:23:52 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 3 - 2025-01-02 08:23:52 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 4 - 2025-01-02 08:23:52 [0.22ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 5 - 2025-01-02 08:23:52 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 6 - 2025-01-02 08:23:52 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 7 - 2025-01-02 08:23:52 [0.42ms] */
select * from `transaction` where `transaction`.`id` = 105115 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 8 - 2025-01-02 08:23:52 [9.93ms] */
update `transaction` set `service_fee_payment_date` = '2025-01-02 08:23:52', `transaction`.`updated_at` = '2025-01-02 08:23:52' where `id` = 105115;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 9 - 2025-01-02 08:23:52 [0.37ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 10 - 2025-01-02 08:23:52 [0.31ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:23:55 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:23:56 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:23:56 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:23:56 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:23:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:23:56 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:23:56 [11.66ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105115, 'SERVICE_SMS_IMAGE', 5283176384, 'payment_confirmation/Payment-Confirmation-TR105115-ATTC-1223636448.png', '2025-01-02 08:23:56', '2025-01-02 08:23:56');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:24:09 [1.42ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:24:09 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:24:09 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:24:09 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:24:09 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:24:09 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:24:09 [0.18ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:24:09 [0.66ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99398) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:24:09 [1.98ms] */
select `parent_id` from `transaction` where `id` in (102934) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:24:09 [116.42ms] */
select `id` from `transaction` where `parent_id` in (102945) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:24:09 [0.37ms] */
select * from `transaction` where `id` in (102945) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:24:09 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99398) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:24:09 [1.12ms] */
select * from `invoice` where `transaction_id` = 102934 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:24:09 [1.01ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102503 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:24:09 [0.16ms] */
select * from `merchants` where `merchants`.`id` = 4 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-02 08:24:09 [0.15ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 1 - 2025-01-02 08:24:21 [1.42ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 2 - 2025-01-02 08:24:21 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 3 - 2025-01-02 08:24:21 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 4 - 2025-01-02 08:24: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/transaction/receipt/102945
   Query 5 - 2025-01-02 08:24:21 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 6 - 2025-01-02 08:24:21 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 7 - 2025-01-02 08:24:21 [0.6ms] */
select * from `transaction` where `transaction`.`id` = 102945 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 8 - 2025-01-02 08:24:21 [5.79ms] */
update `transaction` set `gov_fee_sms_confirmation` = 'C0241209.1716.', `gov_fee_payment_date` = '2025-01-02 08:24:21', `transaction`.`updated_at` = '2025-01-02 08:24:21' where `id` = 102945;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/102945
   Query 9 - 2025-01-02 08:24: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/transaction/receipt/102945
   Query 10 - 2025-01-02 08:24:21 [2.6ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:24:24 [1.51ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:24:24 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:24:24 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:24:24 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:24:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:24:24 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:24:24 [15.23ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (102945, 'GOV_SMS_IMAGE', 'C0241209.1716.', 'payment_confirmation/Payment-Confirmation-TR102945-ATTC-359779857.png', '2025-01-02 08:24:24', '2025-01-02 08:24:24');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:24:35 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:24:35 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:24:35 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:24:35 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:24:35 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:24:35 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:24:35 [12.04ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (102945, 'GOV_RECEIPT_IMAGE', 'C0241209.1716.', 'payment_confirmation/Payment-Confirmation-TR102945-ATTC-1390248170.png', '2025-01-02 08:24:35', '2025-01-02 08:24:35');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:24:39 [1.44ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:24:39 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:24:39 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:24:39 [0.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:24:39 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '175147f6fe72c4c319347914a6df66ffb1a8b45e3744ce910381b26391d593558b9fa040c63bdf87' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:24:39 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:24:39 [0.18ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 1 - 2025-01-02 08:28:05 [1.46ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-01-02 08:28:05 [0.25ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-01-02 08:28:05 [0.45ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 5 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-01-02 08:28:05 [11.24ms] */
update `userprofiles` set `last_ip` = '49.47.216.248', `login_count` = 739, `last_login` = '2025-01-02 08:28:05', `userprofiles`.`updated_at` = '2025-01-02 08:28:05' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-02 08:28:05 [0.3ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-01-02 08:28:05 [0.65ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-01-02 08:28:05 [0.26ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (5) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-01-02 08:28:05 [0.15ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-02 08:28:05 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-02 08:28:05 [0.15ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-02 08:28:05 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-02 08:28:05 [0.77ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-02 08:28:05 [11.64ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994', 5, 3, '[]', 0, '2025-01-02 08:28:05', '2025-01-02 08:28:05', '2026-01-02 08:28:05');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-02 08:28:05 [0.56ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-02 08:28:05 [11.59ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-02 08:28:41 [2.63ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-02 08:28:41 [0.24ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-02 08:28:41 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-02 08:28:41 [0.27ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-02 08:28:41 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-02 08:28:41 [0.21ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-02 08:28:41 [2.26ms] */
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` = 'VC323' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-02 08:28:42 [2.25ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-02 08:28:42 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-02 08:28:42 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-02 08:28:42 [0.3ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-02 08:28:42 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-02 08:28:42 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-02 08:28:42 [0.44ms] */
select * from `vehicle` where `vehicle`.`id` = 24 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-02 08:28:42 [0.33ms] */
select * from `vehicle` where `id` = 24 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-02 08:28:42 [0.42ms] */
select * from `party_vehicle` where `vehicle_id` = 24 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-02 08:28:42 [6.71ms] */
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` = 24 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-02 08:28:44 [7.77ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-02 08:28:44 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-02 08:28:44 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-02 08:28:44 [0.21ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-02 08:28:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-02 08:28:44 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-02 08:28:44 [0.25ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:28:44 [1.49ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:28:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:28:44 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:28:44 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:28:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:28:44 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:28:44 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:28:45 [2.01ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:28:45 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:28:45 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:28:45 [0.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:28:45 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:28:45 [0.24ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:28:45 [0.28ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:28:45 [2.21ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:28:45 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:28:45 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:28:45 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:28:45 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:28:45 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:28:45 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:28:45 [0.34ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100386, 100387, 100388, 100389, 100390) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:28:45 [0.3ms] */
select `parent_id` from `transaction` where `id` in (104051, 104052, 104053, 104054, 104055) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:28:45 [53.99ms] */
select `id` from `transaction` where `parent_id` in (105108) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:28:45 [0.44ms] */
select * from `transaction` where `id` in (105108) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:28:45 [0.26ms] */
select `transaction_id` from `vehicle_tax` where `id` in (100386, 100387, 100388, 100389, 100390) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:28:45 [0.96ms] */
select * from `invoice` where `transaction_id` = 104051 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:28:45 [0.78ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103613 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:28:45 [0.66ms] */
select * from `invoice` where `transaction_id` = 104052 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-02 08:28:45 [0.73ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103614 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-02 08:28:45 [0.75ms] */
select * from `invoice` where `transaction_id` = 104053 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 18 - 2025-01-02 08:28:45 [0.72ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103615 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 19 - 2025-01-02 08:28:45 [0.74ms] */
select * from `invoice` where `transaction_id` = 104054 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 20 - 2025-01-02 08:28:45 [0.7ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103616 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 21 - 2025-01-02 08:28:45 [0.74ms] */
select * from `invoice` where `transaction_id` = 104055 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 22 - 2025-01-02 08:28:45 [0.8ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 103617 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 23 - 2025-01-02 08:28:45 [0.18ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 24 - 2025-01-02 08:28:45 [0.23ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:28:46 [1.31ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:28:46 [0.21ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:28:46 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:28:46 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:28:46 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'a78917a149ea8e15473076673129434f8a0c05352a23d232b712cf6f7ff96390861da2ebc7367994' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:28:46 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:28:46 [0.15ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 1 - 2025-01-02 08:29:23 [3.32ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 2 - 2025-01-02 08:29:23 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 3 - 2025-01-02 08:29:23 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 4 - 2025-01-02 08:29:23 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 5 - 2025-01-02 08:29:23 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 6 - 2025-01-02 08:29:23 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 7 - 2025-01-02 08:29:23 [1.57ms] */
select * from `transaction` where `transaction`.`id` = 105115 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 8 - 2025-01-02 08:29:23 [7.52ms] */
update `transaction` set `service_fee_ar_number` = 43, `transaction`.`updated_at` = '2025-01-02 08:29:23' where `id` = 105115;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 9 - 2025-01-02 08:29:23 [0.32ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 10 - 2025-01-02 08:29:23 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 1 - 2025-01-02 08:30:11 [3.4ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 2 - 2025-01-02 08:30:11 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 3 - 2025-01-02 08:30:11 [0.8ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 4 - 2025-01-02 08:30:11 [0.64ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 5 - 2025-01-02 08:30:11 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 6 - 2025-01-02 08:30:11 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 7 - 2025-01-02 08:30:11 [1.53ms] */
select * from `transaction` where `transaction`.`id` = 105115 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 8 - 2025-01-02 08:30:11 [6.65ms] */
update `transaction` set `service_fee_ar_number` = 6, `transaction`.`updated_at` = '2025-01-02 08:30:11' where `id` = 105115;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 9 - 2025-01-02 08:30:11 [0.5ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 10 - 2025-01-02 08:30:11 [0.58ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-02 08:31:34 [3.22ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-02 08:31:34 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-02 08:31:34 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-02 08:31:34 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-02 08:31:34 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-02 08:31:34 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-02 08:31:34 [11.15ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RTA51' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-02 08:31:35 [2.13ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-02 08:31:35 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-02 08:31:35 [0.22ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-02 08:31:35 [0.23ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-02 08:31:35 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-02 08:31:35 [0.2ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-02 08:31:35 [1.05ms] */
select * from `vehicle` where `vehicle`.`id` = 90025 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-02 08:31:35 [0.35ms] */
select * from `vehicle` where `id` = 90025 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-02 08:31:35 [1.07ms] */
select * from `party_vehicle` where `vehicle_id` = 90025 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-02 08:31:35 [2.47ms] */
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` = 90025 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-02 08:31:36 [1.48ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-02 08:31:36 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-02 08:31:36 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-02 08:31:36 [0.23ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-02 08:31:36 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-02 08:31:36 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-02 08:31:36 [1.24ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:31:36 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:31:36 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:31:36 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:31:36 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:31:36 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:31:36 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:31:36 [0.72ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:31:38 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:31:38 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:31:38 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:31:38 [0.28ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:31:38 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:31:38 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:31:38 [0.42ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:31:38 [0.81ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:31:38 [0.54ms] */
select `parent_id` from `transaction` where `id` in (103110, 103111) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:31:38 [69.55ms] */
select `id` from `transaction` where `parent_id` in (105116) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:31:38 [0.43ms] */
select * from `transaction` where `id` in (105116) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:31:38 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:31:38 [1.68ms] */
select * from `invoice` where `transaction_id` = 103110 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:31:38 [1.76ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102672 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:31:38 [0.35ms] */
select * from `invoice` where `transaction_id` = 103111 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-02 08:31:38 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102673 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-02 08:31:38 [0.89ms] */
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 18 - 2025-01-02 08:31:38 [0.32ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:31:39 [3.04ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:31:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:31:39 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:31:39 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:31:39 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:31:39 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:31:39 [0.14ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:31:52 [1.8ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:31:52 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:31:52 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:31:52 [0.21ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:31:52 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:31:52 [0.19ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:31:52 [0.23ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:31:52 [0.23ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:31:52 [0.19ms] */
select `parent_id` from `transaction` where `id` in (103110, 103111) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:31:52 [0.17ms] */
select `id` from `transaction` where `parent_id` in (105116) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:31:52 [0.23ms] */
select * from `transaction` where `id` in (105116) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:31:52 [0.16ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:31:52 [0.23ms] */
select * from `invoice` where `transaction_id` = 103110 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:31:52 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102672 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:31:52 [0.22ms] */
select * from `invoice` where `transaction_id` = 103111 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-02 08:31:52 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102673 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-02 08:31:52 [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 18 - 2025-01-02 08:31:52 [0.19ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:31:52 [1.96ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:31:52 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:31:52 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:31:52 [0.59ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:31:52 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:31:52 [0.31ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:31:52 [0.28ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 1 - 2025-01-02 08:32:33 [1.43ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 2 - 2025-01-02 08:32:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 3 - 2025-01-02 08:32:33 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 4 - 2025-01-02 08:32:33 [0.34ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 5 - 2025-01-02 08:32:33 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 6 - 2025-01-02 08:32:33 [0.27ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 7 - 2025-01-02 08:32:33 [0.95ms] */
select * from `transaction` where `transaction`.`id` = 105116 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 8 - 2025-01-02 08:32:33 [3.52ms] */
update `transaction` set `gov_fee_payment_date` = '2025-01-02 08:32:33', `transaction`.`updated_at` = '2025-01-02 08:32:33' where `id` = 105116;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 9 - 2025-01-02 08:32:33 [1.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/transaction/receipt/105116
   Query 10 - 2025-01-02 08:32:33 [0.57ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:32:36 [2.36ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:32:36 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:32:36 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:32:36 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:32:36 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:32:36 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:32:36 [26.4ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105116, 'GOV_SMS_IMAGE', 5283175689, 'payment_confirmation/Payment-Confirmation-TR105116-ATTC-1120253039.png', '2025-01-02 08:32:36', '2025-01-02 08:32:36');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:32:52 [1.46ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:32:52 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:32:52 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:32:52 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:32:52 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:32:52 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:32:52 [10.25ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105116, 'GOV_RECEIPT_IMAGE', 5283175689, 'payment_confirmation/Payment-Confirmation-TR105116-ATTC-1516239427.png', '2025-01-02 08:32:52', '2025-01-02 08:32:52');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:32:59 [4.07ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:32:59 [0.96ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:32:59 [0.46ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:32:59 [0.51ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:32:59 [0.47ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:32:59 [0.88ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:32:59 [0.16ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 1 - 2025-01-02 08:34:35 [2.08ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 2 - 2025-01-02 08:34:35 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 3 - 2025-01-02 08:34:35 [0.16ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 4 - 2025-01-02 08:34:35 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 5 - 2025-01-02 08:34:35 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 6 - 2025-01-02 08:34:35 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 7 - 2025-01-02 08:34:35 [0.42ms] */
select * from `transaction` where `transaction`.`id` = 105115 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 8 - 2025-01-02 08:34:35 [12.24ms] */
update `transaction` set `service_fee_ar_number` = 474592, `transaction`.`updated_at` = '2025-01-02 08:34:35' where `id` = 105115;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 9 - 2025-01-02 08:34:35 [0.34ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 10 - 2025-01-02 08:34:35 [0.24ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 1 - 2025-01-02 08:34:56 [1.45ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 2 - 2025-01-02 08:34:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 3 - 2025-01-02 08:34:56 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 4 - 2025-01-02 08:34:56 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 5 - 2025-01-02 08:34:56 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 6 - 2025-01-02 08:34:56 [0.12ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 7 - 2025-01-02 08:34:56 [2.19ms] */
select * from `transaction` where `transaction`.`id` = 105116 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 8 - 2025-01-02 08:34:56 [12.42ms] */
update `transaction` set `service_fee_sms_confirmation` = 5283175689, `service_fee_payment_date` = '2025-01-02 08:34:56', `transaction`.`updated_at` = '2025-01-02 08:34:56' where `id` = 105116;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 9 - 2025-01-02 08:34:56 [0.26ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 10 - 2025-01-02 08:34:56 [0.23ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:34:59 [2.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:34:59 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:34:59 [0.23ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:34:59 [0.19ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:34:59 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:34:59 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:34:59 [16.4ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105116, 'SERVICE_SMS_IMAGE', 5283175689, 'payment_confirmation/Payment-Confirmation-TR105116-ATTC-1669150466.png', '2025-01-02 08:34:59', '2025-01-02 08:34:59');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 1 - 2025-01-02 08:35:00 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 2 - 2025-01-02 08:35:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 3 - 2025-01-02 08:35:00 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 4 - 2025-01-02 08:35:00 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 5 - 2025-01-02 08:35:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '58ab1dac2b9111d734a84d8b36d9effaf921432a23edb67d3fd8552921dbd395a56777def3bd4264' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 6 - 2025-01-02 08:35:00 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 7 - 2025-01-02 08:35:00 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 105115 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 8 - 2025-01-02 08:35:00 [13.36ms] */
update `transaction` set `service_fee_ar_number` = 74592, `transaction`.`updated_at` = '2025-01-02 08:35:00' where `id` = 105115;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 9 - 2025-01-02 08:35:00 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105115
   Query 10 - 2025-01-02 08:35:00 [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/login
   Query 1 - 2025-01-02 08:35:00 [1.74ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 2 - 2025-01-02 08:35:00 [0.39ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 3 - 2025-01-02 08:35:00 [0.33ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 5 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 4 - 2025-01-02 08:35:00 [3.42ms] */
update `userprofiles` set `login_count` = 740, `last_login` = '2025-01-02 08:35:00', `userprofiles`.`updated_at` = '2025-01-02 08:35:00' where `id` = 5;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 5 - 2025-01-02 08:35:00 [0.27ms] */
select * from `users` where `email` = 'teller@user.com' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 6 - 2025-01-02 08:35:00 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 7 - 2025-01-02 08:35:00 [0.36ms] */
select `id`, `name`, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (5) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 8 - 2025-01-02 08:35:00 [0.28ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 9 - 2025-01-02 08:35:00 [0.19ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 10 - 2025-01-02 08:35:00 [0.27ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 11 - 2025-01-02 08:35:00 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 12 - 2025-01-02 08:35:00 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 13 - 2025-01-02 08:35:00 [3.57ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('e7a7bf76ac2b48ee29f66f6ab1640a1f508d7485123781e548e6ac1b4f2de15bc702575bb2789abf', 5, 3, '[]', 0, '2025-01-02 08:35:00', '2025-01-02 08:35:00', '2026-01-02 08:35:00');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 14 - 2025-01-02 08:35:00 [0.33ms] */
select * from `oauth_access_tokens` where `id` = 'e7a7bf76ac2b48ee29f66f6ab1640a1f508d7485123781e548e6ac1b4f2de15bc702575bb2789abf' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/login
   Query 15 - 2025-01-02 08:35:00 [3.61ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'e7a7bf76ac2b48ee29f66f6ab1640a1f508d7485123781e548e6ac1b4f2de15bc702575bb2789abf';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-01-02 08:35:10 [1.99ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-01-02 08:35:10 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-01-02 08:35:10 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-01-02 08:35:10 [0.17ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-01-02 08:35:10 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-01-02 08:35:10 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-01-02 08:35:10 [15.38ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `receipt_attachment`, `updated_at`, `created_at`) values (105116, 'SERVICE_RECEIPT_IMAGE', 5283175689, 'payment_confirmation/Payment-Confirmation-TR105116-ATTC-1879762055.png', '2025-01-02 08:35:10', '2025-01-02 08:35:10');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-01-02 08:35:14 [1.51ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-02 08:35:14 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-02 08:35:14 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-01-02 08:35:14 [0.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-01-02 08:35:14 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-02 08:35:14 [0.25ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-01-02 08:35:14 [0.51ms] */
select * from `payment_confirmation` where `gov_fee_tr_id` = 5283175689 and `serv_fee_tr_id` = 5283175689 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-01-02 08:35:22 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-01-02 08:35:22 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-01-02 08:35:22 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-01-02 08:35:22 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-01-02 08:35:22 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-01-02 08:35:22 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-01-02 08:35:22 [0.15ms] */
select * from `payment_confirmation` where `gov_fee_tr_id` = 5283175689 and `serv_fee_tr_id` = 5283175689 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 1 - 2025-01-02 08:35:33 [1.43ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 2 - 2025-01-02 08:35:33 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 3 - 2025-01-02 08:35:33 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 4 - 2025-01-02 08:35:33 [0.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 5 - 2025-01-02 08:35:33 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 6 - 2025-01-02 08:35:33 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/vehicle
   Query 7 - 2025-01-02 08:35:33 [3.43ms] */
select `vehicle`.`id` as `vehicle_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party`.`phone_number_1` as `mobile_number_1`, `party`.`phone_number_2` as `mobile_number_2`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'RTA51' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 1 - 2025-01-02 08:35:34 [1.44ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 2 - 2025-01-02 08:35:34 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 3 - 2025-01-02 08:35:34 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 4 - 2025-01-02 08:35:34 [0.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 5 - 2025-01-02 08:35:34 [0.36ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 6 - 2025-01-02 08:35:34 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 7 - 2025-01-02 08:35:34 [0.42ms] */
select * from `vehicle` where `vehicle`.`id` = 90025 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 8 - 2025-01-02 08:35:34 [0.36ms] */
select * from `vehicle` where `id` = 90025 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 9 - 2025-01-02 08:35:34 [0.42ms] */
select * from `party_vehicle` where `vehicle_id` = 90025 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/taxes
   Query 10 - 2025-01-02 08:35:34 [1.08ms] */
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` = 90025 and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 1 - 2025-01-02 08:35:34 [1.34ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 2 - 2025-01-02 08:35:34 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 3 - 2025-01-02 08:35:34 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 4 - 2025-01-02 08:35:34 [0.2ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 5 - 2025-01-02 08:35:34 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 6 - 2025-01-02 08:35:34 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/region-list
   Query 7 - 2025-01-02 08:35:34 [0.6ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:35:35 [1.52ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:35:35 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:35:35 [0.17ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:35:35 [0.21ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:35:35 [1ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:35:35 [0.18ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:35:35 [0.72ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 1 - 2025-01-02 08:36:02 [1.48ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 2 - 2025-01-02 08:36:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 3 - 2025-01-02 08:36:02 [0.15ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 4 - 2025-01-02 08:36:02 [0.19ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 5 - 2025-01-02 08:36:02 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 6 - 2025-01-02 08:36:02 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 7 - 2025-01-02 08:36:02 [0.84ms] */
select * from `payment_configurations` where `provider_id` = 5 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 8 - 2025-01-02 08:36:02 [1.16ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 9 - 2025-01-02 08:36:02 [1.96ms] */
select `parent_id` from `transaction` where `id` in (103110, 103111) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-01-02 08:36:02 [183.03ms] */
select `id` from `transaction` where `parent_id` in (105116) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 11 - 2025-01-02 08:36:02 [0.8ms] */
select * from `transaction` where `id` in (105116) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 12 - 2025-01-02 08:36:02 [2.28ms] */
select `transaction_id` from `vehicle_tax` where `id` in (99453, 99454) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 13 - 2025-01-02 08:36:02 [0.83ms] */
select * from `invoice` where `transaction_id` = 103110 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 14 - 2025-01-02 08:36:02 [3.27ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102672 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 15 - 2025-01-02 08:36:02 [0.24ms] */
select * from `invoice` where `transaction_id` = 103111 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 16 - 2025-01-02 08:36:02 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 102673 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 17 - 2025-01-02 08:36:02 [0.41ms] */
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 18 - 2025-01-02 08:36:02 [0.23ms] */
select * from `merchants` where `merchants`.`id` = 2 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 1 - 2025-01-02 08:36:02 [1.3ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 2 - 2025-01-02 08:36:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 3 - 2025-01-02 08:36:02 [0.14ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 4 - 2025-01-02 08:36:02 [0.16ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 5 - 2025-01-02 08:36:02 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 6 - 2025-01-02 08:36:02 [0.13ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/api/payment_providers
   Query 7 - 2025-01-02 08:36:02 [0.17ms] */
select * from `payment_method` where `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 1 - 2025-01-02 08:37:10 [1.99ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 2 - 2025-01-02 08:37:10 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 3 - 2025-01-02 08:37:10 [0.26ms] */
select * from `oauth_clients` where `id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 4 - 2025-01-02 08:37:10 [0.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 5 - 2025-01-02 08:37:10 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '4e28a16795df90f57f352bebfd1d298efb3723e44c759e6283191a390a191e51448c8be253c67699' limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/transaction/receipt/105116
   Query 6 - 2025-01-02 08:37:10 [0.24ms] */
