/* Origin (console): artisan report:taxcollection
   Query 1 - 2025-06-27 03:00:01 [51.67ms] */
DELETE FROM tax_collection_report;
/*==================================================*/
/* Origin (console): artisan report:taxcollection
   Query 2 - 2025-06-27 03:00:04 [2807.95ms] */
INSERT INTO tax_collection_report (
                    license_plate,
                    customer_name,
                    mobile,
                    quarter,
                    sub_category_name,
                    classification_name,
                    payment_date,
                    invoice_amount,
                    payment_amount,
                    status,
                    payment_collected_by,
                    region_name,
                    collection_point,
                    sticker_code,
                    book_no,
                    government_receipt_number,
                    service_receipt_number,
                    external_payment_reference_no,
                    payment_method,
                    gov_fee,
                    serv_fee,
                    created_at,
                    updated_at
                )
                SELECT
                    vehicle.license_plate,
                    CASE
                        WHEN party.partyable_type = 'Person' THEN
                            CONCAT_WS(' ', person.first_name, person.second_name, person.third_name, person.fourth_name)
                        ELSE
                            company.company_name
                    END AS customer_name,
                    payment.paid_by_mobile AS mobile,
                    CONCAT(term.year, ' - Q', term.quarter) AS quarter,
                    sub_category.name AS sub_category_name,
                    classification_type.name AS classification_name,
                    payment.payment_date AS payment_date,
                    invoice.invoice_amount,
                    payment.payment_amount,
                    CASE
                        WHEN transaction.status = 'END' THEN 'END'
                        ELSE roles.name
                    END AS status,
                    users.name AS payment_collected_by,
                    region.name AS region_name,
                    tax_collection_points.name AS collection_point,
                    tax_sticker.name AS sticker_code,
                    user_receipts.book_number AS book_no,
                    pd_gov.receipt_number AS government_receipt_no,
                    pd_service.receipt_number AS service_receipt_no,
                    payment.external_payment_reference_no,
                    payment_method.name AS payment_method,
                    invoice.invoice_amount - 8 AS gov_fee,
                    8 AS serv_fee,
                    NOW() AS created_at,
                    NOW() AS updated_at
                FROM vehicle_tax
                LEFT JOIN tax_sticker ON tax_sticker.id = vehicle_tax.tax_sticker_id
                LEFT JOIN transaction ON transaction.id = vehicle_tax.transaction_id
                LEFT JOIN workflow_definition ON workflow_definition.id = transaction.current_workflow_state_id
                LEFT JOIN roles ON roles.id = workflow_definition.role_id
                LEFT JOIN invoice ON invoice.id = transaction.invoice_id
                LEFT JOIN (
                    SELECT *
                    FROM (
                        SELECT *,
                            ROW_NUMBER() OVER (PARTITION BY invoice_id ORDER BY created_at DESC) AS rn
                        FROM invoice_payment
                    ) ip
                    WHERE rn = 1
                ) AS invoice_payment ON invoice_payment.invoice_id = invoice.id
                LEFT JOIN payment ON invoice_payment.payment_id = payment.id
                LEFT JOIN payment_method ON payment.payment_method_id = payment_method.id
                LEFT JOIN term ON vehicle_tax.term_id = term.id
                LEFT JOIN vehicle ON vehicle.id = vehicle_tax.vehicle_id
                LEFT JOIN sub_category ON sub_category.id = vehicle.sub_category_id
                LEFT JOIN party_vehicle ON vehicle.id = party_vehicle.vehicle_id AND party_vehicle.is_owner = 'Y' AND party_vehicle.deleted_at IS NULL
                LEFT JOIN party ON party.id = party_vehicle.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'
                LEFT JOIN classification_type on party_vehicle.classification_id=classification_type.id
                LEFT JOIN users ON users.id = payment.payment_collected_by
                LEFT JOIN tax_collection_points ON tax_collection_points.id=transaction.tax_collection_point_id
                LEFT JOIN region ON region.id = tax_collection_points.region_id
                LEFT JOIN (
                    SELECT *
                    FROM (
                        SELECT *,
                            ROW_NUMBER() OVER (
                                PARTITION BY transaction_id
                                ORDER BY created_at DESC
                            ) AS rn
                        FROM payment_documents
                        WHERE type = 'GOV_RECEIPT_IMAGE'
                    ) ranked_gov
                    WHERE rn = 1
                ) AS pd_gov ON pd_gov.transaction_id = transaction.id

                LEFT JOIN (
                    SELECT *
                    FROM (
                        SELECT *,
                            ROW_NUMBER() OVER (
                                PARTITION BY transaction_id
                                ORDER BY created_at DESC
                            ) AS rn
                        FROM payment_documents
                        WHERE type = 'SERVICE_RECEIPT_IMAGE'
                    ) ranked_service
                    WHERE rn = 1
                ) AS pd_service ON pd_service.transaction_id = transaction.id
				LEFT JOIN (
                    SELECT *
                    FROM (
                        SELECT *,
                            ROW_NUMBER() OVER (PARTITION BY receipt_number, user_id ORDER BY id DESC) AS rn
                        FROM receipts
                    ) r
                    WHERE rn = 1
                ) AS receipts ON receipts.receipt_number = pd_gov.receipt_number AND receipts.user_id = users.id
                LEFT JOIN user_receipts ON user_receipts.id = receipts.user_receipt_id
                WHERE invoice.status = 'PAID' 
                  AND pd_service.receipt_number IS NOT NULL 
                  AND pd_gov.receipt_number IS NOT NULL
                  AND vehicle_tax.term_id >= 95;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 06:19:58 [2.43ms] */
