select * from `transaction_workflow` where `transaction_id` = 641770 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 103 - 2025-07-04 16:40:50 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 104 - 2025-07-04 16:40:50 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 105 - 2025-07-04 16:40:50 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 106 - 2025-07-04 16:40:50 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 47915 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 107 - 2025-07-04 16:40:50 [0.14ms] */
select * from `party` where `party`.`id` = 38393 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 108 - 2025-07-04 16:40:50 [0.15ms] */
select * from `person` where `person`.`id` = 38393 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 109 - 2025-07-04 16:40:50 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 10523 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 110 - 2025-07-04 16:40:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 111 - 2025-07-04 16:40:50 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 112 - 2025-07-04 16:40:50 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 641771 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 113 - 2025-07-04 16:40:50 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 114 - 2025-07-04 16:40:50 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 115 - 2025-07-04 16:40:50 [0.23ms] */
select * from `transaction_workflow` where `transaction_id` = 641771 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 116 - 2025-07-04 16:40:50 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 117 - 2025-07-04 16:40:50 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 118 - 2025-07-04 16:40:50 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 119 - 2025-07-04 16:40:50 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 47915 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 120 - 2025-07-04 16:40:50 [0.13ms] */
select * from `party` where `party`.`id` = 38393 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 121 - 2025-07-04 16:40:50 [0.14ms] */
select * from `person` where `person`.`id` = 38393 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 122 - 2025-07-04 16:40:50 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 10523 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 123 - 2025-07-04 16:40:50 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 124 - 2025-07-04 16:40:50 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 125 - 2025-07-04 16:40:50 [0.24ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 641772 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 126 - 2025-07-04 16:40:50 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 127 - 2025-07-04 16:40:50 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 128 - 2025-07-04 16:40:50 [0.24ms] */
select * from `transaction_workflow` where `transaction_id` = 641772 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 129 - 2025-07-04 16:40:50 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 130 - 2025-07-04 16:40:50 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 131 - 2025-07-04 16:40:50 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 132 - 2025-07-04 16:40:50 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 47915 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 133 - 2025-07-04 16:40:50 [0.14ms] */
select * from `party` where `party`.`id` = 38393 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 134 - 2025-07-04 16:40:50 [0.15ms] */
select * from `person` where `person`.`id` = 38393 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 135 - 2025-07-04 16:40:50 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 10523 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 136 - 2025-07-04 16:40:50 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 137 - 2025-07-04 16:40:50 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 138 - 2025-07-04 16:40:50 [0.26ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 641773 and `transaction_workflow`.`transaction_id` is not null and `transaction_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 139 - 2025-07-04 16:40:50 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 140 - 2025-07-04 16:40:50 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 141 - 2025-07-04 16:40:50 [0.32ms] */
select * from `transaction_workflow` where `transaction_id` = 641773 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 142 - 2025-07-04 16:40:50 [0.18ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 143 - 2025-07-04 16:40:50 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-07-04 16:41:01 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-07-04 16:41:01 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-07-04 16:41:01 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-07-04 16:41:01 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-07-04 16:41:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-07-04 16:41:01 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-07-04 16:41:01 [0.25ms] */
delete from `payment_documents` where `transaction_id` = 642503 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-07-04 16:41:01 [53.07ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2549260;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-07-04 16:41:01 [0.85ms] */
select * from `transaction` where `transaction`.`id` = 642503 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-07-04 16:41:01 [0.73ms] */
select * from `transaction` where `parent_id` = 642503 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-07-04 16:41:01 [11.18ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (513872, 'GOV_RECEIPT_IMAGE', 2549260, 1, '2025-07-04 16:41:01', '2025-07-04 16:41:01');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-07-04 16:41:01 [3.77ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (642503, 'GOV_RECEIPT_IMAGE', 2549260, 1, '2025-07-04 16:41:01', '2025-07-04 16:41:01');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-07-04 16:41:01 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 642503 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-07-04 16:41:01 [3.92ms] */
update `transaction` set `paid_by` = 'shicayb', `paid_by_mobile` = 7742400, `transaction`.`updated_at` = '2025-07-04 16:41:01' where `id` = 642503;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-07-04 16:41:01 [13.84ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-07-04 16:41:01' where `receipt_number` = 2549260 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 16:41:03 [1.3ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 16:41:03 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 16:41:03 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 16:41:03 [0.16ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 16:41:03 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 16:41:03 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 16:41:03 [4.21ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 16:41:03 [3.86ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-07-04 16:41:04 [2.06ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-07-04 16:41:04 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-07-04 16:41:04 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-07-04 16:41:04 [0.34ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-07-04 16:41:04 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-07-04 16:41:04 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-07-04 16:41:04 [0.24ms] */
delete from `payment_documents` where `transaction_id` = 642503 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-07-04 16:41:04 [23.18ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 135060;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-07-04 16:41:04 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 642503 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-07-04 16:41:04 [0.26ms] */
select * from `transaction` where `parent_id` = 642503 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-07-04 16:41:04 [5.62ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (513872, 'SERVICE_RECEIPT_IMAGE', 135060, 1, '2025-07-04 16:41:04', '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-07-04 16:41:04 [2.79ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (642503, 'SERVICE_RECEIPT_IMAGE', 135060, 1, '2025-07-04 16:41:04', '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-07-04 16:41:04 [15.76ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-07-04 16:41:04' where `receipt_number` = 135060 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-07-04 16:41:04 [2.22ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-07-04 16:41:04 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-07-04 16:41:04 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-07-04 16:41:04 [0.24ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-07-04 16:41:04 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-07-04 16:41:04 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-07-04 16:41:04 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 642503 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-07-04 16:41:04 [0.35ms] */
select * from `invoice_payment` where `invoice_id` = 615261 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-07-04 16:41:04 [0.37ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 642503 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-07-04 16:41:04 [0.25ms] */
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` = 642503 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-07-04 16:41:04 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 642503 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-07-04 16:41:04 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-07-04 16:41:04 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 14 - 2025-07-04 16:41:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 15 - 2025-07-04 16:41:04 [0.41ms] */
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` = 642503 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-07-04 16:41:04 [0.25ms] */
select * from `party` where `party`.`id` = 54710 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-07-04 16:41:04 [0.27ms] */
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-07-04 16:41:04', 'sahal', 2549260, 1, 31.00, 'shicayb', 7742400, null, 37, 183, 183, 183, '2025-07-04 16:41:04', '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-07-04 16:41:04 [0.2ms] */
select * from `Payment` where `id` = 204608 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-07-04 16:41:04 [0.19ms] */
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":1,"payment_amount":"31.00","payment_date":"2025-07-04 16:41:04","external_payment_reference_no":"sahal","payment_receipt_number":"2549260","siinpay_payref_number":null,"paid_by":"shicayb","paid_by_mobile":"7742400","district_id":37,"migration_id":null,"payment_collected_by":183}}', 183, 'App\Models\User', 204608, 'Modules\Transaction\Entities\Payment', 'created', '2025-07-04 16:41:04', '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-07-04 16:41:04 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 642503 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-07-04 16:41:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-07-04 16:41:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 23 - 2025-07-04 16:41:04 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 489580 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 24 - 2025-07-04 16:41:04 [0.17ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-07-04 16:41:04', 489580, 204608, '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-07-04 16:41:04 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 489580 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-07-04 16:41:04 [0.28ms] */
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` = 489580 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-07-04 16:41:04 [0.27ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 489580 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-07-04 16:41:04 [0.23ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 31, `status` = 'PAID', `invoice`.`updated_at` = '2025-07-04 16:41:04' where `id` = 489580;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 29 - 2025-07-04 16:41:04 [0.19ms] */
select * from `invoice` where `id` = 489580 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-07-04 16:41:04 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"31.00","status":"OPEN"}}', 183, 'App\Models\User', 489580, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 16:41:04', '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-07-04 16:41:04 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 513872 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-07-04 16:41:04 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 513872 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-07-04 16:41:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-07-04 16:41:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-07-04 16:41:04 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 36 - 2025-07-04 16:41:04 [0.27ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (513872, 'PAID', '2025-07-04 16:41:04', 7, 183, null, 183, 183, '2025-07-04 16:41:04', '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 37 - 2025-07-04 16:41:04 [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://rta2.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-07-04 16:41:04 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-07-04 16:41:04' where `id` = 513872;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-07-04 16:41:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-07-04 16:41:04 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 489580 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 41 - 2025-07-04 16:41:04 [0.22ms] */
select * from `vehicle_tax` where `transaction_id` = 513872 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 42 - 2025-07-04 16:41:04 [0.19ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-07-04 16:41:04' where `id` = 404398;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-07-04 16:41:04 [0.18ms] */
select * from `vehicle_tax` where `id` = 404398 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-07-04 16:41:04 [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"}}', 183, 'App\Models\User', 404398, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 16:41:04', '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-07-04 16:41:04 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615261 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-07-04 16:41:04 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 615261 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-07-04 16:41:04 [0.17ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-07-04 16:41:04', 615261, 204608, '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-07-04 16:41:04 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 615261 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-07-04 16:41:04 [0.24ms] */
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` = 615261 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-07-04 16:41:04 [0.17ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-07-04 16:41:04' where `id` = 615261;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-07-04 16:41:04 [0.19ms] */
select * from `invoice` where `id` = 615261 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-07-04 16:41:04 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"31.00","status":"OPEN"}}', 183, 'App\Models\User', 615261, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 16:41:04', '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-07-04 16:41:04 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 642503 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-07-04 16:41:04 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 642503 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-07-04 16:41:04 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-07-04 16:41:04 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 57 - 2025-07-04 16:41:04 [0.19ms] */
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://rta2.puntlandgov.org/api/confirm_payment
   Query 58 - 2025-07-04 16:41:04 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642503, 'PAID', '2025-07-04 16:41:04', 7, 183, null, 183, 183, '2025-07-04 16:41:04', '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 59 - 2025-07-04 16:41:04 [0.2ms] */
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://rta2.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-07-04 16:41:04 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-07-04 16:41:04' where `id` = 642503;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 61 - 2025-07-04 16:41:04 [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://rta2.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-07-04 16:41:04 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615261 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 63 - 2025-07-04 16:41:04 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 642503 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 64 - 2025-07-04 16:41:04 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 65 - 2025-07-04 16:41:04 [0.29ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642503, 'CLAIMED', '2025-07-04 16:41:04', 8, 183, 183, 183, '2025-07-04 16:41:04', '2025-07-04 16:41:04');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 66 - 2025-07-04 16:41:04 [0.35ms] */
update `transaction` set `assigned_to` = 183, `transaction`.`updated_at` = '2025-07-04 16:41:04' where `id` = 642503;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-07-04 16:41:07 [2.24ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-07-04 16:41:07 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-07-04 16:41:07 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-07-04 16:41:07 [0.32ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-07-04 16:41:07 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-07-04 16:41:07 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-07-04 16:41:07 [0.3ms] */
select * from `vehicle_tax` where `id` = 404398 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-07-04 16:41:07 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-07-04 16:41:07 [13.92ms] */
select `id`, `name` from `tax_sticker` where exists (select * from `sticker_box_assignment` where `tax_sticker`.`sticker_box_id` = `sticker_box_assignment`.`sticker_box_id` and `user_id` = 183 and `return_date` is null and `sticker_box_assignment`.`deleted_at` is null) and `term_id` = 105 and `name` like '%2025-Q3%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 1 - 2025-07-04 16:41:09 [2.24ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 2 - 2025-07-04 16:41:09 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 3 - 2025-07-04 16:41:09 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 4 - 2025-07-04 16:41:09 [0.24ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 5 - 2025-07-04 16:41:09 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 6 - 2025-07-04 16:41:09 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 7 - 2025-07-04 16:41:09 [0.46ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 677330 and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 8 - 2025-07-04 16:41:09 [0.23ms] */
select * from `vehicle_tax` where `id` = 404398 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 9 - 2025-07-04 16:41:09 [11.43ms] */
update `vehicle_tax` set `tax_sticker_id` = 677330, `vehicle_tax`.`updated_at` = '2025-07-04 16:41:09' where `id` = 404398;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 10 - 2025-07-04 16:41:09 [0.47ms] */
select * from `vehicle_tax` where `id` = 404398 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 11 - 2025-07-04 16:41:09 [3.41ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"tax_sticker_id":677330},"old":{"tax_sticker_id":null}}', 183, 'App\Models\User', 404398, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 16:41:09', '2025-07-04 16:41:09');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 12 - 2025-07-04 16:41:09 [3.47ms] */
update `tax_sticker` set `assigned` = 'Y', `updated_by` = 183, `tax_sticker`.`updated_at` = '2025-07-04 16:41:09' where `id` = 677330;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 13 - 2025-07-04 16:41:09 [0.52ms] */
select * from `sticker_box_assignment` where `sticker_box_id` = 1167 and `sticker_box_assignment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 14 - 2025-07-04 16:41:09 [3.48ms] */
update `sticker_box_assignment` set `used_count` = 27, `sticker_box_assignment`.`updated_at` = '2025-07-04 16:41:09' where `sticker_box_id` = 1167 and `sticker_box_assignment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 1 - 2025-07-04 16:41:09 [1.94ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 2 - 2025-07-04 16:41:09 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 3 - 2025-07-04 16:41:09 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 4 - 2025-07-04 16:41:10 [0.81ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 5 - 2025-07-04 16:41:10 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 6 - 2025-07-04 16:41:10 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 7 - 2025-07-04 16:41:10 [0.43ms] */
select * from `vehicle_tax` where `id` in (404398) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 8 - 2025-07-04 16:41:10 [0.41ms] */
select * from `transaction` where `transaction`.`id` = 513872 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 9 - 2025-07-04 16:41:10 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 513872 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 10 - 2025-07-04 16:41:10 [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://rta2.puntlandgov.org/api/complete_transaction
   Query 11 - 2025-07-04 16:41:10 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 12 - 2025-07-04 16:41:10 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 13 - 2025-07-04 16:41:10 [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 (513872, 'APPROVED', '2025-07-04 16:41:10', 8, 183, null, 183, 183, '2025-07-04 16:41:10', '2025-07-04 16:41:10');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 14 - 2025-07-04 16:41:10 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 15 - 2025-07-04 16:41:10 [0.28ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-07-04 16:41:10' where `id` = 513872;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 16 - 2025-07-04 16:41:10 [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://rta2.puntlandgov.org/api/complete_transaction
   Query 17 - 2025-07-04 16:41:10 [0.26ms] */
select * from `vehicle_tax` where `transaction_id` = 513872 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 18 - 2025-07-04 16:41:10 [0.24ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-07-04 16:41:10' where `id` = 404398;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 19 - 2025-07-04 16:41:10 [0.19ms] */
select * from `vehicle_tax` where `id` = 404398 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 20 - 2025-07-04 16:41:10 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"ISSUED"},"old":{"status":"PAID"}}', 183, 'App\Models\User', 404398, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 16:41:10', '2025-07-04 16:41:10');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 21 - 2025-07-04 16:41:10 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 489580 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 22 - 2025-07-04 16:41:10 [0.35ms] */
select * from `transaction` where `id` = 513872 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 23 - 2025-07-04 16:41:10 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 642503 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 24 - 2025-07-04 16:41:10 [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://rta2.puntlandgov.org/api/complete_transaction
   Query 25 - 2025-07-04 16:41:10 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 26 - 2025-07-04 16:41:10 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 27 - 2025-07-04 16:41:10 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642503, 'APPROVED', '2025-07-04 16:41:10', 8, 183, null, 183, 183, '2025-07-04 16:41:10', '2025-07-04 16:41:10');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 28 - 2025-07-04 16:41:10 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 29 - 2025-07-04 16:41:10 [0.25ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-07-04 16:41:10' where `id` = 642503;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 30 - 2025-07-04 16:41:10 [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://rta2.puntlandgov.org/api/complete_transaction
   Query 31 - 2025-07-04 16:41:10 [0.22ms] */
select * from `vehicle_tax` where `transaction_id` = 642503 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 32 - 2025-07-04 16:41:10 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 615261 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 33 - 2025-07-04 16:41:10 [0.21ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 34 - 2025-07-04 16:41:10 [0.52ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 9234 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 35 - 2025-07-04 16:41:10 [0.23ms] */
select * from `party` where `party`.`id` = 54710 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 36 - 2025-07-04 16:41:10 [0.56ms] */
select * from `person` where `person`.`id` = 54710 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 37 - 2025-07-04 16:41:10 [0.82ms] */
select * from `vehicle` where `vehicle`.`id` = 87452 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 38 - 2025-07-04 16:41:10 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 489580 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 39 - 2025-07-04 16:41:10 [0.33ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 489580 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 40 - 2025-07-04 16:41:10 [0.36ms] */
select * from `Payment` where `Payment`.`id` = 204608 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 41 - 2025-07-04 16:41:10 [0.22ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 42 - 2025-07-04 16:41:10 [0.3ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 677330 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 1 - 2025-07-04 16:41:18 [2.43ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 2 - 2025-07-04 16:41:18 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 3 - 2025-07-04 16:41:18 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 4 - 2025-07-04 16:41:18 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 5 - 2025-07-04 16:41:18 [0.16ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 6 - 2025-07-04 16:41:18 [0.13ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-07-04' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 7 - 2025-07-04 16:41:18 [21.33ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 8 - 2025-07-04 16:41:18 [93.32ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-07-04' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-07-04 16:41:18 [23.52ms] */
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-07-03' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 10 - 2025-07-04 16:41:18 [15.13ms] */
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-07-03' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-07-04 16:41:19 [504.75ms] */
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-07-04' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-07-04 16:41:21 [1809.88ms] */
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-07-04' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 13 - 2025-07-04 16:41:21 [0.35ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 14 - 2025-07-04 16:41:21 [0.18ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 1 - 2025-07-04 16:41:29 [2.11ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 2 - 2025-07-04 16:41:29 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 3 - 2025-07-04 16:41:29 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 4 - 2025-07-04 16:41:29 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 5 - 2025-07-04 16:41:29 [0.17ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 6 - 2025-07-04 16:41:29 [0.15ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-07-04 16:41:29 [154.46ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 8 - 2025-07-04 16:41:29 [61.85ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null order by `vehicle`.`updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 9 - 2025-07-04 16:41:29 [0.37ms] */
select * from `model` where `model`.`id` in (1057, 1059, 1352, 1367, 1381, 1396, 1401, 1448, 1456) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 10 - 2025-07-04 16:41:29 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (13, 14, 20, 24, 26) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 11 - 2025-07-04 16:41:29 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 12 - 2025-07-04 16:41:29 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 13 - 2025-07-04 16:41:29 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` in (4, 7, 11, 13) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 14 - 2025-07-04 16:41:29 [0.77ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (5797, 30917, 46686, 87452, 87775, 89562, 91830, 95581, 96481, 100747) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 15 - 2025-07-04 16:41:29 [0.23ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 16 - 2025-07-04 16:41:29 [0.12ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 17 - 2025-07-04 16:41:29 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 18 - 2025-07-04 16:41:29 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 19 - 2025-07-04 16:41:29 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 20 - 2025-07-04 16:41:29 [0.55ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 87452 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 21 - 2025-07-04 16:41:29 [0.15ms] */
select * from `party` where `party`.`id` = 54710 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 22 - 2025-07-04 16:41:29 [0.16ms] */
select * from `person` where `person`.`id` = 54710 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 23 - 2025-07-04 16:41:29 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 24 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 54710 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 25 - 2025-07-04 16:41:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 26 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 27 - 2025-07-04 16:41:29 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 28 - 2025-07-04 16:41:29 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 30917 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 29 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 20447 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 30 - 2025-07-04 16:41:29 [0.19ms] */
select * from `person` where `person`.`id` = 20447 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 31 - 2025-07-04 16:41:29 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 32 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 20447 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 33 - 2025-07-04 16:41:29 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 34 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 35 - 2025-07-04 16:41:29 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 36 - 2025-07-04 16:41:29 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 91830 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 37 - 2025-07-04 16:41:29 [0.15ms] */
select * from `party` where `party`.`id` = 59176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 38 - 2025-07-04 16:41:29 [0.15ms] */
select * from `person` where `person`.`id` = 56735 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 39 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 40 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 59176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 41 - 2025-07-04 16:41:29 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 42 - 2025-07-04 16:41:29 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 43 - 2025-07-04 16:41:29 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 44 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89562 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 45 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 57676 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 46 - 2025-07-04 16:41:29 [0.14ms] */
select * from `company` where `company`.`id` = 1963 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 47 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 48 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 57676 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 49 - 2025-07-04 16:41:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 50 - 2025-07-04 16:41:29 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 51 - 2025-07-04 16:41:29 [0.14ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 52 - 2025-07-04 16:41:29 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 5797 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 53 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 2643 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 54 - 2025-07-04 16:41:29 [0.14ms] */
select * from `person` where `person`.`id` = 2643 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 55 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 56 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 2643 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 57 - 2025-07-04 16:41:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 58 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 59 - 2025-07-04 16:41:29 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 60 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 100747 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 61 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 32570 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 62 - 2025-07-04 16:41:29 [0.14ms] */
select * from `person` where `person`.`id` = 32570 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 63 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 64 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 32570 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 65 - 2025-07-04 16:41:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 66 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 67 - 2025-07-04 16:41:29 [0.14ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 68 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 87775 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 69 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 54927 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 70 - 2025-07-04 16:41:29 [0.14ms] */
select * from `person` where `person`.`id` = 54927 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 71 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 72 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 54927 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 73 - 2025-07-04 16:41:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 74 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 75 - 2025-07-04 16:41:29 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 76 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 96481 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 77 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 62419 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 78 - 2025-07-04 16:41:29 [0.14ms] */
select * from `person` where `person`.`id` = 59855 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 79 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 80 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 62419 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 81 - 2025-07-04 16:41:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 82 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 83 - 2025-07-04 16:41:29 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 84 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46686 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 85 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 37586 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 86 - 2025-07-04 16:41:29 [0.14ms] */
select * from `person` where `person`.`id` = 37586 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 87 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 88 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 37586 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 89 - 2025-07-04 16:41:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 90 - 2025-07-04 16:41:29 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 91 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 95581 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 92 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 54524 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 93 - 2025-07-04 16:41:29 [0.15ms] */
select * from `person` where `person`.`id` = 54524 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 94 - 2025-07-04 16:41:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 95 - 2025-07-04 16:41:29 [0.14ms] */
select * from `party` where `party`.`id` = 54524 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 96 - 2025-07-04 16:41:29 [0.2ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 97 - 2025-07-04 16:41:29 [0.14ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-07-04 16:41:33 [3.03ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-07-04 16:41:33 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-07-04 16:41:33 [0.43ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-07-04 16:41:33 [0.43ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-07-04 16:41:33 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-07-04 16:41:33 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-07-04 16:41:33 [3.53ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'QM629' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-07-04 16:41:33 [0.33ms] */
select * from `party` where `party`.`id` = 48537 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-07-04 16:41:33 [0.33ms] */
select * from `vehicle` where `id` = 76827 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-07-04 16:41:33 [0.68ms] */
select * from `party_vehicle` where `vehicle_id` = 76827 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-07-04 16:41:34 [2.14ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-07-04 16:41:34 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-07-04 16:41:34 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-07-04 16:41:34 [0.27ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-07-04 16:41:34 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-07-04 16:41:34 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-07-04 16:41:34 [0.43ms] */
select * from `vehicle` where `vehicle`.`id` = 76827 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-07-04 16:41:34 [0.32ms] */
select * from `vehicle` where `id` = 76827 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-07-04 16:41:34 [0.41ms] */
select * from `party_vehicle` where `vehicle_id` = 76827 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-07-04 16:41:34 [1.63ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 76827 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-07-04 16:41:35 [2ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-07-04 16:41:35 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-07-04 16:41:35 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-07-04 16:41:35 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 5 - 2025-07-04 16:41:35 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-07-04 16:41:35 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-07-04 16:41:35 [132.05ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%e%' or `vin` like '%e%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-07-04 16:41:35 [0.51ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%e%' or `vin` like '%e%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-07-04 16:41:35 [0.14ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-07-04 16:41:35 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-07-04 16:41:35 [0.12ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-07-04 16:41:35 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-07-04 16:41:35 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` in (1) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-07-04 16:41:35 [0.52ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (19031, 26250, 26299, 26300, 26301, 26302, 26335, 46187, 48200, 52278) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-07-04 16:41:35 [0.3ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-07-04 16:41:35 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-07-04 16:41:35 [0.26ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 18 - 2025-07-04 16:41:35 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26250 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2025-07-04 16:41:35 [0.32ms] */
select * from `party` where `party`.`id` = 17194 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2025-07-04 16:41:35 [0.34ms] */
select * from `person` where `person`.`id` = 17194 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 22 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 17194 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 23 - 2025-07-04 16:41:35 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 24 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 25 - 2025-07-04 16:41:35 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26335 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 26 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 17271 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 27 - 2025-07-04 16:41:35 [0.15ms] */
select * from `person` where `person`.`id` = 17271 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 28 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 29 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 17271 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 30 - 2025-07-04 16:41:35 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 31 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 32 - 2025-07-04 16:41:35 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 48200 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 33 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 38538 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 34 - 2025-07-04 16:41:35 [0.15ms] */
select * from `person` where `person`.`id` = 38538 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 35 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 36 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 38538 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 37 - 2025-07-04 16:41:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 38 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 39 - 2025-07-04 16:41:35 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26299 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 40 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 17247 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 41 - 2025-07-04 16:41:35 [0.15ms] */
select * from `person` where `person`.`id` = 17247 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 42 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 43 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 17247 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 44 - 2025-07-04 16:41:35 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 45 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 46 - 2025-07-04 16:41:35 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26300 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 47 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 17248 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 48 - 2025-07-04 16:41:35 [0.14ms] */
select * from `person` where `person`.`id` = 17248 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 49 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 50 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 17248 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 51 - 2025-07-04 16:41:35 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 52 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 53 - 2025-07-04 16:41:35 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26301 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 54 - 2025-07-04 16:41:35 [0.22ms] */
select * from `party` where `party`.`id` = 17249 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 55 - 2025-07-04 16:41:35 [0.23ms] */
select * from `person` where `person`.`id` = 17249 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 56 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 57 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 17249 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 58 - 2025-07-04 16:41:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 59 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 60 - 2025-07-04 16:41:35 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26302 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 61 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 17250 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 62 - 2025-07-04 16:41:35 [0.14ms] */
select * from `person` where `person`.`id` = 17250 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 63 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 64 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 17250 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 65 - 2025-07-04 16:41:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 66 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 67 - 2025-07-04 16:41:35 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46187 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 68 - 2025-07-04 16:41:35 [0.21ms] */
select * from `party` where `party`.`id` = 37100 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 69 - 2025-07-04 16:41:35 [0.22ms] */
select * from `person` where `person`.`id` = 37100 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 70 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 71 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 37100 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 72 - 2025-07-04 16:41:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 73 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 74 - 2025-07-04 16:41:35 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 19031 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 75 - 2025-07-04 16:41:35 [0.21ms] */
select * from `party` where `party`.`id` = 13226 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 76 - 2025-07-04 16:41:35 [0.25ms] */
select * from `person` where `person`.`id` = 13226 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 77 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 78 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 13226 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 79 - 2025-07-04 16:41:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 80 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 81 - 2025-07-04 16:41:35 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 52278 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 82 - 2025-07-04 16:41:35 [0.22ms] */
select * from `party` where `party`.`id` = 41020 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 83 - 2025-07-04 16:41:35 [0.23ms] */
select * from `person` where `person`.`id` = 41020 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 84 - 2025-07-04 16:41:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 85 - 2025-07-04 16:41:35 [0.14ms] */
select * from `party` where `party`.`id` = 41020 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-07-04 16:41:35 [1.91ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-07-04 16:41:35 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-07-04 16:41:35 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-07-04 16:41:35 [0.32ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-07-04 16:41:35 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-07-04 16:41:35 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-07-04 16:41:35 [0.24ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-07-04 16:41:36 [1.29ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-07-04 16:41:36 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-07-04 16:41:36 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-07-04 16:41:36 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 5 - 2025-07-04 16:41:36 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-07-04 16:41:36 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-07-04 16:41:36 [133.27ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%ex%' or `vin` like '%ex%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-07-04 16:41:36 [10.3ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%ex%' or `vin` like '%ex%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-07-04 16:41:36 [0.25ms] */
select * from `model` where `model`.`id` in (1, 1366, 1371, 1396, 1621) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-07-04 16:41:36 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 20, 26) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-07-04 16:41:36 [0.13ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-07-04 16:41:36 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-07-04 16:41:36 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 4, 5) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-07-04 16:41:36 [0.55ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (33881, 43081, 46487, 52437, 53993, 58757, 61301, 63390, 69477, 77032) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-07-04 16:41:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-07-04 16:41:36 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-07-04 16:41:36 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 18 - 2025-07-04 16:41:36 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46487 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2025-07-04 16:41:36 [0.2ms] */
select * from `party` where `party`.`id` = 37418 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2025-07-04 16:41:36 [0.23ms] */
select * from `person` where `person`.`id` = 37418 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-07-04 16:41:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 22 - 2025-07-04 16:41:36 [0.14ms] */
select * from `party` where `party`.`id` = 37418 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 23 - 2025-07-04 16:41:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 24 - 2025-07-04 16:41:36 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 25 - 2025-07-04 16:41:36 [0.55ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 52437 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 26 - 2025-07-04 16:41:36 [0.41ms] */
select * from `party` where `party`.`id` = 40368 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 27 - 2025-07-04 16:41:36 [0.45ms] */
select * from `person` where `person`.`id` = 40368 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 28 - 2025-07-04 16:41:36 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 29 - 2025-07-04 16:41:36 [0.27ms] */
select * from `party` where `party`.`id` = 40368 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 30 - 2025-07-04 16:41:36 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 31 - 2025-07-04 16:41:36 [0.24ms] */
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): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 32 - 2025-07-04 16:41:36 [0.24ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 33 - 2025-07-04 16:41:36 [0.49ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 53993 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 34 - 2025-07-04 16:41:36 [0.3ms] */
select * from `party` where `party`.`id` = 41002 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 35 - 2025-07-04 16:41:36 [0.21ms] */
select * from `person` where `person`.`id` = 41002 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 36 - 2025-07-04 16:41:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 37 - 2025-07-04 16:41:36 [0.26ms] */
select * from `party` where `party`.`id` = 41002 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 38 - 2025-07-04 16:41:36 [0.32ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 39 - 2025-07-04 16:41:36 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 40 - 2025-07-04 16:41:36 [0.54ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 58757 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 41 - 2025-07-04 16:41:36 [0.46ms] */
select * from `party` where `party`.`id` = 37885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 42 - 2025-07-04 16:41:36 [0.48ms] */
select * from `person` where `person`.`id` = 37885 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 43 - 2025-07-04 16:41:36 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 44 - 2025-07-04 16:41:36 [0.31ms] */
select * from `party` where `party`.`id` = 37885 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 45 - 2025-07-04 16:41:36 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 46 - 2025-07-04 16:41:36 [0.25ms] */
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): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 47 - 2025-07-04 16:41:36 [0.25ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 48 - 2025-07-04 16:41:36 [0.47ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 61301 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 49 - 2025-07-04 16:41:36 [0.25ms] */
select * from `party` where `party`.`id` = 44130 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 50 - 2025-07-04 16:41:36 [0.23ms] */
select * from `person` where `person`.`id` = 44130 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 51 - 2025-07-04 16:41:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 52 - 2025-07-04 16:41:36 [0.14ms] */
select * from `party` where `party`.`id` = 44130 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 53 - 2025-07-04 16:41:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 54 - 2025-07-04 16:41:36 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 55 - 2025-07-04 16:41:36 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 56 - 2025-07-04 16:41:36 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 63390 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 57 - 2025-07-04 16:41:36 [0.21ms] */
select * from `party` where `party`.`id` = 44970 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 58 - 2025-07-04 16:41:36 [0.31ms] */
select * from `person` where `person`.`id` = 44970 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 59 - 2025-07-04 16:41:36 [0.25ms] */
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): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 60 - 2025-07-04 16:41:36 [0.27ms] */
select * from `party` where `party`.`id` = 44970 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 61 - 2025-07-04 16:41:36 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 62 - 2025-07-04 16:41:36 [0.25ms] */
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): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 63 - 2025-07-04 16:41:36 [0.24ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 64 - 2025-07-04 16:41:36 [0.44ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 69477 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 65 - 2025-07-04 16:41:36 [0.36ms] */
select * from `party` where `party`.`id` = 36117 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 66 - 2025-07-04 16:41:36 [0.36ms] */
select * from `person` where `person`.`id` = 36117 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 67 - 2025-07-04 16:41:36 [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): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 68 - 2025-07-04 16:41:36 [0.25ms] */
select * from `party` where `party`.`id` = 36117 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 69 - 2025-07-04 16:41:36 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 70 - 2025-07-04 16:41:36 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 71 - 2025-07-04 16:41:36 [0.44ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 33881 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 72 - 2025-07-04 16:41:36 [0.34ms] */
select * from `party` where `party`.`id` = 22557 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 73 - 2025-07-04 16:41:36 [0.23ms] */
select * from `person` where `person`.`id` = 22557 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 74 - 2025-07-04 16:41:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 75 - 2025-07-04 16:41:36 [0.14ms] */
select * from `party` where `party`.`id` = 22557 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 76 - 2025-07-04 16:41:36 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 77 - 2025-07-04 16:41:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 78 - 2025-07-04 16:41:36 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 77032 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 79 - 2025-07-04 16:41:36 [0.22ms] */
select * from `party` where `party`.`id` = 49952 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 80 - 2025-07-04 16:41:36 [0.23ms] */
select * from `person` where `person`.`id` = 49952 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 81 - 2025-07-04 16:41:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 82 - 2025-07-04 16:41:36 [0.14ms] */
select * from `party` where `party`.`id` = 49952 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 83 - 2025-07-04 16:41:36 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 84 - 2025-07-04 16:41:36 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 85 - 2025-07-04 16:41:36 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 43081 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 86 - 2025-07-04 16:41:36 [0.24ms] */
select * from `party` where `party`.`id` = 33240 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 87 - 2025-07-04 16:41:36 [0.24ms] */
select * from `person` where `person`.`id` = 33240 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 88 - 2025-07-04 16:41:36 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 89 - 2025-07-04 16:41:36 [0.14ms] */
select * from `party` where `party`.`id` = 33240 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 16:41:36 [1.92ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 16:41:36 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 16:41:36 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 16:41:36 [0.31ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 16:41:36 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 16:41:36 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 16:41:36 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-07-04 16:41:38 [2.12ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-07-04 16:41:38 [0.84ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-07-04 16:41:38 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-07-04 16:41:38 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 5 - 2025-07-04 16:41:38 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-07-04 16:41:38 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-07-04 16:41:38 [135.36ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%ex9%' or `vin` like '%ex9%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-07-04 16:41:38 [160.98ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%ex9%' or `vin` like '%ex9%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-07-04 16:41:38 [0.35ms] */
select * from `model` where `model`.`id` in (1, 1367, 1396) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-07-04 16:41:38 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 20, 26) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-07-04 16:41:38 [0.19ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 24, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-07-04 16:41:38 [0.16ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-07-04 16:41:38 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 4, 7) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-07-04 16:41:38 [1.86ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (12439, 35835, 70685, 82987, 94471) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-07-04 16:41:38 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-07-04 16:41:38 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-07-04 16:41:38 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 18 - 2025-07-04 16:41:38 [0.34ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 35835 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2025-07-04 16:41:38 [0.43ms] */
select * from `party` where `party`.`id` = 24219 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2025-07-04 16:41:38 [0.54ms] */
select * from `person` where `person`.`id` = 24219 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-07-04 16:41:38 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 22 - 2025-07-04 16:41:38 [0.14ms] */
select * from `party` where `party`.`id` = 24219 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 23 - 2025-07-04 16:41:38 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 24 - 2025-07-04 16:41:38 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 25 - 2025-07-04 16:41:38 [0.28ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 70685 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 26 - 2025-07-04 16:41:38 [0.21ms] */
select * from `party` where `party`.`id` = 26201 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 27 - 2025-07-04 16:41:38 [0.54ms] */
select * from `person` where `person`.`id` = 26201 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 28 - 2025-07-04 16:41:38 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 29 - 2025-07-04 16:41:38 [0.14ms] */
select * from `party` where `party`.`id` = 26201 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 30 - 2025-07-04 16:41:38 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 31 - 2025-07-04 16:41:38 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 32 - 2025-07-04 16:41:38 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 12439 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 33 - 2025-07-04 16:41:38 [0.55ms] */
select * from `party` where `party`.`id` = 8098 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 34 - 2025-07-04 16:41:38 [0.56ms] */
select * from `person` where `person`.`id` = 8098 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 35 - 2025-07-04 16:41:38 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 36 - 2025-07-04 16:41:38 [0.13ms] */
select * from `party` where `party`.`id` = 8098 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 37 - 2025-07-04 16:41:38 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 38 - 2025-07-04 16:41:38 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 39 - 2025-07-04 16:41:38 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 40 - 2025-07-04 16:41:38 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 94471 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 41 - 2025-07-04 16:41:38 [0.41ms] */
select * from `party` where `party`.`id` = 44632 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 42 - 2025-07-04 16:41:38 [0.41ms] */
select * from `person` where `person`.`id` = 44632 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 43 - 2025-07-04 16:41:38 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 44 - 2025-07-04 16:41:38 [0.13ms] */
select * from `party` where `party`.`id` = 44632 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 45 - 2025-07-04 16:41:38 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 46 - 2025-07-04 16:41:38 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 47 - 2025-07-04 16:41:38 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 48 - 2025-07-04 16:41:38 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 82987 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 49 - 2025-07-04 16:41:38 [0.51ms] */
select * from `party` where `party`.`id` = 65166 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 50 - 2025-07-04 16:41:38 [0.23ms] */
select * from `person` where `person`.`id` = 62538 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 51 - 2025-07-04 16:41:38 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 52 - 2025-07-04 16:41:38 [0.14ms] */
select * from `party` where `party`.`id` = 65166 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-07-04 16:41:39 [1.5ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-07-04 16:41:39 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-07-04 16:41:39 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-07-04 16:41:39 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 5 - 2025-07-04 16:41:39 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-07-04 16:41:39 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-07-04 16:41:39 [142.08ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%ex932%' or `vin` like '%ex932%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-07-04 16:41:39 [161.07ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%ex932%' or `vin` like '%ex932%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-07-04 16:41:39 [0.35ms] */
select * from `model` where `model`.`id` in (1367) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-07-04 16:41:39 [0.41ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (20) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-07-04 16:41:39 [0.35ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (24) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-07-04 16:41:39 [0.25ms] */
select * from `fuel_type` where `fuel_type`.`id` in (3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-07-04 16:41:39 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` in (7) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-07-04 16:41:39 [0.48ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (82987) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-07-04 16:41:39 [0.29ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-07-04 16:41:39 [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): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-07-04 16:41:39 [0.16ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 18 - 2025-07-04 16:41:39 [0.15ms] */
select * from `party` where `party`.`id` = 65166 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 1 - 2025-07-04 16:41:41 [1.81ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 2 - 2025-07-04 16:41:41 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 3 - 2025-07-04 16:41:41 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 4 - 2025-07-04 16:41:41 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 5 - 2025-07-04 16:41:41 [0.4ms] */
select * from `vehicle` where `id` = 82987 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 6 - 2025-07-04 16:41:41 [0.31ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 82987 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 7 - 2025-07-04 16:41:41 [0.15ms] */
select * from `vehicle` where `id` = 82987 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 8 - 2025-07-04 16:41:41 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 82987 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 9 - 2025-07-04 16:41:41 [0.27ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 10 - 2025-07-04 16:41:41 [0.13ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 11 - 2025-07-04 16:41:41 [0.15ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 12 - 2025-07-04 16:41:41 [0.15ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 13 - 2025-07-04 16:41:41 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 14 - 2025-07-04 16:41:41 [0.45ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 82987 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 15 - 2025-07-04 16:41:41 [0.24ms] */
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://rta2.puntlandgov.org/m/vehicle/82987
   Query 16 - 2025-07-04 16:41:41 [0.66ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 20 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 17 - 2025-07-04 16:41:41 [0.36ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 24 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 18 - 2025-07-04 16:41:41 [0.26ms] */
select * from `fuel_type` where `fuel_type`.`id` = 3 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 19 - 2025-07-04 16:41:41 [0.81ms] */
select * from `party_vehicle` where `vehicle_id` = 82987 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 20 - 2025-07-04 16:41:41 [0.59ms] */
select * from `vehicle` where `vehicle`.`id` = 82987 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 21 - 2025-07-04 16:41:41 [0.29ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 22 - 2025-07-04 16:41:41 [0.29ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 23 - 2025-07-04 16:41:41 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 24 - 2025-07-04 16:41:41 [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://rta2.puntlandgov.org/m/vehicle/82987
   Query 25 - 2025-07-04 16:41:41 [0.32ms] */
select * from `party` where `party`.`id` = 65166 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 26 - 2025-07-04 16:41:41 [0.35ms] */
select * from `person` where `person`.`id` = 62538 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 27 - 2025-07-04 16:41:41 [0.4ms] */
select * from `transaction` where `transaction`.`id` = 581948 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 28 - 2025-07-04 16:41:41 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 82987 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 29 - 2025-07-04 16:41:41 [0.21ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 30 - 2025-07-04 16:41:41 [0.22ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 31 - 2025-07-04 16:41:41 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 32 - 2025-07-04 16:41:41 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 33 - 2025-07-04 16:41:41 [0.34ms] */
select * from `party` where `party`.`id` = 65012 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 34 - 2025-07-04 16:41:41 [0.71ms] */
select * from `person` where `person`.`id` = 62387 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 35 - 2025-07-04 16:41:41 [0.92ms] */
select * from `transaction` where `transaction`.`id` = 576337 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 36 - 2025-07-04 16:41:41 [0.48ms] */
select * from `vehicle` where `vehicle`.`id` = 82987 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 37 - 2025-07-04 16:41:41 [0.23ms] */
select * from `model` where `model`.`id` = 1367 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 38 - 2025-07-04 16:41:41 [0.36ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 39 - 2025-07-04 16:41:41 [0.42ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 40 - 2025-07-04 16:41:41 [0.41ms] */
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://rta2.puntlandgov.org/m/vehicle/82987
   Query 41 - 2025-07-04 16:41:41 [0.62ms] */
select * from `party` where `party`.`id` = 47904 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 42 - 2025-07-04 16:41:41 [0.94ms] */
select * from `person` where `person`.`id` = 47904 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 43 - 2025-07-04 16:41:41 [0.94ms] */
select * from `transaction` where `transaction`.`id` = 25560 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 44 - 2025-07-04 16:41:41 [0.4ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 45 - 2025-07-04 16:41:41 [0.45ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 46 - 2025-07-04 16:41:41 [0.49ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 47 - 2025-07-04 16:41:41 [0.29ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 48 - 2025-07-04 16:41:41 [1.55ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `term`.`quarter` <> 0 and `vehicle_tax`.`vehicle_id` = 82987 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 49 - 2025-07-04 16:41:41 [0.22ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 50 - 2025-07-04 16:41:41 [0.32ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 613907 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 51 - 2025-07-04 16:41:41 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 82987 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 52 - 2025-07-04 16:41:41 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 53 - 2025-07-04 16:41:41 [0.32ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25560 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 54 - 2025-07-04 16:41:41 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 55 - 2025-07-04 16:41:41 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 426475 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 56 - 2025-07-04 16:41:41 [0.16ms] */
select * from `party` where `party`.`id` = 47904 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 57 - 2025-07-04 16:41:41 [0.17ms] */
select * from `person` where `person`.`id` = 47904 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 58 - 2025-07-04 16:41:41 [0.15ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 59 - 2025-07-04 16:41:41 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 82987 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 60 - 2025-07-04 16:41:41 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 61 - 2025-07-04 16:41:41 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25560 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 62 - 2025-07-04 16:41:41 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 63 - 2025-07-04 16:41:41 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 426477 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 64 - 2025-07-04 16:41:41 [0.16ms] */
select * from `party` where `party`.`id` = 65012 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 65 - 2025-07-04 16:41:41 [0.15ms] */
select * from `person` where `person`.`id` = 62387 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 66 - 2025-07-04 16:41:41 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 67 - 2025-07-04 16:41:41 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 68 - 2025-07-04 16:41:41 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 69 - 2025-07-04 16:41:41 [0.14ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 70 - 2025-07-04 16:41:41 [0.14ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 71 - 2025-07-04 16:41:41 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 82987 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 72 - 2025-07-04 16:41:41 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 73 - 2025-07-04 16:41:41 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 25560 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 74 - 2025-07-04 16:41:41 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 75 - 2025-07-04 16:41:41 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 426478 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 76 - 2025-07-04 16:41:41 [0.16ms] */
select * from `party` where `party`.`id` = 65166 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 77 - 2025-07-04 16:41:41 [0.15ms] */
select * from `person` where `person`.`id` = 62538 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 78 - 2025-07-04 16:41:41 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 79 - 2025-07-04 16:41:41 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 80 - 2025-07-04 16:41:41 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 81 - 2025-07-04 16:41:41 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 82 - 2025-07-04 16:41:41 [0.16ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 83 - 2025-07-04 16:41:41 [0.48ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 84 - 2025-07-04 16:41:41 [0.23ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 142 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 85 - 2025-07-04 16:41:41 [0.2ms] */
select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` = 142 and `model_has_roles`.`model_type` = 'App\Models\User' order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 86 - 2025-07-04 16:41:41 [4.29ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `transaction`.`vehicle_id` = 82987 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 28 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 87 - 2025-07-04 16:41:41 [0.32ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 88 - 2025-07-04 16:41:41 [0.82ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 82987 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 89 - 2025-07-04 16:41:41 [0.7ms] */
select * from `title_reprint_history` where `vehicle_id` = 82987 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 90 - 2025-07-04 16:41:41 [0.21ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/82987
   Query 91 - 2025-07-04 16:41:41 [0.14ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=82987&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-07-04 16:41:42 [1.38ms] */
select * from `users` where `id` = 142 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=82987&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-07-04 16:41:42 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=82987&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-07-04 16:41:42 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=82987&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-07-04 16:41:42 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=82987&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-07-04 16:41:42 [2.82ms] */
SELECT event,auditable_id,auditable_type, old_values, new_values,a.created_at,a.updated_at, first_name,last_name
                    FROM audits a 
                    left join users ur on a.user_id = ur.id 
                    left join vehicle v on a.auditable_id = v.id 
                    where auditable_id = 82987 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-07-04 16:41:42 [1.98ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-07-04 16:41:42 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-07-04 16:41:42 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-07-04 16:41:42 [0.27ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-07-04 16:41:42 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-07-04 16:41:42 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-07-04 16:41:42 [2.5ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'CK259' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-07-04 16:41:42 [0.41ms] */
select * from `party` where `party`.`id` = 58514 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-07-04 16:41:42 [0.35ms] */
select * from `vehicle` where `id` = 93131 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-07-04 16:41:42 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 93131 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-07-04 16:41:43 [2.03ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-07-04 16:41:43 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-07-04 16:41:43 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-07-04 16:41:43 [0.33ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-07-04 16:41:43 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-07-04 16:41:43 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-07-04 16:41:43 [0.43ms] */
select * from `vehicle` where `vehicle`.`id` = 93131 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-07-04 16:41:43 [0.35ms] */
select * from `vehicle` where `id` = 93131 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-07-04 16:41:43 [0.53ms] */
select * from `party_vehicle` where `vehicle_id` = 93131 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-07-04 16:41:43 [3.63ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 93131 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-07-04 16:41:45 [2.76ms] */
select * from `users` where `email` = 'cabdirizaaq.guurre@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-07-04 16:41:45 [0.23ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-07-04 16:41:45 [1.32ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 97 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 4 - 2025-07-04 16:41:45 [3.81ms] */
update `userprofiles` set `login_count` = 1862, `last_login` = '2025-07-04 16:41:45', `userprofiles`.`updated_at` = '2025-07-04 16:41:45' where `id` = 97;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-07-04 16:41:45 [0.26ms] */
select * from `users` where `email` = 'cabdirizaaq.guurre@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-07-04 16:41:45 [0.38ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 7 - 2025-07-04 16:41:45 [0.89ms] */
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 (97) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-07-04 16:41:45 [0.22ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-07-04 16:41:45 [0.18ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-07-04 16:41:45 [0.22ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-07-04 16:41:45 [0.18ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-07-04 16:41:45 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-07-04 16:41:45 [3.76ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05', 97, 5, '[]', 0, '2025-07-04 16:41:45', '2025-07-04 16:41:45', '2026-07-04 16:41:45');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-07-04 16:41:45 [0.36ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-07-04 16:41:45 [3.37ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-07-04 16:41:55 [2.19ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-07-04 16:41:55 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-07-04 16:41:55 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-07-04 16:41:55 [0.25ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-07-04 16:41:55 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-07-04 16:41:55 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-07-04 16:41:55 [0.2ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 16:41:56 [1.26ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 16:41:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 16:41:56 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 16:41:56 [0.16ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 16:41:56 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '27d346e01c214c95bfc32ed6347d484ca1edc9f18530a5e00f13b443c2cdcece7921c7a7946ebbb3' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 16:41:56 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 16:41:56 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-07-04 16:42:00 [2.36ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-07-04 16:42:00 [0.3ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-07-04 16:42:00 [0.3ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-07-04 16:42:00 [0.77ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-07-04 16:42:00 [0.25ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-07-04 16:42:00 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-07-04 16:42:00 [0.9ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'TQ295' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-07-04 16:42:00 [0.32ms] */
select * from `party` where `party`.`id` = 53221 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-07-04 16:42:00 [0.33ms] */
select * from `vehicle` where `id` = 84546 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-07-04 16:42:00 [0.38ms] */
select * from `party_vehicle` where `vehicle_id` = 84546 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-07-04 16:42:00 [1.3ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-07-04 16:42:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-07-04 16:42:00 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-07-04 16:42:00 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-07-04 16:42:00 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-07-04 16:42:00 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-07-04 16:42:00 [0.32ms] */
select * from `vehicle` where `vehicle`.`id` = 84546 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-07-04 16:42:00 [0.61ms] */
select * from `vehicle` where `id` = 84546 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-07-04 16:42:00 [0.74ms] */
select * from `party_vehicle` where `vehicle_id` = 84546 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-07-04 16:42:00 [1.7ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 84546 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-07-04 16:42:00 [2.08ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-07-04 16:42:01 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-07-04 16:42:01 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-07-04 16:42:01 [0.3ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-07-04 16:42:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-07-04 16:42:01 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-07-04 16:42:01 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 16:42:01 [1.94ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 16:42:01 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 16:42:01 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 16:42:01 [0.27ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 16:42:01 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 16:42:01 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 16:42:01 [0.26ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-07-04 16:45:38 [2.27ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-07-04 16:45:38 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-07-04 16:45:38 [0.3ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-07-04 16:45:38 [0.32ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-07-04 16:45:38 [0.3ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-07-04 16:45:38 [0.15ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-07-04 16:45:38 [0.86ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'BS944' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-07-04 16:45:38 [0.22ms] */
select * from `party` where `party`.`id` = 51834 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-07-04 16:45:38 [0.27ms] */
select * from `vehicle` where `id` = 84242 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-07-04 16:45:38 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 84242 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-07-04 16:45:38 [1.28ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-07-04 16:45:38 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-07-04 16:45:38 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-07-04 16:45:38 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-07-04 16:45:38 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-07-04 16:45:38 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-07-04 16:45:38 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 84242 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-07-04 16:45:38 [0.23ms] */
select * from `vehicle` where `id` = 84242 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-07-04 16:45:38 [0.31ms] */
select * from `party_vehicle` where `vehicle_id` = 84242 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-07-04 16:45:38 [1.22ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 84242 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-07-04 16:45:39 [2.27ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-07-04 16:45:39 [0.2ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-07-04 16:45:39 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-07-04 16:45:39 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-07-04 16:45:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-07-04 16:45:39 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-07-04 16:45:39 [0.15ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 16:45:39 [1.92ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 16:45:39 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 16:45:39 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 16:45:39 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 16:45:39 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'f4482c562f3e50d0bf8ecd79b20e4c98f66adbfda45961ed98f3c9a3427be8b7cfc63fccae8d8b05' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 16:45:39 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 16:45:39 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 16:46:53 [2.36ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 16:46:53 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 16:46:53 [0.3ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 16:46:53 [0.36ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 16:46:53 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 16:46:53 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 16:46:53 [4.3ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 85 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 16:46:53 [3.91ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 85 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-07-04 16:46:54 [1.98ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-07-04 16:46:54 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-07-04 16:46:54 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-07-04 16:46:54 [0.35ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-07-04 16:46:54 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-07-04 16:46:54 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-07-04 16:46:54 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-07-04 16:46:54 [0.34ms] */
select `transaction_id` from `vehicle_tax` where `id` in (412842) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-07-04 16:46:54 [0.23ms] */
select `parent_id` from `transaction` where `id` in (522316) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-07-04 16:46:54 [0.21ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-07-04 16:46:54 [0.21ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-07-04 16:46:54 [0.3ms] */
select * from `transaction` where `id` in (522316) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-07-04 16:46:54 [0.28ms] */
select * from `invoice` where `invoice`.`id` = 498024 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 14 - 2025-07-04 16:46:54 [9.22ms] */
update `invoice` set `updated_by` = 85, `invoice`.`updated_at` = '2025-07-04 16:46:54' where `id` = 498024;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 15 - 2025-07-04 16:46:54 [0.22ms] */
select * from `invoice` where `id` = 498024 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-07-04 16:46:54 [3.31ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 85, 'App\Models\User', 498024, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-07-04 16:46:54 [0.28ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-07-04 16:46:54 [0.29ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-07-04 16:46:54 [3.54ms] */
update `transaction` set `updated_by` = 85, `transaction`.`updated_at` = '2025-07-04 16:46:54' where `id` = 522316;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 20 - 2025-07-04 16:46:54 [3.21ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-07-04 16:46:54' where `id` in (412842) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 21 - 2025-07-04 16:46:54 [0.35ms] */
select * from `vehicle` where `vehicle`.`id` = 76827 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 22 - 2025-07-04 16:46:54 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 23 - 2025-07-04 16:46:54 [0.4ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 76827 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 24 - 2025-07-04 16:46:54 [0.4ms] */
select * from `party_vehicle` where `vehicle_id` = 76827 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 25 - 2025-07-04 16:46:54 [0.36ms] */
select * from `party` where `party`.`id` = 48537 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 26 - 2025-07-04 16:46:54 [0.32ms] */
select * from `vehicle` where `vehicle`.`id` = 76827 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 27 - 2025-07-04 16:46:54 [0.21ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 28 - 2025-07-04 16:46:54 [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://rta2.puntlandgov.org/api/make_payment
   Query 29 - 2025-07-04 16:46:54 [0.22ms] */
select * from `branches` where `branches`.`id` = 3 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 30 - 2025-07-04 16:46:54 [0.52ms] */
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 (48537, 2, 76827, null, 2, 6, 3, 2, 2, 'OPEN', 1, null, 85, 85, '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 31 - 2025-07-04 16:46:54 [0.29ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642504, 'INITIATED', '2025-07-04 16:46:54', 5, 85, 85, 85, '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 32 - 2025-07-04 16:46:54 [0.28ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 27424, `transaction`.`updated_at` = '2025-07-04 16:46:54' where `id` = 642504;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 33 - 2025-07-04 16:46:54 [0.36ms] */
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 (412842) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 34 - 2025-07-04 16:46:54 [0.33ms] */
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 (412842) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 35 - 2025-07-04 16:46:54 [0.35ms] */
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 (642504, 48537, '2025-07-04 16:46:54', '2025-07-04 16:46:54', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 85, 85, '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 36 - 2025-07-04 16:46:54 [0.3ms] */
select * from `invoice` where `id` = 615262 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 37 - 2025-07-04 16:46:54 [0.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":642504,"party_id":48537,"invoice_amount":"31.00","invoice_date":"2025-07-04 16:46:54","due_date":"2025-07-04 16:46:54","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 85, 'App\Models\User', 615262, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 38 - 2025-07-04 16:46:54 [0.25ms] */
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 (412842) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 39 - 2025-07-04 16:46:54 [0.17ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Quarterly Tax Fees', 1, 31.00, 31, 615262, 85, 85, '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 40 - 2025-07-04 16:46:54 [0.17ms] */
select * from `invoice_item` where `id` = 1102112 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 41 - 2025-07-04 16:46:54 [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 Quarterly Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":615262}}', 85, 'App\Models\User', 1102112, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 42 - 2025-07-04 16:46:54 [0.18ms] */
update `invoice` set `invoice_number` = 'INV-485-615262503', `invoice`.`updated_at` = '2025-07-04 16:46:54' where `id` = 615262;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 43 - 2025-07-04 16:46:54 [0.19ms] */
select * from `invoice` where `id` = 615262 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 44 - 2025-07-04 16:46:54 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_number":"INV-485-615262503"},"old":{"invoice_number":null}}', 85, 'App\Models\User', 615262, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 45 - 2025-07-04 16:46:54 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 412842 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 46 - 2025-07-04 16:46:54 [0.18ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 85, `vehicle_tax`.`updated_at` = '2025-07-04 16:46:54' where `id` = 412842;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 47 - 2025-07-04 16:46:54 [0.18ms] */
select * from `vehicle_tax` where `id` = 412842 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 48 - 2025-07-04 16:46:54 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 85, 'App\Models\User', 412842, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 49 - 2025-07-04 16:46:54 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 522316 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 50 - 2025-07-04 16:46:54 [0.22ms] */
update `transaction` set `tax_collection_point_id` = 1, `deliver_district_id` = 2, `parent_id` = 642504, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-07-04 16:46:54' where `id` = 522316;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 51 - 2025-07-04 16:46:54 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 498024 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 52 - 2025-07-04 16:46:54 [0.27ms] */
update `invoice` set `parent_id` = 615262, `grouped` = 'Y', `invoice`.`updated_at` = '2025-07-04 16:46:54' where `id` = 498024;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 53 - 2025-07-04 16:46:54 [0.18ms] */
select * from `invoice` where `id` = 498024 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 54 - 2025-07-04 16:46:54 [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":615262,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 85, 'App\Models\User', 498024, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 55 - 2025-07-04 16:46:54 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 522316 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 56 - 2025-07-04 16:46:54 [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://rta2.puntlandgov.org/api/make_payment
   Query 57 - 2025-07-04 16:46:54 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 58 - 2025-07-04 16:46:54 [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://rta2.puntlandgov.org/api/make_payment
   Query 59 - 2025-07-04 16:46:54 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 60 - 2025-07-04 16:46:54 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 61 - 2025-07-04 16:46:54 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (522316, 'APPROVED', '2025-07-04 16:46:54', 5, 85, null, 85, 85, '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 62 - 2025-07-04 16:46:54 [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://rta2.puntlandgov.org/api/make_payment
   Query 63 - 2025-07-04 16:46:54 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-07-04 16:46:54' where `id` = 522316;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 64 - 2025-07-04 16:46:54 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 65 - 2025-07-04 16:46:54 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 498024 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 66 - 2025-07-04 16:46:54 [0.18ms] */
update `transaction` set `invoice_id` = 615262, `transaction`.`updated_at` = '2025-07-04 16:46:54' where `id` = 642504;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 67 - 2025-07-04 16:46:54 [0.47ms] */
update `vehicle` set `updated_by` = 85, `vehicle`.`updated_at` = '2025-07-04 16:46:54' where `id` = 76827;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 68 - 2025-07-04 16:46:54 [0.2ms] */
select * from `vehicle` where `id` = 76827 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 69 - 2025-07-04 16:46:54 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 85, 'App\Models\User', 76827, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 70 - 2025-07-04 16:46:54 [0.18ms] */
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":171}', '{"updated_by":85}', 'updated', 76827, 'Modules\Vehicle\Entities\Vehicle', 85, 'App\Models\User', null, '102.223.188.87', 'Dart/3.4 (dart:io)', 'https://rta2.puntlandgov.org/api/make_payment', '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 71 - 2025-07-04 16:46:54 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 72 - 2025-07-04 16:46:54 [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://rta2.puntlandgov.org/api/make_payment
   Query 73 - 2025-07-04 16:46:54 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 74 - 2025-07-04 16:46:54 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 75 - 2025-07-04 16:46:54 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642504, 'APPROVED', '2025-07-04 16:46:54', 5, 85, null, 85, 85, '2025-07-04 16:46:54', '2025-07-04 16:46:54');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 76 - 2025-07-04 16:46:54 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 77 - 2025-07-04 16:46:54 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-07-04 16:46:54' where `id` = 642504;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 78 - 2025-07-04 16:46:54 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 79 - 2025-07-04 16:46:54 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615262 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 80 - 2025-07-04 16:46:54 [0.23ms] */
select `transaction_id` from `vehicle_tax` where `id` in (412842) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 81 - 2025-07-04 16:46:54 [0.26ms] */
select * from `invoice` where `transaction_id` = 522316 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 82 - 2025-07-04 16:46:54 [0.31ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 498024 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 83 - 2025-07-04 16:46:54 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 522316 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 84 - 2025-07-04 16:46:54 [3.01ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-07-04 16:46:54' where `id` = 522316;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 85 - 2025-07-04 16:46:54 [0.22ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 86 - 2025-07-04 16:46:54 [0.21ms] */
select * from `user_accounts` where `user_id` = 85 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 87 - 2025-07-04 16:46:54 [0.2ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 88 - 2025-07-04 16:46:54 [0.21ms] */
select * from `user_accounts` where `user_id` = 85 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-07-04 16:46:55 [2.33ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-07-04 16:46:55 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-07-04 16:46:55 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-07-04 16:46:55 [0.16ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-07-04 16:46:55 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-07-04 16:46:55 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-07-04 16:46:55 [0.18ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-07-04 16:46:55 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (412842) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-07-04 16:46:55 [0.28ms] */
select `parent_id` from `transaction` where `id` in (522316) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-07-04 16:46:55 [0.23ms] */
select `id` from `transaction` where `parent_id` in (642504) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-07-04 16:46:55 [0.26ms] */
select * from `transaction` where `id` in (642504) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-07-04 16:46:55 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (412842) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-07-04 16:46:55 [0.16ms] */
select * from `invoice` where `transaction_id` = 522316 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 14 - 2025-07-04 16:46:55 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 498024 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 15 - 2025-07-04 16:46:55 [0.51ms] */
select * from `transaction` where `transaction`.`id` = 522316 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-07-04 16:46:55 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-07-04 16:46:55 [0.14ms] */
select * from `user_accounts` where `user_id` = 85 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-07-04 16:46:55 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-07-04 16:46:55 [0.13ms] */
select * from `user_accounts` where `user_id` = 85 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 1 - 2025-07-04 16:46:57 [1.95ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 2 - 2025-07-04 16:46:57 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 3 - 2025-07-04 16:46:57 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 4 - 2025-07-04 16:46:57 [0.25ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 5 - 2025-07-04 16:46:57 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 6 - 2025-07-04 16:46:57 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 7 - 2025-07-04 16:46:57 [0.5ms] */
select * from `transaction` where `id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 8 - 2025-07-04 16:46:57 [0.39ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 642504 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 9 - 2025-07-04 16:46:57 [0.4ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 642504 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 10 - 2025-07-04 16:46:57 [0.29ms] */
select * from `invoice` where `invoice`.`id` = 615262 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 11 - 2025-07-04 16:46:57 [0.28ms] */
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` = 615262 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 16:46:58 [2.26ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 16:46:58 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 16:46:58 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 16:46:58 [0.32ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 16:46:58 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 16:46:58 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 16:46:58 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 16:47:00 [1.41ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 16:47:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 16:47:00 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 16:47:00 [0.17ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 16:47:00 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 16:47:00 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 16:47:00 [0.15ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 85 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 16:47:00 [0.13ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 85 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-07-04 16:47:13 [2.62ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-07-04 16:47:13 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-07-04 16:47:13 [0.32ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-07-04 16:47:13 [0.36ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-07-04 16:47:13 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-07-04 16:47:13 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-07-04 16:47:13 [0.28ms] */
delete from `payment_documents` where `transaction_id` = 642504 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-07-04 16:47:13 [23.28ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2559313;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-07-04 16:47:13 [0.48ms] */
select * from `transaction` where `transaction`.`id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-07-04 16:47:13 [0.37ms] */
select * from `transaction` where `parent_id` = 642504 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-07-04 16:47:13 [6.92ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (522316, 'GOV_RECEIPT_IMAGE', 2559313, 1, '2025-07-04 16:47:13', '2025-07-04 16:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-07-04 16:47:13 [3.13ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (642504, 'GOV_RECEIPT_IMAGE', 2559313, 1, '2025-07-04 16:47:13', '2025-07-04 16:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-07-04 16:47:13 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-07-04 16:47:13 [3.32ms] */
update `transaction` set `paid_by` = 'cawil', `paid_by_mobile` = 907900108, `transaction`.`updated_at` = '2025-07-04 16:47:13' where `id` = 642504;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-07-04 16:47:13 [15.23ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-07-04 16:47:13' where `receipt_number` = 2559313 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 16:47:14 [2.19ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 16:47:14 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 16:47:14 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 16:47:14 [0.32ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 16:47:14 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 16:47:14 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 16:47:14 [6.83ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 85 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 16:47:14 [5.83ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 85 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-07-04 16:47:16 [1.96ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-07-04 16:47:16 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-07-04 16:47:16 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-07-04 16:47:16 [0.35ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-07-04 16:47:16 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-07-04 16:47:16 [0.33ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-07-04 16:47:16 [0.24ms] */
delete from `payment_documents` where `transaction_id` = 642504 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-07-04 16:47:16 [23.18ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 135963;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-07-04 16:47:16 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-07-04 16:47:16 [0.27ms] */
select * from `transaction` where `parent_id` = 642504 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-07-04 16:47:16 [5.97ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (522316, 'SERVICE_RECEIPT_IMAGE', 135963, 1, '2025-07-04 16:47:16', '2025-07-04 16:47:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-07-04 16:47:16 [3.04ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (642504, 'SERVICE_RECEIPT_IMAGE', 135963, 1, '2025-07-04 16:47:16', '2025-07-04 16:47:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-07-04 16:47:16 [15.11ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-07-04 16:47:16' where `receipt_number` = 135963 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-07-04 16:47:17 [1.44ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-07-04 16:47:17 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-07-04 16:47:17 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-07-04 16:47:17 [0.18ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-07-04 16:47:17 [0.17ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-07-04 16:47:17 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-07-04 16:47:17 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-07-04 16:47:17 [0.31ms] */
select * from `invoice_payment` where `invoice_id` = 615262 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-07-04 16:47:17 [0.45ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 642504 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-07-04 16:47:17 [0.26ms] */
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` = 642504 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-07-04 16:47:17 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-07-04 16:47:17 [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://rta2.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-07-04 16:47:17 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 14 - 2025-07-04 16:47:17 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 15 - 2025-07-04 16:47:17 [0.39ms] */
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` = 642504 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-07-04 16:47:17 [0.25ms] */
select * from `party` where `party`.`id` = 48537 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-07-04 16:47:17 [0.29ms] */
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-07-04 16:47:17', 1, 2559313, 1, 31.00, 'cawil', 907900108, null, 2, 85, 85, 85, '2025-07-04 16:47:17', '2025-07-04 16:47:17');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-07-04 16:47:17 [0.2ms] */
select * from `Payment` where `id` = 204609 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-07-04 16:47:17 [0.19ms] */
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":1,"payment_amount":"31.00","payment_date":"2025-07-04 16:47:17","external_payment_reference_no":"1","payment_receipt_number":"2559313","siinpay_payref_number":null,"paid_by":"cawil","paid_by_mobile":"907900108","district_id":2,"migration_id":null,"payment_collected_by":85}}', 85, 'App\Models\User', 204609, 'Modules\Transaction\Entities\Payment', 'created', '2025-07-04 16:47:17', '2025-07-04 16:47:17');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-07-04 16:47:17 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-07-04 16:47:17 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-07-04 16:47:17 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 23 - 2025-07-04 16:47:17 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 498024 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 24 - 2025-07-04 16:47:17 [0.17ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-07-04 16:47:17', 498024, 204609, '2025-07-04 16:47:17');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-07-04 16:47:17 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 498024 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-07-04 16:47:17 [0.28ms] */
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` = 498024 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-07-04 16:47:17 [0.28ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 498024 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-07-04 16:47:17 [0.21ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 31, `status` = 'PAID', `invoice`.`updated_at` = '2025-07-04 16:47:17' where `id` = 498024;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 29 - 2025-07-04 16:47:17 [0.19ms] */
select * from `invoice` where `id` = 498024 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-07-04 16:47:17 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"31.00","status":"OPEN"}}', 85, 'App\Models\User', 498024, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 16:47:17', '2025-07-04 16:47:17');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-07-04 16:47:17 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 522316 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-07-04 16:47:17 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 522316 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-07-04 16:47:17 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-07-04 16:47:17 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-07-04 16:47:17 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 36 - 2025-07-04 16:47:17 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (522316, 'PAID', '2025-07-04 16:47:17', 7, 85, null, 85, 85, '2025-07-04 16:47:17', '2025-07-04 16:47:17');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 37 - 2025-07-04 16:47:17 [0.16ms] */
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://rta2.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-07-04 16:47:17 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-07-04 16:47:17' where `id` = 522316;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-07-04 16:47:17 [0.15ms] */
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://rta2.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-07-04 16:47:17 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 498024 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 41 - 2025-07-04 16:47:17 [0.25ms] */
select * from `vehicle_tax` where `transaction_id` = 522316 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 42 - 2025-07-04 16:47:17 [0.18ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-07-04 16:47:17' where `id` = 412842;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-07-04 16:47:17 [0.17ms] */
select * from `vehicle_tax` where `id` = 412842 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-07-04 16:47:17 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"PAID"},"old":{"status":"INPROGRESS"}}', 85, 'App\Models\User', 412842, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 16:47:17', '2025-07-04 16:47:17');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-07-04 16:47:17 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615262 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-07-04 16:47:17 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 615262 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-07-04 16:47:17 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-07-04 16:47:17', 615262, 204609, '2025-07-04 16:47:17');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-07-04 16:47:17 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 615262 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-07-04 16:47:17 [0.24ms] */
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` = 615262 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-07-04 16:47:17 [0.18ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-07-04 16:47:17' where `id` = 615262;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-07-04 16:47:17 [0.19ms] */
select * from `invoice` where `id` = 615262 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-07-04 16:47:17 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"31.00","status":"OPEN"}}', 85, 'App\Models\User', 615262, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 16:47:17', '2025-07-04 16:47:17');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-07-04 16:47:17 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-07-04 16:47:17 [0.2ms] */
select * from `transaction` where `transaction`.`id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-07-04 16:47:17 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-07-04 16:47:17 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 57 - 2025-07-04 16:47:17 [0.19ms] */
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://rta2.puntlandgov.org/api/confirm_payment
   Query 58 - 2025-07-04 16:47:17 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642504, 'PAID', '2025-07-04 16:47:17', 7, 85, null, 85, 85, '2025-07-04 16:47:17', '2025-07-04 16:47:17');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 59 - 2025-07-04 16:47:17 [0.19ms] */
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://rta2.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-07-04 16:47:17 [0.18ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-07-04 16:47:17' where `id` = 642504;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 61 - 2025-07-04 16:47:17 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-07-04 16:47:17 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 615262 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 63 - 2025-07-04 16:47:17 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 64 - 2025-07-04 16:47:17 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 65 - 2025-07-04 16:47:17 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642504, 'CLAIMED', '2025-07-04 16:47:17', 8, 85, 85, 85, '2025-07-04 16:47:17', '2025-07-04 16:47:17');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 66 - 2025-07-04 16:47:17 [0.22ms] */
update `transaction` set `assigned_to` = 85, `transaction`.`updated_at` = '2025-07-04 16:47:17' where `id` = 642504;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-07-04 16:47:25 [1.98ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-07-04 16:47:25 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-07-04 16:47:25 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-07-04 16:47:25 [0.27ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-07-04 16:47:25 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-07-04 16:47:25 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-07-04 16:47:25 [0.41ms] */
select * from `vehicle_tax` where `id` = 412842 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-07-04 16:47:25 [0.36ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-07-04 16:47:25 [1.32ms] */
select `id`, `name` from `tax_sticker` where exists (select * from `sticker_box_assignment` where `tax_sticker`.`sticker_box_id` = `sticker_box_assignment`.`sticker_box_id` and `user_id` = 85 and `return_date` is null and `sticker_box_assignment`.`deleted_at` is null) and `term_id` = 105 and `name` like '%2025-Q3%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-07-04 16:47:28 [1.94ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-07-04 16:47:28 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-07-04 16:47:28 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-07-04 16:47:28 [0.36ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-07-04 16:47:28 [0.34ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-07-04 16:47:28 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-07-04 16:47:28 [0.16ms] */
select * from `vehicle_tax` where `id` = 412842 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-07-04 16:47:28 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-07-04 16:47:28 [24.18ms] */
select `id`, `name` from `tax_sticker` where exists (select * from `sticker_box_assignment` where `tax_sticker`.`sticker_box_id` = `sticker_box_assignment`.`sticker_box_id` and `user_id` = 85 and `return_date` is null and `sticker_box_assignment`.`deleted_at` is null) and `term_id` = 105 and `name` like '%2025-Q3-0005%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 1 - 2025-07-04 16:47:44 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 2 - 2025-07-04 16:47:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 3 - 2025-07-04 16:47:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 4 - 2025-07-04 16:47:44 [0.17ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 5 - 2025-07-04 16:47:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 6 - 2025-07-04 16:47:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 7 - 2025-07-04 16:47:44 [0.3ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 662003 and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 8 - 2025-07-04 16:47:44 [0.16ms] */
select * from `vehicle_tax` where `id` = 412842 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 9 - 2025-07-04 16:47:44 [8.1ms] */
update `vehicle_tax` set `tax_sticker_id` = 662003, `vehicle_tax`.`updated_at` = '2025-07-04 16:47:44' where `id` = 412842;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 10 - 2025-07-04 16:47:44 [0.24ms] */
select * from `vehicle_tax` where `id` = 412842 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 11 - 2025-07-04 16:47:44 [4.54ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"tax_sticker_id":662003},"old":{"tax_sticker_id":null}}', 85, 'App\Models\User', 412842, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 16:47:44', '2025-07-04 16:47:44');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 12 - 2025-07-04 16:47:44 [3.37ms] */
update `tax_sticker` set `assigned` = 'Y', `updated_by` = 85, `tax_sticker`.`updated_at` = '2025-07-04 16:47:44' where `id` = 662003;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 13 - 2025-07-04 16:47:44 [0.37ms] */
select * from `sticker_box_assignment` where `sticker_box_id` = 1013 and `sticker_box_assignment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 14 - 2025-07-04 16:47:44 [3.46ms] */
update `sticker_box_assignment` set `used_count` = 1, `sticker_box_assignment`.`updated_at` = '2025-07-04 16:47:44' where `sticker_box_id` = 1013 and `sticker_box_assignment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 1 - 2025-07-04 16:47:44 [1.96ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 2 - 2025-07-04 16:47:44 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 3 - 2025-07-04 16:47:44 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 4 - 2025-07-04 16:47:44 [0.3ms] */
select * from `users` where `id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 5 - 2025-07-04 16:47:44 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '775c1cac21aeed1c5506599ad2293256f84c1b2a004298a3a21916cd927ae0733fe535ec00e41a85' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 6 - 2025-07-04 16:47:44 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 7 - 2025-07-04 16:47:44 [0.32ms] */
select * from `vehicle_tax` where `id` in (412842) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 8 - 2025-07-04 16:47:44 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 522316 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 9 - 2025-07-04 16:47:44 [0.27ms] */
select * from `transaction` where `transaction`.`id` = 522316 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 10 - 2025-07-04 16:47:44 [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://rta2.puntlandgov.org/api/complete_transaction
   Query 11 - 2025-07-04 16:47:44 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 12 - 2025-07-04 16:47:44 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 13 - 2025-07-04 16:47:44 [0.25ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (522316, 'APPROVED', '2025-07-04 16:47:44', 8, 85, null, 85, 85, '2025-07-04 16:47:44', '2025-07-04 16:47:44');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 14 - 2025-07-04 16:47:44 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 15 - 2025-07-04 16:47:44 [0.27ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-07-04 16:47:44' where `id` = 522316;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 16 - 2025-07-04 16:47:44 [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://rta2.puntlandgov.org/api/complete_transaction
   Query 17 - 2025-07-04 16:47:44 [0.23ms] */
select * from `vehicle_tax` where `transaction_id` = 522316 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 18 - 2025-07-04 16:47:44 [0.19ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-07-04 16:47:44' where `id` = 412842;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 19 - 2025-07-04 16:47:44 [0.18ms] */
select * from `vehicle_tax` where `id` = 412842 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 20 - 2025-07-04 16:47:44 [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":"ISSUED"},"old":{"status":"PAID"}}', 85, 'App\Models\User', 412842, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 16:47:44', '2025-07-04 16:47:44');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 21 - 2025-07-04 16:47:44 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 498024 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 22 - 2025-07-04 16:47:44 [0.25ms] */
select * from `transaction` where `id` = 522316 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 23 - 2025-07-04 16:47:44 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 642504 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 24 - 2025-07-04 16:47:44 [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://rta2.puntlandgov.org/api/complete_transaction
   Query 25 - 2025-07-04 16:47:44 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 26 - 2025-07-04 16:47:44 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 27 - 2025-07-04 16:47:44 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642504, 'APPROVED', '2025-07-04 16:47:44', 8, 85, null, 85, 85, '2025-07-04 16:47:44', '2025-07-04 16:47:44');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 28 - 2025-07-04 16:47:44 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 29 - 2025-07-04 16:47:44 [0.37ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-07-04 16:47:44' where `id` = 642504;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 30 - 2025-07-04 16:47:44 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 31 - 2025-07-04 16:47:44 [0.34ms] */
select * from `vehicle_tax` where `transaction_id` = 642504 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 32 - 2025-07-04 16:47:44 [0.33ms] */
select * from `invoice` where `invoice`.`id` = 615262 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 33 - 2025-07-04 16:47:44 [0.21ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 34 - 2025-07-04 16:47:44 [0.37ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 27424 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 35 - 2025-07-04 16:47:44 [0.23ms] */
select * from `party` where `party`.`id` = 48537 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 36 - 2025-07-04 16:47:44 [0.36ms] */
select * from `person` where `person`.`id` = 48537 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 37 - 2025-07-04 16:47:44 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 76827 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 38 - 2025-07-04 16:47:44 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 498024 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 39 - 2025-07-04 16:47:44 [0.36ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 498024 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 40 - 2025-07-04 16:47:44 [0.38ms] */
select * from `Payment` where `Payment`.`id` = 204609 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 41 - 2025-07-04 16:47:44 [0.21ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 42 - 2025-07-04 16:47:44 [0.34ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 662003 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 1 - 2025-07-04 16:47:58 [1.46ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 2 - 2025-07-04 16:47:58 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 3 - 2025-07-04 16:47:58 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 4 - 2025-07-04 16:47:58 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 5 - 2025-07-04 16:47:58 [0.19ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 6 - 2025-07-04 16:47:58 [0.17ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-07-04 16:47:58 [110.92ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 8 - 2025-07-04 16:47:58 [49.6ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null order by `vehicle`.`updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 9 - 2025-07-04 16:47:58 [0.19ms] */
select * from `model` where `model`.`id` in (1057, 1059, 1352, 1367, 1381, 1396, 1401, 1448, 1456) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 10 - 2025-07-04 16:47:58 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (13, 14, 20, 24, 26) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 11 - 2025-07-04 16:47:58 [0.14ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 12 - 2025-07-04 16:47:58 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 13 - 2025-07-04 16:47:58 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` in (4, 7, 11, 13) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 14 - 2025-07-04 16:47:58 [0.52ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (5797, 30917, 46686, 76827, 87452, 87775, 89562, 91830, 96481, 100747) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 15 - 2025-07-04 16:47:58 [0.22ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 16 - 2025-07-04 16:47:58 [0.12ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 17 - 2025-07-04 16:47:58 [0.15ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 18 - 2025-07-04 16:47:58 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 19 - 2025-07-04 16:47:58 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 20 - 2025-07-04 16:47:58 [0.35ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 76827 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 21 - 2025-07-04 16:47:58 [0.16ms] */
select * from `party` where `party`.`id` = 48537 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 22 - 2025-07-04 16:47:58 [0.16ms] */
select * from `person` where `person`.`id` = 48537 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 23 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 24 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 48537 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 25 - 2025-07-04 16:47:58 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 26 - 2025-07-04 16:47:58 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 27 - 2025-07-04 16:47:58 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 28 - 2025-07-04 16:47:58 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 87452 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 29 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 54710 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 30 - 2025-07-04 16:47:58 [0.15ms] */
select * from `person` where `person`.`id` = 54710 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 31 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 32 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 54710 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 33 - 2025-07-04 16:47:58 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 34 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 35 - 2025-07-04 16:47:58 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 36 - 2025-07-04 16:47:58 [0.16ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 30917 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 37 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 20447 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 38 - 2025-07-04 16:47:58 [0.14ms] */
select * from `person` where `person`.`id` = 20447 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 39 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 40 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 20447 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 41 - 2025-07-04 16:47:58 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 42 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 43 - 2025-07-04 16:47:58 [0.15ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 44 - 2025-07-04 16:47:58 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 91830 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 45 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 59176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 46 - 2025-07-04 16:47:58 [0.15ms] */
select * from `person` where `person`.`id` = 56735 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 47 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 48 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 59176 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 49 - 2025-07-04 16:47:58 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 50 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 51 - 2025-07-04 16:47:58 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 52 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 89562 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 53 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 57676 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 54 - 2025-07-04 16:47:58 [0.14ms] */
select * from `company` where `company`.`id` = 1963 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 55 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 56 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 57676 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 57 - 2025-07-04 16:47:58 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 58 - 2025-07-04 16:47:58 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 59 - 2025-07-04 16:47:58 [0.12ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 60 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 5797 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 61 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 2643 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 62 - 2025-07-04 16:47:58 [0.14ms] */
select * from `person` where `person`.`id` = 2643 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 63 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 64 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 2643 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 65 - 2025-07-04 16:47:58 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 66 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 67 - 2025-07-04 16:47:58 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 100747 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 68 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 32570 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 69 - 2025-07-04 16:47:58 [0.14ms] */
select * from `person` where `person`.`id` = 32570 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 70 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 71 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 32570 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 72 - 2025-07-04 16:47:58 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 73 - 2025-07-04 16:47:58 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 74 - 2025-07-04 16:47:58 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 75 - 2025-07-04 16:47:58 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 87775 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 76 - 2025-07-04 16:47:58 [0.14ms] */
select * from `party` where `party`.`id` = 54927 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 77 - 2025-07-04 16:47:58 [0.15ms] */
select * from `person` where `person`.`id` = 54927 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 78 - 2025-07-04 16:47:58 [0.24ms] */
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://rta2.puntlandgov.org/m/vehicle
   Query 79 - 2025-07-04 16:47:58 [0.27ms] */
select * from `party` where `party`.`id` = 54927 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 80 - 2025-07-04 16:47:58 [0.25ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 81 - 2025-07-04 16:47:58 [0.24ms] */
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://rta2.puntlandgov.org/m/vehicle
   Query 82 - 2025-07-04 16:47:58 [0.23ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 83 - 2025-07-04 16:47:58 [0.3ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 96481 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 84 - 2025-07-04 16:47:58 [0.26ms] */
select * from `party` where `party`.`id` = 62419 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 85 - 2025-07-04 16:47:58 [0.27ms] */
select * from `person` where `person`.`id` = 59855 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 86 - 2025-07-04 16:47:58 [0.24ms] */
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://rta2.puntlandgov.org/m/vehicle
   Query 87 - 2025-07-04 16:47:58 [0.26ms] */
select * from `party` where `party`.`id` = 62419 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 88 - 2025-07-04 16:47:58 [0.29ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 89 - 2025-07-04 16:47:58 [0.25ms] */
