/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2024-12-20 07:01:06 [191.24ms] */
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` < '2024-12-20' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2024-12-20 07:05:22 [159.87ms] */
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` < '2024-12-20' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2024-12-20 07:05:44 [118.95ms] */
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 '%a%' or `second_name` like '%a%' or `third_name` like '%a%' or `fourth_name` like '%a%' or `phone_number_1` like '%a%' or `phone_number_2` like '%a%' or `customer_identity_documents`.`id_number` like '%a%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:05:44 [287.28ms] */
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 '%a%' or `second_name` like '%a%' or `third_name` like '%a%' or `fourth_name` like '%a%' or `phone_number_1` like '%a%' or `phone_number_2` like '%a%' or `customer_identity_documents`.`id_number` like '%a%')) 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.select-party-component
   Query 5 - 2024-12-20 07:05:52 [136.64ms] */
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 '%fara%' or `second_name` like '%fara%' or `third_name` like '%fara%' or `fourth_name` like '%fara%' or `phone_number_1` like '%fara%' or `phone_number_2` like '%fara%' or `customer_identity_documents`.`id_number` like '%fara%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:05:52 [157.6ms] */
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 '%fara%' or `second_name` like '%fara%' or `third_name` like '%fara%' or `fourth_name` like '%fara%' or `phone_number_1` like '%fara%' or `phone_number_2` like '%fara%' or `customer_identity_documents`.`id_number` like '%fara%')) 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.select-party-component
   Query 5 - 2024-12-20 07:05:53 [144.22ms] */
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 '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%' or `customer_identity_documents`.`id_number` like '%farah%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:05:53 [153.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 '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%' or `customer_identity_documents`.`id_number` like '%farah%')) 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.select-party-component
   Query 5 - 2024-12-20 07:05:56 [140.34ms] */
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 '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%' or `customer_identity_documents`.`id_number` like '%farah%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:05:56 [148.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 '%farah%' or `second_name` like '%farah%' or `third_name` like '%farah%' or `fourth_name` like '%farah%' or `phone_number_1` like '%farah%' or `phone_number_2` like '%farah%' or `customer_identity_documents`.`id_number` like '%farah%')) and `legacy_dl_customer_id` is not null) 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.select-party-component
   Query 5 - 2024-12-20 07:05:57 [133.27ms] */
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 '%1%' or `second_name` like '%1%' or `third_name` like '%1%' or `fourth_name` like '%1%' or `phone_number_1` like '%1%' or `phone_number_2` like '%1%' or `customer_identity_documents`.`id_number` like '%1%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:05:57 [214.98ms] */
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 '%1%' or `second_name` like '%1%' or `third_name` like '%1%' or `fourth_name` like '%1%' or `phone_number_1` like '%1%' or `phone_number_2` like '%1%' or `customer_identity_documents`.`id_number` like '%1%')) 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.select-party-component
   Query 5 - 2024-12-20 07:05:58 [139.33ms] */
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 '%12%' or `second_name` like '%12%' or `third_name` like '%12%' or `fourth_name` like '%12%' or `phone_number_1` like '%12%' or `phone_number_2` like '%12%' or `customer_identity_documents`.`id_number` like '%12%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:05:58 [161.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 '%12%' or `second_name` like '%12%' or `third_name` like '%12%' or `fourth_name` like '%12%' or `phone_number_1` like '%12%' or `phone_number_2` like '%12%' or `customer_identity_documents`.`id_number` like '%12%')) 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.select-party-component
   Query 5 - 2024-12-20 07:06:00 [137.07ms] */
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 '%12%' or `second_name` like '%12%' or `third_name` like '%12%' or `fourth_name` like '%12%' or `phone_number_1` like '%12%' or `phone_number_2` like '%12%' or `customer_identity_documents`.`id_number` like '%12%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:06:00 [153.47ms] */
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 '%12%' or `second_name` like '%12%' or `third_name` like '%12%' or `fourth_name` like '%12%' or `phone_number_1` like '%12%' or `phone_number_2` like '%12%' or `customer_identity_documents`.`id_number` like '%12%')) and `legacy_dl_customer_id` is not null) 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.select-party-component
   Query 5 - 2024-12-20 07:06:08 [132.14ms] */
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 '%r%' or `second_name` like '%r%' or `third_name` like '%r%' or `fourth_name` like '%r%' or `phone_number_1` like '%r%' or `phone_number_2` like '%r%' or `customer_identity_documents`.`id_number` like '%r%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:06:08 [136.97ms] */
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 '%r%' or `second_name` like '%r%' or `third_name` like '%r%' or `fourth_name` like '%r%' or `phone_number_1` like '%r%' or `phone_number_2` like '%r%' or `customer_identity_documents`.`id_number` like '%r%')) and `legacy_dl_customer_id` is not null) 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.select-party-component
   Query 5 - 2024-12-20 07:06:10 [137.27ms] */
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 '%rr%' or `second_name` like '%rr%' or `third_name` like '%rr%' or `fourth_name` like '%rr%' or `phone_number_1` like '%rr%' or `phone_number_2` like '%rr%' or `customer_identity_documents`.`id_number` like '%rr%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2024-12-20 07:06:13 [130.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 '%t%' or `second_name` like '%t%' or `third_name` like '%t%' or `fourth_name` like '%t%' or `phone_number_1` like '%t%' or `phone_number_2` like '%t%' or `customer_identity_documents`.`id_number` like '%t%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:06:13 [153.53ms] */
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 '%t%' or `second_name` like '%t%' or `third_name` like '%t%' or `fourth_name` like '%t%' or `phone_number_1` like '%t%' or `phone_number_2` like '%t%' or `customer_identity_documents`.`id_number` like '%t%')) and `legacy_dl_customer_id` is not null) 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.select-party-component
   Query 5 - 2024-12-20 07:06:14 [136.53ms] */
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 '%test%' or `second_name` like '%test%' or `third_name` like '%test%' or `fourth_name` like '%test%' or `phone_number_1` like '%test%' or `phone_number_2` like '%test%' or `customer_identity_documents`.`id_number` like '%test%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2024-12-20 07:06:16 [133.93ms] */
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 '%tes%' or `second_name` like '%tes%' or `third_name` like '%tes%' or `fourth_name` like '%tes%' or `phone_number_1` like '%tes%' or `phone_number_2` like '%tes%' or `customer_identity_documents`.`id_number` like '%tes%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2024-12-20 07:06:16 [133.39ms] */
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 '%te%' or `second_name` like '%te%' or `third_name` like '%te%' or `fourth_name` like '%te%' or `phone_number_1` like '%te%' or `phone_number_2` like '%te%' or `customer_identity_documents`.`id_number` like '%te%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2024-12-20 07:06:27 [157.68ms] */
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` < '2024-12-20' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2024-12-20 07:06:30 [132.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 '%h%' or `second_name` like '%h%' or `third_name` like '%h%' or `fourth_name` like '%h%' or `phone_number_1` like '%h%' or `phone_number_2` like '%h%' or `customer_identity_documents`.`id_number` like '%h%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:06:30 [141.78ms] */
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 '%h%' or `second_name` like '%h%' or `third_name` like '%h%' or `fourth_name` like '%h%' or `phone_number_1` like '%h%' or `phone_number_2` like '%h%' or `customer_identity_documents`.`id_number` like '%h%')) and `legacy_dl_customer_id` is not null) 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): GET https://testtra.puntlandgov.org
   Query 11 - 2024-12-20 07:06:58 [144.82ms] */
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` < '2024-12-20' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 5 - 2024-12-20 07:07:21 [143.96ms] */
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 '%102845%' 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 5 - 2024-12-20 07:07:23 [119.95ms] */
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 '%%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2024-12-20 07:17:25 [144.54ms] */
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` < '2024-12-20' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2024-12-20 07:18:17 [141.87ms] */
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` < '2024-12-20' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2024-12-20 07:29:02 [139.99ms] */
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 '%t%' or `second_name` like '%t%' or `third_name` like '%t%' or `fourth_name` like '%t%' or `phone_number_1` like '%t%' or `phone_number_2` like '%t%' or `customer_identity_documents`.`id_number` like '%t%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:29:02 [162.06ms] */
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 '%t%' or `second_name` like '%t%' or `third_name` like '%t%' or `fourth_name` like '%t%' or `phone_number_1` like '%t%' or `phone_number_2` like '%t%' or `customer_identity_documents`.`id_number` like '%t%')) 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.select-party-component
   Query 5 - 2024-12-20 07:29:54 [132.51ms] */
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 '%r%' or `second_name` like '%r%' or `third_name` like '%r%' or `fourth_name` like '%r%' or `phone_number_1` like '%r%' or `phone_number_2` like '%r%' or `customer_identity_documents`.`id_number` like '%r%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:29:55 [240.39ms] */
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 '%r%' or `second_name` like '%r%' or `third_name` like '%r%' or `fourth_name` like '%r%' or `phone_number_1` like '%r%' or `phone_number_2` like '%r%' or `customer_identity_documents`.`id_number` like '%r%')) 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.select-party-component
   Query 5 - 2024-12-20 07:29:55 [134.54ms] */
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 '%re%' or `second_name` like '%re%' or `third_name` like '%re%' or `fourth_name` like '%re%' or `phone_number_1` like '%re%' or `phone_number_2` like '%re%' or `customer_identity_documents`.`id_number` like '%re%')) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:29:55 [160.8ms] */
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 '%re%' or `second_name` like '%re%' or `third_name` like '%re%' or `fourth_name` like '%re%' or `phone_number_1` like '%re%' or `phone_number_2` like '%re%' or `customer_identity_documents`.`id_number` like '%re%')) 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.select-party-component
   Query 5 - 2024-12-20 07:29:59 [136.01ms] */
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 '%re%' or `second_name` like '%re%' or `third_name` like '%re%' or `fourth_name` like '%re%' or `phone_number_1` like '%re%' or `phone_number_2` like '%re%' or `customer_identity_documents`.`id_number` like '%re%')) and `legacy_dl_customer_id` is not null) and `provisional` = 'N') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2024-12-20 07:29:59 [160.2ms] */
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 '%re%' or `second_name` like '%re%' or `third_name` like '%re%' or `fourth_name` like '%re%' or `phone_number_1` like '%re%' or `phone_number_2` like '%re%' or `customer_identity_documents`.`id_number` like '%re%')) and `legacy_dl_customer_id` is not null) 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): GET https://testtra.puntlandgov.org
   Query 11 - 2024-12-20 07:30:55 [141.98ms] */
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` < '2024-12-20' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2024-12-20 09:03:52 [200.59ms] */
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` < '2024-12-20' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org
   Query 11 - 2024-12-20 13:53:57 [212.29ms] */
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` < '2024-12-20' and `invoice`.`deleted_at` is null;
/*==================================================*/
