/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 7 - 2025-03-25 07:16:06 [210.3ms] */
select DISTINCT payment.id as payment_id, `party`.`id` as `customer_id`, 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 customer_name, `vehicle`.`license_plate`, `payment`.`payment_amount`, `external_payment_reference_no` as `payment_reference_number`, `payment`.`payment_date`, `payment_method`.`name` as `payment_method`, `payment`.`paid_by`, `payment`.`paid_by_mobile` from `payment` left join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` left join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` and `invoice`.`parent` = 'N' left join `transaction` on `transaction`.`invoice_id` = `invoice`.`id` left join `service` on `transaction`.`service_id` = `service`.`id` left join `vehicle` on `transaction`.`vehicle_id` = `vehicle`.`id` left join `party` on `transaction`.`party_id` = `party`.`id` left join `payment_method` on `payment`.`payment_method_id` = `payment_method`.`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 `service`.`name` = 'Tax' and `payment`.`id` = 177375 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-03-25 07:50:01 [254.84ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-25 07:50:01 [768.51ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 7 - 2025-03-25 07:50:19 [173.87ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 07:50:27 [125.91ms] */
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 '%M3996%' or `vin` like '%M3996%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 07:50:27 [157.45ms] */
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 '%M3996%' or `vin` like '%M3996%') 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): GET https://testtra.puntlandgov.org/w/wkflw
   Query 8 - 2025-03-25 07:52:43 [185.21ms] */
select count(*) as aggregate from `transaction` where `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-03-25 07:54:03 [536.45ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:54:02') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-03-25 07:54:03 [496.99ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:54:02') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-03-25 07:54:08 [523.8ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:54:07') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%m%' or `vin` like '%m%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-03-25 07:54:08 [484.99ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:54:07') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%m%' or `vin` like '%m%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-03-25 07:54:09 [475.17ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:54:09') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%m399%' or `vin` like '%m399%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-03-25 07:54:10 [491.86ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:54:09') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%m399%' or `vin` like '%m399%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-03-25 07:54:22 [483.89ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:54:21') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%m3996%' or `vin` like '%m3996%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-03-25 07:54:25 [493.1ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:54:25') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%m399%' or `vin` like '%m399%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-03-25 07:54:26 [490.07ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:54:25') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%m399%' or `vin` like '%m399%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/trns
   Query 5 - 2025-03-25 07:54:46 [212.43ms] */
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://testtra.puntlandgov.org/m/trns
   Query 6 - 2025-03-25 07:54:46 [229.36ms] */
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://testtra.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 5 - 2025-03-25 07:54:51 [231.05ms] */
select count(*) as aggregate from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `vehicle`.`license_plate` like '%m%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-03-25 07:54:51 [273.8ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `vehicle`.`license_plate` like '%m%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-03-25 07:56:48 [641.33ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:56:47') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-03-25 07:56:48 [519.58ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:56:47') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-03-25 07:56:53 [539.13ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:56:53') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%LN726%' or `vin` like '%LN726%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-03-25 07:57:03 [503.68ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 07:57:02') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and (`license_plate` like '%VE138%' or `vin` like '%VE138%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 08:00:28 [155.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 '%OC122%' or `vin` like '%OC122%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 08:00:28 [155.88ms] */
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 '%OC122%' or `vin` like '%OC122%') 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://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 08:01:29 [125.52ms] */
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 '%m%' or `vin` like '%m%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 08:01:30 [126.69ms] */
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 '%m3%' or `vin` like '%m3%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 08:01:31 [128.93ms] */
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 '%m399%' or `vin` like '%m399%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 08:01:31 [153.75ms] */
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 '%m399%' or `vin` like '%m399%') 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://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 08:01:31 [134.02ms] */
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 '%m3996%' or `vin` like '%m3996%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 08:01:32 [166.74ms] */
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 '%m3996%' or `vin` like '%m3996%') 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): GET https://testtra.puntlandgov.org/w/wkflw/510484
   Query 16 - 2025-03-25 08:02:34 [239.13ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:03:39 [132.3ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%0%' or `second_name` like '%0%' or `third_name` like '%0%' or `fourth_name` like '%0%' or `phone_number_1` like '%0%' or `phone_number_2` like '%0%' or `customer_identity_documents`.`id_number` like '%0%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:03:39 [286.71ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%0%' or `second_name` like '%0%' or `third_name` like '%0%' or `fourth_name` like '%0%' or `phone_number_1` like '%0%' or `phone_number_2` like '%0%' or `customer_identity_documents`.`id_number` like '%0%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:03:40 [120.89ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%09%' or `second_name` like '%09%' or `third_name` like '%09%' or `fourth_name` like '%09%' or `phone_number_1` like '%09%' or `phone_number_2` like '%09%' or `customer_identity_documents`.`id_number` like '%09%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:03:40 [195.63ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%09%' or `second_name` like '%09%' or `third_name` like '%09%' or `fourth_name` like '%09%' or `phone_number_1` like '%09%' or `phone_number_2` like '%09%' or `customer_identity_documents`.`id_number` like '%09%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:03:41 [120.88ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%090%' or `second_name` like '%090%' or `third_name` like '%090%' or `fourth_name` like '%090%' or `phone_number_1` like '%090%' or `phone_number_2` like '%090%' or `customer_identity_documents`.`id_number` like '%090%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:03:41 [182.52ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%090%' or `second_name` like '%090%' or `third_name` like '%090%' or `fourth_name` like '%090%' or `phone_number_1` like '%090%' or `phone_number_2` like '%090%' or `customer_identity_documents`.`id_number` like '%090%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:03:42 [122.76ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%09079%' or `second_name` like '%09079%' or `third_name` like '%09079%' or `fourth_name` like '%09079%' or `phone_number_1` like '%09079%' or `phone_number_2` like '%09079%' or `customer_identity_documents`.`id_number` like '%09079%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:03:42 [156.68ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%09079%' or `second_name` like '%09079%' or `third_name` like '%09079%' or `fourth_name` like '%09079%' or `phone_number_1` like '%09079%' or `phone_number_2` like '%09079%' or `customer_identity_documents`.`id_number` like '%09079%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:03:44 [133.25ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%090794%' or `second_name` like '%090794%' or `third_name` like '%090794%' or `fourth_name` like '%090794%' or `phone_number_1` like '%090794%' or `phone_number_2` like '%090794%' or `customer_identity_documents`.`id_number` like '%090794%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:03:44 [155.83ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%090794%' or `second_name` like '%090794%' or `third_name` like '%090794%' or `fourth_name` like '%090794%' or `phone_number_1` like '%090794%' or `phone_number_2` like '%090794%' or `customer_identity_documents`.`id_number` like '%090794%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:03:45 [124.73ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%09079479%' or `second_name` like '%09079479%' or `third_name` like '%09079479%' or `fourth_name` like '%09079479%' or `phone_number_1` like '%09079479%' or `phone_number_2` like '%09079479%' or `customer_identity_documents`.`id_number` like '%09079479%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:03:45 [157.34ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%09079479%' or `second_name` like '%09079479%' or `third_name` like '%09079479%' or `fourth_name` like '%09079479%' or `phone_number_1` like '%09079479%' or `phone_number_2` like '%09079479%' or `customer_identity_documents`.`id_number` like '%09079479%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:03:45 [125.02ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%090794794%' or `second_name` like '%090794794%' or `third_name` like '%090794794%' or `fourth_name` like '%090794794%' or `phone_number_1` like '%090794794%' or `phone_number_2` like '%090794794%' or `customer_identity_documents`.`id_number` like '%090794794%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:03:45 [159.19ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%090794794%' or `second_name` like '%090794794%' or `third_name` like '%090794794%' or `fourth_name` like '%090794794%' or `phone_number_1` like '%090794794%' or `phone_number_2` like '%090794794%' or `customer_identity_documents`.`id_number` like '%090794794%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:03:46 [123.55ms] */
select count(*) as aggregate from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%0907947944%' or `second_name` like '%0907947944%' or `third_name` like '%0907947944%' or `fourth_name` like '%0907947944%' or `phone_number_1` like '%0907947944%' or `phone_number_2` like '%0907947944%' or `customer_identity_documents`.`id_number` like '%0907947944%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:03:46 [157.7ms] */
select `person`.* from `person` inner join `party` on `party`.`partyable_id` = `person`.`id` and `party`.`partyable_type` = 'Person' left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (((`first_name` like '%0907947944%' or `second_name` like '%0907947944%' or `third_name` like '%0907947944%' or `fourth_name` like '%0907947944%' or `phone_number_1` like '%0907947944%' or `phone_number_2` like '%0907947944%' or `customer_identity_documents`.`id_number` like '%0907947944%')) and `provisional` = 'N') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:06:45 [143.15ms] */
select count(*) as aggregate from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%0%' or `phone_number_1` like '%0%' or `phone_number_2` like '%0%' or `customer_identity_documents`.`id_number` like '%0%') and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:06:45 [150.9ms] */
select `company`.* from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%0%' or `phone_number_1` like '%0%' or `phone_number_2` like '%0%' or `customer_identity_documents`.`id_number` like '%0%') and `company`.`deleted_at` is null order by `phone_number_1` asc, `phone_number_2` asc limit 10 offset 70;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:06:46 [139.02ms] */
select count(*) as aggregate from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%090%' or `phone_number_1` like '%090%' or `phone_number_2` like '%090%' or `customer_identity_documents`.`id_number` like '%090%') and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:06:46 [140.13ms] */
select `company`.* from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%090%' or `phone_number_1` like '%090%' or `phone_number_2` like '%090%' or `customer_identity_documents`.`id_number` like '%090%') and `company`.`deleted_at` is null order by `phone_number_1` asc, `phone_number_2` asc limit 10 offset 70;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:06:47 [139.82ms] */
select count(*) as aggregate from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%09079%' or `phone_number_1` like '%09079%' or `phone_number_2` like '%09079%' or `customer_identity_documents`.`id_number` like '%09079%') and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:06:47 [139.08ms] */
select `company`.* from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%09079%' or `phone_number_1` like '%09079%' or `phone_number_2` like '%09079%' or `customer_identity_documents`.`id_number` like '%09079%') and `company`.`deleted_at` is null order by `phone_number_1` asc, `phone_number_2` asc limit 10 offset 70;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:06:50 [138.5ms] */
select count(*) as aggregate from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%090797%' or `phone_number_1` like '%090797%' or `phone_number_2` like '%090797%' or `customer_identity_documents`.`id_number` like '%090797%') and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:06:56 [138.23ms] */
select count(*) as aggregate from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%090794%' or `phone_number_1` like '%090794%' or `phone_number_2` like '%090794%' or `customer_identity_documents`.`id_number` like '%090794%') and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:06:57 [139.31ms] */
select `company`.* from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%090794%' or `phone_number_1` like '%090794%' or `phone_number_2` like '%090794%' or `customer_identity_documents`.`id_number` like '%090794%') and `company`.`deleted_at` is null order by `phone_number_1` asc, `phone_number_2` asc limit 10 offset 70;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:06:57 [136.62ms] */
select count(*) as aggregate from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%0907947%' or `phone_number_1` like '%0907947%' or `phone_number_2` like '%0907947%' or `customer_identity_documents`.`id_number` like '%0907947%') and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:06:57 [136.79ms] */
select `company`.* from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%0907947%' or `phone_number_1` like '%0907947%' or `phone_number_2` like '%0907947%' or `customer_identity_documents`.`id_number` like '%0907947%') and `company`.`deleted_at` is null order by `phone_number_1` asc, `phone_number_2` asc limit 10 offset 70;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:07:00 [145.01ms] */
select `company`.* from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%0907947%' or `phone_number_1` like '%0907947%' or `phone_number_2` like '%0907947%' or `customer_identity_documents`.`id_number` like '%0907947%') and `company`.`deleted_at` is null order by `phone_number_1` asc, `phone_number_2` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:07:07 [144.04ms] */
select `company`.* from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%09079%' or `phone_number_1` like '%09079%' or `phone_number_2` like '%09079%' or `customer_identity_documents`.`id_number` like '%09079%') and `company`.`deleted_at` is null order by `phone_number_1` asc, `phone_number_2` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:07:08 [140.04ms] */
select `company`.* from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%090%' or `phone_number_1` like '%090%' or `phone_number_2` like '%090%' or `customer_identity_documents`.`id_number` like '%090%') and `company`.`deleted_at` is null order by `phone_number_1` asc, `phone_number_2` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:07:13 [137.59ms] */
select count(*) as aggregate from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%0907%' or `phone_number_1` like '%0907%' or `phone_number_2` like '%0907%' or `customer_identity_documents`.`id_number` like '%0907%') and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:07:13 [140.32ms] */
select `company`.* from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%0907%' or `phone_number_1` like '%0907%' or `phone_number_2` like '%0907%' or `customer_identity_documents`.`id_number` like '%0907%') and `company`.`deleted_at` is null order by `phone_number_1` asc, `phone_number_2` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 6 - 2025-03-25 08:07:15 [145.85ms] */
select `company`.* from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%090794%' or `phone_number_1` like '%090794%' or `phone_number_2` like '%090794%' or `customer_identity_documents`.`id_number` like '%090794%') and `company`.`deleted_at` is null order by `phone_number_1` asc, `phone_number_2` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:07:17 [146.43ms] */
select count(*) as aggregate from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%09079479%' or `phone_number_1` like '%09079479%' or `phone_number_2` like '%09079479%' or `customer_identity_documents`.`id_number` like '%09079479%') and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:07:18 [136.47ms] */
select count(*) as aggregate from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%090794794%' or `phone_number_1` like '%090794794%' or `phone_number_2` like '%090794794%' or `customer_identity_documents`.`id_number` like '%090794794%') and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.list-party-component
   Query 5 - 2025-03-25 08:07:18 [141.12ms] */
select count(*) as aggregate from `company` inner join `party` on `party`.`partyable_id` = `company`.`id` left join `customer_identity_documents` on `customer_identity_documents`.`party_id` = `party`.`id` where (`party`.`partyable_type` = 'Company' and `company`.`company_name` like '%0907947944%' or `phone_number_1` like '%0907947944%' or `phone_number_2` like '%0907947944%' or `customer_identity_documents`.`id_number` like '%0907947944%') and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 27 - 2025-03-25 08:16:57 [145.51ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payments
   Query 7 - 2025-03-25 09:13:33 [354.17ms] */
select DISTINCT payment.id as payment_id, `party`.`id` as `customer_id`, 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 customer_name, `vehicle`.`license_plate`, `payment`.`payment_amount`, `external_payment_reference_no` as `payment_reference_number`, `payment`.`payment_date`, `payment_method`.`name` as `payment_method`, `payment`.`paid_by`, `payment`.`paid_by_mobile` from `payment` left join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` left join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` and `invoice`.`parent` = 'N' left join `transaction` on `transaction`.`invoice_id` = `invoice`.`id` left join `service` on `transaction`.`service_id` = `service`.`id` left join `vehicle` on `transaction`.`vehicle_id` = `vehicle`.`id` left join `party` on `transaction`.`party_id` = `party`.`id` left join `payment_method` on `payment`.`payment_method_id` = `payment_method`.`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 `service`.`name` = 'Tax' and `payment`.`id` = 177375 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-03-25 09:19:34 [334.38ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-25 09:19:35 [894.76ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-25 09:51:32 [148.86ms] */
select `id` from `transaction` where `parent_id` in (511247) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-03-25 09:54:45 [569.16ms] */
select * from `transaction` where `parent_id` = 511247 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-03-25 09:56:00 [307.85ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 511247 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-03-25 09:56:01 [143.98ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 511247 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-03-25 09:56:01 [146.07ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 511247 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-25 10:03:44 [197.11ms] */
select `id` from `transaction` where `parent_id` in (511248) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-03-25 10:05:04 [577.3ms] */
select * from `transaction` where `parent_id` = 511248 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 9 - 2025-03-25 10:05:10 [112.76ms] */
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-03-24' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-03-25 10:05:11 [272.08ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-25 10:05:11 [832.74ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 7 - 2025-03-25 10:05:16 [203.56ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 10:05:22 [130.54ms] */
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 90;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-03-25 10:05:30 [152.22ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 511248 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-03-25 10:05:30 [128.14ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 511248 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-03-25 10:05:30 [140.1ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 511248 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.view-vehicle-full-component
   Query 27 - 2025-03-25 10:05:51 [168.11ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-03-25 10:06:48 [339.08ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-25 10:06:49 [1037.73ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 10:06:58 [269.92ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%OX125%' or `vin` like '%OX125%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 10:06:58 [157.21ms] */
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 '%OX125%' or `vin` like '%OX125%') 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): GET https://testtra.puntlandgov.org/w/wkflw/296096
   Query 13 - 2025-03-25 10:08:25 [226.7ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-25 10:11:41 [318.76ms] */
select `id` from `transaction` where `parent_id` in (511253) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-03-25 10:13:23 [560.87ms] */
select * from `transaction` where `parent_id` = 511253 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-03-25 10:14:00 [243.68ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 511253 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-03-25 10:14:00 [128.88ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 511253 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-03-25 10:14:00 [128.8ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 511253 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/296096
   Query 13 - 2025-03-25 10:14:05 [413.36ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/296096
   Query 13 - 2025-03-25 10:17:21 [242.63ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw/31565
   Query 20 - 2025-03-25 10:18:25 [239.38ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 10:19:03 [268.35ms] */
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): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-03-25 10:20:13 [495.45ms] */
select * from `transaction` where `parent_id` = 511254 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-03-25 10:20:49 [319.71ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 511254 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-03-25 10:20:50 [205.81ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 511254 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-03-25 10:20:50 [159.36ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 511254 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/cantrans
   Query 5 - 2025-03-25 10:21:08 [319.89ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/cantrans
   Query 6 - 2025-03-25 10:21:08 [202.49ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' 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://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 5 - 2025-03-25 10:21:27 [2403.5ms] */
select count(*) as aggregate from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 6 - 2025-03-25 10:21:30 [2504.26ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 5 - 2025-03-25 10:21:51 [2279.95ms] */
select count(*) as aggregate from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 6 - 2025-03-25 10:21:53 [2268.28ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 40;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 6 - 2025-03-25 10:21:58 [1130.89ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 90;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 6 - 2025-03-25 10:22:04 [963.48ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 120;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 6 - 2025-03-25 10:22:08 [898.24ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 5230;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 6 - 2025-03-25 10:22:17 [899.15ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 5150;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 6 - 2025-03-25 10:22:26 [1046.63ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 5120;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 6 - 2025-03-25 10:22:30 [911.48ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 5090;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 6 - 2025-03-25 10:22:33 [923.33ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 5060;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.cancel-transaction-component
   Query 6 - 2025-03-25 10:22:36 [881.47ms] */
select `transaction`.* from `transaction` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `transaction`.`one_time_tax` <> 'Y' and `status` = 'CANCELED' and `vehicle`.`license_plate` like '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null order by `updated_at` desc, `transaction`.`created_at` desc, `created_at` desc limit 10 offset 10;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 9 - 2025-03-25 10:22:47 [153.58ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (5) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 10 - 2025-03-25 10:22:47 [303.26ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (5) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 5 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-03-25 10:22:50 [568.13ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 10:22:49') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-03-25 10:22:50 [463.2ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 10:22:49') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-25 10:24:01 [168.53ms] */
select `id` from `transaction` where `parent_id` in (511125) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 10:24:30 [153.68ms] */
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 '%XK428%' or `vin` like '%XK428%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 10:24:30 [156.28ms] */
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 '%XK428%' or `vin` like '%XK428%') 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://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-25 10:25:18 [204.18ms] */
select `id` from `transaction` where `parent_id` in (511035) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 7 - 2025-03-25 10:27:47 [266.17ms] */
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): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 10:27:52 [350.16ms] */
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 '%OX125%' or `vin` like '%OX125%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 10:27:52 [313.01ms] */
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 '%OX125%' or `vin` like '%OX125%') 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://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 10:30:03 [155.36ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%BO715%' or `vin` like '%BO715%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 10:30:03 [152.41ms] */
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 '%BO715%' or `vin` like '%BO715%') 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://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-03-25 10:30:14 [381.02ms] */
select * from `transaction` where `parent_id` = 511255 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-03-25 10:31:58 [152.08ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 511255 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-03-25 10:31:58 [125.66ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 511255 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-03-25 10:31:58 [139.68ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 511255 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-03-25 10:33:33 [149.25ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 103 and `name` like '%2025-Q1%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoice
   Query 7 - 2025-03-25 11:15:53 [166.18ms] */
select `invoice`.`invoice_number`, `invoice`.`invoice_date` as `issue_date`, `invoice`.`due_date`, `invoice`.`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 customer_name, CASE
                WHEN party.phone_number_2 IS NOT NULL THEN CONCAT(party.phone_number_1," / ",party.phone_number_2)
                ELSE party.phone_number_1 END as mobile_number, `invoice`.`total_invoice_amount`, `roles`.`name` as `role`, CASE WHEN invoice_payment.id IS NULL THEN "Y" ELSE "N" END as make_payment from `invoice` left join `party` on `invoice`.`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' left join `transaction` on `transaction`.`invoice_id` = `invoice`.`id` left join `workflow_definition` on `transaction`.`current_workflow_state_id` = `workflow_definition`.`id` left join `roles` on `workflow_definition`.`role_id` = `roles`.`id` left join `invoice_payment` on `invoice_payment`.`invoice_id` = `invoice`.`id` where `invoice`.`id` = 486440 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-25 11:31:50 [217.11ms] */
select `id` from `transaction` where `parent_id` in (511207) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-25 11:48:07 [234.34ms] */
select `id` from `transaction` where `parent_id` in (511256) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-03-25 11:54:25 [179.23ms] */
select `id`, `name` from `tax_sticker` where `term_id` = 103 and `name` like '%2025-Q1%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 7 - 2025-03-25 12:02:20 [135.87ms] */
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://testtra.puntlandgov.org
   Query 11 - 2025-03-25 12:03:12 [286.28ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-25 12:03:13 [752.67ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 12:04:22 [185.87ms] */
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 '%I%' or `vin` like '%I%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 12:04:23 [130.19ms] */
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 '%II==%' or `vin` like '%II==%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 12:04:25 [124.79ms] */
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 '%OX%' or `vin` like '%OX%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 12:04:25 [149.6ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%OX%' or `vin` like '%OX%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 220;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 12:04:26 [122.87ms] */
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 '%OX1%' or `vin` like '%OX1%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 12:04:26 [148.07ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%OX1%' or `vin` like '%OX1%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 220;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 12:04:26 [124.2ms] */
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 '%OX12%' or `vin` like '%OX12%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 12:04:26 [148.56ms] */
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 '%OX12%' or `vin` like '%OX12%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 220;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-03-25 12:04:28 [125.14ms] */
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 '%OX125%' or `vin` like '%OX125%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 12:04:28 [148.85ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%OX125%' or `vin` like '%OX125%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 220;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-03-25 12:04:31 [149.73ms] */
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 '%OX125%' or `vin` like '%OX125%') 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): GET https://testtra.puntlandgov.org/w/wkflw/296096
   Query 13 - 2025-03-25 12:06:53 [334.84ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-25 12:15:50 [254.84ms] */
select `id` from `transaction` where `parent_id` in (511257) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-03-25 12:33:52 [244.51ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-25 12:33:53 [866.9ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/w/wkflw
   Query 8 - 2025-03-25 12:34:06 [216.17ms] */
select count(*) as aggregate from `transaction` where `transaction`.`parent_id` is null and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle/create/taxes
   Query 5 - 2025-03-25 12:34:11 [261.19ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/invoice
   Query 7 - 2025-03-25 13:21:45 [124.92ms] */
select `invoice`.`invoice_number`, `invoice`.`invoice_date` as `issue_date`, `invoice`.`due_date`, `invoice`.`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 customer_name, CASE
                WHEN party.phone_number_2 IS NOT NULL THEN CONCAT(party.phone_number_1," / ",party.phone_number_2)
                ELSE party.phone_number_1 END as mobile_number, `invoice`.`total_invoice_amount`, `roles`.`name` as `role`, CASE WHEN invoice_payment.id IS NULL THEN "Y" ELSE "N" END as make_payment from `invoice` left join `party` on `invoice`.`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' left join `transaction` on `transaction`.`invoice_id` = `invoice`.`id` left join `workflow_definition` on `transaction`.`current_workflow_state_id` = `workflow_definition`.`id` left join `roles` on `workflow_definition`.`role_id` = `roles`.`id` left join `invoice_payment` on `invoice_payment`.`invoice_id` = `invoice`.`id` where `invoice`.`id` = 486440 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 15 - 2025-03-25 13:48:41 [131.82ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 10 - 2025-03-25 14:50:26 [110.57ms] */
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-03-24' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-03-25 14:50:26 [436.31ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-03-25 14:50:26 [670.83ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 19 - 2025-03-25 14:50:26 [112.38ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 25 - 2025-03-25 14:50:27 [114.81ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 21 - 2025-03-25 14:50:28 [103.17ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 25 - 2025-03-25 14:50:28 [126.49ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 25 - 2025-03-25 14:50:28 [149.84ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 29 - 2025-03-25 14:50:28 [108.66ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 35 - 2025-03-25 14:50:28 [123.28ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-25 14:50:28 [2634.34ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-25 14:50:29 [2279.99ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 15 - 2025-03-25 14:50:29 [127.74ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 15 - 2025-03-25 14:50:29 [128.2ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 7 - 2025-03-25 14:51:15 [263.91ms] */
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): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 21 - 2025-03-25 14:51:21 [109.17ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-03-25 14:51:21 [1050.26ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 14:51:20') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 25 - 2025-03-25 14:51:21 [120.04ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 15 - 2025-03-25 14:51:21 [149.72ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-03-25 14:51:22 [968.95ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-03-25 14:51:20') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-03-25 14:51:58 [465.31ms] */
select * from `transaction` where `parent_id` = 544378 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-03-25 14:52:02 [459.01ms] */
select * from `transaction` where `parent_id` = 544378 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-03-25 14:52:03 [122.81ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 544378 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-03-25 14:52:03 [113.73ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 544378 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-03-25 14:52:03 [152.86ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 544378 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 23 - 2025-03-25 14:59:47 [100.42ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 15 - 2025-03-25 15:00:01 [104.39ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 17 - 2025-03-25 15:00:01 [109.95ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 17 - 2025-03-25 15:00:01 [145.1ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 15 - 2025-03-25 15:00:01 [106.82ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 19 - 2025-03-25 15:00:02 [103.09ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 21 - 2025-03-25 15:00:02 [105.04ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 15 - 2025-03-25 15:00:02 [105.41ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 25 - 2025-03-25 15:00:02 [100.6ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 17 - 2025-03-25 15:00:02 [108.06ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 29 - 2025-03-25 15:00:12 [145.91ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 17 - 2025-03-25 15:06:01 [100.93ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 19 - 2025-03-25 15:15:01 [100.6ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/m/vehicle/create/tax
   Query 15 - 2025-03-25 15:31:26 [104.18ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2025-03-25 15:51:11 [452.53ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 12 - 2025-03-25 15:51:13 [1336.08ms] */
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-03-25' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/vehicle
   Query 7 - 2025-03-25 15:51:21 [251.58ms] */
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): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-25 17:30:29 [183.26ms] */
select `id` from `transaction` where `parent_id` in (510788) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/make_payment
   Query 10 - 2025-03-25 22:05:26 [180.51ms] */
select `id` from `transaction` where `parent_id` in (510894) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-03-25 22:07:20 [412.91ms] */
select * from `transaction` where `parent_id` = 574216 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-03-25 22:07:35 [137.69ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 574216 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-03-25 22:07:35 [113.19ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 574216 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-03-25 22:07:35 [159.9ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 574216 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-03-25 22:45:11 [396.91ms] */
select * from `transaction` where `parent_id` = 574217 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-03-25 22:45:24 [116.16ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 574217 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-03-25 22:45:25 [112.36ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 574217 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-03-25 22:45:25 [148.07ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 574217 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
