select sum(`invoice`.`total_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` = 491139 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:07:30 [429.26ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%H%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-07 10:07:31 [946.62ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 5 - 2025-01-07 10:07:32 [167.91ms] */
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 '%PM927%' and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:07:32 [999.77ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%HF%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:07:33 [819.46ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%HF%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:07:33 [5617.18ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490037 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 6 - 2025-01-07 10:07:33 [5089.25ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 75 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:07:34 [2489.35ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 254449 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:07:34 [689.06ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%HF524%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:07:35 [577.24ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%HF524%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:07:36 [4759.7ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 446410 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:07:37 [6960.12ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:07: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 '%x%' or `vin` like '%x%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:07:37 [9093.49ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:07:28') 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://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:07:37 [6759.2ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491139 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:07:38 [6621.88ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490046 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:07:39 [8348.61ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:07:31') 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 '%c%' or `vin` like '%c%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:07:39 [6347.92ms] */
select sum(`invoice`.`total_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` = 490037 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:07:41 [9115.39ms] */
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 '%PM927%' 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://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:07:42 [4731.2ms] */
select sum(`invoice`.`total_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` = 491139 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:07:42 [4873.67ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:07:28') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490474
   Query 15 - 2025-01-07 10:07:42 [5801.85ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490474 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:07:42 [4754.74ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:07:38') 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 '%xa183%' or `vin` like '%xa183%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:07:43 [5110.87ms] */
select sum(`invoice`.`total_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` = 490046 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2025-01-07 10:07:43 [241.04ms] */
select * from `party` where `party`.`id` in (85, 113, 173, 335, 361, 423, 629, 851, 857, 1114, 1123, 1214, 1267, 1303, 1358, 1586, 1720, 1752, 1948, 2022, 2128, 2203, 2254, 2283, 2300, 2357, 2557, 2884, 2953, 3178, 3183, 3228, 3694, 3742, 3941, 4024, 4043, 4071, 4184, 4246, 4773, 4840, 4877, 5134, 5236, 5286, 5457, 5618, 5658, 5687, 5814, 5922, 6046, 6052, 6077, 6156, 6242, 6331, 6388, 6410, 6477, 7035, 7195, 7367, 7438, 7439, 7460, 7463, 7511, 7529, 7631, 7713, 7899, 7954, 8050, 8088, 8198, 8237, 8367, 8434, 8615, 8625, 8672, 8753, 8912, 8929, 9293, 9337, 9466, 9494, 9548, 9651, 9656, 9736, 9753, 9859, 9862, 9966, 10052, 10187, 10435, 10456, 10568, 10663, 10718, 10808, 10926, 10929, 10960, 11178, 11191, 11218, 11652, 11715, 11847, 12115, 12238, 12367, 12436, 12498, 12627, 12779, 12824, 12872, 12899, 12972, 13087, 13190, 13230, 13427, 13478, 13631, 13664, 13665, 13754, 13790, 13791, 13794, 13885, 13912, 13925, 14020, 14025, 14084, 14086, 14132, 14137, 14147, 14202, 14238, 14267, 14274, 14275, 14325, 14350, 14369, 14377, 14385, 14394, 14412, 14416, 14430, 14588, 14628, 14696, 14697, 14711, 14815, 14841, 14843, 14857, 14943, 14946, 14950, 14952, 14996, 15120, 15168, 15176, 15178, 15180, 15211, 15318, 15534, 15618, 15795, 15822, 15854, 15892, 16034, 16082, 16098, 16148, 16220, 16397, 16403, 16409, 16463, 16493, 16516, 16519, 16553, 16682, 16807, 16820, 17017, 17048, 17211, 17226, 17279, 17293, 17332, 17460, 17493, 17519, 17599, 17600, 17704, 17810, 17945, 17984, 18033, 18066, 18134, 18198, 18201, 18206, 18233, 18236, 18280, 18288, 18340, 18344, 18385, 18426, 18436, 18442, 18447, 18482, 18487, 18490, 18498, 18518, 18526, 18531, 18555, 18558, 18637, 18652, 18699, 18747, 18753, 18820, 18926, 18984, 18996, 19002, 19133, 19177, 19181, 19256, 19337, 19388, 19467, 19499, 19502, 19504, 19526, 19621, 19637, 19646, 19669, 19692, 19705, 19734, 19751, 19772, 19805, 19828, 19831, 19841, 19865, 19869, 19906, 19929, 19994, 20007, 20108, 20134, 20157, 20167, 20172, 20199, 20207, 20210, 20225, 20274, 20278, 20340, 20365, 20406, 20426, 20444, 20505, 20507, 20527, 20600, 20601, 20622, 20627, 20677, 20686, 20695, 20791, 20856, 20906, 20956, 20958, 21032, 21052, 21120, 21165, 21193, 21194, 21198, 21213, 21215, 21232, 21252, 21272, 21282, 21306, 21396, 21402, 21490, 21525, 21549, 21665, 21676, 21704, 21713, 21774, 21833, 21860, 21934, 21956, 22031, 22035, 22041, 22106, 22149, 22186, 22288, 22330, 22343, 22449, 22453, 22610, 22660, 22713, 22733, 22766, 22780, 22819, 22823, 22840, 22849, 22855, 22861, 22870, 22916, 22939, 22990, 23079, 23085, 23114, 23120, 23291, 23292, 23388, 23393, 23422, 23423, 23451, 23499, 23521, 23548, 23556, 23559, 23560, 23564, 23574, 23579, 23619, 23637, 23638, 23651, 23652, 23711, 23721, 23731, 23772, 23778, 23823, 23829, 23882, 23914, 23939, 23957, 24001, 24015, 24086, 24123, 24270, 24288, 24310, 24501, 24586, 24703, 24730, 24735, 24777, 24781, 24818, 24825, 24844, 24863, 24869, 24875, 24914, 24955, 24971, 24978, 24991, 25031, 25034, 25040, 25056, 25107, 25111, 25330, 25387, 25453, 25510, 25549, 25564, 25576, 25596, 25597, 25615, 25630, 25632, 25654, 25676, 25701, 25710, 25737, 25766, 25902, 25910, 25925, 25948, 26009, 26035, 26085, 26172, 26201, 26204, 26231, 26233, 26287, 26330, 26333, 26388, 26406, 26410, 26448, 26457, 26477, 26519, 26522, 26597, 26605, 26657, 26691, 26712, 26751, 26752, 26759, 26767, 26769, 26800, 26820, 26944, 26949, 27016, 27067, 27115, 27158, 27204, 27249, 27340, 27346, 27415, 27432, 27447, 27535, 27551, 27557, 27573, 27577, 27592, 27611, 27718, 27765, 27779, 27795, 27849, 27890, 27938, 27945, 27969, 28003, 28049, 28205, 28206, 28601, 28611, 28674, 28770, 28771, 28782, 28864, 28890, 28974, 28989, 29022, 29058, 29075, 29090, 29127, 29155, 29167, 29200, 29335, 29336, 29337, 29427, 29457, 29508, 29543, 29551, 29562, 29593, 29660, 29663, 29682, 29712, 29787, 29799, 29807, 29814, 29822, 29850, 29862, 29865, 29902, 29908, 29911, 29915, 29919, 29923, 29940, 29946, 29949, 29966, 29968, 30038, 30052, 30103, 30107, 30128, 30129, 30141, 30154, 30156, 30164, 30178, 30210, 30229, 30243, 30251, 30293, 30298, 30338, 30351, 30378, 30380, 30404, 30405, 30443, 30468, 30493, 30542, 30543, 30602, 30635, 30648, 30654, 30668, 30699, 30704, 30717, 30739, 30795, 30806, 30851, 30869, 30892, 30928, 31020, 31026, 31059, 31067, 31073, 31126, 31128, 31158, 31171, 31195, 31249, 31251, 31323, 31365, 31406, 31416, 31444, 31474, 31484, 31514, 31578, 31630, 31663, 31668, 31691, 31712, 31724, 31727, 31729, 31745, 31755, 31757, 31767, 31782, 31827, 31856, 31889, 31899, 31901, 31910, 31943, 31984, 32023, 32059, 32079, 32097, 32099, 32106, 32140, 32142, 32165, 32188, 32190, 32274, 32309, 32310, 32323, 32330, 32336, 32340, 32354, 32367, 32368, 32375, 32397, 32425, 32436, 32437, 32452, 32475, 32541, 32561, 32604, 32619, 32620, 32629, 32666, 32674, 32676, 32681, 32686, 32711, 32732, 32750, 32758, 32768, 32769, 32773, 32777, 32809, 32833, 32847, 32862, 32881, 32888, 32894, 32897, 32913, 32945, 32983, 32987, 33008, 33013, 33023, 33116, 33143, 33157, 33170, 33197, 33200, 33202, 33218, 33223, 33225, 33252, 33265, 33273, 33286, 33288, 33353, 33357, 33360, 33392, 33401, 33433, 33438, 33440, 33463, 33466, 33468, 33476, 33497, 33504, 33515, 33535, 33610, 33615, 33641, 33655, 33665, 33666, 33672, 33689, 33698, 33710, 33717, 33733, 33764, 33774, 33821, 33824, 33835, 33871, 33884, 33890, 33896, 33899, 33935, 33960, 33971, 33980, 33981, 33997, 33999, 34008, 34017, 34034, 34039, 34062, 34065, 34095, 34096, 34102, 34123, 34189, 34194, 34200, 34207, 34208, 34210, 34217, 34228, 34238, 34240, 34244, 34274, 34280, 34293, 34394, 34480, 34483, 34490, 34520, 34541, 34552, 34616, 34638, 34677, 34700, 34730, 34735, 34803, 34844, 34846, 34859, 34862, 34876, 34888, 34896, 34947, 34971, 34982, 35006, 35008, 35012, 35014, 35016, 35031, 35085, 35088, 35109, 35122, 35157, 35182, 35222, 35247, 35262, 35265, 35294, 35299, 35308, 35322, 35346, 35385, 35433, 35461, 35464, 35468, 35474, 35475, 35477, 35483, 35488, 35505, 35517, 35522, 35525, 35528, 35542, 35561, 35567, 35591, 35602, 35614, 35620, 35652, 35657, 35679, 35735, 35763, 35850, 35897, 36011, 36078, 36084, 36087, 36103, 36122, 36128, 36177, 36184, 36220, 36222, 36287, 36349, 36351, 36378, 36387, 36394, 36397, 36401, 36403, 36407, 36414, 36421, 36426, 36428, 36429, 36430, 36478, 36564, 36567, 36574, 36606, 36614, 36637, 36655, 36681, 36684, 36696, 36702, 36706, 36715, 36725, 36730, 36743, 36750, 36968, 36983, 37010, 37045, 37060, 37070, 37079, 37081, 37084, 37102, 37152, 37159, 37190, 37192, 37213, 37221, 37225, 37231, 37246, 37279, 37281, 37284, 37293, 37300, 37309, 37312, 37316, 37336, 37378, 37392, 37415, 37417, 37420, 37441, 37456, 37483, 37490, 37495, 37497, 37499, 37500, 37511, 37515, 37526, 37528, 37552, 37559, 37569, 37572, 37577, 37586, 37587, 37600, 37602, 37628, 37648, 37657, 37683, 37688, 37690, 37699, 37712, 37720, 37721, 37734, 37736, 37767, 37769, 37772, 37781, 37796, 37821, 37843, 37848, 37887, 37911, 37929, 37933, 37968, 37976, 37978, 37979, 37988, 38010, 38011, 38020, 38041, 38053, 38054, 38062, 38092, 38115, 38166, 38172, 38173, 38176, 38178, 38180, 38204, 38207, 38212, 38216, 38219, 38225, 38235, 38238, 38241, 38260, 38268, 38280, 38282, 38288, 38294, 38301, 38304, 38308, 38312, 38313, 38333, 38336, 38353, 38441, 38442, 38455, 38466, 38488, 38496, 38508, 38556, 38565, 38573, 38577, 38600, 38604, 38608, 38610, 38621, 38625, 38628, 38633, 38644, 38657, 38666, 38691, 38739, 38759, 38791, 38796, 38800, 38814, 38816, 38821, 38856, 38861, 38873, 38888, 38907, 38911, 38939, 38949, 38952, 39024, 39029, 39032, 39045, 39054, 39079, 39086, 39090, 39104, 39119, 39136, 39145, 39152, 39172, 39182, 39184, 39201, 39206, 39236, 39245, 39246, 39259, 39267, 39279, 39295, 39306, 39316, 39318, 39360, 39369, 39373, 39389, 39419, 39425, 39436, 39460, 39466, 39467, 39478, 39524, 39538, 39561, 39575, 39584, 39596, 39601, 39617, 39626, 39633, 39658, 39666, 39668, 39702, 39703, 39737, 39755, 39758, 39759, 39763, 39768, 39773, 39806, 39810, 39873, 39891, 39898, 39903, 39939, 39945, 39955, 39960, 39978, 39980, 39985, 40002, 40006, 40010, 40015, 40017, 40059, 40085, 40119, 40181, 40198, 40235, 40273, 40275, 40332, 40335, 40338, 40346, 40356, 40357, 40367, 40368, 40382, 40398, 40399, 40434, 40445, 40490, 40502, 40505, 40529, 40532, 40546, 40562, 40564, 40576, 40590, 40601, 40602, 40608, 40610, 40611, 40616, 40625, 40632, 40660, 40664, 40695, 40713, 40714, 40725, 40732, 40740, 40758, 40761, 40778, 40780, 40783, 40808, 40816, 40817, 40848, 40873, 40876, 40879, 40890, 40895, 40897, 40917, 40927, 40957, 40966, 40981, 40996, 41002, 41037, 41064, 41066, 41070, 41082, 41113, 41114, 41144, 41146, 41157, 41170, 41220, 41247, 41251, 41257, 41272, 41273, 41277, 41284, 41287, 41294, 41295, 41311, 41312, 41323, 41324, 41345, 41387, 41399, 41407, 41422, 41423, 41433, 41455, 41461, 41471, 41510, 41519, 41521, 41525, 41528, 41549, 41560, 41566, 41572, 41574, 41576, 41580, 41615, 41619, 41626, 41633, 41636, 41649, 41667, 41693, 41699, 41706, 41751, 41755, 41768, 41792, 41798, 41799, 41826, 41828, 41833, 41853, 41868, 41883, 41912, 41924, 41944, 42009, 42059, 42066, 42100, 42108, 42112, 42121, 42138, 42161, 42194, 42209, 42216, 42229, 42230, 42231, 42246, 42250, 42261, 42273, 42284, 42300, 42373, 42374, 42388, 42426, 42439, 42440, 42467, 42481, 42482, 42496, 42517, 42524, 42526, 42531, 42532, 42539, 42542, 42544, 42548, 42550, 42556, 42592, 42596, 42601, 42615, 42626, 42634, 42640, 42677, 42683, 42694, 42708, 42727, 42750, 42752, 42769, 42770, 42790, 42800, 42805, 42806, 42807, 42811, 42833, 42845, 42865, 42889, 42891, 42903, 42904, 42905, 42913, 42946, 42951, 42977, 42981, 43036, 43037, 43078, 43112, 43114, 43120, 43152, 43153, 43184, 43232, 43239, 43255, 43268, 43270, 43274, 43275, 43293, 43346, 43349, 43376, 43380, 43400, 43406, 43415, 43418, 43423, 43431, 43435, 43446, 43450, 43466, 43471, 43481, 43486, 43505, 43518, 43519, 43529, 43565, 43566, 43589, 43604, 43607, 43618, 43646, 43666, 43686, 43691, 43711, 43724, 43737, 43756, 43768, 43786, 43789, 43802, 43811, 43825, 43833, 43842, 43843, 43848, 43849, 43851, 43858, 43863, 43868, 43919, 43967, 43968, 44005, 44033, 44035, 44038, 44086, 44090, 44094, 44110, 44118, 44135, 44138, 44210, 44217, 44222, 44230, 44247, 44279, 44286, 44295, 44305, 44311, 44315, 44321, 44332, 44338, 44341, 44354, 44384, 44385, 44389, 44418, 44460, 44465, 44466, 44473, 44482, 44489, 44490, 44492, 44496, 44505, 44509, 44515, 44538, 44557, 44590, 44600, 44606, 44607, 44616, 44632, 44636, 44648, 44650, 44651, 44656, 44666, 44679, 44704, 44754, 44765, 44799, 44824, 44839, 44861, 44880, 44884, 44889, 44916, 44919, 44936, 44940, 44947, 44978, 44988, 44990, 44996, 45013, 45014, 45017, 45028, 45030, 45052, 45054, 45063, 45075, 45130, 45133, 45167, 45169, 45171, 45187, 45190, 45193, 45204, 45217, 45221, 45249, 45251, 45252, 45256, 45275, 45301, 45327, 45330, 45378, 45385, 45416, 45436, 45440, 45451, 45458, 45474, 45488, 45491, 45499, 45505, 45521, 45522, 45533, 45536, 45558, 45565, 45573, 45650, 45656, 45657, 45675, 45725, 45729, 45736, 45748, 45752, 45753, 45757, 45791, 45816, 45817, 45827, 45831, 45840, 45841, 45847, 45873, 45889, 45894, 45906, 45919, 45933, 45934, 45946, 45993, 45994, 46007, 46018, 46025, 46041, 46060, 46064, 46084, 46089, 46122, 46125, 46151, 46161, 46163, 46179, 46184, 46186, 46208, 46219, 46222, 46227, 46242, 46244, 46253, 46270, 46273, 46331, 46333, 46341, 46349, 46372, 46430, 46446, 46464, 46465, 46472, 46476, 46478, 46496, 46521, 46545, 46562, 46563, 46567, 46578, 46582, 46585, 46590, 46591, 46605, 46644, 46660, 46662, 46681, 46707, 46708, 46726, 46727, 46728, 46732, 46741, 46783, 46788, 46792, 46807, 46810, 46818, 46840, 46850, 46853, 46872, 46893, 46918, 46941, 46942, 46956, 46967, 46968, 46971, 46987, 46993, 46997, 47013, 47044, 47065, 47069, 47078, 47097, 47099, 47125, 47147, 47153, 47157, 47174, 47182, 47202, 47213, 47223, 47231, 47248, 47254, 47276, 47282, 47284, 47307, 47319, 47334, 47360, 47396, 47454, 47464, 47486, 47497, 47500, 47511, 47516, 47518, 47555, 47581, 47586, 47596, 47599, 47607, 47638, 47701, 47710, 47714, 47722, 47727, 47748, 47749, 47753, 47755, 47757, 47771, 47776, 47802, 47806, 47817, 47824, 47825, 47832, 47869, 47885, 47904, 47922, 47934, 47941, 47943, 47947, 47958, 47970, 47990, 48009, 48024, 48032, 48035, 48036, 48041, 48054, 48074, 48093, 48119, 48130, 48162, 48169, 48170, 48174, 48182, 48196, 48208, 48214, 48217, 48218, 48219, 48220, 48238, 48259, 48274, 48286, 48290, 48320, 48344, 48365, 48377, 48387, 48388, 48397, 48409, 48417, 48418, 48421, 48424, 48428, 48441, 48451, 48456, 48457, 48463, 48467, 48481, 48508, 48519, 48532, 48537, 48559, 48564, 48568, 48575, 48578, 48580, 48588, 48589, 48620, 48638, 48661, 48674, 48675, 48694, 48701, 48720, 48721, 48747, 48760, 48775, 48782, 48783, 48788, 48791, 48797, 48804, 48806, 48833, 48838, 48842, 48856, 48868, 48870, 48872, 48876, 48883, 48884, 48900, 48901, 48919, 48961, 48963, 48966, 48974, 48982, 48993, 48996, 49004, 49015, 49017, 49025, 49046, 49048, 49051, 49052, 49111, 49113, 49114, 49132, 49134, 49144, 49149, 49166, 49180, 49182, 49190, 49204, 49228, 49236, 49237, 49252, 49270, 49271, 49277, 49305, 49307, 49323, 49325, 49354, 49355, 49364, 49396, 49411, 49419, 49436, 49455, 49470, 49496, 49520, 49528, 49535, 49573, 49582, 49583, 49584, 49587, 49597, 49610, 49656, 49657, 49674, 49694, 49709, 49721, 49728, 49732, 49744, 49746, 49771, 49783, 49791, 49802, 49806, 49839, 49870, 49884, 49885, 49892, 49916, 49945, 49962, 49966, 49971, 49972, 50012, 50023, 50031, 50047, 50055, 50085, 50091, 50110, 50129, 50132, 50142, 50172, 50175, 50189, 50193, 50214, 50219, 50248, 50250, 50251, 50256, 50265, 50266, 50271, 50299, 50306, 50308, 50316, 50317, 50349, 50366, 50404, 50407, 50431, 50471, 50526, 50528, 50530, 50549, 50560, 50583, 50587, 50595, 50598, 50607, 50608, 50624, 50626, 50666, 50680, 50690, 50693, 50715, 50725, 50747, 50760, 50769, 50779, 50813, 50815, 50821, 50828, 50837, 50841, 50870, 50877, 50908, 50911, 50913, 50950, 50959, 50995, 51050, 51055, 51075, 51076, 51097, 51100, 51105, 51106, 51112, 51113, 51131, 51141, 51151, 51157, 51177, 51186, 51202, 51209, 51214, 51217, 51218, 51238, 51239, 51243, 51247, 51249, 51259, 51297, 51307, 51314, 51322, 51326, 51329, 51333, 51344, 51348, 51395, 51396, 51400, 51435, 51438, 51448, 51453, 51463, 51464, 51467, 51468, 51488, 51495, 51497, 51510, 51518, 51533, 51540, 51565, 51587, 51592, 51605, 51615, 51634, 51640, 51693, 51695, 51707, 51712, 51713, 51734, 51744, 51752, 51758, 51760, 51767, 51808, 51824, 51831, 51849, 51853, 51862, 51865, 51875, 51878, 51882, 51885, 51894, 51906, 51915, 51923, 51933, 51939, 51958, 51979, 51987, 51994, 52019, 52030, 52034, 52039, 52053, 52056, 52057, 52062, 52067, 52075, 52078, 52086, 52112, 52126, 52154, 52155, 52156, 52157, 52171, 52185, 52189, 52198, 52210, 52276, 52283, 52285, 52290, 52295, 52299, 52304, 52311, 52316, 52324, 52338, 52343, 52347, 52370, 52371, 52393, 52394, 52397, 52414, 52423, 52424, 52428, 52436, 52438, 52442, 52450, 52464, 52465, 52473, 52474, 52483, 52490, 52520, 52543, 52556, 52557, 52560, 52563, 52564, 52570, 52575, 52590, 52604, 52622, 52623, 52633, 52653, 52665, 52673, 52699, 52704, 52729, 52757, 52768, 52780, 52783, 52788, 52810, 52870, 52878, 52879, 52882, 52885, 52912, 52922, 52936, 52946, 52954, 52962, 52972, 53019, 53022, 53050, 53058, 53060, 53062, 53063, 53067, 53076, 53094, 53185, 53195, 53205, 53215, 53230, 53252, 53285, 53295, 53307, 53331, 53332, 53334, 53344, 53354, 53364, 53402, 53437, 53448, 53456, 53476, 53489, 53512, 53537, 53548, 53569, 53578, 53623, 53629, 53636, 53639, 53654, 53662, 53668, 53696, 53708, 53715, 53734, 53739, 53753, 53787, 53797, 53798, 53807, 53821, 53822, 53824, 53826, 53832, 53858, 53867, 53868, 53881, 53888, 53895, 53934, 53941, 53951, 53953, 53954, 53958, 53968, 53982, 54004, 54005, 54007, 54010, 54077, 54109, 54110, 54131, 54140, 54146, 54160, 54215, 54223, 54228, 54236, 54245, 54258, 54265, 54271, 54277, 54301, 54312, 54318, 54319, 54345, 54347, 54364, 54378, 54382, 54388, 54395, 54431, 54432, 54446, 54450, 54466, 54469, 54486, 54495, 54514, 54516, 54524, 54530, 54540, 54550, 54553, 54560, 54571, 54591, 54638, 54648, 54663, 54677, 54678, 54717, 54727, 54730, 54753, 54758, 54779, 54782, 54786, 54787, 54812, 54821, 54824, 54859, 54861, 54870, 54932, 54946, 54963, 54983, 55006, 55049, 55068, 55073, 55088, 55089, 55092, 55101, 55109, 55144, 55147, 55154, 55173, 55225, 55246, 55251, 55306, 55311, 55359, 55364, 55380, 55384, 55392, 55396, 55408, 55450, 55486, 55493, 55507, 55515, 55536, 55569, 55573, 55596, 55597, 55603, 55605, 55611, 55628, 55650, 55653, 55661, 55706, 55739, 55757, 55777, 55812, 55888, 55910, 56049, 56059, 56062, 56157, 56162, 56185, 56222, 56230, 56247, 56482, 56525, 56557, 56766, 56773, 56791, 56792, 56889, 56910, 56926, 56932, 56960, 56997, 57003, 57005, 57008, 57017, 57032, 57078, 57091, 57097, 57099, 57114, 57126, 57134, 57148, 57191, 57201, 57228, 57241, 57271, 57290, 57291, 57293, 57305, 57306, 57323, 57325, 57371, 57409, 57438, 57455, 57465, 57466, 57467, 57497, 57499, 57510, 57518, 57540, 57572, 57574, 57617, 57631, 57676, 57682, 57683, 57684, 57688, 57710, 57721, 57734, 57743, 57745, 57754, 57775, 57777, 57781, 57819, 57827, 57841, 57876, 57885, 57915, 57921, 57922, 57934, 57984, 58000, 58003, 58005, 58036, 58041, 58053, 58076, 58108, 58131, 58156, 58179, 58189, 58190, 58193, 58201, 58218, 58223, 58237, 58242, 58252, 58329, 58333, 58356, 58402, 58434, 58445, 58450, 58467, 58472, 58501, 58505, 58514, 58610, 58621, 58631, 58643, 58674, 58697, 58707, 58717, 58739, 58759, 58779, 58780, 58796, 58809, 58833, 58885, 58904, 58983, 59002, 59005, 59020, 59026, 59038, 59040, 59085, 59110, 59187, 59196, 59198, 59239, 59268, 59279, 59280, 59290, 59363, 59368, 59372, 59420, 59465, 59475, 59491, 59508, 59548, 59551, 59589, 59616, 59621, 59648, 59688, 59765, 59864, 59868, 59875, 59904, 59989, 60007, 60030, 60063, 60138, 60213, 60318, 60321, 60380, 60386, 60484, 60501, 60581, 60587, 60612, 60732, 60786, 60860, 60869, 60887, 60931, 60971, 60991, 60999, 61062, 61077, 61115, 61284, 61323, 61519, 61600, 61924, 62200, 62216, 62269, 62376, 62458, 62974, 63160, 63212, 63494, 63858, 63983, 64016, 64095, 64188) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2025-01-07 10:07:43 [197.65ms] */
select * from `person` where `person`.`id` in (46727, 32368, 44332, 46476, 1267, 43349, 49277, 59663, 53569, 44754, 21215, 46273, 59714, 60407, 37495, 54466, 54524, 39360, 38225, 52394, 27765, 37246, 48884, 44473, 45565, 15176, 37699, 19841, 48421, 31856, 47869, 52474, 7529, 26333, 41615, 42865, 32367, 48259, 39460, 54560, 23114, 38600, 45451, 56917, 48788, 43518, 60591, 14815, 50530, 32140, 60641, 38911, 46430, 50172, 47934, 56599, 17211, 51605, 41324, 42683, 58383, 40562, 23451, 39768, 48054, 47755, 19805, 30493, 48775, 50526, 34280, 38888, 43120, 50189, 33689, 33023, 42752, 48456, 58122, 50815, 50047, 30178, 43380, 59647, 53548, 58467, 48876, 26231, 43789, 61498, 50129, 45573, 39436, 48344, 39985, 50349, 30038, 33401, 14952, 37045, 19504, 40732, 44138, 8625, 40981, 52210, 37577, 55799, 14238, 38020, 33971, 57660, 37528, 45521, 54495, 23079, 43450, 49971, 51100, 57835, 49325, 44600, 42440, 44035, 54530, 12367, 43848, 56922, 52780, 40017, 45030, 53832, 46662, 35308, 45934, 23823, 40876, 56755, 51615, 44839, 54228, 52673, 29663, 43114, 43293, 22766, 44279, 41525, 56380, 39759, 32436, 37159, 58610, 36220, 52112, 12627, 42388, 42526, 39119, 53826, 51933, 55611, 27346, 51395, 34244, 41287, 11218, 39054, 22916, 39755, 45753, 36084, 41273, 38216, 42231, 54638, 37312, 32888, 37772, 49962, 29968, 49051, 13230, 55931, 22041, 51510, 19637, 55306, 43423, 20007, 32541, 49535, 21549, 48842, 16148, 31323, 54782, 47904, 23423, 14996, 47555, 52156, 50132, 18637, 54271, 56098, 3178, 14267, 52757, 43711, 14950, 54753, 55392, 23556, 25737, 45190, 40590, 43843, 35122, 19646, 51540, 37781, 5922, 42161, 21232, 32768, 46562, 56251, 48568, 23778, 44005, 48481, 41799, 45385, 55596, 25056, 25902, 22870, 33504, 45275, 54514, 39806, 51468, 19181, 27577, 35475, 31745, 39206, 33466, 34541, 42531, 52155, 52882, 61584, 32862, 46567, 41064, 42951, 17293, 29543, 51865, 47202, 22330, 38166, 46967, 37988, 1358, 37690, 29923, 39561, 29457, 43825, 44765, 24086, 32987, 40610, 34803, 42811, 44940, 33997, 39773, 29337, 33710, 13087, 56971, 6156, 53822, 57997, 38625, 49305, 34008, 54663, 39955, 32758, 44489, 33223, 37887, 52450, 43376, 45558, 43851, 43811, 32106, 44990, 55408, 41924, 45256, 38053, 19502, 44607, 55088, 59814, 38907, 48578, 35464, 19499, 16098, 35157, 56544, 48575, 23652, 39369, 52324, 37767, 56563, 22035, 51326, 56310, 52371, 15168, 21198, 37221, 61423, 54540, 27795, 20274, 33200, 51141, 58014, 44321, 57734, 18747, 43842, 51994, 7439, 44418, 56926, 58810, 33463, 37378, 29336, 58357, 7460, 9862, 58998, 42904, 38010, 2953, 61391, 44118, 47069, 39538, 55364, 55536, 53739, 51862, 51488, 56824, 2283, 30128, 51885, 43833, 50950, 57518, 40890, 52442, 48220, 30635, 20622, 48409, 22453, 34982, 18442, 50219, 40873, 47710, 57055, 56845, 49709, 3742, 24875, 49355, 20686, 24586, 37559, 15211, 16493, 49270, 42273, 35085, 25597, 54395, 51853, 18490, 58099, 19467, 18233, 45847, 14843, 39259, 44496, 61268, 34207, 49496, 53951, 47722, 52560, 43756, 23560, 43666, 38172, 40275, 4043, 47958, 19526, 49884, 36397, 14020, 46590, 44094, 44305, 55569, 38353, 10718, 36378, 47753, 31727, 56471, 19734, 37511, 46810, 40817, 21956, 56367, 40608, 45193, 41251, 52067, 35474, 30380, 32676, 39596, 53252, 51734, 49945, 35483, 48009, 52078, 39295, 42615, 48588, 41699, 44632, 45440, 34189, 48388, 37010, 17945, 38176, 47223, 29919, 36968, 43768, 31767, 55246, 8929, 48996, 29946, 37392, 33884, 37721, 44482, 51587, 16553, 46472, 32561, 53858, 23638, 34735, 37569, 53295, 3228, 33935, 49111, 29022, 48463, 48218, 43737, 42556, 44648, 36567, 8615, 48760, 45171, 26752, 48290, 35652, 21396, 47360, 29167, 45816, 25710, 40505, 33252, 51831, 58093, 48883, 39201, 42727, 45014, 30164, 53332, 48966, 51344, 26009, 51322, 48974, 18996, 36430, 46893, 22610, 33468, 42542, 59075, 36349, 38739, 48872, 22343, 45130, 48182, 53364, 14202, 49839, 31251, 53787, 47947, 58557, 27945, 57536, 27557, 51177, 46179, 27340, 43589, 38219, 49017, 57095, 49204, 47013, 58487, 20157, 26035, 42634, 40780, 21052, 20167, 37933, 50528, 35265, 42544, 54963, 54677, 54859, 52283, 41828, 15318, 43566, 25948, 41433, 58773, 26201, 30156, 42889, 45052, 51767, 33655, 35012, 48208, 13664, 58284, 14394, 35528, 34971, 14369, 50598, 44490, 44606, 48532, 52171, 4071, 16082, 55073, 7035, 54007, 44466, 50583, 31365, 51239, 33143, 38238, 54010, 43686, 4024, 38633, 45831, 34846, 44230, 52397, 35222, 35262, 29090, 57410, 37225, 7713, 17810, 44666, 12824, 19388, 28611, 45841, 41792, 29807, 54730, 38856, 53050, 26172, 33717, 47157, 46591, 48219, 53895, 50091, 47941, 40564, 44650, 36184, 30154, 50959, 52039, 56290, 22733, 57013, 42261, 34096, 50821, 25701, 27849, 27415, 53954, 36401, 38861, 51202, 26287, 26085, 57901, 48024, 39172, 48747, 37552, 41066, 38508, 40059, 49966, 55706, 17332, 24844, 32681, 10568, 13885, 30602, 42482, 41826, 19906, 39079, 29966, 33515, 3183, 25453, 33197, 38939, 35299, 24971, 16820, 28974, 53456, 45474, 60922, 44033, 31474, 41272, 16682, 55997, 4877, 32340, 13754, 32847, 59894, 35735, 40002, 6077, 36564, 52428, 48806, 36394, 33764, 45752, 55742, 24914, 40015, 37978, 2357, 30928, 26944, 37231, 44086, 54469, 41798, 30739, 40602, 53696, 24978, 53578, 39245, 13478, 42374, 27592, 53230, 49455, 32769, 9753, 53285, 38644, 38949, 51209, 39626, 17048, 46025, 37070, 45919, 17519, 50911, 41471, 46968, 5687, 36103, 49732, 35294, 35461, 56058, 21402, 56351, 1586, 20505, 46122, 12115, 50023, 29862, 52878, 14416, 33288, 41311, 21676, 27938, 46089, 54277, 29200, 37843, 32983, 50306, 5814, 53063, 38333, 30542, 46707, 51712, 51131, 45458, 45827, 47922, 49771, 52086, 43802, 29814, 30243, 6388, 42845, 48041, 50193, 48162, 48428, 1752, 43036, 41868, 29127, 31578, 14084, 54236, 45063, 13912, 35657, 2022, 29712, 48130, 36637, 23637, 48620, 43691, 34490, 44538, 51640, 32397, 30851, 41284, 50316, 51307, 14086, 28205, 55824, 47307, 29508, 46464, 47806, 45249, 42532, 9548, 27779, 44135, 37600, 43232, 50908, 36715, 47599, 53636, 43435, 52056, 39575, 18033, 46227, 38608, 46850, 42230, 52870, 54571, 43486, 49972, 46341, 37648, 44861, 54345, 32773, 41082, 56757, 45017, 48720, 35679, 47497, 25549, 37499, 46041, 39267, 21272, 42790, 49182, 50214, 57166, 53307, 28770, 28864, 15618, 44919, 54146, 40502, 53958, 32475, 42913, 30704, 19865, 33890, 20406, 1303, 39024, 31984, 34876, 31067, 56746, 42977, 52198, 18344, 51243, 56587, 18487, 52157, 30351, 38288, 12899, 43270, 16403, 51849, 36011, 45221, 26657, 45169, 39601, 51435, 25111, 50693, 49694, 20108, 57305, 20856, 44110, 39032, 45933, 34293, 50624, 40006, 34065, 27432, 17460, 55820, 48675, 54758, 37736, 49870, 24781, 53489, 41294, 14857, 25031, 52290, 14025, 14696, 44354, 50995, 41853, 37683, 42284, 54787, 36606, 57557, 38573, 46783, 29427, 46007, 30648, 51259, 13794, 45054, 30543, 37490, 23388, 35591, 27890, 24818, 27447, 55450, 57161, 55928, 16516, 17599, 20677, 15892, 32674, 50317, 49728, 45204, 48174, 34896, 18447, 53953, 19994, 45725, 5236, 41070, 52704, 55493, 43466, 54553, 30298, 51915, 52414, 24288, 47727, 25632, 49236, 57404, 26204, 36387, 41345, 31444, 51467, 39478, 33666, 41768, 35031, 1720, 23721, 31724, 19337, 55101, 23829, 51214, 54786, 23651, 37281, 50828, 50248, 113, 54258, 42770, 40632, 57838, 47714, 14628, 18926, 29915, 18558, 47832, 38336, 16409, 48217, 34210, 40398, 41312, 30378, 44389, 30107, 35346, 1123, 48797, 21713, 37968, 48238, 51939, 31073, 40714, 20210, 44465, 54946, 48919, 51247, 49470, 22861, 20207, 29075, 46872, 44515, 20426, 38496, 53888, 37712, 16220, 48833, 52962, 46244, 54861, 44384, 42108, 34844, 42807, 52154, 54265, 57895, 14430, 24863, 26751, 32354, 54648, 45251, 45536, 40917, 46582, 2128, 23559, 55380, 40546, 53094, 20278, 54824, 50666, 43858, 51707, 55225, 41423, 40010, 53334, 55603, 50626, 26712, 55852, 53941, 18482, 48417, 38657, 851, 45650, 38204, 32750, 41422, 33170, 43153, 34200, 55396, 42833, 423, 46465, 41633, 41037, 36222, 38180, 34862, 27573, 45505, 53867, 43529, 32629, 33980, 53968, 39758, 21032, 24735, 39279, 35006, 40367, 54932, 52034, 49783, 49228, 45499, 39763, 54109, 51463, 39389, 45187, 46563, 48901, 44824, 35016, 47174, 57098, 44799, 57438, 45075, 29940, 47334, 40368, 31020, 20958, 23772, 47638, 42750, 55486, 49791, 43863, 2557, 33610, 33438, 9966, 39467, 48074, 21120, 55842, 31249, 35525, 36478, 53331, 25510, 25564, 59384, 45301, 39810, 24825, 46605, 44217, 42138, 32809, 42373, 18555, 2300, 49166, 55787, 33273, 18498, 40181, 33476, 35522, 38115, 58495, 52590, 22031, 24703, 14350, 37441, 17279, 45491, 34095, 42059, 22840, 16397, 55006, 26388, 47817, 36706, 33698, 31514, 40601, 46496, 40445, 18753, 32097, 46125, 49582, 37911, 37500, 51448, 54215, 31757, 39903, 49271, 41277, 48982, 29865, 51113, 54591, 31899, 33774, 50404, 35850, 15854, 44988, 56581, 48856, 37081, 46993, 23499, 42300, 7463, 49721, 46788, 26519, 49113, 39668, 41706, 51438, 51105, 51518, 25910, 37060, 38488, 38621, 43446, 31630, 57401, 47147, 10663, 34700, 54717, 42216, 42246, 38796, 33535, 51693, 50407, 34947, 56835, 39104, 48170, 19133, 54388, 52347, 32437, 38952, 33821, 35561, 57193, 48035, 32336, 40346, 39978, 33286, 3694, 33265, 54245, 41170, 50725, 40625, 36087, 48537, 37192, 48032, 53205, 41002, 19831, 43618, 39939, 57232, 15178, 32666, 54110, 22939, 56796, 48196, 52295, 36403, 8753, 47282, 20444, 30405, 55507, 26949, 44936, 12238, 37456, 32686, 55109, 30806, 37336, 27158, 13631, 53982, 2884, 38604, 37587, 42250, 14147, 50877, 173, 39466, 46446, 12498, 48564, 55628, 45791, 33013, 33615, 41883, 31901, 8050, 48418, 37526, 43255, 30103, 51744, 26597, 12972, 44505, 52053, 7511, 37309, 32945, 31126, 48387, 52954, 39898, 32330, 29908, 29902, 46792, 32274, 51314, 38178, 47284, 27611, 21194, 53076, 26605, 38455, 50813, 9859, 33824, 43505, 39873, 54077, 34034, 36128, 32079, 42550, 30251, 56330, 38054, 629, 28003, 29682, 55653, 56834, 29822, 55597, 52436, 45436, 47097, 21860, 24501, 14132, 33871, 21213, 49892, 17984, 51565, 44590, 40356, 49674, 20695, 33218, 7367, 48286, 41113, 26448, 48804, 27204, 30443, 37417, 37084, 49885, 45729, 31663, 32452, 55837, 54812, 30654, 37420, 38268, 34238, 46064, 48868, 47596, 31712, 8198, 56601, 42694, 35008, 26769, 45533, 48365, 50870, 16463, 45994, 36574, 38260, 26406, 39182, 32732, 48783, 35088, 38666, 19751, 38241, 37483, 56454, 18066, 50680, 45840, 52311, 32894, 51878, 13791, 30668, 10926, 20601, 41912, 56566, 55661, 33433, 41146, 29593, 56281, 46644, 54382, 23422, 21704, 25576, 36078, 44295, 52316, 17226, 44679, 34483, 22660, 30468, 57023, 24777, 53797, 55092, 53058, 36177, 20340, 50175, 36429, 55573, 50560, 33157, 56210, 53476, 54727, 45873, 55359, 7899, 40927, 16034, 51157, 52604, 48993, 38466, 43152, 31406, 36614, 32323, 50299, 51758, 11652, 43037, 49046, 43724, 52370, 53753, 37688, 52057, 12872, 53934, 50587, 54431, 41157, 18526, 32711, 46818, 39666, 42640, 31827, 53195, 52563, 56090, 40895, 46585, 31026, 31782, 56222, 54779, 43868, 39316, 44247, 56200, 27718, 19256, 40616, 52019, 26477, 46186, 34888, 39090, 55154, 52575, 18426, 37572, 49806, 47586, 46987, 6331, 1948, 23957, 43184, 24869, 34062, 55068, 37415, 24270, 24955, 47511, 40996, 31943, 51906, 48424, 18531, 57135, 47990, 55251, 47254, 31171, 34859, 51050, 27969, 49419, 51824, 54983, 37979, 19869, 56646, 25615, 33835, 33497, 55764, 43415, 41399, 7195, 53807, 52185, 49015, 34616, 40434, 26330, 54131, 39658, 40273, 38800, 45736, 29799, 57038, 51923, 18201, 36414, 38628, 24991, 23393, 52810, 14137, 39524, 27535, 46521, 21252, 49916, 49354, 49802, 14588, 46708, 38577, 36122, 51106, 46084, 25107, 50747, 26759, 50549, 46997, 23939, 53060, 53537, 37152, 42524, 55049, 55515, 56404, 52189, 47276, 33899, 37586, 42548, 47500, 51533, 30404, 35014, 42903, 21833, 38308, 29787, 9466, 31910, 52343, 33116, 48320, 34274, 41257, 9337, 44704, 34394, 52338, 10435, 53639, 44557, 52922, 43919, 21490, 54004, 40119, 18198, 19177, 25925, 49746, 26233, 51808, 28601, 49597, 36750, 53185, 52665, 52423, 56038, 54432, 50085, 42481, 335, 37720, 47943, 32620, 18436, 37657, 48694, 45946, 36725, 33360, 39136, 52570, 52075, 44385, 49411, 35477, 51713, 35897, 32190, 51760, 15180, 45416, 37515, 42009, 51987, 52276, 34039, 55720, 52783, 41580, 34240, 53215, 54319, 30293, 47078, 42467, 51882, 38610, 39945, 6410, 29850, 42596, 56189, 54364, 35468, 51076, 53654, 40808, 42194, 40235, 31668, 46941, 54870, 29335, 7954, 21193, 48661, 11178, 28782, 49048, 56087, 48274, 53868, 55384, 33733, 58365, 53824, 18288, 23120, 48580, 39236, 44222, 37628, 47231, 49520, 35602, 40660, 49573, 32604, 10187, 39703, 53798, 46942, 51112, 52912, 39152, 39246, 31059, 43418, 41295, 50769, 50271, 48508, 50690, 18280, 50471, 19692, 35182, 32777, 31889, 47825, 52464, 49237, 44616, 30717, 41528, 52879, 32913, 47776, 51218, 41521, 54821, 54486, 45330, 39045, 41407, 46732, 42426, 11847, 57589, 51634, 51875, 35505, 50837, 37190, 46807, 40713, 38011, 40382, 55796, 2203, 33896, 47581, 41576, 53734, 23914, 45252, 37796, 46918, 26410, 34208, 53668, 46222, 26820, 55605, 47757, 53062, 17493, 45889, 40332, 34228, 41574, 49144, 9494, 38821, 47099, 33641, 46971, 46270, 35109, 40490, 38442, 55650, 37102, 37213, 5658, 53821, 51151, 19002, 54140, 54347, 50607, 25766, 41461, 50055, 3941, 21665, 19705, 51495, 38873, 56271, 43967, 4840, 37848, 33999, 47607, 35247, 45906, 15534, 41693, 58572, 27067, 46372, 42891, 46681, 23291, 52936, 47701, 12436, 17600, 42800, 36743, 41220, 20134, 31158, 38173, 48214, 49436, 4184, 1214, 30052, 53623, 9736, 44636, 39029, 21306, 18385, 40761, 51396, 45488, 46331, 32310, 29911, 8672, 29562, 25630, 18518, 46578, 30210, 33353, 21282, 58427, 19828, 38556, 5286, 37300, 32059, 46018, 54378, 49252, 34217, 48782, 44889, 85, 47748, 39737, 31729, 27249, 23574, 52699, 13790, 31416, 52788, 50266, 40338, 35542, 49114, 22849, 29660, 48900, 5457, 51464, 20906, 43112, 22713, 44978, 36407, 46333, 20199, 28771, 50110, 14697, 51186, 52473, 41519, 39373, 43268, 12779, 17017, 42601, 40335, 55952, 47454, 47749, 43565, 35517, 49307, 36983, 47486, 6242, 53512, 43786, 43646, 44341, 49004, 48457, 52285, 47885, 35763, 52543, 30141, 42439, 43239, 54450, 13925, 42517, 8912, 20956, 52885, 43849, 52304, 49190, 47125, 23731, 10808, 19929, 6046, 40529, 47970, 51979, 47065, 33357, 55795, 52623, 39960, 41144, 40816, 34194, 55311, 22449, 19772, 26691, 30129, 40695, 30699, 45993, 38791, 35488, 43400, 45013, 39633, 54318, 41114, 15795, 46253, 53344, 53019, 33981, 48674, 55089, 7438, 42805, 31195, 48397, 18340, 29155, 39584, 28674, 37279, 40879, 40966, 6052, 47319, 47464, 34123, 51249, 38041, 22149, 48701, 34520, 45217, 40897, 19621, 35385, 51497, 55173, 48119, 49657, 40085, 35614, 25654, 54550, 45675, 32375, 41455, 36421, 42066, 44880, 41566, 44884, 43406, 53437, 40664, 36655, 50779, 50012, 54223, 54005, 48467, 50265, 40532, 41323, 14274, 34730, 51055, 48451, 38441, 8434, 42209, 22855, 32099, 46853, 39184, 48721, 33008, 48559, 49364, 49149, 49528, 56062, 23619, 47396, 4773, 52653, 48638, 25676, 53354, 34677, 44492, 41755, 6477, 14412, 40957, 45817, 34638, 36681, 43431, 22780, 50913, 18820, 11191, 29058, 39086, 13665, 29551, 33672, 50142, 51592, 31484, 14377, 42592, 32881, 53448, 56350, 46956, 52062, 13190, 42981, 38294, 35620, 56043, 36287, 43078, 42946, 23579, 40725, 25040, 49656, 32425, 51097, 53708, 37284, 52520, 23548, 23882, 25596, 857, 54160, 51348, 10960, 49132, 54446, 30892, 47802, 42905, 33225, 24730, 48791, 32023, 43346, 21774, 51075, 23292, 49180, 7631, 43274, 40778, 52438, 46660, 25330, 8367, 10456, 44651, 45748, 16519, 26800, 45167, 41387, 22823, 18652, 28206, 50841, 40740, 21934, 9651, 46741, 50308, 37602, 41751, 45894, 49396, 43275, 42121, 50431, 20527, 38062, 46208, 41667, 34102, 48036, 46728, 30229, 38207, 40783, 52490, 21525, 52972, 36428, 55147, 37769, 49744, 361, 38816, 44916, 38212, 43607, 42677, 42100, 20507, 44315, 45133, 46163, 30795, 52424, 34017, 45522, 38092, 15822, 40399, 35322, 36730, 48961, 38313, 8237, 40758, 52126, 53629, 20791, 37734, 43519, 42806, 51894, 42708, 42626, 47153, 51400, 37929, 51238, 35567, 51752, 52465, 34552, 49025, 54678, 44460, 55144, 14841, 50595, 2254, 38282, 41549, 51297, 8088, 48169, 37079, 47044, 14943, 50715, 38691, 38304, 4246, 54516, 24123, 51333, 46060, 53402, 31755, 53067, 53662, 48963, 51329, 33392, 27115, 33440, 14325, 24015, 41247, 44656, 51958, 36351, 30869, 26767, 49323, 42769, 41510, 47248, 18134, 29949, 36426, 5618, 52393, 50366, 36684, 23711, 39425, 49587, 50031, 46242, 26457, 48441, 24001, 44311, 48870, 43471, 46151, 50608, 23085, 52768, 14385, 52483, 39617, 46219, 48589, 46184, 18206, 52633, 21165, 27016, 27551, 53715, 44509, 51217, 32897, 45378, 36702, 47516, 1114, 44338, 26522, 30338, 32619, 50251, 38565, 40357, 19669, 52299, 32309, 45657, 44947, 47518, 51695, 38814, 44210, 48519, 5134, 25034, 41560, 32142, 47771, 41572, 46349, 53022, 39419, 49610, 39145, 37316, 35433, 52030, 13427, 45656, 11715, 39980, 41636, 42496, 23521, 17704, 33960, 32165, 41944, 49052, 46478, 10929, 52556, 34480, 54301, 38301, 31128, 40576, 9656, 28989, 38759, 42539, 54312, 52557, 52946, 37497, 47213, 10052, 46726, 24310, 37821, 41626, 20365, 50250, 45028, 39702, 33665, 37293, 52564, 43604, 23564, 22186, 52622, 16807, 53881, 42229, 32188, 9293, 46161, 50256, 46840, 28890, 49134, 25387, 43968, 14275, 39891, 49583, 41833, 20627, 41619, 50760, 48377, 40611, 38312, 31691, 18984, 20600, 22819, 14946, 22990, 28049, 32833, 38280, 22288, 44090, 33202, 47824, 47182, 37976, 41649, 22106, 36696, 56028, 46545, 38235, 52729, 39318, 44286, 40198, 18236, 44996, 45757, 20172, 42112, 14711, 48838, 39306, 45327, 40848, 15120, 20225, 51453, 43481, 44038, 49584, 48093, 18699) and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490474
   Query 15 - 2025-01-07 10:07:44 [5613.61ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490474 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:07:44 [5125.17ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:07:31') 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 '%c%' or `vin` like '%c%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-01-07 10:07:45 [1114.6ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 8 - 2025-01-07 10:07:45 [127.6ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null order by `vehicle`.`updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:07:45 [5733.76ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490037 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490474
   Query 19 - 2025-01-07 10:07:45 [4736.61ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490474 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490474
   Query 16 - 2025-01-07 10:07:47 [4807.92ms] */
select sum(`invoice`.`total_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` = 490474 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:07:47 [4703.6ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491139 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491149
   Query 15 - 2025-01-07 10:07:47 [5698.94ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491149 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490474
   Query 29 - 2025-01-07 10:07:49 [1310.99ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:07:49 [1154.49ms] */
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://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:07:49 [6219.41ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:07:38') 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 '%xa183%' or `vin` like '%xa183%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490474
   Query 45 - 2025-01-07 10:07:49 [105.41ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 57060 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490474
   Query 16 - 2025-01-07 10:07:49 [4937.9ms] */
select sum(`invoice`.`total_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` = 490474 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:07:49 [6197.43ms] */
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 '%PM927%' 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://rta2.puntlandgov.org/w/wkflw/490474
   Query 20 - 2025-01-07 10:07:50 [4482.07ms] */
select sum(`invoice`.`total_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` = 490474 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:07:50 [4542.72ms] */
select sum(`invoice`.`total_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` = 490037 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491149
   Query 15 - 2025-01-07 10:07:50 [4282.61ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491149 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:07:50 [872.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 '%IW8%' or `vin` like '%IW8%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:07:51 [480.31ms] */
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 '%IW8%' or `vin` like '%IW8%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:07:51 [3637.58ms] */
select sum(`invoice`.`total_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` = 491139 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491149
   Query 16 - 2025-01-07 10:07:51 [3662.84ms] */
select sum(`invoice`.`total_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` = 491149 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:07:51 [345.5ms] */
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 '%IW%' or `vin` like '%IW%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:07:52 [105.03ms] */
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 '%IW%' or `vin` like '%IW%') 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://rta2.puntlandgov.org/w/wkflw/491149
   Query 16 - 2025-01-07 10:07:52 [2132.84ms] */
select sum(`invoice`.`total_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` = 491149 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:07:52 [2859.41ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:07: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 (`license_plate` like '%c%' or `vin` like '%c%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:07:52 [335.77ms] */
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 '%IW6%' or `vin` like '%IW6%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:07:53 [314.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 '%IW6%' or `vin` like '%IW6%') 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://rta2.puntlandgov.org/w/wkflw/491149
   Query 15 - 2025-01-07 10:07:53 [2241.58ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491149 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-01-07 10:07:53 [124.96ms] */
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 (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-01-07 10:07:53 [107.85ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:07:54 [383.81ms] */
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 '%IW646%' or `vin` like '%IW646%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:07:54 [228.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 '%IW646%' or `vin` like '%IW646%') 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://rta2.puntlandgov.org/m/service/tax/start/72027
   Query 15 - 2025-01-07 10:07:54 [139.52ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:07:54 [2253.55ms] */
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 '%PM927%' 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://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:07:54 [1877.68ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:07: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 (`license_plate` like '%c%' or `vin` like '%c%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2025-01-07 10:07:54 [126.15ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 490474 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2025-01-07 10:07:54 [113.75ms] */
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` = 490474 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-01-07 10:07:55 [156.69ms] */
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` = 490474 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2025-01-07 10:07:55 [278.02ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 186579 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 38 - 2025-01-07 10:07:55 [398.18ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 186580 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-01-07 10:07:56 [384.7ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-01-07 10:07:56 [1678.58ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491149 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-01-07 10:07:56 [380.5ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:07:56 [1610.63ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:07:55') 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 '%ck128%' or `vin` like '%ck128%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 44 - 2025-01-07 10:07:57 [1320.08ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 430661 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-01-07 10:07:57 [489.73ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-01-07 10:07:57 [1460.23ms] */
select sum(`invoice`.`total_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` = 491149 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:07:58 [1316.71ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:07:55') 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 '%ck128%' or `vin` like '%ck128%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2025-01-07 10:07:58 [149.18ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 490474 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2025-01-07 10:07:58 [105.61ms] */
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` = 490474 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2025-01-07 10:07:58 [180.22ms] */
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` = 490474 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:07:59 [707.66ms] */
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 '%PM927%' 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://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:08:03 [664.62ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491149 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:08:03 [491.4ms] */
select sum(`invoice`.`total_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` = 491149 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-01-07 10:08:07 [199.17ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-01-07 10:08:07 [206.98ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 5 - 2025-01-07 10:08:09 [102.54ms] */
select * from `tax_sticker` where `term_id` = 103 and `name` like '%2%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:08:10 [1646.11ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08:08') 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://rta2.puntlandgov.org/w/wkflw/491147
   Query 19 - 2025-01-07 10:08:11 [1981.2ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491147 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:08:12 [1631.76ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08:08') 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://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:08:12 [3052.58ms] */
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 '%PM927%' 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://rta2.puntlandgov.org/w/wkflw/491147
   Query 20 - 2025-01-07 10:08:12 [1082.27ms] */
select sum(`invoice`.`total_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` = 491147 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491147
   Query 36 - 2025-01-07 10:08:13 [286.23ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-01-07 10:08:20 [424.22ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-01-07 10:08:20 [584.46ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:08:21 [2128.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-01-07 10:08:19') 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 '%x%' or `vin` like '%x%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-01-07 10:08:21 [596.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2025-01-07 10:08:22 [406.75ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 491147 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2025-01-07 10:08:23 [412.95ms] */
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` = 491147 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-01-07 10:08:23 [426.82ms] */
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` = 491147 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:08:23 [3461.25ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08: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): GET https://rta2.puntlandgov.org/w/wkflw/491130
   Query 16 - 2025-01-07 10:08:23 [3155.64ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491130 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2025-01-07 10:08:23 [369.88ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 178905 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:08:24 [2263.47ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08:19') 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 '%x%' or `vin` like '%x%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 38 - 2025-01-07 10:08:24 [404.79ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 178906 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 44 - 2025-01-07 10:08:24 [546.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 178907 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:08:25 [2315.65ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08: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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 50 - 2025-01-07 10:08:26 [1476.41ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 386707 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491130
   Query 17 - 2025-01-07 10:08:26 [2551.05ms] */
select sum(`invoice`.`total_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` = 491130 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-01-07 10:08:26 [182.84ms] */
select count(*) as aggregate from `payment` where `payment_receipt_number` = 'A2436504';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:08:26 [2384.51ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08:24') 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 '%xu%' or `vin` like '%xu%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 114 - 2025-01-07 10:08:26 [153.44ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 490474 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 116 - 2025-01-07 10:08:27 [212.1ms] */
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` = 490474 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 13 - 2025-01-07 10:08:27 [212.59ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 491147 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 121 - 2025-01-07 10:08:27 [325.77ms] */
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` = 490474 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2025-01-07 10:08:27 [343.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` = 491147 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 20 - 2025-01-07 10:08:27 [278.57ms] */
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` = 491147 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:08:28 [1324.92ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08:24') 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 '%xu%' or `vin` like '%xu%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-07 10:08:29 [470.23ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:08:29 [1598.39ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08:27') 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://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:08:30 [339.53ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 186580 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:08:30 [465.53ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 186579 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:08:31 [1580.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-01-07 10:08:27') 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://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:08:31 [1734.65ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490474 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:08:31 [1023.28ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 430661 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:08:31 [569.42ms] */
select sum(`invoice`.`total_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` = 490474 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:08:34 [1117ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08:33') 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 '%xu8%' or `vin` like '%xu8%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:08:35 [134.44ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%I%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:08:35 [1178.26ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08:33') 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 '%xu8%' or `vin` like '%xu8%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 5 - 2025-01-07 10:08:38 [117.41ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 99 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:08:38 [1219.3ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08:37') 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 '%t%' or `vin` like '%t%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:08:39 [1000.14ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08:37') 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 '%t%' or `vin` like '%t%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-01-07 10:08:40 [216.7ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:08:41 [1123.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-01-07 10:08:40') 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 '%tc617%' or `vin` like '%tc617%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490475
   Query 15 - 2025-01-07 10:08:42 [1444.94ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490475 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:08:42 [1257.36ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:08:40') 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 '%tc617%' or `vin` like '%tc617%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490475
   Query 16 - 2025-01-07 10:08:43 [971.53ms] */
select sum(`invoice`.`total_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` = 490475 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490475
   Query 23 - 2025-01-07 10:08:43 [344.08ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-07 10:08:43 [483.23ms] */
select * from `transaction` where `parent_id` = 491130 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:08:43 [184.71ms] */
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 '%x%' or `vin` like '%x%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-01-07 10:08:44 [258.52ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490475
   Query 15 - 2025-01-07 10:08:44 [675.92ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490475 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:08:44 [177.1ms] */
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 '%xu%' or `vin` like '%xu%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490475
   Query 16 - 2025-01-07 10:08:45 [853.36ms] */
select sum(`invoice`.`total_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` = 490475 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:08:45 [901.86ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491130 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:08:45 [267.5ms] */
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 '%xu8%' or `vin` like '%xu8%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:08:45 [171.53ms] */
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 '%xu8%' or `vin` like '%xu8%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:08:45 [706.77ms] */
select sum(`invoice`.`total_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` = 491130 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:08:46 [201.94ms] */
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 '%xu86%' or `vin` like '%xu86%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:08:46 [154.34ms] */
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 '%xu86%' or `vin` like '%xu86%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:08:46 [141.09ms] */
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 '%xu867%' or `vin` like '%xu867%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:08:46 [159.51ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%xu867%' or `vin` like '%xu867%') 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://rta2.puntlandgov.org/w/wkflw/490475
   Query 19 - 2025-01-07 10:08:47 [594.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490475 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490475
   Query 20 - 2025-01-07 10:08:48 [504.38ms] */
select sum(`invoice`.`total_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` = 490475 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490475
   Query 27 - 2025-01-07 10:08:48 [296.15ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:08:50 [175.29ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%u%' or `vin` like '%u%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2025-01-07 10:08:50 [133.57ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 490475 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2025-01-07 10:08:50 [103.03ms] */
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` = 490475 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-01-07 10:08:50 [122.17ms] */
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` = 490475 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2025-01-07 10:08:51 [377.85ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 440778 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 5 - 2025-01-07 10:08:53 [203.03ms] */
select count(*) as aggregate 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 (`license_plate` like '%t%' or `vin` like '%t%') and `ban_status` = 'GOOD_STANDING' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 5 - 2025-01-07 10:08:54 [145.09ms] */
select count(*) as aggregate 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 (`license_plate` like '%tc%' or `vin` like '%tc%') and `ban_status` = 'GOOD_STANDING' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 5 - 2025-01-07 10:08:55 [147.57ms] */
select count(*) as aggregate 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 (`license_plate` like '%tc6%' or `vin` like '%tc6%') and `ban_status` = 'GOOD_STANDING' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 6 - 2025-01-07 10:08:55 [168.35ms] */
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 (`license_plate` like '%tc6%' or `vin` like '%tc6%') and `ban_status` = 'GOOD_STANDING' and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:08:55 [132.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 (`license_plate` like '%q%' or `vin` like '%q%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:08:55 [763.56ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491130 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 5 - 2025-01-07 10:08:56 [147.65ms] */
select count(*) as aggregate 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 (`license_plate` like '%tc617%' or `vin` like '%tc617%') and `ban_status` = 'GOOD_STANDING' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.update-vehicle-list-component
   Query 6 - 2025-01-07 10:08:56 [180.87ms] */
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 (`license_plate` like '%tc617%' or `vin` like '%tc617%') and `ban_status` = 'GOOD_STANDING' and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:08:56 [150.4ms] */
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 '%qg%' or `vin` like '%qg%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:08:56 [660.74ms] */
select sum(`invoice`.`total_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` = 491130 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:08:58 [129.23ms] */
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 '%qg8%' or `vin` like '%qg8%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:08:58 [107.18ms] */
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 '%qg8%' or `vin` like '%qg8%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:08:58 [126ms] */
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 '%qg87%' or `vin` like '%qg87%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:08:59 [135.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 (`license_plate` like '%qg874%' or `vin` like '%qg874%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:09:01 [133.07ms] */
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 '%qg84%' or `vin` like '%qg84%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:09:01 [155.26ms] */
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 '%qg84%' or `vin` like '%qg84%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:09:01 [134.95ms] */
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 '%qg847%' or `vin` like '%qg847%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:09:02 [158.84ms] */
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 '%qg847%' or `vin` like '%qg847%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 68 - 2025-01-07 10:09:14 [155.84ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 490475 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 70 - 2025-01-07 10:09:14 [124.5ms] */
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` = 490475 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 75 - 2025-01-07 10:09:14 [129.12ms] */
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` = 490475 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-07 10:09:15 [209.5ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:09:16 [1029.18ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490475 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:09:16 [857.91ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 440778 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 5 - 2025-01-07 10:09:17 [444.49ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 18 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:09:17 [1102.73ms] */
select sum(`invoice`.`total_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` = 490475 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 6 - 2025-01-07 10:09:18 [626.99ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 18 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-01-07 10:09:23 [439.79ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-01-07 10:09:25 [1516.15ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:09:27 [1321.36ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09: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 `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:09:28 [1336.65ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09: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 `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490476
   Query 15 - 2025-01-07 10:09:28 [1151.43ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490476 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490476
   Query 16 - 2025-01-07 10:09:29 [559.38ms] */
select sum(`invoice`.`total_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` = 490476 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490476
   Query 23 - 2025-01-07 10:09:29 [295.14ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:09:31 [673.74ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491139 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:09:32 [619.82ms] */
select sum(`invoice`.`total_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` = 491139 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490476
   Query 19 - 2025-01-07 10:09:32 [702.02ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490476 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490476
   Query 20 - 2025-01-07 10:09:32 [560.08ms] */
select sum(`invoice`.`total_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` = 490476 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490476
   Query 27 - 2025-01-07 10:09:33 [328.01ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:09:33 [692.65ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491139 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-01-07 10:09:33 [140.76ms] */
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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 137 - 2025-01-07 10:09:34 [124.33ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 491147 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 139 - 2025-01-07 10:09:35 [116.21ms] */
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` = 491147 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-01-07 10:09:35 [253.19ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 144 - 2025-01-07 10:09:35 [100.49ms] */
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` = 491147 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2025-01-07 10:09:35 [114.36ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 490476 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2025-01-07 10:09:35 [103.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` = 490476 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-01-07 10:09:35 [106.31ms] */
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` = 490476 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2025-01-07 10:09:36 [424.75ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 446718 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:09:36 [187.95ms] */
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 '%b%' or `vin` like '%b%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:09:36 [193.17ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 178906 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:09:36 [193.56ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 178905 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:09:36 [180.98ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 178907 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:09:36 [721.35ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491147 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:09:37 [413.81ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 386707 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:09:37 [205.23ms] */
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 '%bd%' or `vin` like '%bd%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:09:37 [748.09ms] */
select sum(`invoice`.`total_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` = 491147 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491137
   Query 16 - 2025-01-07 10:09:37 [810.32ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491137 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491137
   Query 17 - 2025-01-07 10:09:38 [569.5ms] */
select sum(`invoice`.`total_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` = 491137 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2025-01-07 10:09:38 [146.89ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 490476 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2025-01-07 10:09:38 [125.65ms] */
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` = 490476 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491137
   Query 24 - 2025-01-07 10:09:38 [319.63ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2025-01-07 10:09:38 [115.06ms] */
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` = 490476 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:09:39 [166.53ms] */
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 '%bd7%' or `vin` like '%bd7%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:09:39 [158.98ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%bd7%' or `vin` like '%bd7%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:09:39 [134.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 '%bd758%' or `vin` like '%bd758%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:09:39 [161.65ms] */
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 '%bd758%' or `vin` like '%bd758%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:09:42 [145.92ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%E%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:09:42 [129.94ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%E%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:09:42 [1382.9ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09:41') 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 '%e%' or `vin` like '%e%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:09:43 [1028.59ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09:41') 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 '%e%' or `vin` like '%e%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-07 10:09:44 [440.02ms] */
select * from `transaction` where `parent_id` = 491137 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:09:45 [1105.21ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09:44') 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 '%e2322%' or `vin` like '%e2322%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-01-07 10:09:45 [425.08ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-01-07 10:09:45 [220.07ms] */
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 `vehicle`.`provisional` = 'Y' and (`license_plate` like '%x%' or `vin` like '%x%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:09:46 [1100.33ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09:44') 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 '%e2322%' or `vin` like '%e2322%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:09:47 [990.06ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491137 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:09:48 [1167.69ms] */
select sum(`invoice`.`total_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` = 491137 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:09:48 [1492.66ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09: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://rta2.puntlandgov.org/m/service/tax/start/77851
   Query 15 - 2025-01-07 10:09:48 [180.58ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:09:49 [931.4ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09: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://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:09:54 [1070.19ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09: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 '%b%' or `vin` like '%b%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491135
   Query 21 - 2025-01-07 10:09:55 [470.73ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:09:55 [1134.14ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09: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 '%b%' or `vin` like '%b%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:09:57 [1001.83ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09:56') 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 '%bd758%' or `vin` like '%bd758%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-01-07 10:09:58 [114.48ms] */
select count(*) as aggregate from `payment` where `payment_receipt_number` = 'A24667072';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 68 - 2025-01-07 10:09:58 [201.9ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 490476 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 70 - 2025-01-07 10:09:58 [164.5ms] */
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` = 490476 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 75 - 2025-01-07 10:09:58 [200.24ms] */
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` = 490476 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:09:59 [1240.28ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:09:56') 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 '%bd758%' or `vin` like '%bd758%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-07 10:09:59 [403.6ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:10:00 [881.96ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491137 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:10:00 [685.37ms] */
select sum(`invoice`.`total_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` = 491137 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:10:00 [854.89ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490476 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:10:00 [525.42ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 446718 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:10:01 [491.09ms] */
select sum(`invoice`.`total_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` = 490476 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490521
   Query 19 - 2025-01-07 10:10:07 [779.62ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490521 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:10:08 [1232.04ms] */
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 '%TC617%' 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://rta2.puntlandgov.org/w/wkflw/490521
   Query 20 - 2025-01-07 10:10:08 [790.7ms] */
select sum(`invoice`.`total_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` = 490521 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490521
   Query 27 - 2025-01-07 10:10:08 [412.11ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491134
   Query 16 - 2025-01-07 10:10:10 [615.38ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491134 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491134
   Query 17 - 2025-01-07 10:10:11 [544.37ms] */
select sum(`invoice`.`total_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` = 491134 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491134
   Query 24 - 2025-01-07 10:10:11 [330.26ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 5 - 2025-01-07 10:10:11 [245.15ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 18 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 6 - 2025-01-07 10:10:12 [623.59ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 18 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:10:12 [1606.17ms] */
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 '%TC617%' 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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2025-01-07 10:10:13 [119.25ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 490521 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2025-01-07 10:10:14 [105.62ms] */
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` = 490521 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-01-07 10:10:14 [130.99ms] */
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` = 490521 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2025-01-07 10:10:14 [447.63ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 388996 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491193
   Query 15 - 2025-01-07 10:10:14 [748.53ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491193 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-01-07 10:10:14 [199.24ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491193
   Query 16 - 2025-01-07 10:10:15 [604.15ms] */
select sum(`invoice`.`total_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` = 491193 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 24 - 2025-01-07 10:10:17 [586.39ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491193 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 25 - 2025-01-07 10:10:18 [536.55ms] */
select sum(`invoice`.`total_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` = 491193 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-01-07 10:10:18 [175.03ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-01-07 10:10:18 [233.06ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:10:18 [233.75ms] */
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 '%T%' or `vin` like '%T%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 56 - 2025-01-07 10:10:18 [281.22ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:10:19 [163.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 '%TH76%' or `vin` like '%TH76%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:10:19 [160.89ms] */
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 '%TH76%' or `vin` like '%TH76%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-07 10:10:19 [344.72ms] */
select * from `transaction` where `parent_id` = 491134 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-01-07 10:10:19 [261.47ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:10:20 [178.64ms] */
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 '%TH767%' or `vin` like '%TH767%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:10:20 [175.49ms] */
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 '%TH767%' or `vin` like '%TH767%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:10:20 [664.07ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491193 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:10:21 [717.59ms] */
select sum(`invoice`.`total_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` = 491193 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:10:21 [710.66ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491134 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:10:21 [1035.15ms] */
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 '%TC617%' 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://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:10:21 [667.12ms] */
select sum(`invoice`.`total_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` = 491134 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-01-07 10:10:25 [125.59ms] */
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://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:10:25 [873.75ms] */
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 '%TC617%' 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://rta2.puntlandgov.org
   Query 9 - 2025-01-07 10:10:28 [150.83ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-01-07 10:10:29 [418.19ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-01-07 10:10:29 [619.71ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-01-07 10:10:30 [1313.8ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:10:31 [2548.2ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:10:28') 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://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:10:33 [2958.75ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491134 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:10:33 [2491.36ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:10:28') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-01-07 10:10:34 [4250.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-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:10:34 [2997.97ms] */
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 '%TC617%' 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://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:10:34 [1526.36ms] */
select sum(`invoice`.`total_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` = 491134 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:10:35 [260.12ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%E%' or `vin` like '%E%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:10:36 [1586.49ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:10:35') 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://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:10:37 [1213.53ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:10:35') 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://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:10:38 [283.8ms] */
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 '%E3%' or `vin` like '%E3%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:10:39 [220.47ms] */
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 '%E34%' or `vin` like '%E34%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:10:40 [1953.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-01-07 10:10:38') 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://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:10:40 [318ms] */
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 '%E3497%' or `vin` like '%E3497%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:10:40 [328.25ms] */
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 '%E3497%' or `vin` like '%E3497%') 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://rta2.puntlandgov.org/w/wkflw/491133
   Query 16 - 2025-01-07 10:10:40 [2070.35ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491133 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-01-07 10:10:41 [230.04ms] */
select count(*) as aggregate from `payment` where `payment_receipt_number` = 2476098;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 68 - 2025-01-07 10:10:42 [368.78ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 490521 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 70 - 2025-01-07 10:10:42 [420.9ms] */
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` = 490521 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:10:43 [2944.68ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:10:38') 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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 75 - 2025-01-07 10:10:43 [496.46ms] */
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` = 490521 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:10:43 [4747.13ms] */
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 '%TC617%' 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://rta2.puntlandgov.org/w/wkflw/491133
   Query 17 - 2025-01-07 10:10:43 [2709.82ms] */
select sum(`invoice`.`total_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` = 491133 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:10:43 [3051.53ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:10:40') 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://rta2.puntlandgov.org/w/wkflw/491133
   Query 24 - 2025-01-07 10:10:44 [469.07ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-07 10:10:44 [559.9ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-01-07 10:10:44 [350.44ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491133
   Query 36 - 2025-01-07 10:10:44 [426.39ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 28 - 2025-01-07 10:10:44 [432.74ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-01-07 10:10:44 [441.89ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-01-07 10:10:44 [427.08ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491133
   Query 49 - 2025-01-07 10:10:44 [351.22ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:10:45 [1505.56ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:10:40') 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://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:10:46 [280.28ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%ww%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-01-07 10:10:46 [136.36ms] */
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 (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491133
   Query 16 - 2025-01-07 10:10:46 [1562.73ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491133 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-01-07 10:10:46 [141.88ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:10:46 [373.29ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%ww%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:10:46 [926.15ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 388996 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:10:46 [1485.02ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490521 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:10:47 [159.55ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%ww6%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491133
   Query 17 - 2025-01-07 10:10:47 [1152.22ms] */
select sum(`invoice`.`total_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` = 491133 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:10:47 [119.6ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%ww6%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:10:47 [959.43ms] */
select sum(`invoice`.`total_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` = 490521 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:10:48 [179.48ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%ww644%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:10:48 [140.4ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%ww644%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:10:48 [1630.84ms] */
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 '%TC617%' 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://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:10:50 [251.97ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%4%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:10:50 [117.34ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%4%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:10:51 [105.39ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%41%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:10:51 [1964.04ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:10: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 (`license_plate` like '%i%' or `vin` like '%i%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491147
   Query 16 - 2025-01-07 10:10:52 [2186.71ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491147 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:10:52 [191.89ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%413%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:10:53 [182.14ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%413%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:10:53 [3345.71ms] */
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 '%TC617%' 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://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:10:53 [145.87ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%4135%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:10:53 [2064.85ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:10: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 (`license_plate` like '%i%' or `vin` like '%i%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491147
   Query 17 - 2025-01-07 10:10:54 [1892.66ms] */
select sum(`invoice`.`total_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` = 491147 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:10:54 [141.69ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%41351%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-01-07 10:10:54 [217.19ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:10:54 [105.4ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%41351%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 10 - 2025-01-07 10:10:54 [140ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491147
   Query 33 - 2025-01-07 10:10:54 [464.93ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-07 10:10:54 [530.46ms] */
select * from `transaction` where `parent_id` = 491133 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/69678
   Query 15 - 2025-01-07 10:10:54 [140.85ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491147
   Query 58 - 2025-01-07 10:10:54 [339.53ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-01-07 10:10:54 [315.59ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-01-07 10:10:55 [579.32ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:10:57 [2097.8ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491133 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-01-07 10:10:57 [2748.31ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:10:58 [3397.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 '%TC617%' 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://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:10:59 [1629.31ms] */
select sum(`invoice`.`total_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` = 491133 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491034
   Query 19 - 2025-01-07 10:10:59 [1831.12ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491034 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-01-07 10:10:59 [330.14ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-01-07 10:11:00 [353.58ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491034
   Query 20 - 2025-01-07 10:11:00 [1115.18ms] */
select sum(`invoice`.`total_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` = 491034 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491034
   Query 33 - 2025-01-07 10:11:00 [438.46ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:11:00 [1298.2ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491133 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:11:00 [1329.95ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491147 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:11:01 [756.1ms] */
select sum(`invoice`.`total_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` = 491133 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:11:01 [795.08ms] */
select sum(`invoice`.`total_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` = 491147 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-01-07 10:11:05 [273.41ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2025-01-07 10:11:06 [109.39ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 491034 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2025-01-07 10:11:06 [100.71ms] */
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` = 491034 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-01-07 10:11:06 [118.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` = 491034 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2025-01-07 10:11:06 [449.52ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 467748 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 38 - 2025-01-07 10:11:07 [396.59ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 467749 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 44 - 2025-01-07 10:11:07 [405.44ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 467750 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 50 - 2025-01-07 10:11:08 [437.8ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 467751 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 56 - 2025-01-07 10:11:08 [383.27ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 467752 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 62 - 2025-01-07 10:11:08 [392.38ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 467753 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 68 - 2025-01-07 10:11:09 [378.31ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 467754 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:11:10 [556.19ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491147 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:11:11 [564.53ms] */
select sum(`invoice`.`total_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` = 491147 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:11:12 [582.65ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491133 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:11:12 [550.42ms] */
select sum(`invoice`.`total_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` = 491133 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:11:12 [723.52ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491147 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2025-01-07 10:11:12 [102.79ms] */
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` = 491034 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:11:13 [528.29ms] */
select sum(`invoice`.`total_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` = 491147 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:13 [275.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 '%e468%' or `vin` like '%e468%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:11:13 [158.92ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%e468%' or `vin` like '%e468%') 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://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-01-07 10:11:14 [115.33ms] */
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://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:11:15 [928.4ms] */
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 '%BS643%' 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://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-01-07 10:11:18 [144.06ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%E%' or `vin` like '%E%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:11:19 [1698.28ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:18') 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://rta2.puntlandgov.org/w/wkflw/491132
   Query 16 - 2025-01-07 10:11:19 [1376.64ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491132 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-01-07 10:11:20 [191.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 '%E2%' or `vin` like '%E2%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:11:21 [1668.9ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:18') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491132
   Query 17 - 2025-01-07 10:11:21 [1714.57ms] */
select sum(`invoice`.`total_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` = 491132 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:11:21 [1794.02ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:19') 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://rta2.puntlandgov.org/w/wkflw/491132
   Query 24 - 2025-01-07 10:11:22 [481.2ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:11:22 [1078.41ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:19') 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://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-01-07 10:11:22 [135.81ms] */
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 '%E26%' or `vin` like '%E26%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-01-07 10:11:23 [156.28ms] */
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 '%E263%' or `vin` like '%E263%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:23 [157.73ms] */
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 '%j%' or `vin` like '%j%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-01-07 10:11:24 [170.8ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 10 - 2025-01-07 10:11:24 [125.8ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:25 [243.09ms] */
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 '%jc%' or `vin` like '%jc%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-01-07 10:11:25 [255.78ms] */
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 '%E2633%' or `vin` like '%E2633%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2025-01-07 10:11:25 [145.22ms] */
select count(*) as aggregate from `payment` where `payment_receipt_number` = 0027537;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 8 - 2025-01-07 10:11:25 [307.47ms] */
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 '%E2633%' or `vin` like '%E2633%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 6 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:11:25 [2276.78ms] */
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 '%BS643%' 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://rta2.puntlandgov.org
   Query 11 - 2025-01-07 10:11:26 [1608.47ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 30 - 2025-01-07 10:11:26 [518.96ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-07 10:11:26 [2454.03ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:24') 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://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:27 [212.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 (`license_plate` like '%jc6%' or `vin` like '%jc6%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:11:27 [208.8ms] */
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 '%jc6%' or `vin` like '%jc6%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:28 [204.05ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%jc649%' or `vin` like '%jc649%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-07 10:11:29 [2710.69ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:24') and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-01-07 10:11:30 [4523.03ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-07 10:11:31 [631.57ms] */
select * from `transaction` where `parent_id` = 491132 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:11:31 [3710ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:27') 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 '%g%' or `vin` like '%g%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-01-07 10:11:31 [569.09ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:11:32 [3530.71ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:28') 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://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2025-01-07 10:11:32 [188.7ms] */
select * from `party` where `party`.`id` in (85, 113, 173, 335, 361, 423, 629, 851, 857, 1114, 1123, 1214, 1267, 1303, 1358, 1586, 1720, 1752, 1948, 2022, 2128, 2203, 2254, 2283, 2300, 2357, 2557, 2884, 2953, 3178, 3183, 3228, 3694, 3742, 3941, 4024, 4043, 4071, 4184, 4246, 4773, 4840, 4877, 5134, 5236, 5286, 5457, 5618, 5658, 5687, 5814, 5922, 6046, 6052, 6077, 6156, 6242, 6331, 6388, 6410, 6477, 7035, 7195, 7367, 7438, 7439, 7460, 7463, 7511, 7529, 7631, 7713, 7899, 7954, 8050, 8088, 8198, 8237, 8367, 8434, 8615, 8625, 8672, 8753, 8912, 8929, 9293, 9337, 9466, 9494, 9548, 9651, 9656, 9736, 9753, 9859, 9862, 9966, 10052, 10187, 10435, 10456, 10568, 10663, 10718, 10808, 10926, 10929, 10960, 11178, 11191, 11218, 11652, 11715, 11847, 12115, 12238, 12367, 12436, 12498, 12627, 12779, 12824, 12872, 12899, 12972, 13087, 13190, 13230, 13427, 13478, 13631, 13664, 13665, 13754, 13790, 13791, 13794, 13885, 13912, 13925, 14020, 14025, 14084, 14086, 14132, 14137, 14147, 14202, 14238, 14267, 14274, 14275, 14325, 14350, 14369, 14377, 14385, 14394, 14412, 14416, 14430, 14588, 14628, 14696, 14697, 14711, 14815, 14841, 14843, 14857, 14943, 14946, 14950, 14952, 14996, 15120, 15168, 15176, 15178, 15180, 15211, 15318, 15534, 15618, 15795, 15822, 15854, 15892, 16034, 16082, 16098, 16148, 16220, 16397, 16403, 16409, 16463, 16493, 16516, 16519, 16553, 16682, 16807, 16820, 17017, 17048, 17211, 17226, 17279, 17293, 17332, 17460, 17493, 17519, 17599, 17600, 17704, 17810, 17945, 17984, 18033, 18066, 18134, 18198, 18201, 18206, 18233, 18236, 18280, 18288, 18340, 18344, 18385, 18426, 18436, 18442, 18447, 18482, 18487, 18490, 18498, 18518, 18526, 18531, 18555, 18558, 18637, 18652, 18699, 18747, 18753, 18820, 18926, 18984, 18996, 19002, 19133, 19177, 19181, 19256, 19337, 19388, 19467, 19499, 19502, 19504, 19526, 19621, 19637, 19646, 19669, 19692, 19705, 19734, 19751, 19772, 19805, 19828, 19831, 19841, 19865, 19869, 19906, 19929, 19994, 20007, 20108, 20134, 20157, 20167, 20172, 20199, 20207, 20210, 20225, 20274, 20278, 20340, 20365, 20406, 20426, 20444, 20505, 20507, 20527, 20600, 20601, 20622, 20627, 20677, 20686, 20695, 20791, 20856, 20906, 20956, 20958, 21032, 21052, 21120, 21165, 21193, 21194, 21198, 21213, 21215, 21232, 21252, 21272, 21282, 21306, 21396, 21402, 21490, 21525, 21549, 21665, 21676, 21704, 21713, 21774, 21833, 21860, 21934, 21956, 22031, 22035, 22041, 22106, 22149, 22186, 22288, 22330, 22343, 22449, 22453, 22610, 22660, 22713, 22733, 22766, 22780, 22819, 22823, 22840, 22849, 22855, 22861, 22870, 22916, 22939, 22990, 23079, 23085, 23114, 23120, 23291, 23292, 23388, 23393, 23422, 23423, 23451, 23499, 23521, 23548, 23556, 23559, 23560, 23564, 23574, 23579, 23619, 23637, 23638, 23651, 23652, 23711, 23721, 23731, 23772, 23778, 23823, 23829, 23882, 23914, 23939, 23957, 24001, 24015, 24086, 24123, 24270, 24288, 24310, 24501, 24586, 24703, 24730, 24735, 24777, 24781, 24818, 24825, 24844, 24863, 24869, 24875, 24914, 24955, 24971, 24978, 24991, 25031, 25034, 25040, 25056, 25107, 25111, 25330, 25387, 25453, 25510, 25549, 25564, 25576, 25596, 25597, 25615, 25630, 25632, 25654, 25676, 25701, 25710, 25737, 25766, 25902, 25910, 25925, 25948, 26009, 26035, 26085, 26172, 26201, 26204, 26231, 26233, 26287, 26330, 26333, 26388, 26406, 26410, 26448, 26457, 26477, 26519, 26522, 26597, 26605, 26657, 26691, 26712, 26751, 26752, 26759, 26767, 26769, 26800, 26820, 26944, 26949, 27016, 27067, 27115, 27158, 27204, 27249, 27340, 27346, 27415, 27432, 27447, 27535, 27551, 27557, 27573, 27577, 27592, 27611, 27718, 27765, 27779, 27795, 27849, 27890, 27938, 27945, 27969, 28003, 28049, 28205, 28206, 28601, 28611, 28674, 28770, 28771, 28782, 28864, 28890, 28974, 28989, 29022, 29058, 29075, 29090, 29127, 29155, 29167, 29200, 29335, 29336, 29337, 29427, 29457, 29508, 29543, 29551, 29562, 29593, 29660, 29663, 29682, 29712, 29787, 29799, 29807, 29814, 29822, 29850, 29862, 29865, 29902, 29908, 29911, 29915, 29919, 29923, 29940, 29946, 29949, 29966, 29968, 30038, 30052, 30103, 30107, 30128, 30129, 30141, 30154, 30156, 30164, 30178, 30210, 30229, 30243, 30251, 30293, 30298, 30338, 30351, 30378, 30380, 30404, 30405, 30443, 30468, 30493, 30542, 30543, 30602, 30635, 30648, 30654, 30668, 30699, 30704, 30717, 30739, 30795, 30806, 30851, 30869, 30892, 30928, 31020, 31026, 31059, 31067, 31073, 31126, 31128, 31158, 31171, 31195, 31249, 31251, 31323, 31365, 31406, 31416, 31444, 31474, 31484, 31514, 31578, 31630, 31663, 31668, 31691, 31712, 31724, 31727, 31729, 31745, 31755, 31757, 31767, 31782, 31827, 31856, 31889, 31899, 31901, 31910, 31943, 31984, 32023, 32059, 32079, 32097, 32099, 32106, 32140, 32142, 32165, 32188, 32190, 32274, 32309, 32310, 32323, 32330, 32336, 32340, 32354, 32367, 32368, 32375, 32397, 32425, 32436, 32437, 32452, 32475, 32541, 32561, 32604, 32619, 32620, 32629, 32666, 32674, 32676, 32681, 32686, 32711, 32732, 32750, 32758, 32768, 32769, 32773, 32777, 32809, 32833, 32847, 32862, 32881, 32888, 32894, 32897, 32913, 32945, 32983, 32987, 33008, 33013, 33023, 33116, 33143, 33157, 33170, 33197, 33200, 33202, 33218, 33223, 33225, 33252, 33265, 33273, 33286, 33288, 33353, 33357, 33360, 33392, 33401, 33433, 33438, 33440, 33463, 33466, 33468, 33476, 33497, 33504, 33515, 33535, 33610, 33615, 33641, 33655, 33665, 33666, 33672, 33689, 33698, 33710, 33717, 33733, 33764, 33774, 33821, 33824, 33835, 33871, 33884, 33890, 33896, 33899, 33935, 33960, 33971, 33980, 33981, 33997, 33999, 34008, 34017, 34034, 34039, 34062, 34065, 34095, 34096, 34102, 34123, 34189, 34194, 34200, 34207, 34208, 34210, 34217, 34228, 34238, 34240, 34244, 34274, 34280, 34293, 34394, 34480, 34483, 34490, 34520, 34541, 34552, 34616, 34638, 34677, 34700, 34730, 34735, 34803, 34844, 34846, 34859, 34862, 34876, 34888, 34896, 34947, 34971, 34982, 35006, 35008, 35012, 35014, 35016, 35031, 35085, 35088, 35109, 35122, 35157, 35182, 35222, 35247, 35262, 35265, 35294, 35299, 35308, 35322, 35346, 35385, 35433, 35461, 35464, 35468, 35474, 35475, 35477, 35483, 35488, 35505, 35517, 35522, 35525, 35528, 35542, 35561, 35567, 35591, 35602, 35614, 35620, 35652, 35657, 35679, 35735, 35763, 35850, 35897, 36011, 36078, 36084, 36087, 36103, 36122, 36128, 36177, 36184, 36220, 36222, 36287, 36349, 36351, 36378, 36387, 36394, 36397, 36401, 36403, 36407, 36414, 36421, 36426, 36428, 36429, 36430, 36478, 36564, 36567, 36574, 36606, 36614, 36637, 36655, 36681, 36684, 36696, 36702, 36706, 36715, 36725, 36730, 36743, 36750, 36968, 36983, 37010, 37045, 37060, 37070, 37079, 37081, 37084, 37102, 37152, 37159, 37190, 37192, 37213, 37221, 37225, 37231, 37246, 37279, 37281, 37284, 37293, 37300, 37309, 37312, 37316, 37336, 37378, 37392, 37415, 37417, 37420, 37441, 37456, 37483, 37490, 37495, 37497, 37499, 37500, 37511, 37515, 37526, 37528, 37552, 37559, 37569, 37572, 37577, 37586, 37587, 37600, 37602, 37628, 37648, 37657, 37683, 37688, 37690, 37699, 37712, 37720, 37721, 37734, 37736, 37767, 37769, 37772, 37781, 37796, 37821, 37843, 37848, 37887, 37911, 37929, 37933, 37968, 37976, 37978, 37979, 37988, 38010, 38011, 38020, 38041, 38053, 38054, 38062, 38092, 38115, 38166, 38172, 38173, 38176, 38178, 38180, 38204, 38207, 38212, 38216, 38219, 38225, 38235, 38238, 38241, 38260, 38268, 38280, 38282, 38288, 38294, 38301, 38304, 38308, 38312, 38313, 38333, 38336, 38353, 38441, 38442, 38455, 38466, 38488, 38496, 38508, 38556, 38565, 38573, 38577, 38600, 38604, 38608, 38610, 38621, 38625, 38628, 38633, 38644, 38657, 38666, 38691, 38739, 38759, 38791, 38796, 38800, 38814, 38816, 38821, 38856, 38861, 38873, 38888, 38907, 38911, 38939, 38949, 38952, 39024, 39029, 39032, 39045, 39054, 39079, 39086, 39090, 39104, 39119, 39136, 39145, 39152, 39172, 39182, 39184, 39201, 39206, 39236, 39245, 39246, 39259, 39267, 39279, 39295, 39306, 39316, 39318, 39360, 39369, 39373, 39389, 39419, 39425, 39436, 39460, 39466, 39467, 39478, 39524, 39538, 39561, 39575, 39584, 39596, 39601, 39617, 39626, 39633, 39658, 39666, 39668, 39702, 39703, 39737, 39755, 39758, 39759, 39763, 39768, 39773, 39806, 39810, 39873, 39891, 39898, 39903, 39939, 39945, 39955, 39960, 39978, 39980, 39985, 40002, 40006, 40010, 40015, 40017, 40059, 40085, 40119, 40181, 40198, 40235, 40273, 40275, 40332, 40335, 40338, 40346, 40356, 40357, 40367, 40368, 40382, 40398, 40399, 40434, 40445, 40490, 40502, 40505, 40529, 40532, 40546, 40562, 40564, 40576, 40590, 40601, 40602, 40608, 40610, 40611, 40616, 40625, 40632, 40660, 40664, 40695, 40713, 40714, 40725, 40732, 40740, 40758, 40761, 40778, 40780, 40783, 40808, 40816, 40817, 40848, 40873, 40876, 40879, 40890, 40895, 40897, 40917, 40927, 40957, 40966, 40981, 40996, 41002, 41037, 41064, 41066, 41070, 41082, 41113, 41114, 41144, 41146, 41157, 41170, 41220, 41247, 41251, 41257, 41272, 41273, 41277, 41284, 41287, 41294, 41295, 41311, 41312, 41323, 41324, 41345, 41387, 41399, 41407, 41422, 41423, 41433, 41455, 41461, 41471, 41510, 41519, 41521, 41525, 41528, 41549, 41560, 41566, 41572, 41574, 41576, 41580, 41615, 41619, 41626, 41633, 41636, 41649, 41667, 41693, 41699, 41706, 41751, 41755, 41768, 41792, 41798, 41799, 41826, 41828, 41833, 41853, 41868, 41883, 41912, 41924, 41944, 42009, 42059, 42066, 42100, 42108, 42112, 42121, 42138, 42161, 42194, 42209, 42216, 42229, 42230, 42231, 42246, 42250, 42261, 42273, 42284, 42300, 42373, 42374, 42388, 42426, 42439, 42440, 42467, 42481, 42482, 42496, 42517, 42524, 42526, 42531, 42532, 42539, 42542, 42544, 42548, 42550, 42556, 42592, 42596, 42601, 42615, 42626, 42634, 42640, 42677, 42683, 42694, 42708, 42727, 42750, 42752, 42769, 42770, 42790, 42800, 42805, 42806, 42807, 42811, 42833, 42845, 42865, 42889, 42891, 42903, 42904, 42905, 42913, 42946, 42951, 42977, 42981, 43036, 43037, 43078, 43112, 43114, 43120, 43152, 43153, 43184, 43232, 43239, 43255, 43268, 43270, 43274, 43275, 43293, 43346, 43349, 43376, 43380, 43400, 43406, 43415, 43418, 43423, 43431, 43435, 43446, 43450, 43466, 43471, 43481, 43486, 43505, 43518, 43519, 43529, 43565, 43566, 43589, 43604, 43607, 43618, 43646, 43666, 43686, 43691, 43711, 43724, 43737, 43756, 43768, 43786, 43789, 43802, 43811, 43825, 43833, 43842, 43843, 43848, 43849, 43851, 43858, 43863, 43868, 43919, 43967, 43968, 44005, 44033, 44035, 44038, 44086, 44090, 44094, 44110, 44118, 44135, 44138, 44210, 44217, 44222, 44230, 44247, 44279, 44286, 44295, 44305, 44311, 44315, 44321, 44332, 44338, 44341, 44354, 44384, 44385, 44389, 44418, 44460, 44465, 44466, 44473, 44482, 44489, 44490, 44492, 44496, 44505, 44509, 44515, 44538, 44557, 44590, 44600, 44606, 44607, 44616, 44632, 44636, 44648, 44650, 44651, 44656, 44666, 44679, 44704, 44754, 44765, 44799, 44824, 44839, 44861, 44880, 44884, 44889, 44916, 44919, 44936, 44940, 44947, 44978, 44988, 44990, 44996, 45013, 45014, 45017, 45028, 45030, 45052, 45054, 45063, 45075, 45130, 45133, 45167, 45169, 45171, 45187, 45190, 45193, 45204, 45217, 45221, 45249, 45251, 45252, 45256, 45275, 45301, 45327, 45330, 45378, 45385, 45416, 45436, 45440, 45451, 45458, 45474, 45488, 45491, 45499, 45505, 45521, 45522, 45533, 45536, 45558, 45565, 45573, 45650, 45656, 45657, 45675, 45725, 45729, 45736, 45748, 45752, 45753, 45757, 45791, 45816, 45817, 45827, 45831, 45840, 45841, 45847, 45873, 45889, 45894, 45906, 45919, 45933, 45934, 45946, 45993, 45994, 46007, 46018, 46025, 46041, 46060, 46064, 46084, 46089, 46122, 46125, 46151, 46161, 46163, 46179, 46184, 46186, 46208, 46219, 46222, 46227, 46242, 46244, 46253, 46270, 46273, 46331, 46333, 46341, 46349, 46372, 46430, 46446, 46464, 46465, 46472, 46476, 46478, 46496, 46521, 46545, 46562, 46563, 46567, 46578, 46582, 46585, 46590, 46591, 46605, 46644, 46660, 46662, 46681, 46707, 46708, 46726, 46727, 46728, 46732, 46741, 46783, 46788, 46792, 46807, 46810, 46818, 46840, 46850, 46853, 46872, 46893, 46918, 46941, 46942, 46956, 46967, 46968, 46971, 46987, 46993, 46997, 47013, 47044, 47065, 47069, 47078, 47097, 47099, 47125, 47147, 47153, 47157, 47174, 47182, 47202, 47213, 47223, 47231, 47248, 47254, 47276, 47282, 47284, 47307, 47319, 47334, 47360, 47396, 47454, 47464, 47486, 47497, 47500, 47511, 47516, 47518, 47555, 47581, 47586, 47596, 47599, 47607, 47638, 47701, 47710, 47714, 47722, 47727, 47748, 47749, 47753, 47755, 47757, 47771, 47776, 47802, 47806, 47817, 47824, 47825, 47832, 47869, 47885, 47904, 47922, 47934, 47941, 47943, 47947, 47958, 47970, 47990, 48009, 48024, 48032, 48035, 48036, 48041, 48054, 48074, 48093, 48119, 48130, 48162, 48169, 48170, 48174, 48182, 48196, 48208, 48214, 48217, 48218, 48219, 48220, 48238, 48259, 48274, 48286, 48290, 48320, 48344, 48365, 48377, 48387, 48388, 48397, 48409, 48417, 48418, 48421, 48424, 48428, 48441, 48451, 48456, 48457, 48463, 48467, 48481, 48508, 48519, 48532, 48537, 48559, 48564, 48568, 48575, 48578, 48580, 48588, 48589, 48620, 48638, 48661, 48674, 48675, 48694, 48701, 48720, 48721, 48747, 48760, 48775, 48782, 48783, 48788, 48791, 48797, 48804, 48806, 48833, 48838, 48842, 48856, 48868, 48870, 48872, 48876, 48883, 48884, 48900, 48901, 48919, 48961, 48963, 48966, 48974, 48982, 48993, 48996, 49004, 49015, 49017, 49025, 49046, 49048, 49051, 49052, 49111, 49113, 49114, 49132, 49134, 49144, 49149, 49166, 49180, 49182, 49190, 49204, 49228, 49236, 49237, 49252, 49270, 49271, 49277, 49305, 49307, 49323, 49325, 49354, 49355, 49364, 49396, 49411, 49419, 49436, 49455, 49470, 49496, 49520, 49528, 49535, 49573, 49582, 49583, 49584, 49587, 49597, 49610, 49656, 49657, 49674, 49694, 49709, 49721, 49728, 49732, 49744, 49746, 49771, 49783, 49791, 49802, 49806, 49839, 49870, 49884, 49885, 49892, 49916, 49945, 49962, 49966, 49971, 49972, 50012, 50023, 50031, 50047, 50055, 50085, 50091, 50110, 50129, 50132, 50142, 50172, 50175, 50189, 50193, 50214, 50219, 50248, 50250, 50251, 50256, 50265, 50266, 50271, 50299, 50306, 50308, 50316, 50317, 50349, 50366, 50404, 50407, 50431, 50471, 50526, 50528, 50530, 50549, 50560, 50583, 50587, 50595, 50598, 50607, 50608, 50624, 50626, 50666, 50680, 50690, 50693, 50715, 50725, 50747, 50760, 50769, 50779, 50813, 50815, 50821, 50828, 50837, 50841, 50870, 50877, 50908, 50911, 50913, 50950, 50959, 50995, 51050, 51055, 51075, 51076, 51097, 51100, 51105, 51106, 51112, 51113, 51131, 51141, 51151, 51157, 51177, 51186, 51202, 51209, 51214, 51217, 51218, 51238, 51239, 51243, 51247, 51249, 51259, 51297, 51307, 51314, 51322, 51326, 51329, 51333, 51344, 51348, 51395, 51396, 51400, 51435, 51438, 51448, 51453, 51463, 51464, 51467, 51468, 51488, 51495, 51497, 51510, 51518, 51533, 51540, 51565, 51587, 51592, 51605, 51615, 51634, 51640, 51693, 51695, 51707, 51712, 51713, 51734, 51744, 51752, 51758, 51760, 51767, 51808, 51824, 51831, 51849, 51853, 51862, 51865, 51875, 51878, 51882, 51885, 51894, 51906, 51915, 51923, 51933, 51939, 51958, 51979, 51987, 51994, 52019, 52030, 52034, 52039, 52053, 52056, 52057, 52062, 52067, 52075, 52078, 52086, 52112, 52126, 52154, 52155, 52156, 52157, 52171, 52185, 52189, 52198, 52210, 52276, 52283, 52285, 52290, 52295, 52299, 52304, 52311, 52316, 52324, 52338, 52343, 52347, 52370, 52371, 52393, 52394, 52397, 52414, 52423, 52424, 52428, 52436, 52438, 52442, 52450, 52464, 52465, 52473, 52474, 52483, 52490, 52520, 52543, 52556, 52557, 52560, 52563, 52564, 52570, 52575, 52590, 52604, 52622, 52623, 52633, 52653, 52665, 52673, 52699, 52704, 52729, 52757, 52768, 52780, 52783, 52788, 52810, 52870, 52878, 52879, 52882, 52885, 52912, 52922, 52936, 52946, 52954, 52962, 52972, 53019, 53022, 53050, 53058, 53060, 53062, 53063, 53067, 53076, 53094, 53185, 53195, 53205, 53215, 53230, 53252, 53285, 53295, 53307, 53331, 53332, 53334, 53344, 53354, 53364, 53402, 53437, 53448, 53456, 53476, 53489, 53512, 53537, 53548, 53569, 53578, 53623, 53629, 53636, 53639, 53654, 53662, 53668, 53696, 53708, 53715, 53734, 53739, 53753, 53787, 53797, 53798, 53807, 53821, 53822, 53824, 53826, 53832, 53858, 53867, 53868, 53881, 53888, 53895, 53934, 53941, 53951, 53953, 53954, 53958, 53968, 53982, 54004, 54005, 54007, 54010, 54077, 54109, 54110, 54131, 54140, 54146, 54160, 54215, 54223, 54228, 54236, 54245, 54258, 54265, 54271, 54277, 54301, 54312, 54318, 54319, 54345, 54347, 54364, 54378, 54382, 54388, 54395, 54431, 54432, 54446, 54450, 54466, 54469, 54486, 54495, 54514, 54516, 54524, 54530, 54540, 54550, 54553, 54560, 54571, 54591, 54638, 54648, 54663, 54677, 54678, 54717, 54727, 54730, 54753, 54758, 54779, 54782, 54786, 54787, 54812, 54821, 54824, 54859, 54861, 54870, 54932, 54946, 54963, 54983, 55006, 55049, 55068, 55073, 55088, 55089, 55092, 55101, 55109, 55144, 55147, 55154, 55173, 55225, 55246, 55251, 55306, 55311, 55359, 55364, 55380, 55384, 55392, 55396, 55408, 55450, 55486, 55493, 55507, 55515, 55536, 55569, 55573, 55596, 55597, 55603, 55605, 55611, 55628, 55650, 55653, 55661, 55706, 55739, 55757, 55777, 55812, 55888, 55910, 56049, 56059, 56062, 56157, 56162, 56185, 56222, 56230, 56247, 56482, 56525, 56557, 56766, 56773, 56791, 56792, 56889, 56910, 56926, 56932, 56960, 56997, 57003, 57005, 57008, 57017, 57032, 57078, 57091, 57097, 57099, 57114, 57126, 57134, 57148, 57191, 57201, 57228, 57241, 57271, 57290, 57291, 57293, 57305, 57306, 57323, 57325, 57371, 57409, 57438, 57455, 57465, 57466, 57467, 57497, 57499, 57510, 57518, 57540, 57572, 57574, 57617, 57631, 57676, 57682, 57683, 57684, 57688, 57710, 57721, 57734, 57743, 57745, 57754, 57775, 57777, 57781, 57819, 57827, 57841, 57876, 57885, 57915, 57921, 57922, 57934, 57984, 58000, 58003, 58005, 58036, 58041, 58053, 58076, 58108, 58131, 58156, 58179, 58189, 58190, 58193, 58201, 58218, 58223, 58237, 58242, 58252, 58329, 58333, 58356, 58402, 58434, 58445, 58450, 58467, 58472, 58501, 58505, 58514, 58610, 58621, 58631, 58643, 58674, 58697, 58707, 58717, 58739, 58749, 58759, 58779, 58780, 58796, 58809, 58833, 58885, 58904, 58983, 59002, 59005, 59020, 59026, 59038, 59040, 59085, 59110, 59187, 59196, 59198, 59239, 59268, 59279, 59280, 59290, 59363, 59368, 59372, 59420, 59465, 59475, 59491, 59508, 59548, 59551, 59589, 59616, 59621, 59648, 59688, 59765, 59864, 59868, 59875, 59904, 59989, 60007, 60030, 60063, 60138, 60213, 60318, 60321, 60380, 60386, 60484, 60501, 60581, 60587, 60612, 60732, 60786, 60860, 60869, 60887, 60931, 60971, 60991, 60999, 61062, 61077, 61115, 61284, 61323, 61519, 61600, 61924, 62200, 62216, 62269, 62376, 62458, 62974, 63160, 63212, 63494, 63858, 63983, 64016, 64095, 64188) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2025-01-07 10:11:33 [172.96ms] */
select * from `person` where `person`.`id` in (56320, 46727, 32368, 44332, 46476, 1267, 43349, 49277, 59663, 53569, 44754, 21215, 46273, 59714, 60407, 37495, 54466, 54524, 39360, 38225, 52394, 27765, 37246, 48884, 44473, 45565, 15176, 37699, 19841, 48421, 31856, 47869, 52474, 7529, 26333, 41615, 42865, 32367, 48259, 39460, 54560, 23114, 38600, 45451, 56917, 48788, 43518, 60591, 14815, 50530, 32140, 60641, 38911, 46430, 50172, 47934, 56599, 17211, 51605, 41324, 42683, 58383, 40562, 23451, 39768, 48054, 47755, 19805, 30493, 48775, 50526, 34280, 38888, 43120, 50189, 33689, 33023, 42752, 48456, 58122, 50815, 50047, 30178, 43380, 59647, 53548, 58467, 48876, 26231, 43789, 61498, 50129, 45573, 39436, 48344, 39985, 50349, 30038, 33401, 14952, 37045, 19504, 40732, 44138, 8625, 40981, 52210, 37577, 55799, 14238, 38020, 33971, 57660, 37528, 45521, 54495, 23079, 43450, 49971, 51100, 57835, 49325, 44600, 42440, 44035, 54530, 12367, 43848, 56922, 52780, 40017, 45030, 53832, 46662, 35308, 45934, 23823, 40876, 56755, 51615, 44839, 54228, 52673, 29663, 43114, 43293, 22766, 44279, 41525, 56380, 39759, 32436, 37159, 58610, 36220, 52112, 12627, 42388, 42526, 39119, 53826, 51933, 55611, 27346, 51395, 34244, 41287, 11218, 39054, 22916, 39755, 45753, 36084, 41273, 38216, 42231, 54638, 37312, 32888, 37772, 49962, 29968, 49051, 13230, 55931, 22041, 51510, 19637, 55306, 43423, 20007, 32541, 49535, 21549, 48842, 16148, 31323, 54782, 47904, 23423, 14996, 47555, 52156, 50132, 18637, 54271, 56098, 3178, 14267, 52757, 43711, 14950, 54753, 55392, 23556, 25737, 45190, 40590, 43843, 35122, 19646, 51540, 37781, 5922, 42161, 21232, 32768, 46562, 56251, 48568, 23778, 44005, 48481, 41799, 45385, 55596, 25056, 25902, 22870, 33504, 45275, 54514, 39806, 51468, 19181, 27577, 35475, 31745, 39206, 33466, 34541, 42531, 52155, 52882, 61584, 32862, 46567, 41064, 42951, 17293, 29543, 51865, 47202, 22330, 38166, 46967, 37988, 1358, 37690, 29923, 39561, 29457, 43825, 44765, 24086, 32987, 40610, 34803, 42811, 44940, 33997, 39773, 29337, 33710, 13087, 56971, 6156, 53822, 57997, 38625, 49305, 34008, 54663, 39955, 32758, 44489, 33223, 37887, 52450, 43376, 45558, 43851, 43811, 32106, 44990, 55408, 41924, 45256, 38053, 19502, 44607, 55088, 59814, 38907, 48578, 35464, 19499, 16098, 35157, 56544, 48575, 23652, 39369, 52324, 37767, 56563, 22035, 51326, 56310, 52371, 15168, 21198, 37221, 61423, 54540, 27795, 20274, 33200, 51141, 58014, 44321, 57734, 18747, 43842, 51994, 7439, 44418, 56926, 58810, 33463, 37378, 29336, 58357, 7460, 9862, 58998, 42904, 38010, 2953, 61391, 44118, 47069, 39538, 55364, 55536, 53739, 51862, 51488, 56824, 2283, 30128, 51885, 43833, 50950, 57518, 40890, 52442, 48220, 30635, 20622, 48409, 22453, 34982, 18442, 50219, 40873, 47710, 57055, 56845, 49709, 3742, 24875, 49355, 20686, 24586, 37559, 15211, 16493, 49270, 42273, 35085, 25597, 54395, 51853, 18490, 58099, 19467, 18233, 45847, 14843, 39259, 44496, 61268, 34207, 49496, 53951, 47722, 52560, 43756, 23560, 43666, 38172, 40275, 4043, 47958, 19526, 49884, 36397, 14020, 46590, 44094, 44305, 55569, 38353, 10718, 36378, 47753, 31727, 56471, 19734, 37511, 46810, 40817, 21956, 56367, 40608, 45193, 41251, 52067, 35474, 30380, 32676, 39596, 53252, 51734, 49945, 35483, 48009, 52078, 39295, 42615, 48588, 41699, 44632, 45440, 34189, 48388, 37010, 17945, 38176, 47223, 29919, 36968, 43768, 31767, 55246, 8929, 48996, 29946, 37392, 33884, 37721, 44482, 51587, 16553, 46472, 32561, 53858, 23638, 34735, 37569, 53295, 3228, 33935, 49111, 29022, 48463, 48218, 43737, 42556, 44648, 36567, 8615, 48760, 45171, 26752, 48290, 35652, 21396, 47360, 29167, 45816, 25710, 40505, 33252, 51831, 58093, 48883, 39201, 42727, 45014, 30164, 53332, 48966, 51344, 26009, 51322, 48974, 18996, 36430, 46893, 22610, 33468, 42542, 59075, 36349, 38739, 48872, 22343, 45130, 48182, 53364, 14202, 49839, 31251, 53787, 47947, 58557, 27945, 57536, 27557, 51177, 46179, 27340, 43589, 38219, 49017, 57095, 49204, 47013, 58487, 20157, 26035, 42634, 40780, 21052, 20167, 37933, 50528, 35265, 42544, 54963, 54677, 54859, 52283, 41828, 15318, 43566, 25948, 41433, 58773, 26201, 30156, 42889, 45052, 51767, 33655, 35012, 48208, 13664, 58284, 14394, 35528, 34971, 14369, 50598, 44490, 44606, 48532, 52171, 4071, 16082, 55073, 7035, 54007, 44466, 50583, 31365, 51239, 33143, 38238, 54010, 43686, 4024, 38633, 45831, 34846, 44230, 52397, 35222, 35262, 29090, 57410, 37225, 7713, 17810, 44666, 12824, 19388, 28611, 45841, 41792, 29807, 54730, 38856, 53050, 26172, 33717, 47157, 46591, 48219, 53895, 50091, 47941, 40564, 44650, 36184, 30154, 50959, 52039, 56290, 22733, 57013, 42261, 34096, 50821, 25701, 27849, 27415, 53954, 36401, 38861, 51202, 26287, 26085, 57901, 48024, 39172, 48747, 37552, 41066, 38508, 40059, 49966, 55706, 17332, 24844, 32681, 10568, 13885, 30602, 42482, 41826, 19906, 39079, 29966, 33515, 3183, 25453, 33197, 38939, 35299, 24971, 16820, 28974, 53456, 45474, 60922, 44033, 31474, 41272, 16682, 55997, 4877, 32340, 13754, 32847, 59894, 35735, 40002, 6077, 36564, 52428, 48806, 36394, 33764, 45752, 55742, 24914, 40015, 37978, 2357, 30928, 26944, 37231, 44086, 54469, 41798, 30739, 40602, 53696, 24978, 53578, 39245, 13478, 42374, 27592, 53230, 49455, 32769, 9753, 53285, 38644, 38949, 51209, 39626, 17048, 46025, 37070, 45919, 17519, 50911, 41471, 46968, 5687, 36103, 49732, 35294, 35461, 56058, 21402, 56351, 1586, 20505, 46122, 12115, 50023, 29862, 52878, 14416, 33288, 41311, 21676, 27938, 46089, 54277, 29200, 37843, 32983, 50306, 5814, 53063, 38333, 30542, 46707, 51712, 51131, 45458, 45827, 47922, 49771, 52086, 43802, 29814, 30243, 6388, 42845, 48041, 50193, 48162, 48428, 1752, 43036, 41868, 29127, 31578, 14084, 54236, 45063, 13912, 35657, 2022, 29712, 48130, 36637, 23637, 48620, 43691, 34490, 44538, 51640, 32397, 30851, 41284, 50316, 51307, 14086, 28205, 55824, 47307, 29508, 46464, 47806, 45249, 42532, 9548, 27779, 44135, 37600, 43232, 50908, 36715, 47599, 53636, 43435, 52056, 39575, 18033, 46227, 38608, 46850, 42230, 52870, 54571, 43486, 49972, 46341, 37648, 44861, 54345, 32773, 41082, 56757, 45017, 48720, 35679, 47497, 25549, 37499, 46041, 39267, 21272, 42790, 49182, 50214, 57166, 53307, 28770, 28864, 15618, 44919, 54146, 40502, 53958, 32475, 42913, 30704, 19865, 33890, 20406, 1303, 39024, 31984, 34876, 31067, 56746, 42977, 52198, 18344, 51243, 56587, 18487, 52157, 30351, 38288, 12899, 43270, 16403, 51849, 36011, 45221, 26657, 45169, 39601, 51435, 25111, 50693, 49694, 20108, 57305, 20856, 44110, 39032, 45933, 34293, 50624, 40006, 34065, 27432, 17460, 55820, 48675, 54758, 37736, 49870, 24781, 53489, 41294, 14857, 25031, 52290, 14025, 14696, 44354, 50995, 41853, 37683, 42284, 54787, 36606, 57557, 38573, 46783, 29427, 46007, 30648, 51259, 13794, 45054, 30543, 37490, 23388, 35591, 27890, 24818, 27447, 55450, 57161, 55928, 16516, 17599, 20677, 15892, 32674, 50317, 49728, 45204, 48174, 34896, 18447, 53953, 19994, 45725, 5236, 41070, 52704, 55493, 43466, 54553, 30298, 51915, 52414, 24288, 47727, 25632, 49236, 57404, 26204, 36387, 41345, 31444, 51467, 39478, 33666, 41768, 35031, 1720, 23721, 31724, 19337, 55101, 23829, 51214, 54786, 23651, 37281, 50828, 50248, 113, 54258, 42770, 40632, 57838, 47714, 14628, 18926, 29915, 18558, 47832, 38336, 16409, 48217, 34210, 40398, 41312, 30378, 44389, 30107, 35346, 1123, 48797, 21713, 37968, 48238, 51939, 31073, 40714, 20210, 44465, 54946, 48919, 51247, 49470, 22861, 20207, 29075, 46872, 44515, 20426, 38496, 53888, 37712, 16220, 48833, 52962, 46244, 54861, 44384, 42108, 34844, 42807, 52154, 54265, 57895, 14430, 24863, 26751, 32354, 54648, 45251, 45536, 40917, 46582, 2128, 23559, 55380, 40546, 53094, 20278, 54824, 50666, 43858, 51707, 55225, 41423, 40010, 53334, 55603, 50626, 26712, 55852, 53941, 18482, 48417, 38657, 851, 45650, 38204, 32750, 41422, 33170, 43153, 34200, 55396, 42833, 423, 46465, 41633, 41037, 36222, 38180, 34862, 27573, 45505, 53867, 43529, 32629, 33980, 53968, 39758, 21032, 24735, 39279, 35006, 40367, 54932, 52034, 49783, 49228, 45499, 39763, 54109, 51463, 39389, 45187, 46563, 48901, 44824, 35016, 47174, 57098, 44799, 57438, 45075, 29940, 47334, 40368, 31020, 20958, 23772, 47638, 42750, 55486, 49791, 43863, 2557, 33610, 33438, 9966, 39467, 48074, 21120, 55842, 31249, 35525, 36478, 53331, 25510, 25564, 59384, 45301, 39810, 24825, 46605, 44217, 42138, 32809, 42373, 18555, 2300, 49166, 55787, 33273, 18498, 40181, 33476, 35522, 38115, 58495, 52590, 22031, 24703, 14350, 37441, 17279, 45491, 34095, 42059, 22840, 16397, 55006, 26388, 47817, 36706, 33698, 31514, 40601, 46496, 40445, 18753, 32097, 46125, 49582, 37911, 37500, 51448, 54215, 31757, 39903, 49271, 41277, 48982, 29865, 51113, 54591, 31899, 33774, 50404, 35850, 15854, 44988, 56581, 48856, 37081, 46993, 23499, 42300, 7463, 49721, 46788, 26519, 49113, 39668, 41706, 51438, 51105, 51518, 25910, 37060, 38488, 38621, 43446, 31630, 57401, 47147, 10663, 34700, 54717, 42216, 42246, 38796, 33535, 51693, 50407, 34947, 56835, 39104, 48170, 19133, 54388, 52347, 32437, 38952, 33821, 35561, 57193, 48035, 32336, 40346, 39978, 33286, 3694, 33265, 54245, 41170, 50725, 40625, 36087, 48537, 37192, 48032, 53205, 41002, 19831, 43618, 39939, 57232, 15178, 32666, 54110, 22939, 56796, 48196, 52295, 36403, 8753, 47282, 20444, 30405, 55507, 26949, 44936, 12238, 37456, 32686, 55109, 30806, 37336, 27158, 13631, 53982, 2884, 38604, 37587, 42250, 14147, 50877, 173, 39466, 46446, 12498, 48564, 55628, 45791, 33013, 33615, 41883, 31901, 8050, 48418, 37526, 43255, 30103, 51744, 26597, 12972, 44505, 52053, 7511, 37309, 32945, 31126, 48387, 52954, 39898, 32330, 29908, 29902, 46792, 32274, 51314, 38178, 47284, 27611, 21194, 53076, 26605, 38455, 50813, 9859, 33824, 43505, 39873, 54077, 34034, 36128, 32079, 42550, 30251, 56330, 38054, 629, 28003, 29682, 55653, 56834, 29822, 55597, 52436, 45436, 47097, 21860, 24501, 14132, 33871, 21213, 49892, 17984, 51565, 44590, 40356, 49674, 20695, 33218, 7367, 48286, 41113, 26448, 48804, 27204, 30443, 37417, 37084, 49885, 45729, 31663, 32452, 55837, 54812, 30654, 37420, 38268, 34238, 46064, 48868, 47596, 31712, 8198, 56601, 42694, 35008, 26769, 45533, 48365, 50870, 16463, 45994, 36574, 38260, 26406, 39182, 32732, 48783, 35088, 38666, 19751, 38241, 37483, 56454, 18066, 50680, 45840, 52311, 32894, 51878, 13791, 30668, 10926, 20601, 41912, 56566, 55661, 33433, 41146, 29593, 56281, 46644, 54382, 23422, 21704, 25576, 36078, 44295, 52316, 17226, 44679, 34483, 22660, 30468, 57023, 24777, 53797, 55092, 53058, 36177, 20340, 50175, 36429, 55573, 50560, 33157, 56210, 53476, 54727, 45873, 55359, 7899, 40927, 16034, 51157, 52604, 48993, 38466, 43152, 31406, 36614, 32323, 50299, 51758, 11652, 43037, 49046, 43724, 52370, 53753, 37688, 52057, 12872, 53934, 50587, 54431, 41157, 18526, 32711, 46818, 39666, 42640, 31827, 53195, 52563, 56090, 40895, 46585, 31026, 31782, 56222, 54779, 43868, 39316, 44247, 56200, 27718, 19256, 40616, 52019, 26477, 46186, 34888, 39090, 55154, 52575, 18426, 37572, 49806, 47586, 46987, 6331, 1948, 23957, 43184, 24869, 34062, 55068, 37415, 24270, 24955, 47511, 40996, 31943, 51906, 48424, 18531, 57135, 47990, 55251, 47254, 31171, 34859, 51050, 27969, 49419, 51824, 54983, 37979, 19869, 56646, 25615, 33835, 33497, 55764, 43415, 41399, 7195, 53807, 52185, 49015, 34616, 40434, 26330, 54131, 39658, 40273, 38800, 45736, 29799, 57038, 51923, 18201, 36414, 38628, 24991, 23393, 52810, 14137, 39524, 27535, 46521, 21252, 49916, 49354, 49802, 14588, 46708, 38577, 36122, 51106, 46084, 25107, 50747, 26759, 50549, 46997, 23939, 53060, 53537, 37152, 42524, 55049, 55515, 56404, 52189, 47276, 33899, 37586, 42548, 47500, 51533, 30404, 35014, 42903, 21833, 38308, 29787, 9466, 31910, 52343, 33116, 48320, 34274, 41257, 9337, 44704, 34394, 52338, 10435, 53639, 44557, 52922, 43919, 21490, 54004, 40119, 18198, 19177, 25925, 49746, 26233, 51808, 28601, 49597, 36750, 53185, 52665, 52423, 56038, 54432, 50085, 42481, 335, 37720, 47943, 32620, 18436, 37657, 48694, 45946, 36725, 33360, 39136, 52570, 52075, 44385, 49411, 35477, 51713, 35897, 32190, 51760, 15180, 45416, 37515, 42009, 51987, 52276, 34039, 55720, 52783, 41580, 34240, 53215, 54319, 30293, 47078, 42467, 51882, 38610, 39945, 6410, 29850, 42596, 56189, 54364, 35468, 51076, 53654, 40808, 42194, 40235, 31668, 46941, 54870, 29335, 7954, 21193, 48661, 11178, 28782, 49048, 56087, 48274, 53868, 55384, 33733, 58365, 53824, 18288, 23120, 48580, 39236, 44222, 37628, 47231, 49520, 35602, 40660, 49573, 32604, 10187, 39703, 53798, 46942, 51112, 52912, 39152, 39246, 31059, 43418, 41295, 50769, 50271, 48508, 50690, 18280, 50471, 19692, 35182, 32777, 31889, 47825, 52464, 49237, 44616, 30717, 41528, 52879, 32913, 47776, 51218, 41521, 54821, 54486, 45330, 39045, 41407, 46732, 42426, 11847, 57589, 51634, 51875, 35505, 50837, 37190, 46807, 40713, 38011, 40382, 55796, 2203, 33896, 47581, 41576, 53734, 23914, 45252, 37796, 46918, 26410, 34208, 53668, 46222, 26820, 55605, 47757, 53062, 17493, 45889, 40332, 34228, 41574, 49144, 9494, 38821, 47099, 33641, 46971, 46270, 35109, 40490, 38442, 55650, 37102, 37213, 5658, 53821, 51151, 19002, 54140, 54347, 50607, 25766, 41461, 50055, 3941, 21665, 19705, 51495, 38873, 56271, 43967, 4840, 37848, 33999, 47607, 35247, 45906, 15534, 41693, 58572, 27067, 46372, 42891, 46681, 23291, 52936, 47701, 12436, 17600, 42800, 36743, 41220, 20134, 31158, 38173, 48214, 49436, 4184, 1214, 30052, 53623, 9736, 44636, 39029, 21306, 18385, 40761, 51396, 45488, 46331, 32310, 29911, 8672, 29562, 25630, 18518, 46578, 30210, 33353, 21282, 58427, 19828, 38556, 5286, 37300, 32059, 46018, 54378, 49252, 34217, 48782, 44889, 85, 47748, 39737, 31729, 27249, 23574, 52699, 13790, 31416, 52788, 50266, 40338, 35542, 49114, 22849, 29660, 48900, 5457, 51464, 20906, 43112, 22713, 44978, 36407, 46333, 20199, 28771, 50110, 14697, 51186, 52473, 41519, 39373, 43268, 12779, 17017, 42601, 40335, 55952, 47454, 47749, 43565, 35517, 49307, 36983, 47486, 6242, 53512, 43786, 43646, 44341, 49004, 48457, 52285, 47885, 35763, 52543, 30141, 42439, 43239, 54450, 13925, 42517, 8912, 20956, 52885, 43849, 52304, 49190, 47125, 23731, 10808, 19929, 6046, 40529, 47970, 51979, 47065, 33357, 55795, 52623, 39960, 41144, 40816, 34194, 55311, 22449, 19772, 26691, 30129, 40695, 30699, 45993, 38791, 35488, 43400, 45013, 39633, 54318, 41114, 15795, 46253, 53344, 53019, 33981, 48674, 55089, 7438, 42805, 31195, 48397, 18340, 29155, 39584, 28674, 37279, 40879, 40966, 6052, 47319, 47464, 34123, 51249, 38041, 22149, 48701, 34520, 45217, 40897, 19621, 35385, 51497, 55173, 48119, 49657, 40085, 35614, 25654, 54550, 45675, 32375, 41455, 36421, 42066, 44880, 41566, 44884, 43406, 53437, 40664, 36655, 50779, 50012, 54223, 54005, 48467, 50265, 40532, 41323, 14274, 34730, 51055, 48451, 38441, 8434, 42209, 22855, 32099, 46853, 39184, 48721, 33008, 48559, 49364, 49149, 49528, 56062, 23619, 47396, 4773, 52653, 48638, 25676, 53354, 34677, 44492, 41755, 6477, 14412, 40957, 45817, 34638, 36681, 43431, 22780, 50913, 18820, 11191, 29058, 39086, 13665, 29551, 33672, 50142, 51592, 31484, 14377, 42592, 32881, 53448, 56350, 46956, 52062, 13190, 42981, 38294, 35620, 56043, 36287, 43078, 42946, 23579, 40725, 25040, 49656, 32425, 51097, 53708, 37284, 52520, 23548, 23882, 25596, 857, 54160, 51348, 10960, 49132, 54446, 30892, 47802, 42905, 33225, 24730, 48791, 32023, 43346, 21774, 51075, 23292, 49180, 7631, 43274, 40778, 52438, 46660, 25330, 8367, 10456, 44651, 45748, 16519, 26800, 45167, 41387, 22823, 18652, 28206, 50841, 40740, 21934, 9651, 46741, 50308, 37602, 41751, 45894, 49396, 43275, 42121, 50431, 20527, 38062, 46208, 41667, 34102, 48036, 46728, 30229, 38207, 40783, 52490, 21525, 52972, 36428, 55147, 37769, 49744, 361, 38816, 44916, 38212, 43607, 42677, 42100, 20507, 44315, 45133, 46163, 30795, 52424, 34017, 45522, 38092, 15822, 40399, 35322, 36730, 48961, 38313, 8237, 40758, 52126, 53629, 20791, 37734, 43519, 42806, 51894, 42708, 42626, 47153, 51400, 37929, 51238, 35567, 51752, 52465, 34552, 49025, 54678, 44460, 55144, 14841, 50595, 2254, 38282, 41549, 51297, 8088, 48169, 37079, 47044, 14943, 50715, 38691, 38304, 4246, 54516, 24123, 51333, 46060, 53402, 31755, 53067, 53662, 48963, 51329, 33392, 27115, 33440, 14325, 24015, 41247, 44656, 51958, 36351, 30869, 26767, 49323, 42769, 41510, 47248, 18134, 29949, 36426, 5618, 52393, 50366, 36684, 23711, 39425, 49587, 50031, 46242, 26457, 48441, 24001, 44311, 48870, 43471, 46151, 50608, 23085, 52768, 14385, 52483, 39617, 46219, 48589, 46184, 18206, 52633, 21165, 27016, 27551, 53715, 44509, 51217, 32897, 45378, 36702, 47516, 1114, 44338, 26522, 30338, 32619, 50251, 38565, 40357, 19669, 52299, 32309, 45657, 44947, 47518, 51695, 38814, 44210, 48519, 5134, 25034, 41560, 32142, 47771, 41572, 46349, 53022, 39419, 49610, 39145, 37316, 35433, 52030, 13427, 45656, 11715, 39980, 41636, 42496, 23521, 17704, 33960, 32165, 41944, 49052, 46478, 10929, 52556, 34480, 54301, 38301, 31128, 40576, 9656, 28989, 38759, 42539, 54312, 52557, 52946, 37497, 47213, 10052, 46726, 24310, 37821, 41626, 20365, 50250, 45028, 39702, 33665, 37293, 52564, 43604, 23564, 22186, 52622, 16807, 53881, 42229, 32188, 9293, 46161, 50256, 46840, 28890, 49134, 25387, 43968, 14275, 39891, 49583, 41833, 20627, 41619, 50760, 48377, 40611, 38312, 31691, 18984, 20600, 22819, 14946, 22990, 28049, 32833, 38280, 22288, 44090, 33202, 47824, 47182, 37976, 41649, 22106, 36696, 56028, 46545, 38235, 52729, 39318, 44286, 40198, 18236, 44996, 45757, 20172, 42112, 14711, 48838, 39306, 45327, 40848, 15120, 20225, 51453, 43481, 44038, 49584, 48093, 18699) and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-01-07 10:11:33 [357.41ms] */
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://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:11:33 [4269.73ms] */
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 '%BS643%' 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://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-01-07 10:11:34 [739.9ms] */
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 (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-01-07 10:11:34 [605.81ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 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): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-07 10:11:35 [1429.57ms] */
select * from `transaction` where `parent_id` = 491147 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:11:35 [4306.62ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:27') 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 '%g%' or `vin` like '%g%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 93 - 2025-01-07 10:11:36 [727.07ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:11:36 [4571.19ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:28') 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://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:11:37 [4853.86ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491132 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:11:39 [5949.1ms] */
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 '%BS643%' 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://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-01-07 10:11:40 [379.71ms] */
select count(*) as aggregate from `payment` where `payment_receipt_number` = 2476099;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:11:41 [4591.92ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:36') 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 '%cg779%' or `vin` like '%cg779%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:11:41 [4435.71ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491147 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-01-07 10:11:41 [962.89ms] */
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 (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 28 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:11:41 [4071.79ms] */
select sum(`invoice`.`total_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` = 491132 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 206 - 2025-01-07 10:11:41 [547.46ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 491034 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:42 [496.34ms] */
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 '%F%' or `vin` like '%F%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-01-07 10:11:42 [823.47ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 28 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 208 - 2025-01-07 10:11:42 [825.21ms] */
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` = 491034 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 5 - 2025-01-07 10:11:42 [5294.97ms] */
select count(*) as aggregate from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:37') 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 '%MT592%' or `vin` like '%MT592%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:42 [271.07ms] */
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 '%FS%' or `vin` like '%FS%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 213 - 2025-01-07 10:11:43 [884.83ms] */
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` = 491034 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:43 [216.33ms] */
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 '%FS6%' or `vin` like '%FS6%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:11:43 [305.95ms] */
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 '%FS6%' or `vin` like '%FS6%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 26 - 2025-01-07 10:11:44 [1099.87ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:44 [363.7ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%j%' or `vin` like '%j%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:44 [433.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 '%FS64%' or `vin` like '%FS64%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 5 - 2025-01-07 10:11:45 [197.28ms] */
select * from `tax_sticker` where `term_id` = 103 and `name` like '%2025-Q1-014089%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:11:45 [695.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 '%FS64%' or `vin` like '%FS64%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:46 [705.88ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%jc%' or `vin` like '%jc%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:11:46 [5011.21ms] */
select sum(`invoice`.`total_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` = 491147 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 5 - 2025-01-07 10:11:46 [254.01ms] */
select * from `tax_sticker` where `term_id` = 103 and `name` like '%2025-Q1-01408%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:46 [765.9ms] */
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 '%FS649%' or `vin` like '%FS649%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-01-07 10:11:46 [963.3ms] */
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 (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-01-07 10:11:46 [2088.14ms] */
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 (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 5 - 2025-01-07 10:11:47 [301.2ms] */
select * from `tax_sticker` where `term_id` = 103 and `name` like '%2025-Q1-0140%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:11:47 [946.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 '%FS649%' or `vin` like '%FS649%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:11:47 [6371.57ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:36') 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 '%cg779%' or `vin` like '%cg779%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 10 - 2025-01-07 10:11:47 [387.4ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:47 [773.38ms] */
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 '%jc64%' or `vin` like '%jc64%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 12 - 2025-01-07 10:11:47 [165.26ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62041 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.assign-tax-sticker-component
   Query 5 - 2025-01-07 10:11:48 [309.28ms] */
select * from `tax_sticker` where `term_id` = 103 and `name` like '%2025-Q1-014011%' and `assigned` = 'NO' and `tax_sticker`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 22 - 2025-01-07 10:11:48 [103.32ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62036 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:11:48 [6459.77ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491132 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-01-07 10:11:48 [1506.66ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-01-07 10:11:48 [1779.4ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 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): POST https://rta2.puntlandgov.org/livewire/message/service.title-confirm-registration-component
   Query 28 - 2025-01-07 10:11:48 [402.42ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 62034 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-01-07 10:11:48 [1219ms] */
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 '%jc64%' or `vin` like '%jc64%') 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://rta2.puntlandgov.org/m/service/tax/start/42224
   Query 15 - 2025-01-07 10:11:49 [944.88ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/service.tax-list-component
   Query 6 - 2025-01-07 10:11:49 [6950.61ms] */
select `vehicle`.* from `vehicle` inner join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` where `vehicle`.`id` in (select `vehicle_tax`.`vehicle_id` from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`status` = 'OPEN' and `term`.`first_date_of_quarter` <= '2025-01-07 10:11:37') 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 '%MT592%' or `vin` like '%MT592%') and `vehicle`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:11:49 [397.37ms] */
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 '%jc649%' or `vin` like '%jc649%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:11:49 [8500.72ms] */
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 '%BS643%' 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://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:11:50 [455.51ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%L%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:11:50 [230.79ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%L%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:11:50 [4924.68ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 467748 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.vehicle-tax-quarter-widget
   Query 7 - 2025-01-07 10:11:50 [4619.6ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 467749 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-01-07 10:11:50 [426.02ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:11:50 [5400.59ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491034 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-01-07 10:11:50 [324.31ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:11:51 [105.17ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%LL%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:11:51 [2851.9ms] */
select sum(`invoice`.`total_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` = 491132 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:11:51 [881.2ms] */
select sum(`invoice`.`total_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` = 491034 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:11:52 [105.85ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%LL8%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/service/tax/start/41960
   Query 15 - 2025-01-07 10:11:52 [150.53ms] */
select count(*) as aggregate from `vehicle_tax` where `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:11:52 [162.51ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%LL84%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:11:53 [137.97ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 37 and `vehicle`.`license_plate` like '%LL84%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 9 - 2025-01-07 10:11:53 [103.93ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%r%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.list-workflow-queue-component
   Query 10 - 2025-01-07 10:11:53 [110.2ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` inner join `vehicle` on `vehicle`.`id` = `transaction`.`vehicle_id` where `workflow_definition`.`role_id` in (7) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 7 and `deliver_district_id` = 2 and `vehicle`.`license_plate` like '%r%' and `transaction`.`one_time_tax` <> 'Y' and `status` != 'CANCELED' and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc, `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491135
   Query 18 - 2025-01-07 10:11:53 [536.43ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:11:53 [1119.04ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491132 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:11:54 [588.28ms] */
select sum(`invoice`.`total_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` = 491132 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:11:55 [588.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491132 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-01-07 10:11:56 [140.04ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491163
   Query 19 - 2025-01-07 10:11:57 [861.69ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491163 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-01-07 10:11:57 [610.89ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491163
   Query 20 - 2025-01-07 10:11:58 [1155.2ms] */
select sum(`invoice`.`total_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` = 491163 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491163
   Query 27 - 2025-01-07 10:11:58 [531.04ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-01-07 10:11:59 [1730.31ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 215 - 2025-01-07 10:12:00 [320.55ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-01-07 10:12:00 [137.81ms] */
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://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-01-07 10:12:02 [246.45ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 32 - 2025-01-07 10:12:02 [251.23ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 7 - 2025-01-07 10:12:02 [109.89ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 491163 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 9 - 2025-01-07 10:12:02 [137.78ms] */
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` = 491163 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 14 - 2025-01-07 10:12:02 [136.65ms] */
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` = 491163 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 32 - 2025-01-07 10:12:03 [539.18ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`id` = 397854 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:12:03 [1097.21ms] */
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 '%BS643%' 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://rta2.puntlandgov.org/w/wkflw/491124
   Query 16 - 2025-01-07 10:12:04 [629.73ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491124 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491124
   Query 17 - 2025-01-07 10:12:05 [491.47ms] */
select sum(`invoice`.`total_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` = 491124 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:12:05 [276.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 '%77%' or `vin` like '%77%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491124
   Query 24 - 2025-01-07 10:12:05 [366.99ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:12:06 [148.1ms] */
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 '%778%' or `vin` like '%778%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:12:07 [130.63ms] */
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 '%7785%' or `vin` like '%7785%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:12:07 [130.07ms] */
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 '%77859%' or `vin` like '%77859%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:12:08 [127.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 '%778599%' or `vin` like '%778599%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-01-07 10:12:08 [146.13ms] */
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 '%7785998%' or `vin` like '%7785998%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-01-07 10:12:10 [126.96ms] */
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://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:12:11 [1310.92ms] */
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 '%BS643%' 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://rta2.puntlandgov.org/m/mytrn
   Query 5 - 2025-01-07 10:12:11 [236.62ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 34 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 6 - 2025-01-07 10:12:11 [145.54ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 34 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 15 - 2025-01-07 10:12:11 [226.09ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 491163 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 17 - 2025-01-07 10:12:12 [121.71ms] */
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` = 491163 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 17 - 2025-01-07 10:12:12 [396.06ms] */
select * from `transaction` where `parent_id` = 491124 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.payment.payment-component
   Query 22 - 2025-01-07 10:12:12 [242.55ms] */
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` = 491163 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490739
   Query 19 - 2025-01-07 10:12:12 [1086.94ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490739 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/workflow.view-workflow-transaction-component
   Query 51 - 2025-01-07 10:12:12 [352.78ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490739
   Query 19 - 2025-01-07 10:12:12 [1156.65ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490739 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 9 - 2025-01-07 10:12:13 [169.14ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 10 - 2025-01-07 10:12:13 [199.08ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `transaction`.`status` = 'END' and `payment_date` > '2025-01-06' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490739
   Query 20 - 2025-01-07 10:12:13 [1359.36ms] */
select sum(`invoice`.`total_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` = 490739 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 11 - 2025-01-07 10:12:14 [1090.95ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490739
   Query 20 - 2025-01-07 10:12:14 [2053.93ms] */
select sum(`invoice`.`total_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` = 490739 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490739
   Query 27 - 2025-01-07 10:12:15 [569.35ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 5 - 2025-01-07 10:12:15 [999.51ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 18 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:12:16 [2826.55ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491124 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/mytrn
   Query 6 - 2025-01-07 10:12:17 [1792.47ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 18 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `created_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490739
   Query 19 - 2025-01-07 10:12:17 [3208.02ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490739 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org
   Query 12 - 2025-01-07 10:12:18 [3904.56ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `invoice`.`invoice_amount` <> 0.00 and `due_date` < '2025-01-07' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 8 - 2025-01-07 10:12:18 [2918.37ms] */
select sum(`invoice`.`total_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` = 491124 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-01-07 10:12:19 [309.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 `vehicle`.`provisional` = 'Y' and (`license_plate` like '%F%' or `vin` like '%F%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.select-vehicle-component
   Query 7 - 2025-01-07 10:12:19 [101.39ms] */
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 `vehicle`.`provisional` = 'Y' and (`license_plate` like '%FS%' or `vin` like '%FS%') and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 6 - 2025-01-07 10:12:19 [2966.14ms] */
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 '%BS643%' 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://rta2.puntlandgov.org/w/wkflw/490739
   Query 20 - 2025-01-07 10:12:19 [2340.36ms] */
select sum(`invoice`.`total_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` = 490739 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490739
   Query 27 - 2025-01-07 10:12:20 [396.34ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/widgets.tax-workflow-widget
   Query 7 - 2025-01-07 10:12:20 [1423.12ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491124 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490739
   Query 19 - 2025-01-07 10:12:20 [1004.84ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 490739 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 13 - 2025-01-07 10:12:21 [278.74ms] */
select count(*) as aggregate from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/transaction.list-transaction-component
   Query 14 - 2025-01-07 10:12:21 [263.86ms] */
select * from `transaction` where `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490739
   Query 20 - 2025-01-07 10:12:21 [739.42ms] */
select sum(`invoice`.`total_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` = 490739 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/490739
   Query 27 - 2025-01-07 10:12:21 [319.05ms] */
select count(*) as aggregate from `transaction_workflow` where `transaction_workflow`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 9 - 2025-01-07 10:12:22 [103.84ms] */
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 (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 and `deliver_district_id` = 37 and `status` != 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw/491209
   Query 15 - 2025-01-07 10:12:22 [819.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 491209 and `vehicle_tax`.`deleted_at` is null order by `term`.`first_date_of_quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/w/wkflw
   Query 10 - 2025-01-07 10:12:22 [108.34ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (8) and `transaction`.`one_time_tax` <> 'Y' and `transaction`.`parent_id` is null and `workflow_definition`.`role_id` = 8 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://rta2.puntlandgov.org/w/wkflw/491209
   Query 16 - 2025-01-07 10:12:22 [564.01ms] */