select * from `users` where `email` = 'cabdirizaaq.guure@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 06:20:43 [2.3ms] */
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-06-27 06:20:43 [0.24ms] */
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-06-27 06:20:43 [0.35ms] */
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-06-27 06:20:43 [11.55ms] */
update `userprofiles` set `last_ip` = '102.128.131.252', `login_count` = 1828, `last_login` = '2025-06-27 06:20:43', `userprofiles`.`updated_at` = '2025-06-27 06:20:43' where `id` = 97;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 06:20:43 [0.5ms] */
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-06-27 06:20:43 [0.69ms] */
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-06-27 06:20:43 [0.59ms] */
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-06-27 06:20:43 [0.32ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 06:20:43 [0.27ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 06:20:43 [0.35ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 06:20:43 [0.3ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 06:20:43 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 06:20:43 [3.55ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605', 97, 5, '[]', 0, '2025-06-27 06:20:43', '2025-06-27 06:20:43', '2026-06-27 06:20:43');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 06:20:43 [0.33ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 06:20:43 [3.26ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 06:20:59 [2.3ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 06:20:59 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 06:20:59 [0.4ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 06:20:59 [0.54ms] */
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-06-27 06:20:59 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 06:20:59 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 06:20:59 [0.96ms] */
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` = 'UC240' 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-06-27 06:20:59 [0.25ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 06:20:59 [0.24ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 06:20:59 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 06:21:00 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 06:21:00 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 06:21:00 [0.31ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 06:21:00 [0.37ms] */
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-06-27 06:21:00 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 06:21:00 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 06:21:00 [0.64ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 06:21:00 [0.57ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 06:21:00 [0.6ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 06:21:00 [1.51ms] */
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` = 42200 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-06-27 06:21:00 [2.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 06:21:00 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 06:21:00 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 06:21:00 [0.26ms] */
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-06-27 06:21:00 [0.23ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 06:21:00 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 06:21:00 [0.63ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 06:21:01 [1.96ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 06:21:01 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 06:21:01 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 06:21:01 [0.28ms] */
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-06-27 06:21:01 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 06:21:01 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 06:21:01 [0.85ms] */
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-06-27 06:21:21 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 06:21:21 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 06:21:21 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 06:21:21 [0.17ms] */
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-06-27 06:21:21 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 06:21:21 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 06:21:21 [0.71ms] */
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` = 'YC240' 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-06-27 06:21:21 [0.24ms] */
select * from `vehicle` where `license_plate` = 'YC240' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 06:21:24 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 06:21:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 06:21:24 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 06:21:24 [0.17ms] */
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-06-27 06:21:24 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 06:21:24 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 06:21:24 [0.34ms] */
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` = 'YC240' 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-06-27 06:21:24 [0.16ms] */
select * from `vehicle` where `license_plate` = 'YC240' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 06:21:25 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 06:21:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 06:21:25 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 06:21:25 [0.17ms] */
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-06-27 06:21:25 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 06:21:25 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 06:21:25 [0.39ms] */
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` = 'YC240' 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-06-27 06:21:25 [0.16ms] */
select * from `vehicle` where `license_plate` = 'YC240' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 06:21:41 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 06:21:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 06:21:41 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 06:21:41 [0.18ms] */
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-06-27 06:21:41 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 06:21:41 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 06:21:41 [0.63ms] */
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` = 'UC249' 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-06-27 06:21:41 [0.26ms] */
select * from `vehicle` where `license_plate` = 'UC249' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 06:21:43 [1.31ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 06:21:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 06:21:43 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 06:21:43 [0.17ms] */
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-06-27 06:21:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 06:21:43 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 06:21:43 [0.35ms] */
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` = 'UC240' 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-06-27 06:21:43 [0.15ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 06:21:43 [0.19ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 06:21:43 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 06:21:44 [1.26ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 06:21:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 06:21:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 06:21:44 [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-06-27 06:21:44 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 06:21:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 06:21:44 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 06:21:44 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 06:21:44 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 06:21:44 [0.27ms] */
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` = 42200 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-06-27 06:21:44 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 06:21:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 06:21:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 06:21:44 [0.18ms] */
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-06-27 06:21:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 06:21:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 06:21:44 [0.14ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 06:21:44 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 06:21:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 06:21:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 06:21:44 [0.17ms] */
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-06-27 06:21:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 06:21:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 06:21:44 [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-06-27 06:38:35 [2.1ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 06:38:35 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 06:38:35 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 06:38:35 [0.37ms] */
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-06-27 06:38:35 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 06:38:35 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 06:38:35 [0.33ms] */
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` = 'UC240' 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-06-27 06:38:35 [0.15ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 06:38:35 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 06:38:35 [0.17ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 06:38:35 [2.02ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 06:38:35 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 06:38:35 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 06:38:35 [0.32ms] */
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-06-27 06:38:35 [0.13ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 06:38:35 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 06:38:35 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 06:38:35 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 06:38:35 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 06:38:35 [0.28ms] */
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` = 42200 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-06-27 06:38:36 [1.97ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 06:38:36 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 06:38:36 [0.33ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 06:38:36 [0.35ms] */
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-06-27 06:38:36 [0.31ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 06:38:36 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 06:38:36 [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-06-27 06:38:36 [1.89ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 06:38:36 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 06:38:36 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 06:38:36 [0.33ms] */
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-06-27 06:38:36 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 06:38:36 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 06:38: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/api/vehicle
   Query 1 - 2025-06-27 06:39:24 [1.98ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 06:39:24 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 06:39:24 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 06:39:24 [0.3ms] */
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-06-27 06:39:24 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 06:39:24 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 06:39:24 [0.77ms] */
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` = 'FD670' 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-06-27 06:39:24 [0.21ms] */
select * from `party` where `party`.`id` = 41666 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 06:39:24 [0.22ms] */
select * from `vehicle` where `id` = 55520 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 06:39:24 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 55520 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-06-27 06:39:27 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 06:39:27 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 06:39:27 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 06:39:27 [0.32ms] */
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-06-27 06:39:27 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 06:39:27 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 06:39:27 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 55520 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 06:39:27 [0.26ms] */
select * from `vehicle` where `id` = 55520 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 06:39:27 [0.28ms] */
select * from `party_vehicle` where `vehicle_id` = 55520 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-06-27 06:39:27 [0.69ms] */
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` = 55520 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-06-27 06:39:31 [2ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 06:39:31 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 06:39:31 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 06:39:31 [0.27ms] */
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-06-27 06:39:31 [0.24ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 06:39:31 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 06:39:31 [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-06-27 06:39:35 [1.99ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 06:39:35 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 06:39:35 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 06:39:35 [0.29ms] */
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-06-27 06:39:35 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 06:39:35 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 06:39:35 [0.27ms] */
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/login
   Query 1 - 2025-06-27 06:47:26 [2.81ms] */
select * from `users` where `email` = 'senthil.rg@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 2 - 2025-06-27 06:47:26 [0.23ms] */
select * from `users` where `id` = 95 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 3 - 2025-06-27 06:47:26 [0.31ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 95 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 4 - 2025-06-27 06:47:26 [11.39ms] */
update `userprofiles` set `login_count` = 543, `last_login` = '2025-06-27 06:47:26', `userprofiles`.`updated_at` = '2025-06-27 06:47:26' where `id` = 95;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 5 - 2025-06-27 06:47:26 [0.59ms] */
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/login
   Query 6 - 2025-06-27 06:47:26 [0.59ms] */
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/login
   Query 7 - 2025-06-27 06:47:26 [0.47ms] */
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 1 - 2025-06-27 06:47:26 [2.07ms] */
select * from `users` where `id` = 95 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 2 - 2025-06-27 06:47:26 [0.66ms] */
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-06-27 06:47:26 [0.3ms] */
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-06-27 06:47:26 [0.39ms] */
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-06-27 06:47:26 [12.35ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 6 - 2025-06-27 06:47:26 [18.49ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-06-27' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 7 - 2025-06-27 06:47:26 [34.87ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 8 - 2025-06-27 06:47:26 [29.06ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-06-27' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-06-27 06:47:26 [1.64ms] */
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-06-26' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 10 - 2025-06-27 06:47:26 [0.84ms] */
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-06-26' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-06-27 06:47:26 [299.18ms] */
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-06-27' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-06-27 06:47:28 [1290.69ms] */
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-06-27' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 1 - 2025-06-27 06:47:33 [2.12ms] */
select * from `users` where `id` = 95 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 2 - 2025-06-27 06:47:34 [0.78ms] */
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/trns
   Query 3 - 2025-06-27 06:47:34 [0.54ms] */
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/trns
   Query 4 - 2025-06-27 06:47:34 [0.67ms] */
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/trns
   Query 5 - 2025-06-27 06:47:34 [329.32ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 6 - 2025-06-27 06:47:34 [295.89ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 7 - 2025-06-27 06:47:34 [0.47ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (30119, 44927, 65893, 65936, 92948, 101978) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 8 - 2025-06-27 06:47:34 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 9 - 2025-06-27 06:47:34 [0.5ms] */
select * from `party` where `party`.`id` in (32894, 33321, 50643, 56332, 57908, 66523) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 10 - 2025-06-27 06:47:34 [0.5ms] */
select * from `vehicle` where `vehicle`.`id` in (2458, 43157, 78695, 84817, 93247, 101383) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 11 - 2025-06-27 06:47:34 [0.46ms] */
select * from `invoice` where `invoice`.`id` in (null, 65936, 610977, 611093, 611094, 611095, 611096, 611107, 611108, 611110) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 12 - 2025-06-27 06:47:34 [0.34ms] */
select * from `region` where `region`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 13 - 2025-06-27 06:47:34 [0.35ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 14 - 2025-06-27 06:47:34 [0.31ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 15 - 2025-06-27 06:47:34 [0.34ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 16 - 2025-06-27 06:47:34 [0.29ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 17 - 2025-06-27 06:47:34 [0.28ms] */
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/m/trns
   Query 18 - 2025-06-27 06:47:34 [0.33ms] */
select * from `company` where `company`.`id` = 2195 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 19 - 2025-06-27 06:47:34 [0.31ms] */
select * from `district` where `district`.`id` = 33 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 20 - 2025-06-27 06:47:34 [0.28ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 21 - 2025-06-27 06:47:34 [0.31ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 13 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 22 - 2025-06-27 06:47:34 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 23 - 2025-06-27 06:47:34 [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/trns
   Query 24 - 2025-06-27 06:47:34 [0.11ms] */
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/m/trns
   Query 25 - 2025-06-27 06:47:34 [0.36ms] */
select * from `person` where `person`.`id` = 33321 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 26 - 2025-06-27 06:47:34 [0.28ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 27 - 2025-06-27 06:47:34 [0.28ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 28 - 2025-06-27 06:47:34 [0.27ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 29 - 2025-06-27 06:47:34 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 30 - 2025-06-27 06:47:34 [0.11ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 31 - 2025-06-27 06:47:34 [0.1ms] */
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/m/trns
   Query 32 - 2025-06-27 06:47:34 [0.1ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 33 - 2025-06-27 06:47:34 [0.14ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 34 - 2025-06-27 06:47:34 [0.29ms] */
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/trns
   Query 35 - 2025-06-27 06:47:34 [0.26ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 36 - 2025-06-27 06:47:34 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 37 - 2025-06-27 06:47:34 [0.11ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 38 - 2025-06-27 06:47:34 [0.11ms] */
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/m/trns
   Query 39 - 2025-06-27 06:47:34 [0.11ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 40 - 2025-06-27 06:47:34 [0.11ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 41 - 2025-06-27 06:47:34 [0.11ms] */
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/trns
   Query 42 - 2025-06-27 06:47:34 [0.1ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 43 - 2025-06-27 06:47:34 [0.32ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 44 - 2025-06-27 06:47:34 [0.34ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 45 - 2025-06-27 06:47:34 [0.32ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 46 - 2025-06-27 06:47:34 [0.11ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 47 - 2025-06-27 06:47:34 [0.1ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 48 - 2025-06-27 06:47:34 [0.32ms] */
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/trns
   Query 49 - 2025-06-27 06:47:34 [0.33ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 50 - 2025-06-27 06:47:34 [0.31ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 51 - 2025-06-27 06:47:34 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 52 - 2025-06-27 06:47:34 [0.12ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 53 - 2025-06-27 06:47:34 [0.41ms] */
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/trns
   Query 54 - 2025-06-27 06:47:34 [0.39ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 55 - 2025-06-27 06:47:34 [0.46ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 56 - 2025-06-27 06:47:34 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 57 - 2025-06-27 06:47:34 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 58 - 2025-06-27 06:47:34 [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/m/trns
   Query 59 - 2025-06-27 06:47:34 [0.49ms] */
select * from `person` where `person`.`id` = 50643 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 60 - 2025-06-27 06:47:34 [0.45ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 61 - 2025-06-27 06:47:34 [0.51ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 62 - 2025-06-27 06:47:34 [0.46ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 25 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 63 - 2025-06-27 06:47:34 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 64 - 2025-06-27 06:47:34 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 65 - 2025-06-27 06:47:34 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 66 - 2025-06-27 06:47:34 [0.65ms] */
select * from `person` where `person`.`id` = 32894 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 67 - 2025-06-27 06:47:34 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 68 - 2025-06-27 06:47:34 [0.19ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 69 - 2025-06-27 06:47:34 [0.55ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 70 - 2025-06-27 06:47:34 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 71 - 2025-06-27 06:47:34 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 72 - 2025-06-27 06:47:34 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 73 - 2025-06-27 06:47:34 [0.58ms] */
select * from `company` where `company`.`id` = 619 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 74 - 2025-06-27 06:47:34 [0.52ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 75 - 2025-06-27 06:47:34 [0.19ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 76 - 2025-06-27 06:47:34 [0.39ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 11 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 77 - 2025-06-27 06:47:34 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 78 - 2025-06-27 06:47:34 [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/trns
   Query 79 - 2025-06-27 06:47:34 [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/m/trns
   Query 80 - 2025-06-27 06:47:34 [0.5ms] */
select * from `person` where `person`.`id` = 63856 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 81 - 2025-06-27 06:47:34 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 82 - 2025-06-27 06:47:34 [0.12ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/trns
   Query 83 - 2025-06-27 06:47:34 [0.37ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 1 - 2025-06-27 06:47:43 [1.6ms] */
select * from `users` where `id` = 95 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 2 - 2025-06-27 06:47:43 [0.65ms] */
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/transaction.list-transaction-component
   Query 3 - 2025-06-27 06:47:43 [0.54ms] */
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/transaction.list-transaction-component
   Query 4 - 2025-06-27 06:47:43 [0.62ms] */
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/transaction.list-transaction-component
   Query 5 - 2025-06-27 06:47:43 [0.32ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-06-27 06:47:43 [302.48ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 50;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 7 - 2025-06-27 06:47:43 [0.45ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (78757, 94825, 101973) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 8 - 2025-06-27 06:47:43 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 9 - 2025-06-27 06:47:43 [0.31ms] */
select * from `party` where `party`.`id` in (44310, 61465, 66519) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 10 - 2025-06-27 06:47:43 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` in (61714, 94981, 101378) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 11 - 2025-06-27 06:47:43 [0.32ms] */
select * from `invoice` where `invoice`.`id` in (null, 611010, 611026, 611027, 611029, 611030, 611031, 611032, 611033, 611036) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 12 - 2025-06-27 06:47:43 [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/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-06-27 06:47:43 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-06-27 06:47:43 [0.32ms] */
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/livewire/message/transaction.list-transaction-component
   Query 15 - 2025-06-27 06:47:43 [0.55ms] */
select * from `person` where `person`.`id` = 44310 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 16 - 2025-06-27 06:47:43 [0.31ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 17 - 2025-06-27 06:47:43 [0.27ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 18 - 2025-06-27 06:47:43 [0.21ms] */
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/livewire/message/transaction.list-transaction-component
   Query 19 - 2025-06-27 06:47:43 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 20 - 2025-06-27 06:47:43 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 21 - 2025-06-27 06:47:43 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 22 - 2025-06-27 06:47:43 [0.28ms] */
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/livewire/message/transaction.list-transaction-component
   Query 23 - 2025-06-27 06:47:43 [0.26ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 24 - 2025-06-27 06:47:43 [0.25ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 25 - 2025-06-27 06:47:43 [0.26ms] */
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/livewire/message/transaction.list-transaction-component
   Query 26 - 2025-06-27 06:47:43 [0.24ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 27 - 2025-06-27 06:47:43 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 28 - 2025-06-27 06:47:43 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 29 - 2025-06-27 06:47:43 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 30 - 2025-06-27 06:47:43 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 31 - 2025-06-27 06:47:43 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 32 - 2025-06-27 06:47:43 [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): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 33 - 2025-06-27 06:47:43 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 34 - 2025-06-27 06:47:43 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 35 - 2025-06-27 06:47:43 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 36 - 2025-06-27 06:47:43 [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/livewire/message/transaction.list-transaction-component
   Query 37 - 2025-06-27 06:47:43 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 38 - 2025-06-27 06:47:43 [0.22ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 39 - 2025-06-27 06:47:43 [0.22ms] */
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/livewire/message/transaction.list-transaction-component
   Query 40 - 2025-06-27 06:47:43 [0.21ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 41 - 2025-06-27 06:47:43 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 42 - 2025-06-27 06:47:43 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 43 - 2025-06-27 06:47:43 [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/livewire/message/transaction.list-transaction-component
   Query 44 - 2025-06-27 06:47:43 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 45 - 2025-06-27 06:47:43 [0.21ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 46 - 2025-06-27 06:47:43 [0.22ms] */
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/livewire/message/transaction.list-transaction-component
   Query 47 - 2025-06-27 06:47:43 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 48 - 2025-06-27 06:47:43 [0.23ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 49 - 2025-06-27 06:47:43 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 50 - 2025-06-27 06:47:43 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 51 - 2025-06-27 06:47:43 [0.22ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 52 - 2025-06-27 06:47:43 [0.15ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 53 - 2025-06-27 06:47:43 [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): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 54 - 2025-06-27 06:47:43 [0.14ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 55 - 2025-06-27 06:47:43 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 56 - 2025-06-27 06:47:43 [0.14ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 57 - 2025-06-27 06:47:43 [0.14ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 58 - 2025-06-27 06:47:43 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 59 - 2025-06-27 06:47:43 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 60 - 2025-06-27 06:47:43 [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/livewire/message/transaction.list-transaction-component
   Query 61 - 2025-06-27 06:47:43 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 62 - 2025-06-27 06:47:43 [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/livewire/message/transaction.list-transaction-component
   Query 63 - 2025-06-27 06:47:43 [0.28ms] */
select * from `person` where `person`.`id` = 58946 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 64 - 2025-06-27 06:47:43 [0.15ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 65 - 2025-06-27 06:47:43 [0.15ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 66 - 2025-06-27 06:47:43 [0.15ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 67 - 2025-06-27 06:47:43 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 68 - 2025-06-27 06:47:43 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 69 - 2025-06-27 06:47:43 [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/livewire/message/transaction.list-transaction-component
   Query 70 - 2025-06-27 06:47:43 [0.26ms] */
select * from `person` where `person`.`id` = 63852 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 71 - 2025-06-27 06:47:43 [0.15ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 72 - 2025-06-27 06:47:43 [0.15ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 73 - 2025-06-27 06:47:43 [0.17ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 74 - 2025-06-27 06:47:43 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 75 - 2025-06-27 06:47:43 [0.15ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 76 - 2025-06-27 06:47:43 [0.15ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 77 - 2025-06-27 06:47:43 [0.15ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 78 - 2025-06-27 06:47:43 [0.15ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 1 - 2025-06-27 06:47:48 [1.82ms] */
select * from `users` where `id` = 95 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 2 - 2025-06-27 06:47:48 [0.73ms] */
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/transaction.list-transaction-component
   Query 3 - 2025-06-27 06:47:48 [0.58ms] */
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/transaction.list-transaction-component
   Query 4 - 2025-06-27 06:47:48 [0.48ms] */
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/transaction.list-transaction-component
   Query 5 - 2025-06-27 06:47:48 [0.29ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-06-27 06:47:48 [0.33ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 7 - 2025-06-27 06:47:48 [0.46ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (30119, 44927, 65893, 65936, 92948, 101978) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 8 - 2025-06-27 06:47:48 [0.37ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 9 - 2025-06-27 06:47:48 [0.44ms] */
select * from `party` where `party`.`id` in (32894, 33321, 50643, 56332, 57908, 66523) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 10 - 2025-06-27 06:47:48 [0.47ms] */
select * from `vehicle` where `vehicle`.`id` in (2458, 43157, 78695, 84817, 93247, 101383) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 11 - 2025-06-27 06:47:48 [0.51ms] */
select * from `invoice` where `invoice`.`id` in (null, 65936, 610977, 611093, 611094, 611095, 611096, 611107, 611108, 611110) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 12 - 2025-06-27 06:47:48 [0.36ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-06-27 06:47:48 [0.24ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-06-27 06:47:48 [0.24ms] */
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/livewire/message/transaction.list-transaction-component
   Query 15 - 2025-06-27 06:47:48 [0.28ms] */
select * from `company` where `company`.`id` = 2195 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 16 - 2025-06-27 06:47:48 [0.14ms] */
select * from `district` where `district`.`id` = 33 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 17 - 2025-06-27 06:47:48 [0.13ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 18 - 2025-06-27 06:47:48 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 13 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 19 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 20 - 2025-06-27 06:47:48 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 21 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 22 - 2025-06-27 06:47:48 [0.16ms] */
select * from `person` where `person`.`id` = 33321 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 23 - 2025-06-27 06:47:48 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 24 - 2025-06-27 06:47:48 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 25 - 2025-06-27 06:47:48 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 1 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 26 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 27 - 2025-06-27 06:47:48 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 28 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 29 - 2025-06-27 06:47:48 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 30 - 2025-06-27 06:47:48 [0.12ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 31 - 2025-06-27 06:47:48 [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): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 32 - 2025-06-27 06:47:48 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 33 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 34 - 2025-06-27 06:47:48 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 35 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 36 - 2025-06-27 06:47:48 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 37 - 2025-06-27 06:47:48 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 38 - 2025-06-27 06:47:48 [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): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 39 - 2025-06-27 06:47:48 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 40 - 2025-06-27 06:47:48 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 41 - 2025-06-27 06:47:48 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 42 - 2025-06-27 06:47:48 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 43 - 2025-06-27 06:47:48 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 44 - 2025-06-27 06:47:48 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 45 - 2025-06-27 06:47:48 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 46 - 2025-06-27 06:47:48 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 47 - 2025-06-27 06:47:48 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 48 - 2025-06-27 06:47:48 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 49 - 2025-06-27 06:47:48 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 50 - 2025-06-27 06:47:48 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 51 - 2025-06-27 06:47:48 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 52 - 2025-06-27 06:47:48 [0.15ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 53 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 54 - 2025-06-27 06:47:48 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 55 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 56 - 2025-06-27 06:47:48 [0.15ms] */
select * from `person` where `person`.`id` = 50643 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 57 - 2025-06-27 06:47:48 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 58 - 2025-06-27 06:47:48 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 59 - 2025-06-27 06:47:48 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 25 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 60 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 61 - 2025-06-27 06:47:48 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 62 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 63 - 2025-06-27 06:47:48 [0.14ms] */
select * from `person` where `person`.`id` = 32894 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 64 - 2025-06-27 06:47:48 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 65 - 2025-06-27 06:47:48 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 66 - 2025-06-27 06:47:48 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 67 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 68 - 2025-06-27 06:47:48 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 69 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 70 - 2025-06-27 06:47:48 [0.13ms] */
select * from `company` where `company`.`id` = 619 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 71 - 2025-06-27 06:47:48 [0.13ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 72 - 2025-06-27 06:47:48 [0.13ms] */
select * from `region` where `region`.`id` = 6 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 73 - 2025-06-27 06:47:48 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 11 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 74 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 75 - 2025-06-27 06:47:48 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 76 - 2025-06-27 06:47:48 [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/livewire/message/transaction.list-transaction-component
   Query 77 - 2025-06-27 06:47:48 [0.15ms] */
select * from `person` where `person`.`id` = 63856 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 78 - 2025-06-27 06:47:48 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 79 - 2025-06-27 06:47:48 [0.13ms] */
select * from `region` where `region`.`id` = 1 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 80 - 2025-06-27 06:47:48 [0.12ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 07:29:52 [2.48ms] */
select * from `users` where `email` = 'sasalajiibe@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 07:30:11 [1.38ms] */
select * from `users` where `email` = 'sasalajiibe@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 07:31:43 [2.07ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 07:31:43 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 07:31:43 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 07:31:43 [0.28ms] */
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-06-27 07:31:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 07:31:43 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 07:31:43 [0.34ms] */
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` = 'UC240' 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-06-27 07:31:43 [0.17ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 07:31:43 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 07:31:43 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 07:31:43 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 07:31:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 07:31:43 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 07:31:43 [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-06-27 07:31:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 07:31:43 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 07:31:43 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 07:31:43 [0.16ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 07:31:43 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 07:31:43 [0.27ms] */
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` = 42200 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-06-27 07:31:44 [1.42ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 07:31:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 07:31:44 [0.19ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 07:31:44 [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-06-27 07:31:44 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 07:31:44 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 07:31:44 [0.14ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 07:31:44 [1.4ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 07:31:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 07:31:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 07:31:44 [0.17ms] */
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-06-27 07:31:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '2733cba8e676a5985a131aabbca43d92a52cdf0391463317d93d1e9c5ef41a7e98ab614a4f52f605' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 07:31:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 07:31:44 [0.19ms] */
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/login
   Query 1 - 2025-06-27 07:31:48 [1.61ms] */
select * from `users` where `email` = 'salad.jiibe@puntlandgov.org' and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 2 - 2025-06-27 07:31:49 [0.25ms] */
select * from `users` where `id` = 166 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 3 - 2025-06-27 07:31:49 [0.39ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 166 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-06-27 07:31:49 [11.08ms] */
update `userprofiles` set `last_ip` = '102.220.40.251', `login_count` = 17, `last_login` = '2025-06-27 07:31:49', `userprofiles`.`updated_at` = '2025-06-27 07:31:49' where `id` = 166;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 07:31:49 [0.43ms] */
select * from `users` where `email` = 'salad.jiibe@puntlandgov.org' and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 6 - 2025-06-27 07:31:49 [0.59ms] */
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-06-27 07:31:49 [0.5ms] */
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 (166) and `model_has_roles`.`model_type` = 'App\Models\User';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 8 - 2025-06-27 07:31:49 [0.21ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 07:31:49 [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-06-27 07:31:49 [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-06-27 07:31:49 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 07:31:49 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 07:31:49 [3.48ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('418d401c641bf0f7c17d4860efb843f8baedcfce6b2a24e3118718e01fe974009f8262921e9afe4f', 166, 5, '[]', 0, '2025-06-27 07:31:49', '2025-06-27 07:31:49', '2026-06-27 07:31:49');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 07:31:49 [0.36ms] */
select * from `oauth_access_tokens` where `id` = '418d401c641bf0f7c17d4860efb843f8baedcfce6b2a24e3118718e01fe974009f8262921e9afe4f' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 07:31:49 [3.01ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '418d401c641bf0f7c17d4860efb843f8baedcfce6b2a24e3118718e01fe974009f8262921e9afe4f';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 1 - 2025-06-27 08:00:48 [1.83ms] */
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-06-27 08:00:48 [0.3ms] */
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-06-27 08:00:48 [0.61ms] */
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-06-27 08:00:48 [11.88ms] */
update `userprofiles` set `last_ip` = '102.223.190.48', `login_count` = 1829, `last_login` = '2025-06-27 08:00:48', `userprofiles`.`updated_at` = '2025-06-27 08:00:48' where `id` = 97;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 5 - 2025-06-27 08:00:48 [0.35ms] */
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-06-27 08:00:48 [0.69ms] */
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-06-27 08:00:48 [0.3ms] */
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-06-27 08:00:48 [0.15ms] */
select exists(select * from `oauth_personal_access_clients`) as `exists`;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 9 - 2025-06-27 08:00:48 [0.12ms] */
select * from `oauth_personal_access_clients` order by `id` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 10 - 2025-06-27 08:00:48 [0.14ms] */
select * from `oauth_clients` where `oauth_clients`.`id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 11 - 2025-06-27 08:00:48 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 12 - 2025-06-27 08:00:48 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 13 - 2025-06-27 08:00:48 [3.62ms] */
insert into `oauth_access_tokens` (`id`, `user_id`, `client_id`, `scopes`, `revoked`, `created_at`, `updated_at`, `expires_at`) values ('6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9', 97, 5, '[]', 0, '2025-06-27 08:00:48', '2025-06-27 08:00:48', '2026-06-27 08:00:48');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 14 - 2025-06-27 08:00:48 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/login
   Query 15 - 2025-06-27 08:00:48 [3.13ms] */
update `oauth_access_tokens` set `name` = 'Secret' where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 1 - 2025-06-27 08:00:59 [1.82ms] */
select * from `users` where `email` = 'Faarax.maxamuud@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 1 - 2025-06-27 08:01:13 [1.63ms] */
select * from `users` where `email` = 'Faarax.maxamuud@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-06-27 08:01:32 [2.38ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:01:32 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:01:32 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:01:32 [0.31ms] */
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-06-27 08:01:32 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:01:32 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:01:32 [0.33ms] */
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` = 'UC240' 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-06-27 08:01:32 [0.15ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:01:32 [0.14ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:01:32 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 08:01:32 [1.63ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 08:01:32 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 08:01:32 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 08:01:32 [0.29ms] */
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-06-27 08:01:32 [0.19ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 08:01:32 [0.17ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 08:01:32 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 08:01:32 [0.28ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 08:01:32 [0.29ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 08:01:32 [0.36ms] */
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` = 42200 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-06-27 08:01:33 [2.04ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 08:01:33 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 08:01:33 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 08:01:33 [0.32ms] */
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-06-27 08:01:33 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 08:01:33 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 08:01:33 [0.25ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 08:01:33 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 08:01:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 08:01:33 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 08:01:33 [0.17ms] */
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-06-27 08:01:33 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 08:01:33 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 08:01:33 [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-06-27 08:03:42 [1.35ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-06-27 08:03:42 [0.16ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-06-27 08:03:42 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-06-27 08:03:42 [0.17ms] */
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-06-27 08:03:42 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-06-27 08:03:42 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-06-27 08:03:42 [0.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` = 'UC240' 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-06-27 08:03:42 [0.24ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-06-27 08:03:42 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-06-27 08:03:42 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 08:03:43 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-06-27 08:03:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-06-27 08:03:43 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-06-27 08:03:43 [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-06-27 08:03:43 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-06-27 08:03:43 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-06-27 08:03:43 [0.17ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-06-27 08:03:43 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-06-27 08:03:43 [0.18ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 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-06-27 08:03:43 [0.26ms] */
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` = 42200 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-06-27 08:03:44 [1.38ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-06-27 08:03:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-06-27 08:03:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-06-27 08:03:44 [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-06-27 08:03:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-06-27 08:03:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-06-27 08:03:44 [0.14ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-06-27 08:03:44 [1.3ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-06-27 08:03:44 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-06-27 08:03:44 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-06-27 08:03:44 [0.17ms] */
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-06-27 08:03:44 [0.18ms] */
select * from `oauth_access_tokens` where `id` = '6661248a32e7d7d4283bca54a831fb02970d29fa06e98b7f4a65a39428f63dd6c2b1f41a422d89d9' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-06-27 08:03:44 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-06-27 08:03:44 [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/login
   Query 1 - 2025-06-27 08:07:44 [2.54ms] */
select * from `users` where `email` = 'sharmaake.hasan@puntlandgov.org' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 2 - 2025-06-27 08:07:44 [0.27ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 3 - 2025-06-27 08:07:44 [0.25ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 16 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 4 - 2025-06-27 08:07:44 [10.92ms] */
update `userprofiles` set `last_ip` = '102.223.191.226', `login_count` = 2254, `last_login` = '2025-06-27 08:07:44', `userprofiles`.`updated_at` = '2025-06-27 08:07:44' where `id` = 16;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/login
   Query 5 - 2025-06-27 08:07:44 [0.58ms] */
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/login
   Query 6 - 2025-06-27 08:07:44 [0.61ms] */
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/login
   Query 7 - 2025-06-27 08:07:44 [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
   Query 1 - 2025-06-27 08:07:44 [1.34ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 2 - 2025-06-27 08:07:44 [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-06-27 08:07:44 [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-06-27 08:07:44 [0.4ms] */
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-06-27 08:07:44 [0.17ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 6 - 2025-06-27 08:07:44 [0.13ms] */
select count(*) as aggregate from `party` where `created_at` > '2025-06-27' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 7 - 2025-06-27 08:07:44 [0.14ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 8 - 2025-06-27 08:07:44 [0.13ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2025-06-27' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-06-27 08:07:44 [0.21ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-06-26' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 10 - 2025-06-27 08:07:44 [0.16ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-06-26' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-06-27 08:07:44 [0.15ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-06-27' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-06-27 08:07:44 [0.14ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-06-27' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 13 - 2025-06-27 08:07:44 [0.17ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 14 - 2025-06-27 08:07:44 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 1 - 2025-06-27 08:07:50 [2.18ms] */
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-06-27 08:07:50 [0.69ms] */
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-06-27 08:07:50 [0.49ms] */
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-06-27 08:07:50 [0.61ms] */
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-06-27 08:07:50 [0.3ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 6 - 2025-06-27 08:07:50 [0.43ms] */
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-06-27 08:07:51 [146.88ms] */
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-06-27 08:07:51 [288.4ms] */
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-06-27 08:07:51 [0.43ms] */
select * from `model` where `model`.`id` in (1054, 1056, 1093, 1335, 1366, 1396, 1454, 4376) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 10 - 2025-06-27 08:07:51 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (13, 15, 20, 24, 26, 30) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 11 - 2025-06-27 08:07:51 [0.25ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (43, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 12 - 2025-06-27 08:07:51 [0.2ms] */
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-06-27 08:07:51 [0.24ms] */
select * from `sub_category` where `sub_category`.`id` in (4, 7, 9, 11, 13) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 14 - 2025-06-27 08:07:51 [0.48ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (2458, 43157, 49207, 52248, 73325, 78695, 93247, 101381, 101382, 101383) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 15 - 2025-06-27 08:07:51 [0.58ms] */
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-06-27 08:07:51 [0.22ms] */
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-06-27 08:07:51 [0.28ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 18 - 2025-06-27 08:07:51 [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): GET https://rta2.puntlandgov.org/m/vehicle
   Query 19 - 2025-06-27 08:07:51 [0.27ms] */
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-06-27 08:07:51 [0.37ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 43157 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 21 - 2025-06-27 08:07:51 [0.28ms] */
select * from `party` where `party`.`id` = 33321 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-06-27 08:07:51 [0.21ms] */
select * from `person` where `person`.`id` = 33321 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 23 - 2025-06-27 08:07:51 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 24 - 2025-06-27 08:07:51 [0.28ms] */
select * from `party` where `party`.`id` = 33321 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-06-27 08:07:51 [0.43ms] */
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-06-27 08:07:51 [0.23ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 27 - 2025-06-27 08:07:51 [0.42ms] */
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-06-27 08:07:51 [0.52ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 78695 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 29 - 2025-06-27 08:07:51 [0.48ms] */
select * from `party` where `party`.`id` = 50643 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-06-27 08:07:51 [0.29ms] */
select * from `person` where `person`.`id` = 50643 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 31 - 2025-06-27 08:07:51 [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): GET https://rta2.puntlandgov.org/m/vehicle
   Query 32 - 2025-06-27 08:07:51 [0.29ms] */
select * from `party` where `party`.`id` = 50643 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-06-27 08:07:51 [0.33ms] */
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-06-27 08:07:51 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 35 - 2025-06-27 08:07:51 [0.16ms] */
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-06-27 08:07:51 [0.33ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 2458 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 37 - 2025-06-27 08:07:51 [0.31ms] */
select * from `party` where `party`.`id` = 32894 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-06-27 08:07:51 [0.2ms] */
select * from `person` where `person`.`id` = 32894 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 39 - 2025-06-27 08:07:51 [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 40 - 2025-06-27 08:07:51 [0.15ms] */
select * from `party` where `party`.`id` = 32894 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-06-27 08:07:51 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 42 - 2025-06-27 08:07:51 [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-06-27 08:07:51 [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 44 - 2025-06-27 08:07:51 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 93247 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 45 - 2025-06-27 08:07:51 [0.24ms] */
select * from `party` where `party`.`id` = 56332 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-06-27 08:07:51 [0.15ms] */
select * from `company` where `company`.`id` = 619 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 47 - 2025-06-27 08:07:51 [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 48 - 2025-06-27 08:07:51 [0.15ms] */
select * from `party` where `party`.`id` = 56332 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-06-27 08:07:51 [0.14ms] */
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 50 - 2025-06-27 08:07:51 [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 51 - 2025-06-27 08:07:51 [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 52 - 2025-06-27 08:07:51 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 101383 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 53 - 2025-06-27 08:07:51 [0.33ms] */
select * from `party` where `party`.`id` = 66523 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-06-27 08:07:51 [0.16ms] */
select * from `person` where `person`.`id` = 63856 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 55 - 2025-06-27 08:07:51 [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-06-27 08:07:51 [0.15ms] */
select * from `party` where `party`.`id` = 66523 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-06-27 08:07:51 [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-06-27 08:07:51 [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 59 - 2025-06-27 08:07:51 [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-06-27 08:07:51 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 73325 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 61 - 2025-06-27 08:07:51 [0.25ms] */
select * from `party` where `party`.`id` = 56889 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-06-27 08:07:51 [0.25ms] */
select * from `company` where `company`.`id` = 1176 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 63 - 2025-06-27 08:07:51 [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 64 - 2025-06-27 08:07:51 [0.15ms] */
select * from `party` where `party`.`id` = 56889 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-06-27 08:07:51 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 66 - 2025-06-27 08:07:51 [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-06-27 08:07:51 [0.38ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 101382 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 68 - 2025-06-27 08:07:51 [0.24ms] */
select * from `party` where `party`.`id` = 55429 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-06-27 08:07:51 [0.27ms] */
select * from `person` where `person`.`id` = 55429 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 70 - 2025-06-27 08:07:51 [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 71 - 2025-06-27 08:07:51 [0.14ms] */
select * from `party` where `party`.`id` = 55429 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-06-27 08:07:51 [0.3ms] */
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 73 - 2025-06-27 08:07:51 [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 74 - 2025-06-27 08:07:51 [0.22ms] */
select * from `make` where `make`.`id` = 80 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 75 - 2025-06-27 08:07:51 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 101381 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 76 - 2025-06-27 08:07:51 [0.47ms] */
select * from `party` where `party`.`id` = 66522 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-06-27 08:07:51 [0.31ms] */
select * from `person` where `person`.`id` = 63855 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 78 - 2025-06-27 08:07:51 [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 79 - 2025-06-27 08:07:51 [0.15ms] */
select * from `party` where `party`.`id` = 66522 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-06-27 08:07:51 [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 81 - 2025-06-27 08:07:51 [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 82 - 2025-06-27 08:07:51 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 49207 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 83 - 2025-06-27 08:07:51 [0.42ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 84 - 2025-06-27 08:07:51 [0.39ms] */
select * from `person` where `person`.`id` = 18216 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 85 - 2025-06-27 08:07:51 [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 86 - 2025-06-27 08:07:51 [0.15ms] */
select * from `party` where `party`.`id` = 18216 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 87 - 2025-06-27 08:07:51 [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
   Query 88 - 2025-06-27 08:07:51 [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 89 - 2025-06-27 08:07:51 [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 90 - 2025-06-27 08:07:51 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 52248 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 91 - 2025-06-27 08:07:51 [0.23ms] */
select * from `party` where `party`.`id` = 40292 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 92 - 2025-06-27 08:07:51 [0.29ms] */
select * from `person` where `person`.`id` = 40292 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 93 - 2025-06-27 08:07:51 [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 94 - 2025-06-27 08:07:51 [0.15ms] */
select * from `party` where `party`.`id` = 40292 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 95 - 2025-06-27 08:07:51 [0.21ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 96 - 2025-06-27 08:07:51 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-06-27 08:07:55 [1.29ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-06-27 08:07:55 [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-06-27 08:07:55 [0.32ms] */
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-06-27 08:07:55 [0.4ms] */
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-06-27 08:07:56 [0.5ms] */
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-06-27 08:07:56 [0.44ms] */
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-06-27 08:07:56 [144.3ms] */
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 '%U%' or `vin` like '%U%') 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-06-27 08:07:56 [0.58ms] */
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 '%U%' or `vin` like '%U%') 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-06-27 08:07:56 [0.25ms] */
select * from `model` where `model`.`id` in (1, 1059, 1335, 1366, 1396) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-06-27 08:07:56 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 7, 11, 15, 26) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-06-27 08:07:56 [0.19ms] */
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-06-27 08:07:56 [0.23ms] */
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-06-27 08:07:56 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 4, 8, 9, 13) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-06-27 08:07:56 [0.44ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (27659, 46354, 46368, 50215, 52282, 64798, 64806, 64849, 64947, 74096) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-06-27 08:07:56 [0.18ms] */
select * from `sub_category` where `sub_category`.`id` = 8 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-06-27 08:07:56 [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 17 - 2025-06-27 08:07:56 [0.13ms] */
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-06-27 08:07:56 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 50215 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-06-27 08:07:56 [0.23ms] */
select * from `party` where `party`.`id` = 39414 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-06-27 08:07:56 [0.26ms] */
select * from `person` where `person`.`id` = 39414 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-06-27 08:07:56 [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 22 - 2025-06-27 08:07:56 [0.14ms] */
select * from `party` where `party`.`id` = 39414 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-06-27 08:07:56 [0.18ms] */
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-06-27 08:07:56 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 25 - 2025-06-27 08:07:56 [0.18ms] */
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 26 - 2025-06-27 08:07:56 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 52282 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 27 - 2025-06-27 08:07:56 [0.19ms] */
select * from `party` where `party`.`id` = 40310 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 28 - 2025-06-27 08:07:56 [0.22ms] */
select * from `person` where `person`.`id` = 40310 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 29 - 2025-06-27 08:07:56 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 30 - 2025-06-27 08:07:56 [0.14ms] */
select * from `party` where `party`.`id` = 40310 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 31 - 2025-06-27 08:07:56 [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 32 - 2025-06-27 08:07:56 [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 33 - 2025-06-27 08:07:56 [0.14ms] */
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 34 - 2025-06-27 08:07:56 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46368 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 35 - 2025-06-27 08:07:56 [0.2ms] */
select * from `party` where `party`.`id` = 37646 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 36 - 2025-06-27 08:07:56 [0.21ms] */
select * from `person` where `person`.`id` = 37646 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 37 - 2025-06-27 08:07:56 [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 38 - 2025-06-27 08:07:56 [0.14ms] */
select * from `party` where `party`.`id` = 37646 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 39 - 2025-06-27 08:07:56 [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 40 - 2025-06-27 08:07:56 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 41 - 2025-06-27 08:07:56 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 64806 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 42 - 2025-06-27 08:07:56 [0.2ms] */
select * from `party` where `party`.`id` = 42209 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 43 - 2025-06-27 08:07:56 [0.24ms] */
select * from `person` where `person`.`id` = 42209 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 44 - 2025-06-27 08:07:56 [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 45 - 2025-06-27 08:07:56 [0.13ms] */
select * from `party` where `party`.`id` = 42209 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 46 - 2025-06-27 08:07:56 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 47 - 2025-06-27 08:07:56 [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 48 - 2025-06-27 08:07:56 [0.12ms] */
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 49 - 2025-06-27 08:07:56 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 74096 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 50 - 2025-06-27 08:07:56 [0.22ms] */
select * from `party` where `party`.`id` = 48218 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-06-27 08:07:56 [0.23ms] */
select * from `person` where `person`.`id` = 48218 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 52 - 2025-06-27 08:07:56 [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 53 - 2025-06-27 08:07:56 [0.14ms] */
select * from `party` where `party`.`id` = 48218 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 54 - 2025-06-27 08:07:56 [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 55 - 2025-06-27 08:07:56 [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 56 - 2025-06-27 08:07:56 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 64947 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-06-27 08:07:56 [0.22ms] */
select * from `party` where `party`.`id` = 34280 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-06-27 08:07:56 [0.22ms] */
select * from `person` where `person`.`id` = 34280 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 59 - 2025-06-27 08:07:56 [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 60 - 2025-06-27 08:07:56 [0.14ms] */
select * from `party` where `party`.`id` = 34280 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-06-27 08:07:56 [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 62 - 2025-06-27 08:07:56 [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 63 - 2025-06-27 08:07:56 [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 64 - 2025-06-27 08:07:56 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 64849 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-06-27 08:07:56 [0.19ms] */
select * from `party` where `party`.`id` = 39293 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-06-27 08:07:56 [0.22ms] */
select * from `person` where `person`.`id` = 39293 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 67 - 2025-06-27 08:07:56 [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 68 - 2025-06-27 08:07:56 [0.14ms] */
select * from `party` where `party`.`id` = 39293 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-06-27 08:07:56 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 9 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-06-27 08:07:56 [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 71 - 2025-06-27 08:07:56 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 64798 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-06-27 08:07:56 [0.2ms] */
select * from `party` where `party`.`id` = 57409 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-06-27 08:07:56 [0.19ms] */
select * from `company` where `company`.`id` = 1696 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 74 - 2025-06-27 08:07:56 [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 75 - 2025-06-27 08:07:56 [0.16ms] */
select * from `party` where `party`.`id` = 57409 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-06-27 08:07:56 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 8 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-06-27 08:07:56 [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 78 - 2025-06-27 08:07:56 [0.23ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 27659 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-06-27 08:07:56 [0.19ms] */
select * from `party` where `party`.`id` = 18257 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-06-27 08:07:56 [0.21ms] */
select * from `person` where `person`.`id` = 18257 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 81 - 2025-06-27 08:07:56 [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 82 - 2025-06-27 08:07:56 [0.16ms] */
select * from `party` where `party`.`id` = 18257 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-06-27 08:07:56 [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 84 - 2025-06-27 08:07:56 [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 85 - 2025-06-27 08:07:56 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46354 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-06-27 08:07:56 [0.2ms] */
select * from `party` where `party`.`id` = 37291 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-06-27 08:07:56 [0.21ms] */
select * from `person` where `person`.`id` = 37291 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 88 - 2025-06-27 08:07:56 [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-06-27 08:07:56 [0.14ms] */
select * from `party` where `party`.`id` = 37291 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-06-27 08:07:56 [2.18ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-06-27 08:07:56 [0.75ms] */
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-06-27 08:07:56 [0.42ms] */
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-06-27 08:07:56 [0.39ms] */
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-06-27 08:07:56 [0.22ms] */
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-06-27 08:07:56 [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-06-27 08:07:56 [141.11ms] */
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 '%Uc%' or `vin` like '%Uc%') 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-06-27 08:07:56 [11.92ms] */
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 '%Uc%' or `vin` like '%Uc%') 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-06-27 08:07:56 [0.3ms] */
select * from `model` where `model`.`id` in (1, 1352, 1396, 1527, 1529, 1531) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-06-27 08:07:56 [0.2ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 2, 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-06-27 08:07:56 [0.21ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1, 6, 26, 37, 43, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-06-27 08:07:56 [0.19ms] */
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-06-27 08:07:56 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 3, 4) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-06-27 08:07:56 [0.4ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (37048, 40038, 46048, 46069, 47670, 51350, 53169, 60884, 63659, 64947) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-06-27 08:07:56 [0.14ms] */
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 16 - 2025-06-27 08:07:56 [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): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-06-27 08:07:56 [0.13ms] */
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-06-27 08:07:56 [0.14ms] */
select * from `party` where `party`.`id` = 34280 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 19 - 2025-06-27 08:07:56 [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 20 - 2025-06-27 08:07:56 [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 21 - 2025-06-27 08:07:56 [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 22 - 2025-06-27 08:07:56 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 47670 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 23 - 2025-06-27 08:07:56 [0.22ms] */
select * from `party` where `party`.`id` = 38249 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 24 - 2025-06-27 08:07:56 [0.26ms] */
select * from `person` where `person`.`id` = 38249 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 25 - 2025-06-27 08:07:56 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 26 - 2025-06-27 08:07:56 [0.15ms] */
select * from `party` where `party`.`id` = 38249 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-06-27 08:07:56 [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 28 - 2025-06-27 08:07:56 [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-06-27 08:07:56 [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 30 - 2025-06-27 08:07:56 [0.24ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 51350 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 31 - 2025-06-27 08:07:56 [0.22ms] */
select * from `party` where `party`.`id` = 39881 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 32 - 2025-06-27 08:07:56 [0.23ms] */
select * from `person` where `person`.`id` = 39881 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 33 - 2025-06-27 08:07:56 [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 34 - 2025-06-27 08:07:56 [0.14ms] */
select * from `party` where `party`.`id` = 39881 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-06-27 08:07:56 [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 36 - 2025-06-27 08:07:56 [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 37 - 2025-06-27 08:07:56 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 53169 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 38 - 2025-06-27 08:07:56 [0.2ms] */
select * from `party` where `party`.`id` = 37585 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 39 - 2025-06-27 08:07:56 [0.22ms] */
select * from `person` where `person`.`id` = 37585 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 40 - 2025-06-27 08:07:56 [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 41 - 2025-06-27 08:07:56 [0.15ms] */
select * from `party` where `party`.`id` = 37585 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-06-27 08:07:56 [0.19ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 43 - 2025-06-27 08:07:56 [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 44 - 2025-06-27 08:07:56 [0.2ms] */
select * from `make` where `make`.`id` = 78 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 45 - 2025-06-27 08:07:56 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 37048 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 46 - 2025-06-27 08:07:56 [0.2ms] */
select * from `party` where `party`.`id` = 25555 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 47 - 2025-06-27 08:07:56 [0.21ms] */
select * from `person` where `person`.`id` = 25555 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 48 - 2025-06-27 08:07:56 [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 49 - 2025-06-27 08:07:56 [0.14ms] */
select * from `party` where `party`.`id` = 25555 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-06-27 08:07:56 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 51 - 2025-06-27 08:07:56 [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-06-27 08:07:56 [0.18ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 53 - 2025-06-27 08:07:56 [0.34ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 60884 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-06-27 08:07:56 [0.26ms] */
select * from `party` where `party`.`id` = 35142 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-06-27 08:07:56 [0.26ms] */
select * from `person` where `person`.`id` = 35142 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 56 - 2025-06-27 08:07:56 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 57 - 2025-06-27 08:07:56 [0.16ms] */
select * from `party` where `party`.`id` = 35142 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-06-27 08:07:56 [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 59 - 2025-06-27 08:07:56 [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 60 - 2025-06-27 08:07:56 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 63659 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-06-27 08:07:56 [0.22ms] */
select * from `party` where `party`.`id` = 38161 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-06-27 08:07:56 [0.27ms] */
select * from `person` where `person`.`id` = 38161 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 63 - 2025-06-27 08:07:56 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 64 - 2025-06-27 08:07:56 [0.17ms] */
select * from `party` where `party`.`id` = 38161 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-06-27 08:07:56 [0.16ms] */
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-06-27 08:07:56 [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 67 - 2025-06-27 08:07:56 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 40038 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-06-27 08:07:56 [0.24ms] */
select * from `party` where `party`.`id` = 30197 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-06-27 08:07:56 [0.29ms] */
select * from `person` where `person`.`id` = 30197 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 70 - 2025-06-27 08:07:56 [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 71 - 2025-06-27 08:07:56 [0.16ms] */
select * from `party` where `party`.`id` = 30197 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-06-27 08:07:56 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 3 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-06-27 08:07:56 [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): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 74 - 2025-06-27 08:07:56 [0.14ms] */
select * from `make` where `make`.`id` = 77 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 75 - 2025-06-27 08:07:56 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46069 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 76 - 2025-06-27 08:07:56 [0.24ms] */
select * from `party` where `party`.`id` = 36958 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 77 - 2025-06-27 08:07:56 [0.26ms] */
select * from `person` where `person`.`id` = 36958 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 78 - 2025-06-27 08:07:56 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 79 - 2025-06-27 08:07:56 [0.19ms] */
select * from `party` where `party`.`id` = 36958 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-06-27 08:07:56 [0.16ms] */
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 81 - 2025-06-27 08:07:56 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 82 - 2025-06-27 08:07:56 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46048 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 83 - 2025-06-27 08:07:56 [0.23ms] */
select * from `party` where `party`.`id` = 36944 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 84 - 2025-06-27 08:07:56 [0.35ms] */
select * from `person` where `person`.`id` = 36944 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 85 - 2025-06-27 08:07:56 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 86 - 2025-06-27 08:07:56 [0.17ms] */
select * from `party` where `party`.`id` = 36944 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-06-27 08:07:57 [2.07ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-06-27 08:07:57 [0.74ms] */
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-06-27 08:07:57 [0.61ms] */
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-06-27 08:07:57 [0.4ms] */
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-06-27 08:07:57 [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-06-27 08:07:57 [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-06-27 08:07:57 [139.7ms] */
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 '%Uc24%' or `vin` like '%Uc24%') 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-06-27 08:07:57 [165.87ms] */
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 '%Uc24%' or `vin` like '%Uc24%') 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-06-27 08:07:57 [0.34ms] */
select * from `model` where `model`.`id` in (1, 1440) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-06-27 08:07:57 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1, 13) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-06-27 08:07:57 [0.14ms] */
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-06-27 08:07:57 [0.19ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1, 2) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-06-27 08:07:57 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 7) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-06-27 08:07:57 [0.34ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (42200, 43404, 53169) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-06-27 08:07:57 [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-06-27 08:07:57 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-06-27 08:07:57 [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-06-27 08:07:57 [0.14ms] */
select * from `party` where `party`.`id` = 37585 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 19 - 2025-06-27 08:07:57 [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 20 - 2025-06-27 08:07:57 [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 21 - 2025-06-27 08:07:57 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 43404 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 22 - 2025-06-27 08:07:57 [0.41ms] */
select * from `party` where `party`.`id` = 33564 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-06-27 08:07:57 [0.43ms] */
select * from `person` where `person`.`id` = 33564 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 24 - 2025-06-27 08:07:57 [0.23ms] */
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-06-27 08:07:57 [0.25ms] */
select * from `party` where `party`.`id` = 33564 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 26 - 2025-06-27 08:07:57 [0.23ms] */
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 27 - 2025-06-27 08:07:57 [0.22ms] */
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 28 - 2025-06-27 08:07:57 [0.22ms] */
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 29 - 2025-06-27 08:07:57 [0.45ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 42200 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 30 - 2025-06-27 08:07:57 [0.33ms] */
select * from `party` where `party`.`id` = 32342 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 31 - 2025-06-27 08:07:57 [0.33ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 32 - 2025-06-27 08:07:57 [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 33 - 2025-06-27 08:07:57 [0.23ms] */
select * from `party` where `party`.`id` = 32342 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-06-27 08:07:58 [1.36ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-06-27 08:07:58 [0.45ms] */
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-06-27 08:07:58 [0.32ms] */
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-06-27 08:07:58 [0.39ms] */
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-06-27 08:07:58 [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-06-27 08:07:58 [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-06-27 08:07:58 [138.97ms] */
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 '%Uc240%' or `vin` like '%Uc240%') 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-06-27 08:07:58 [163.94ms] */
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 '%Uc240%' or `vin` like '%Uc240%') 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-06-27 08:07:58 [0.31ms] */
select * from `model` where `model`.`id` in (1440) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-06-27 08:07:58 [0.17ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (13) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-06-27 08:07:58 [0.18ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-06-27 08:07:58 [0.17ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-06-27 08:07:58 [0.19ms] */
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-06-27 08:07:58 [0.24ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (42200) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-06-27 08:07:58 [0.16ms] */
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-06-27 08:07: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): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-06-27 08:07:58 [0.13ms] */
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-06-27 08:07:58 [0.41ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 1 - 2025-06-27 08:08:02 [1.99ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 2 - 2025-06-27 08:08:02 [0.65ms] */
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/42200
   Query 3 - 2025-06-27 08:08:02 [0.48ms] */
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/42200
   Query 4 - 2025-06-27 08:08:02 [0.39ms] */
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/42200
   Query 5 - 2025-06-27 08:08:02 [0.3ms] */
select * from `vehicle` where `id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 6 - 2025-06-27 08:08:02 [0.28ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 42200 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 7 - 2025-06-27 08:08:02 [0.15ms] */
select * from `vehicle` where `id` = 42200 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 8 - 2025-06-27 08:08:02 [0.15ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 42200 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 9 - 2025-06-27 08:08:02 [0.22ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 10 - 2025-06-27 08:08:02 [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/42200
   Query 11 - 2025-06-27 08:08:02 [0.22ms] */
select * from `model` where `model`.`id` = 1440 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 12 - 2025-06-27 08:08:02 [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/42200
   Query 13 - 2025-06-27 08:08:02 [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/42200
   Query 14 - 2025-06-27 08:08:02 [0.25ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 42200 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 15 - 2025-06-27 08:08:02 [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/42200
   Query 16 - 2025-06-27 08:08:02 [0.19ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 13 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 17 - 2025-06-27 08:08:02 [0.19ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 50 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 18 - 2025-06-27 08:08:02 [0.18ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 19 - 2025-06-27 08:08:02 [0.27ms] */
select * from `party_vehicle` where `vehicle_id` = 42200 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 20 - 2025-06-27 08:08:02 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 21 - 2025-06-27 08:08:02 [0.13ms] */
select * from `model` where `model`.`id` = 1440 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 22 - 2025-06-27 08:08:02 [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/42200
   Query 23 - 2025-06-27 08:08:02 [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/42200
   Query 24 - 2025-06-27 08:08:02 [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/42200
   Query 25 - 2025-06-27 08:08:02 [0.15ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 26 - 2025-06-27 08:08:02 [0.16ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 27 - 2025-06-27 08:08:02 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 85798 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 28 - 2025-06-27 08:08:02 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 29 - 2025-06-27 08:08:02 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 30 - 2025-06-27 08:08:02 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 31 - 2025-06-27 08:08:02 [0.13ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 32 - 2025-06-27 08:08:02 [0.67ms] */
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` = 42200 and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 33 - 2025-06-27 08:08:02 [0.19ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 34 - 2025-06-27 08:08:02 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 35 - 2025-06-27 08:08:02 [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/42200
   Query 36 - 2025-06-27 08:08:02 [0.2ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 37 - 2025-06-27 08:08:02 [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/42200
   Query 38 - 2025-06-27 08:08:02 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 91325 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 39 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 40 - 2025-06-27 08:08:02 [0.14ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 41 - 2025-06-27 08:08:02 [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/42200
   Query 42 - 2025-06-27 08:08:02 [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/42200
   Query 43 - 2025-06-27 08:08:02 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 44 - 2025-06-27 08:08:02 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 45 - 2025-06-27 08:08:02 [0.17ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 46 - 2025-06-27 08:08:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 47 - 2025-06-27 08:08:02 [0.12ms] */
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/42200
   Query 48 - 2025-06-27 08:08:02 [0.13ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 49 - 2025-06-27 08:08:02 [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/42200
   Query 50 - 2025-06-27 08:08:02 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 289931 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 51 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 52 - 2025-06-27 08:08:02 [0.14ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 53 - 2025-06-27 08:08:02 [0.19ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 54 - 2025-06-27 08:08:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 55 - 2025-06-27 08:08:02 [0.12ms] */
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/42200
   Query 56 - 2025-06-27 08:08:02 [0.19ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 57 - 2025-06-27 08:08:02 [0.26ms] */
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/42200
   Query 58 - 2025-06-27 08:08:02 [0.43ms] */
select * from `transaction` where `transaction`.`id` = 289932 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 59 - 2025-06-27 08:08:02 [0.27ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 60 - 2025-06-27 08:08:02 [0.3ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 61 - 2025-06-27 08:08:02 [0.34ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 62 - 2025-06-27 08:08:02 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 63 - 2025-06-27 08:08:02 [0.26ms] */
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/42200
   Query 64 - 2025-06-27 08:08:02 [0.26ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 65 - 2025-06-27 08:08:02 [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/42200
   Query 66 - 2025-06-27 08:08:02 [0.39ms] */
select * from `transaction` where `transaction`.`id` = 289933 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 67 - 2025-06-27 08:08:02 [0.21ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 68 - 2025-06-27 08:08:02 [0.22ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 69 - 2025-06-27 08:08:02 [0.28ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 70 - 2025-06-27 08:08:02 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 71 - 2025-06-27 08:08:02 [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/42200
   Query 72 - 2025-06-27 08:08:02 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 73 - 2025-06-27 08:08:02 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 74 - 2025-06-27 08:08:02 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 289934 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 75 - 2025-06-27 08:08:02 [0.21ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 76 - 2025-06-27 08:08:02 [0.22ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 77 - 2025-06-27 08:08:02 [0.29ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 78 - 2025-06-27 08:08:02 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 79 - 2025-06-27 08:08:02 [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/42200
   Query 80 - 2025-06-27 08:08:02 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 81 - 2025-06-27 08:08:02 [0.2ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 82 - 2025-06-27 08:08:02 [0.35ms] */
select * from `transaction` where `transaction`.`id` = 289935 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 83 - 2025-06-27 08:08:02 [0.21ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 84 - 2025-06-27 08:08:02 [0.22ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 85 - 2025-06-27 08:08:02 [0.28ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 86 - 2025-06-27 08:08:02 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 87 - 2025-06-27 08:08:02 [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/42200
   Query 88 - 2025-06-27 08:08:02 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 89 - 2025-06-27 08:08:02 [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/42200
   Query 90 - 2025-06-27 08:08:02 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 289936 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 91 - 2025-06-27 08:08:02 [0.13ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 92 - 2025-06-27 08:08:02 [0.14ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 93 - 2025-06-27 08:08:02 [0.18ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 94 - 2025-06-27 08:08:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 95 - 2025-06-27 08:08:02 [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/42200
   Query 96 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 97 - 2025-06-27 08:08:02 [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/42200
   Query 98 - 2025-06-27 08:08:02 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 289937 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 99 - 2025-06-27 08:08:02 [0.13ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 100 - 2025-06-27 08:08:02 [0.18ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 101 - 2025-06-27 08:08:02 [0.18ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 102 - 2025-06-27 08:08:02 [0.21ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 626014 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/42200
   Query 103 - 2025-06-27 08:08:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 104 - 2025-06-27 08:08:02 [0.12ms] */
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/42200
   Query 105 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 106 - 2025-06-27 08:08:02 [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/42200
   Query 107 - 2025-06-27 08:08:02 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 435735 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 108 - 2025-06-27 08:08:02 [0.13ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 109 - 2025-06-27 08:08:02 [0.16ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 110 - 2025-06-27 08:08:02 [0.19ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 111 - 2025-06-27 08:08:02 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 112 - 2025-06-27 08:08:02 [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/42200
   Query 113 - 2025-06-27 08:08:02 [0.21ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 114 - 2025-06-27 08:08:02 [0.19ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 115 - 2025-06-27 08:08:02 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 435736 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 116 - 2025-06-27 08:08:02 [0.21ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 117 - 2025-06-27 08:08:02 [0.23ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 118 - 2025-06-27 08:08:02 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 119 - 2025-06-27 08:08:02 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 120 - 2025-06-27 08:08:02 [0.2ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 121 - 2025-06-27 08:08:02 [0.19ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 122 - 2025-06-27 08:08:02 [0.27ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 123 - 2025-06-27 08:08:02 [0.22ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 124 - 2025-06-27 08:08:02 [0.19ms] */
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/42200
   Query 125 - 2025-06-27 08:08:02 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 126 - 2025-06-27 08:08:02 [0.18ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 127 - 2025-06-27 08:08:02 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 435737 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 128 - 2025-06-27 08:08:02 [0.13ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 129 - 2025-06-27 08:08:02 [0.14ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 130 - 2025-06-27 08:08:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 131 - 2025-06-27 08:08:02 [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/42200
   Query 132 - 2025-06-27 08:08:02 [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/m/vehicle/42200
   Query 133 - 2025-06-27 08:08:02 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 134 - 2025-06-27 08:08:02 [0.21ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 135 - 2025-06-27 08:08:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 136 - 2025-06-27 08:08:02 [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/42200
   Query 137 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 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/42200
   Query 138 - 2025-06-27 08:08:02 [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/42200
   Query 139 - 2025-06-27 08:08:02 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 435738 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 140 - 2025-06-27 08:08:02 [0.13ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 141 - 2025-06-27 08:08:02 [0.14ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 142 - 2025-06-27 08:08:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 143 - 2025-06-27 08:08:02 [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/42200
   Query 144 - 2025-06-27 08:08:02 [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/m/vehicle/42200
   Query 145 - 2025-06-27 08:08:02 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 146 - 2025-06-27 08:08:02 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 147 - 2025-06-27 08:08:02 [0.42ms] */
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/42200
   Query 148 - 2025-06-27 08:08:02 [0.28ms] */
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` = 16 and `model_has_roles`.`model_type` = 'App\Models\User' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 149 - 2025-06-27 08:08:02 [0.41ms] */
select count(*) as aggregate from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 42200 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 150 - 2025-06-27 08:08:02 [0.37ms] */
select `transaction`.* from `transaction` inner join `service` on `service`.`id` = `transaction`.`service_id` where `transaction`.`vehicle_id` = 42200 and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 151 - 2025-06-27 08:08:02 [0.14ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 152 - 2025-06-27 08:08:02 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 153 - 2025-06-27 08:08:02 [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/42200
   Query 154 - 2025-06-27 08:08:02 [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/42200
   Query 155 - 2025-06-27 08:08:02 [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/m/vehicle/42200
   Query 156 - 2025-06-27 08:08:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 157 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 158 - 2025-06-27 08:08:02 [0.17ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 159 - 2025-06-27 08:08:02 [0.22ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 160 - 2025-06-27 08:08:02 [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/42200
   Query 161 - 2025-06-27 08:08:02 [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/42200
   Query 162 - 2025-06-27 08:08:02 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 163 - 2025-06-27 08:08:02 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 164 - 2025-06-27 08:08:02 [0.41ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 488085 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/m/vehicle/42200
   Query 165 - 2025-06-27 08:08:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 166 - 2025-06-27 08:08:02 [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/42200
   Query 167 - 2025-06-27 08:08:02 [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/m/vehicle/42200
   Query 168 - 2025-06-27 08:08:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 169 - 2025-06-27 08:08:02 [0.13ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 170 - 2025-06-27 08:08:02 [0.14ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 171 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 172 - 2025-06-27 08:08:02 [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/42200
   Query 173 - 2025-06-27 08:08:02 [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/42200
   Query 174 - 2025-06-27 08:08:02 [0.14ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 175 - 2025-06-27 08:08:02 [0.27ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 435736 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/m/vehicle/42200
   Query 176 - 2025-06-27 08:08:02 [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/42200
   Query 177 - 2025-06-27 08:08:02 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 178 - 2025-06-27 08:08:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 179 - 2025-06-27 08:08:02 [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/42200
   Query 180 - 2025-06-27 08:08:02 [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/m/vehicle/42200
   Query 181 - 2025-06-27 08:08:02 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 182 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 183 - 2025-06-27 08:08:02 [0.14ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 184 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 185 - 2025-06-27 08:08:02 [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/42200
   Query 186 - 2025-06-27 08:08:02 [0.12ms] */
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/42200
   Query 187 - 2025-06-27 08:08:02 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 188 - 2025-06-27 08:08:02 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 435737 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/m/vehicle/42200
   Query 189 - 2025-06-27 08:08:02 [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/m/vehicle/42200
   Query 190 - 2025-06-27 08:08:02 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 191 - 2025-06-27 08:08:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 192 - 2025-06-27 08:08:02 [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/42200
   Query 193 - 2025-06-27 08:08:02 [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/m/vehicle/42200
   Query 194 - 2025-06-27 08:08:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 195 - 2025-06-27 08:08:02 [0.13ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 196 - 2025-06-27 08:08:02 [0.14ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 197 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 198 - 2025-06-27 08:08:02 [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/42200
   Query 199 - 2025-06-27 08:08:02 [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/42200
   Query 200 - 2025-06-27 08:08:02 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 201 - 2025-06-27 08:08:02 [0.23ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 435738 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/m/vehicle/42200
   Query 202 - 2025-06-27 08:08:02 [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/42200
   Query 203 - 2025-06-27 08:08:02 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 204 - 2025-06-27 08:08:02 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 7 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 205 - 2025-06-27 08:08:02 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 206 - 2025-06-27 08:08:02 [0.12ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 207 - 2025-06-27 08:08:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 208 - 2025-06-27 08:08:02 [0.13ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 209 - 2025-06-27 08:08:02 [0.14ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 210 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 211 - 2025-06-27 08:08:02 [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/42200
   Query 212 - 2025-06-27 08:08:02 [0.12ms] */
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/42200
   Query 213 - 2025-06-27 08:08:02 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 214 - 2025-06-27 08:08:02 [0.3ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 289900 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/m/vehicle/42200
   Query 215 - 2025-06-27 08:08:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 216 - 2025-06-27 08:08:02 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 217 - 2025-06-27 08:08:02 [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/m/vehicle/42200
   Query 218 - 2025-06-27 08:08:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 219 - 2025-06-27 08:08:02 [0.13ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 220 - 2025-06-27 08:08:02 [0.15ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 221 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 222 - 2025-06-27 08:08:02 [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/42200
   Query 223 - 2025-06-27 08:08:02 [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/42200
   Query 224 - 2025-06-27 08:08:02 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 225 - 2025-06-27 08:08:02 [0.15ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 226 - 2025-06-27 08:08:02 [0.29ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 91325 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/m/vehicle/42200
   Query 227 - 2025-06-27 08:08:02 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 228 - 2025-06-27 08:08:02 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 229 - 2025-06-27 08:08:02 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 230 - 2025-06-27 08:08:02 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 231 - 2025-06-27 08:08:02 [0.13ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 232 - 2025-06-27 08:08:02 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 42200 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 233 - 2025-06-27 08:08:02 [0.13ms] */
select * from `party` where `party`.`id` = 32342 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 234 - 2025-06-27 08:08:02 [0.15ms] */
select * from `person` where `person`.`id` = 32342 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 235 - 2025-06-27 08:08:02 [0.14ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 85798 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 236 - 2025-06-27 08:08:02 [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/42200
   Query 237 - 2025-06-27 08:08:02 [0.12ms] */
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/42200
   Query 238 - 2025-06-27 08:08:02 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 239 - 2025-06-27 08:08:02 [0.14ms] */
select * from `users` where `users`.`id` = 1 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 240 - 2025-06-27 08:08:02 [0.25ms] */
select * from `transaction_workflow` where `transaction_workflow`.`transaction_id` = 85798 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/m/vehicle/42200
   Query 241 - 2025-06-27 08:08:02 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 242 - 2025-06-27 08:08:02 [0.12ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 243 - 2025-06-27 08:08:02 [0.24ms] */
select * from `license_plate_number_change_history` where `vehicle_id` = 42200 and `license_plate_number_change_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 244 - 2025-06-27 08:08:02 [0.24ms] */
select * from `title_reprint_history` where `vehicle_id` = 42200 and `title_reprint_history`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 245 - 2025-06-27 08:08:02 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle/42200
   Query 246 - 2025-06-27 08:08:02 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=42200&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 1 - 2025-06-27 08:08:03 [1.46ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/audit-details?audit_ids=42200&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 2 - 2025-06-27 08:08:03 [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=42200&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 3 - 2025-06-27 08:08:03 [0.33ms] */
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=42200&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 4 - 2025-06-27 08:08:03 [0.41ms] */
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=42200&model=Modules%5CVehicle%5CEntities%5CVehicle
   Query 5 - 2025-06-27 08:08:03 [0.6ms] */
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 = 42200 and a.auditable_type = 'Modules\\Vehicle\\Entities\\Vehicle' ORDER BY a.id DESC
                    ;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/488085
   Query 1 - 2025-06-27 08:08:12 [2.1ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/488085
   Query 2 - 2025-06-27 08:08:12 [0.85ms] */
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/w/wkflw/488085
   Query 3 - 2025-06-27 08:08:12 [0.74ms] */
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/w/wkflw/488085
   Query 4 - 2025-06-27 08:08:12 [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/w/wkflw/488085
   Query 5 - 2025-06-27 08:08:12 [0.38ms] */
select * from `transaction` where `transaction`.`id` = 488085 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/488085
   Query 6 - 2025-06-27 08:08:12 [0.3ms] */
select * from `transaction_workflow` where `transaction_id` = 488085 and `transaction_workflow`.`deleted_at` is null order by `action_date` desc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/488085
   Query 7 - 2025-06-27 08:08:12 [0.31ms] */
