select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 4 - 2025-01-22 12:20:20 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 5 - 2025-01-22 12:20:20 [0.21ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (100614, 101645, 101646, 101647, 100618, 101648, 101649, 101650);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 6 - 2025-01-22 12:20:20 [0.15ms] */
select * from `term` where `term`.`id` in (97, 98, 99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 7 - 2025-01-22 12:20:20 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 82179 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 8 - 2025-01-22 12:20:20 [0.15ms] */
select * from `party` where `party`.`id` in (38974) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 9 - 2025-01-22 12:20:20 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (24767) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 10 - 2025-01-22 12:20:20 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 11 - 2025-01-22 12:20:20 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 24767 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2025-01-22 12:20:20 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 104283 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2025-01-22 12:20:20 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 103845 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2025-01-22 12:20:20 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105564 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2025-01-22 12:20:20 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 105109 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2025-01-22 12:20:20 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 105565 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2025-01-22 12:20:20 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 105110 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2025-01-22 12:20:20 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105566 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2025-01-22 12:20:20 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 105111 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2025-01-22 12:20:20 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2025-01-22 12:20:20 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2025-01-22 12:20:20 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2025-01-22 12:20:20 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2025-01-22 12:20:20 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2025-01-22 12:20:20 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2025-01-22 12:20:20 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2025-01-22 12:20:20 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-01-22 12:20:21 [1.36ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-01-22 12:20:21 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-01-22 12:20:21 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-01-22 12:20:21 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-01-22 12:20:21 [0.21ms] */
select * from `district` where `district`.`id` in (34, 534, 1005, 35, 1007, 36, 109, 991, 242, 37, 188, 989, 341, 993, 38, 243);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-01-22 12:20:21 [0.71ms] */
select * from `region` where `region`.`id` in (344, 47, 336, 63, 31, 164, 92, 187, 333, 135, 284, 214, 337, 140, 218, 303, 257, 295, 134, 232, 180, 183, 264, 121, 43, 294, 231, 122, 273, 126, 32, 357, 351, 89, 127, 238, 215, 112, 196, 199, 131, 172, 1, 178, 317, 227, 97, 48, 152, 124, 293, 76, 220, 247, 335, 103, 50, 174, 307, 201, 359, 141, 350, 248, 80, 208, 245, 169, 352, 209, 66, 278, 24, 155, 258, 271, 322, 328, 229, 276, 40, 49, 348, 265, 2, 192, 279, 252, 181, 69, 117, 235, 72, 290, 228, 239, 314, 83, 38, 138, 254, 292, 99, 29, 334, 237, 330, 250, 55, 84, 61, 263, 107, 163, 123, 185, 236, 79, 157, 270, 223, 194, 308, 277, 259, 71, 128, 58, 256, 145, 154, 39, 184, 60, 305, 296, 249, 230, 62, 149, 246, 64, 177, 302, 358, 3, 243, 102, 266, 35, 133, 75, 186, 225, 343, 16, 287, 242, 94, 167, 132, 323, 274, 151, 57, 299, 4, 10, 275, 191, 67, 341, 160, 329, 339, 189, 96, 34, 33, 321, 105, 253, 143, 298, 95, 311, 291, 161, 148, 197, 221, 74, 202, 109, 20, 168, 188, 319, 77, 59, 5, 306, 44, 147, 68, 87, 165, 331, 327, 304, 226, 100, 65, 119, 255, 289, 349, 310, 82, 156, 300, 173, 206, 283, 18, 70, 115, 28, 98, 213, 286, 106, 85, 42, 200, 6, 195, 111, 36, 315, 182, 346, 27, 53, 137, 170, 116, 342, 88, 320, 52, 56, 234, 14, 54, 104, 19, 176, 120, 125, 316, 269, 25, 261, 90, 7, 217, 179, 93, 23, 129, 46, 210, 150, 17, 114, 222, 285, 81, 153, 312, 142, 136, 240, 12, 347, 326, 205, 297, 13, 313, 353, 139, 110, 51, 8, 318, 267, 211, 216, 354, 37, 260, 233, 251, 41, 244, 175, 281, 158, 301, 171, 45, 338, 324, 78, 73, 262, 9, 26, 241, 86, 204, 108, 268, 159, 190, 325, 280, 113, 11, 309, 162, 146, 22, 101, 118, 224, 355, 144, 340, 21, 203, 91, 207, 130, 212, 219, 166, 288, 332, 30, 282, 345, 198, 272, 193, 15, 356);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-01-22 12:20:21 [0.15ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` in (29, 28, 27, 25, 26, 30);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-01-22 12:20:22 [0.16ms] */
select * from `district` where `id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-01-22 12:20:22 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 10 - 2025-01-22 12:20:22 [0.48ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 11 - 2025-01-22 12:20:22 [0.14ms] */
select * from `tax_collection_points` where `region_id` = 7 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 12 - 2025-01-22 12:20:22 [0.16ms] */
select * from `district` where `region_id` = 7 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 13 - 2025-01-22 12:20:22 [0.14ms] */
select * from `branches` where `district_id` = 37 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 1 - 2025-01-22 12:20:22 [2.22ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 2 - 2025-01-22 12:20:22 [0.77ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 3 - 2025-01-22 12:20:22 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 4 - 2025-01-22 12:20:22 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 5 - 2025-01-22 12:20:22 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (100614, 101645, 101646, 101647, 100618, 101648, 101649, 101650);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 6 - 2025-01-22 12:20:22 [0.15ms] */
select * from `term` where `term`.`id` in (97, 98, 99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 7 - 2025-01-22 12:20:22 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 82179 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 8 - 2025-01-22 12:20:22 [0.15ms] */
select * from `party` where `party`.`id` in (38974) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 9 - 2025-01-22 12:20:22 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (24767) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 10 - 2025-01-22 12:20:22 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 11 - 2025-01-22 12:20:22 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 24767 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2025-01-22 12:20:22 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 104283 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2025-01-22 12:20:22 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 103845 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2025-01-22 12:20:22 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105564 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2025-01-22 12:20:22 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 105109 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2025-01-22 12:20:22 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 105565 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2025-01-22 12:20:22 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 105110 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2025-01-22 12:20:22 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105566 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2025-01-22 12:20:22 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 105111 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2025-01-22 12:20:22 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2025-01-22 12:20:22 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2025-01-22 12:20:22 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2025-01-22 12:20:22 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2025-01-22 12:20:22 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2025-01-22 12:20:22 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2025-01-22 12:20:22 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2025-01-22 12:20:22 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 1 - 2025-01-22 12:20:25 [2.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 2 - 2025-01-22 12:20:25 [0.8ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 3 - 2025-01-22 12:20:25 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 4 - 2025-01-22 12:20:25 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 5 - 2025-01-22 12:20:25 [0.21ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (100614, 101645, 101646, 101647, 100618, 101648, 101649, 101650);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 6 - 2025-01-22 12:20:25 [0.16ms] */
select * from `term` where `term`.`id` in (97, 98, 99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 7 - 2025-01-22 12:20:25 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 82179 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 8 - 2025-01-22 12:20:25 [0.15ms] */
select * from `party` where `party`.`id` in (38974) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 9 - 2025-01-22 12:20:25 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (24767) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 10 - 2025-01-22 12:20:25 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 11 - 2025-01-22 12:20:25 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 24767 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2025-01-22 12:20:25 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` = 24767 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2025-01-22 12:20:25 [0.41ms] */
select * from `service_fee` where (`sub_category_id` = 5 and `service_id` = 2 or `sub_category_id` is null and `service_id` = 2) and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2025-01-22 12:20:25 [0.15ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2025-01-22 12:20:25 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 104283 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2025-01-22 12:20:25 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 103845 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2025-01-22 12:20:25 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105564 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2025-01-22 12:20:25 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 105109 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2025-01-22 12:20:25 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 105565 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2025-01-22 12:20:25 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 105110 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2025-01-22 12:20:25 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105566 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2025-01-22 12:20:25 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 105111 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2025-01-22 12:20:25 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2025-01-22 12:20:25 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2025-01-22 12:20:25 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2025-01-22 12:20:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2025-01-22 12:20:25 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 28 - 2025-01-22 12:20:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 29 - 2025-01-22 12:20:25 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 30 - 2025-01-22 12:20:25 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-01-22 12:20:26 [1.31ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-01-22 12:20:26 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-01-22 12:20:26 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-01-22 12:20:26 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-01-22 12:20:26 [0.24ms] */
(select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-01-22 12:20:26 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-01-22 12:20:31 [2.29ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-01-22 12:20:31 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-01-22 12:20:31 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-01-22 12:20:31 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-01-22 12:20:31 [0.24ms] */
(select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 1 - 2025-01-22 12:20:31 [1.41ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 2 - 2025-01-22 12:20:31 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 3 - 2025-01-22 12:20:31 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 4 - 2025-01-22 12:20:31 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 5 - 2025-01-22 12:20:31 [0.27ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (100614, 101645, 101646, 101647, 100618, 101648, 101649, 101650);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 6 - 2025-01-22 12:20:31 [0.16ms] */
select * from `term` where `term`.`id` in (97, 98, 99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 7 - 2025-01-22 12:20:31 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 82179 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 8 - 2025-01-22 12:20:31 [0.15ms] */
select * from `party` where `party`.`id` in (38974) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 9 - 2025-01-22 12:20:31 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` in (24767) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 10 - 2025-01-22 12:20:31 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 11 - 2025-01-22 12:20:31 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 24767 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2025-01-22 12:20:31 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2025-01-22 12:20:31 [0.32ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 24767 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2025-01-22 12:20:31 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 24767 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2025-01-22 12:20:31 [0.31ms] */
select * from `party` where `party`.`id` = 38974 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2025-01-22 12:20:31 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 24767 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2025-01-22 12:20:31 [0.28ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2025-01-22 12:20:31 [0.28ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2025-01-22 12:20:31 [1.24ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (38974, 2, 24767, null, 2, 6, null, 37, 37, 'OPEN', 27, null, 5, 5, '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2025-01-22 12:20:31 [0.74ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105662, 'INITIATED', '2025-01-22 12:20:31', 5, 5, 5, 5, '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2025-01-22 12:20:31 [0.42ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 82179, `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105662;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2025-01-22 12:20:31 [1.04ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (100614, 100618, 101645, 101646, 101647) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2025-01-22 12:20:31 [0.65ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (100614, 100618, 101645, 101646, 101647) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2025-01-22 12:20:31 [0.57ms] */
insert into `invoice` (`transaction_id`, `party_id`, `invoice_date`, `due_date`, `invoice_amount`, `discounts`, `total_invoice_amount`, `outstanding_balance`, `taxes`, `status`, `grouped`, `parent`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105662, 38974, '2025-01-22 12:20:31', '2025-01-22 12:20:31', 57.00, 171.00, 57.00, 57.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2025-01-22 12:20:31 [0.44ms] */
select * from `invoice` where `id` = 105205 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2025-01-22 12:20:31 [0.28ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105662,"party_id":38974,"invoice_amount":"57.00","invoice_date":"2025-01-22 12:20:31","due_date":"2025-01-22 12:20:31","outstanding_balance":"57.00","discounts":"171.00","taxes":"0.00","total_invoice_amount":"57.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105205, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2025-01-22 12:20:31 [0.32ms] */
select `invoice`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (100614, 100618, 101645, 101646, 101647) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 28 - 2025-01-22 12:20:31 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Tax Fees', 5, 228, 228, 105205, 5, 5, '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 29 - 2025-01-22 12:20:31 [0.18ms] */
select * from `invoice_item` where `id` = 207459 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 30 - 2025-01-22 12:20:31 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"228.00","quantity":5,"total_price":"228.00","invoice_id":105205}}', 5, 'App\Models\User', 207459, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 31 - 2025-01-22 12:20:31 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-421-105205749', `invoice`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105205;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 32 - 2025-01-22 12:20:31 [0.19ms] */
select * from `invoice` where `id` = 105205 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 33 - 2025-01-22 12:20:31 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_number":"INV-421-105205749"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 105205, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 34 - 2025-01-22 12:20:31 [0.43ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 100614 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 35 - 2025-01-22 12:20:31 [0.19ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2025-01-22 12:20:31' where `id` = 100614;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 36 - 2025-01-22 12:20:31 [0.18ms] */
select * from `vehicle_tax` where `id` = 100614 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 37 - 2025-01-22 12:20:31 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 100614, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 38 - 2025-01-22 12:20:31 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 104279 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 39 - 2025-01-22 12:20:31 [0.21ms] */
update `transaction` set `tax_collection_point_id` = 27, `parent_id` = 105662, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 104279;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 40 - 2025-01-22 12:20:31 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103841 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 41 - 2025-01-22 12:20:31 [0.16ms] */
update `invoice` set `parent_id` = 105205, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-22 12:20:31' where `id` = 103841;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 42 - 2025-01-22 12:20:31 [0.19ms] */
select * from `invoice` where `id` = 103841 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 43 - 2025-01-22 12:20:31 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":105205,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 103841, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 44 - 2025-01-22 12:20:31 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 104279 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 45 - 2025-01-22 12:20:31 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 46 - 2025-01-22 12:20:31 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 47 - 2025-01-22 12:20:31 [0.19ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 48 - 2025-01-22 12:20:31 [0.22ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 49 - 2025-01-22 12:20:31 [0.19ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104279, 'APPROVED', '2025-01-22 12:20:31', 5, 5, null, 5, 5, '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 50 - 2025-01-22 12:20:31 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 51 - 2025-01-22 12:20:31 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 104279;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 52 - 2025-01-22 12:20:31 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 53 - 2025-01-22 12:20:31 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 103841 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 54 - 2025-01-22 12:20:31 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 100618 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 55 - 2025-01-22 12:20:31 [0.33ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-22 12:20:31' where `id` = 100618;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 56 - 2025-01-22 12:20:31 [0.18ms] */
select * from `vehicle_tax` where `id` = 100618 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 57 - 2025-01-22 12:20:31 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 100618, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 58 - 2025-01-22 12:20:31 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 104283 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 59 - 2025-01-22 12:20:31 [0.27ms] */
update `transaction` set `tax_collection_point_id` = 27, `parent_id` = 105662, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 104283;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 60 - 2025-01-22 12:20:31 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103845 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 61 - 2025-01-22 12:20:31 [0.17ms] */
update `invoice` set `parent_id` = 105205, `grouped` = 'Y', `updated_by` = 5, `invoice`.`updated_at` = '2025-01-22 12:20:31' where `id` = 103845;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 62 - 2025-01-22 12:20:31 [0.19ms] */
select * from `invoice` where `id` = 103845 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 63 - 2025-01-22 12:20:31 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":105205,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 103845, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 64 - 2025-01-22 12:20:31 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 104283 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 65 - 2025-01-22 12:20:31 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 66 - 2025-01-22 12:20:31 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 67 - 2025-01-22 12:20:31 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 68 - 2025-01-22 12:20:31 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 69 - 2025-01-22 12:20:31 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (104283, 'APPROVED', '2025-01-22 12:20:31', 5, 5, null, 5, 5, '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 70 - 2025-01-22 12:20:31 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 71 - 2025-01-22 12:20:31 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 104283;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 72 - 2025-01-22 12:20:31 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 73 - 2025-01-22 12:20:31 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 103845 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 74 - 2025-01-22 12:20:31 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 101645 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 75 - 2025-01-22 12:20:31 [0.16ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2025-01-22 12:20:31' where `id` = 101645;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 76 - 2025-01-22 12:20:31 [0.18ms] */
select * from `vehicle_tax` where `id` = 101645 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 77 - 2025-01-22 12:20:31 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 101645, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 78 - 2025-01-22 12:20:31 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 105561 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 79 - 2025-01-22 12:20:31 [0.2ms] */
update `transaction` set `tax_collection_point_id` = 27, `parent_id` = 105662, `child` = 'Y', `grouped` = 'Y', `updated_by` = 5, `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105561;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 80 - 2025-01-22 12:20:31 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 105106 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 81 - 2025-01-22 12:20:31 [0.27ms] */
update `invoice` set `parent_id` = 105205, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105106;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 82 - 2025-01-22 12:20:31 [0.19ms] */
select * from `invoice` where `id` = 105106 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 83 - 2025-01-22 12:20:31 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":105205,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 105106, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 84 - 2025-01-22 12:20:31 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 105561 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 85 - 2025-01-22 12:20:31 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 86 - 2025-01-22 12:20:31 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 87 - 2025-01-22 12:20:31 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 88 - 2025-01-22 12:20:31 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 89 - 2025-01-22 12:20:31 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105561, 'APPROVED', '2025-01-22 12:20:31', 5, 5, null, 5, 5, '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 90 - 2025-01-22 12:20:31 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 91 - 2025-01-22 12:20:31 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105561;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 92 - 2025-01-22 12:20:31 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 93 - 2025-01-22 12:20:31 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 105106 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 94 - 2025-01-22 12:20:31 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 101646 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 95 - 2025-01-22 12:20:31 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2025-01-22 12:20:31' where `id` = 101646;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 96 - 2025-01-22 12:20:31 [0.18ms] */
select * from `vehicle_tax` where `id` = 101646 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 97 - 2025-01-22 12:20:31 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 101646, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 98 - 2025-01-22 12:20:31 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 105562 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 99 - 2025-01-22 12:20:31 [0.2ms] */
update `transaction` set `tax_collection_point_id` = 27, `parent_id` = 105662, `child` = 'Y', `grouped` = 'Y', `updated_by` = 5, `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105562;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 100 - 2025-01-22 12:20:31 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 105107 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 101 - 2025-01-22 12:20:31 [0.21ms] */
update `invoice` set `parent_id` = 105205, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105107;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 102 - 2025-01-22 12:20:31 [0.19ms] */
select * from `invoice` where `id` = 105107 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 103 - 2025-01-22 12:20:31 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":105205,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 105107, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 104 - 2025-01-22 12:20:31 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 105562 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 105 - 2025-01-22 12:20:31 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 106 - 2025-01-22 12:20:31 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 107 - 2025-01-22 12:20:31 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 108 - 2025-01-22 12:20:31 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 109 - 2025-01-22 12:20:31 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105562, 'APPROVED', '2025-01-22 12:20:31', 5, 5, null, 5, 5, '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 110 - 2025-01-22 12:20:31 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 111 - 2025-01-22 12:20:31 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105562;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 112 - 2025-01-22 12:20:31 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 113 - 2025-01-22 12:20:31 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 105107 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 114 - 2025-01-22 12:20:31 [0.18ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 101647 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 115 - 2025-01-22 12:20:31 [0.15ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `vehicle_tax`.`updated_at` = '2025-01-22 12:20:31' where `id` = 101647;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 116 - 2025-01-22 12:20:31 [0.18ms] */
select * from `vehicle_tax` where `id` = 101647 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 117 - 2025-01-22 12:20:31 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 101647, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 118 - 2025-01-22 12:20:31 [0.45ms] */
select * from `transaction` where `transaction`.`id` = 105563 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 119 - 2025-01-22 12:20:31 [0.4ms] */
update `transaction` set `tax_collection_point_id` = 27, `parent_id` = 105662, `child` = 'Y', `grouped` = 'Y', `updated_by` = 5, `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105563;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 120 - 2025-01-22 12:20:31 [0.4ms] */
select * from `invoice` where `invoice`.`id` = 105108 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 121 - 2025-01-22 12:20:31 [0.4ms] */
update `invoice` set `parent_id` = 105205, `grouped` = 'Y', `invoice`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105108;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 122 - 2025-01-22 12:20:31 [0.39ms] */
select * from `invoice` where `id` = 105108 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 123 - 2025-01-22 12:20:31 [0.35ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":105205,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 105108, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 124 - 2025-01-22 12:20:31 [0.48ms] */
select * from `transaction` where `transaction`.`id` = 105563 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 125 - 2025-01-22 12:20:31 [0.41ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 126 - 2025-01-22 12:20:31 [0.4ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 127 - 2025-01-22 12:20:31 [0.41ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 128 - 2025-01-22 12:20:31 [0.35ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 129 - 2025-01-22 12:20:31 [0.39ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105563, 'APPROVED', '2025-01-22 12:20:31', 5, 5, null, 5, 5, '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 130 - 2025-01-22 12:20:31 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 131 - 2025-01-22 12:20:31 [0.22ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105563;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 132 - 2025-01-22 12:20:31 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 133 - 2025-01-22 12:20:31 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 105108 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 134 - 2025-01-22 12:20:31 [0.18ms] */
update `transaction` set `invoice_id` = 105205, `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105662;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 135 - 2025-01-22 12:20:31 [0.24ms] */
update `vehicle` set `updated_by` = 5, `vehicle`.`updated_at` = '2025-01-22 12:20:31' where `id` = 24767;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 136 - 2025-01-22 12:20:31 [0.19ms] */
select * from `vehicle` where `id` = 24767 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 137 - 2025-01-22 12:20:31 [0.45ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 24767, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 138 - 2025-01-22 12:20:31 [0.27ms] */
insert into `audits` (`old_values`, `new_values`, `event`, `auditable_id`, `auditable_type`, `user_id`, `user_type`, `tags`, `ip_address`, `user_agent`, `url`, `updated_at`, `created_at`) values ('{"updated_by":16}', '{"updated_by":5}', 'updated', 24767, 'Modules\Vehicle\Entities\Vehicle', 5, 'App\Models\User', null, '103.197.113.185', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0', 'https://testtra.puntlandgov.org/livewire/message/service.tax-component', '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 139 - 2025-01-22 12:20:31 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 105662 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 140 - 2025-01-22 12:20:31 [0.21ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 141 - 2025-01-22 12:20:31 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 142 - 2025-01-22 12:20:31 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 143 - 2025-01-22 12:20:31 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 144 - 2025-01-22 12:20:31 [0.22ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105662, 'APPROVED', '2025-01-22 12:20:31', 5, 5, null, 5, 5, '2025-01-22 12:20:31', '2025-01-22 12:20:31');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 145 - 2025-01-22 12:20:31 [0.22ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 2 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 146 - 2025-01-22 12:20:31 [0.23ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-01-22 12:20:31' where `id` = 105662;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 147 - 2025-01-22 12:20:31 [0.52ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 148 - 2025-01-22 12:20:31 [0.44ms] */
select * from `invoice` where `invoice`.`id` = 105205 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 1 - 2025-01-22 12:20:32 [1.26ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 2 - 2025-01-22 12:20:32 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 3 - 2025-01-22 12:20:32 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 4 - 2025-01-22 12:20:32 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 5 - 2025-01-22 12:20:32 [26.4ms] */
select count(*) as aggregate from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 5 and `transaction`.`one_time_tax` <> 'Y' and `parent_id` is null and `status` <> 'CANCELED' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 6 - 2025-01-22 12:20:32 [28.7ms] */
select distinct `transaction`.* from `transaction` inner join `transaction_workflow` on `transaction_workflow`.`transaction_id` = `transaction`.`id` where `transaction_workflow`.`user_id` = 5 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://testtra.puntlandgov.org/m/mytrn
   Query 7 - 2025-01-22 12:20:32 [0.15ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 8 - 2025-01-22 12:20:32 [0.14ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 9 - 2025-01-22 12:20:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 10 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 11 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 12 - 2025-01-22 12:20:32 [0.14ms] */
select * from `party` where `party`.`id` = 38974 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 13 - 2025-01-22 12:20:32 [0.16ms] */
select * from `person` where `person`.`id` = 38974 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 14 - 2025-01-22 12:20:32 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 24767 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 15 - 2025-01-22 12:20:32 [0.14ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 16 - 2025-01-22 12:20:32 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 17 - 2025-01-22 12:20:32 [0.13ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 18 - 2025-01-22 12:20:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 19 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 20 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 21 - 2025-01-22 12:20:32 [0.14ms] */
select * from `party` where `party`.`id` = 58746 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 22 - 2025-01-22 12:20:32 [0.15ms] */
select * from `person` where `person`.`id` = 56224 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 23 - 2025-01-22 12:20:32 [0.27ms] */
select * from `vehicle` where `vehicle`.`id` = 89901 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 24 - 2025-01-22 12:20:32 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 25 - 2025-01-22 12:20:32 [0.27ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 26 - 2025-01-22 12:20:32 [0.26ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 27 - 2025-01-22 12:20:32 [0.33ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 28 - 2025-01-22 12:20:32 [0.25ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 29 - 2025-01-22 12:20:32 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 30 - 2025-01-22 12:20:32 [0.23ms] */
select * from `party` where `party`.`id` = 58746 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 31 - 2025-01-22 12:20:32 [0.26ms] */
select * from `person` where `person`.`id` = 56224 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 32 - 2025-01-22 12:20:32 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 89901 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 33 - 2025-01-22 12:20:32 [0.23ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 34 - 2025-01-22 12:20:32 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 35 - 2025-01-22 12:20:32 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 36 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 37 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 38 - 2025-01-22 12:20:32 [0.14ms] */
select * from `party` where `party`.`id` = 58746 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 39 - 2025-01-22 12:20:32 [0.15ms] */
select * from `person` where `person`.`id` = 56224 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 40 - 2025-01-22 12:20:32 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 89901 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 41 - 2025-01-22 12:20:32 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 42 - 2025-01-22 12:20:32 [0.13ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 43 - 2025-01-22 12:20:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 44 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 45 - 2025-01-22 12:20:32 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 46 - 2025-01-22 12:20:32 [0.14ms] */
select * from `party` where `party`.`id` = 58746 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 47 - 2025-01-22 12:20:32 [0.15ms] */
select * from `person` where `person`.`id` = 56224 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 48 - 2025-01-22 12:20:32 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89901 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 49 - 2025-01-22 12:20:32 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 50 - 2025-01-22 12:20:32 [0.29ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 51 - 2025-01-22 12:20:32 [0.28ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 52 - 2025-01-22 12:20:32 [0.27ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 53 - 2025-01-22 12:20:32 [0.29ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 54 - 2025-01-22 12:20:32 [0.3ms] */
select * from `party` where `party`.`id` = 57613 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 55 - 2025-01-22 12:20:32 [0.31ms] */
select * from `company` where `company`.`id` = 2004 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 56 - 2025-01-22 12:20:32 [0.53ms] */
select * from `vehicle` where `vehicle`.`id` = 1663 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 57 - 2025-01-22 12:20:32 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 58 - 2025-01-22 12:20:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 59 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 60 - 2025-01-22 12:20:32 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 61 - 2025-01-22 12:20:32 [0.13ms] */
select * from `party` where `party`.`id` = 58406 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 62 - 2025-01-22 12:20:32 [0.15ms] */
select * from `person` where `person`.`id` = 55889 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 63 - 2025-01-22 12:20:32 [0.54ms] */
select * from `vehicle` where `vehicle`.`id` = 89503 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 64 - 2025-01-22 12:20:32 [0.13ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 65 - 2025-01-22 12:20:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 66 - 2025-01-22 12:20:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 67 - 2025-01-22 12:20:32 [0.15ms] */
select * from `users` where `users`.`id` = 7 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 68 - 2025-01-22 12:20:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 69 - 2025-01-22 12:20:32 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 70 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 71 - 2025-01-22 12:20:32 [0.17ms] */
select * from `party` where `party`.`id` = 58406 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 72 - 2025-01-22 12:20:32 [0.15ms] */
select * from `person` where `person`.`id` = 55889 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 73 - 2025-01-22 12:20:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89503 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 74 - 2025-01-22 12:20:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 75 - 2025-01-22 12:20:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 76 - 2025-01-22 12:20:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 77 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 78 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 79 - 2025-01-22 12:20:32 [0.14ms] */
select * from `party` where `party`.`id` = 58406 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 80 - 2025-01-22 12:20:32 [0.16ms] */
select * from `person` where `person`.`id` = 55889 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 81 - 2025-01-22 12:20:32 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 89503 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 82 - 2025-01-22 12:20:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 83 - 2025-01-22 12:20:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 84 - 2025-01-22 12:20:32 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 85 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 86 - 2025-01-22 12:20:32 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 87 - 2025-01-22 12:20:32 [0.14ms] */
select * from `party` where `party`.`id` = 58406 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 88 - 2025-01-22 12:20:32 [0.16ms] */
select * from `person` where `person`.`id` = 55889 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 89 - 2025-01-22 12:20:32 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 89503 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 90 - 2025-01-22 12:20:32 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 91 - 2025-01-22 12:20:32 [0.12ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 92 - 2025-01-22 12:20:32 [0.26ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/mytrn
   Query 93 - 2025-01-22 12:20:32 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 1 - 2025-01-22 12:20:35 [1.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 2 - 2025-01-22 12:20:35 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 3 - 2025-01-22 12:20:35 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 4 - 2025-01-22 12:20:35 [0.58ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 5 - 2025-01-22 12:20:35 [46.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-22 12:20:35' and `vehicle_tax`.`deleted_at` is null) and `ban_status` = 'GOOD_STANDING' and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`provisional` = 'N' and `vehicle`.`provisional` = 'N' and `party_vehicle`.`status` = 'REGISTERED' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 6 - 2025-01-22 12:20:35 [32.35ms] */
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-22 12:20:35' and `vehicle_tax`.`deleted_at` is null) 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://testtra.puntlandgov.org/m/service/tax/list
   Query 7 - 2025-01-22 12:20:35 [0.36ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 434 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 8 - 2025-01-22 12:20:35 [0.31ms] */
select * from `party_vehicle` where `vehicle_id` = 434 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 9 - 2025-01-22 12:20:35 [0.26ms] */
select * from `party` where `party`.`id` = 55818 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 10 - 2025-01-22 12:20:35 [0.28ms] */
select * from `company` where `company`.`id` = 209 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 11 - 2025-01-22 12:20:35 [0.22ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 12 - 2025-01-22 12:20:35 [0.21ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 13 - 2025-01-22 12:20:35 [0.21ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 14 - 2025-01-22 12:20:35 [0.23ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 15 - 2025-01-22 12:20:35 [0.21ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 16 - 2025-01-22 12:20:35 [0.79ms] */
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 `vehicle_tax`.`vehicle_id` = 434 and date(`term`.`first_date_of_quarter`) <= '2025-01-22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 17 - 2025-01-22 12:20:35 [0.21ms] */
select * from `term` where `term`.`id` = 93 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 18 - 2025-01-22 12:20:35 [0.24ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 19 - 2025-01-22 12:20:35 [0.2ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 20 - 2025-01-22 12:20:35 [0.17ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 21 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 22 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 23 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 24 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 25 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 26 - 2025-01-22 12:20:35 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 5060 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 27 - 2025-01-22 12:20:35 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 5060 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 28 - 2025-01-22 12:20:35 [0.15ms] */
select * from `party` where `party`.`id` = 58067 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 29 - 2025-01-22 12:20:35 [0.16ms] */
select * from `person` where `person`.`id` = 55666 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 30 - 2025-01-22 12:20:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 31 - 2025-01-22 12:20:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 32 - 2025-01-22 12:20:35 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 33 - 2025-01-22 12:20:35 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 34 - 2025-01-22 12:20:35 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 35 - 2025-01-22 12:20:35 [0.41ms] */
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 `vehicle_tax`.`vehicle_id` = 5060 and date(`term`.`first_date_of_quarter`) <= '2025-01-22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 36 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 37 - 2025-01-22 12:20:35 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 38 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 39 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 40 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 41 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 42 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 43 - 2025-01-22 12:20:35 [0.17ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89483 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 44 - 2025-01-22 12:20:35 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89483 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 45 - 2025-01-22 12:20:35 [0.14ms] */
select * from `party` where `party`.`id` = 27949 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 46 - 2025-01-22 12:20:35 [0.15ms] */
select * from `person` where `person`.`id` = 27949 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 47 - 2025-01-22 12:20:35 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 48 - 2025-01-22 12:20:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 49 - 2025-01-22 12:20:35 [0.13ms] */
select * from `model` where `model`.`id` = 8 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 50 - 2025-01-22 12:20:35 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 51 - 2025-01-22 12:20:35 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 22 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 52 - 2025-01-22 12:20:35 [0.36ms] */
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 `vehicle_tax`.`vehicle_id` = 89483 and date(`term`.`first_date_of_quarter`) <= '2025-01-22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 53 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 54 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 55 - 2025-01-22 12:20:35 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89173 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 56 - 2025-01-22 12:20:35 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 89173 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 57 - 2025-01-22 12:20:35 [0.14ms] */
select * from `party` where `party`.`id` = 58360 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 58 - 2025-01-22 12:20:35 [0.15ms] */
select * from `person` where `person`.`id` = 55865 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 59 - 2025-01-22 12:20:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 60 - 2025-01-22 12:20:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 61 - 2025-01-22 12:20:35 [0.13ms] */
select * from `model` where `model`.`id` = 6 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 62 - 2025-01-22 12:20:35 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 63 - 2025-01-22 12:20:35 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 4 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 64 - 2025-01-22 12:20:35 [0.36ms] */
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 `vehicle_tax`.`vehicle_id` = 89173 and date(`term`.`first_date_of_quarter`) <= '2025-01-22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 65 - 2025-01-22 12:20:35 [0.14ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 66 - 2025-01-22 12:20:35 [0.15ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 67 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 68 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 69 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 70 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 71 - 2025-01-22 12:20:35 [0.14ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 1027 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 72 - 2025-01-22 12:20:35 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 1027 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 73 - 2025-01-22 12:20:35 [0.15ms] */
select * from `party` where `party`.`id` = 56133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 74 - 2025-01-22 12:20:35 [0.13ms] */
select * from `company` where `company`.`id` = 524 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 75 - 2025-01-22 12:20:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 76 - 2025-01-22 12:20:35 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 77 - 2025-01-22 12:20:35 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 78 - 2025-01-22 12:20:35 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 79 - 2025-01-22 12:20:35 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 80 - 2025-01-22 12:20:35 [0.4ms] */
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 `vehicle_tax`.`vehicle_id` = 1027 and date(`term`.`first_date_of_quarter`) <= '2025-01-22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 81 - 2025-01-22 12:20:35 [0.14ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 82 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 83 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 84 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 85 - 2025-01-22 12:20:35 [0.23ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 62 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 86 - 2025-01-22 12:20:35 [0.25ms] */
select * from `party_vehicle` where `vehicle_id` = 62 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 87 - 2025-01-22 12:20:35 [0.14ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 88 - 2025-01-22 12:20:35 [0.15ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 89 - 2025-01-22 12:20:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 90 - 2025-01-22 12:20:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 91 - 2025-01-22 12:20:35 [0.12ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 92 - 2025-01-22 12:20:35 [0.12ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 93 - 2025-01-22 12:20:35 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 94 - 2025-01-22 12:20:35 [0.33ms] */
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 `vehicle_tax`.`vehicle_id` = 62 and date(`term`.`first_date_of_quarter`) <= '2025-01-22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 95 - 2025-01-22 12:20:35 [0.25ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 96 - 2025-01-22 12:20:35 [0.49ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 88979 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 97 - 2025-01-22 12:20:35 [0.7ms] */
select * from `party_vehicle` where `vehicle_id` = 88979 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 98 - 2025-01-22 12:20:35 [0.68ms] */
select * from `party` where `party`.`id` = 58088 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 99 - 2025-01-22 12:20:35 [0.71ms] */
select * from `person` where `person`.`id` = 55684 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 100 - 2025-01-22 12:20:35 [0.26ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 101 - 2025-01-22 12:20:35 [0.27ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 102 - 2025-01-22 12:20:35 [0.64ms] */
select * from `model` where `model`.`id` = 104 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 103 - 2025-01-22 12:20:35 [0.63ms] */
select * from `make` where `make`.`id` = 7 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 104 - 2025-01-22 12:20:35 [0.25ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 4 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 105 - 2025-01-22 12:20:35 [1.05ms] */
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 `vehicle_tax`.`vehicle_id` = 88979 and date(`term`.`first_date_of_quarter`) <= '2025-01-22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 106 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 107 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 108 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 109 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 110 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 111 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 112 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 113 - 2025-01-22 12:20:35 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 75 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 114 - 2025-01-22 12:20:35 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 75 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 115 - 2025-01-22 12:20:35 [0.14ms] */
select * from `party` where `party`.`id` = 27071 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 116 - 2025-01-22 12:20:35 [0.15ms] */
select * from `person` where `person`.`id` = 27071 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 117 - 2025-01-22 12:20:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 118 - 2025-01-22 12:20:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 119 - 2025-01-22 12:20:35 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 120 - 2025-01-22 12:20:35 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 121 - 2025-01-22 12:20:35 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 122 - 2025-01-22 12:20:35 [0.49ms] */
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 `vehicle_tax`.`vehicle_id` = 75 and date(`term`.`first_date_of_quarter`) <= '2025-01-22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 123 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 94 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 124 - 2025-01-22 12:20:35 [0.14ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 125 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 126 - 2025-01-22 12:20:35 [0.13ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 89160 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 127 - 2025-01-22 12:20:35 [0.14ms] */
select * from `party_vehicle` where `vehicle_id` = 89160 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 128 - 2025-01-22 12:20:35 [0.14ms] */
select * from `party` where `party`.`id` = 58066 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 129 - 2025-01-22 12:20:35 [0.15ms] */
select * from `person` where `person`.`id` = 55665 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 130 - 2025-01-22 12:20:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 131 - 2025-01-22 12:20:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 132 - 2025-01-22 12:20:35 [0.12ms] */
select * from `model` where `model`.`id` = 334 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 133 - 2025-01-22 12:20:35 [0.12ms] */
select * from `make` where `make`.`id` = 14 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 134 - 2025-01-22 12:20:35 [0.14ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 14 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 135 - 2025-01-22 12:20:35 [0.47ms] */
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 `vehicle_tax`.`vehicle_id` = 89160 and date(`term`.`first_date_of_quarter`) <= '2025-01-22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 136 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 95 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 137 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 138 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 97 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 139 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 140 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 141 - 2025-01-22 12:20:35 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 142 - 2025-01-22 12:20:35 [0.12ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 143 - 2025-01-22 12:20:35 [0.36ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 31 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 144 - 2025-01-22 12:20:35 [0.33ms] */
select * from `party_vehicle` where `vehicle_id` = 31 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 145 - 2025-01-22 12:20:35 [0.32ms] */
select * from `party` where `party`.`id` = 26876 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 146 - 2025-01-22 12:20:35 [0.36ms] */
select * from `person` where `person`.`id` = 26876 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 147 - 2025-01-22 12:20:35 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 148 - 2025-01-22 12:20:35 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 149 - 2025-01-22 12:20:35 [0.13ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 150 - 2025-01-22 12:20:35 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 151 - 2025-01-22 12:20:35 [0.12ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 152 - 2025-01-22 12:20:35 [0.68ms] */
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 `vehicle_tax`.`vehicle_id` = 31 and date(`term`.`first_date_of_quarter`) <= '2025-01-22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 153 - 2025-01-22 12:20:35 [0.25ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 154 - 2025-01-22 12:20:36 [0.16ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/list
   Query 155 - 2025-01-22 12:20:36 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 1 - 2025-01-22 12:20:45 [1.35ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 2 - 2025-01-22 12:20:45 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 3 - 2025-01-22 12:20:45 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-list-component
   Query 4 - 2025-01-22 12:20:45 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 1 - 2025-01-22 12:20:46 [1.49ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 2 - 2025-01-22 12:20:46 [0.63ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 3 - 2025-01-22 12:20:46 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 4 - 2025-01-22 12:20:46 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 5 - 2025-01-22 12:20:46 [0.4ms] */
select * from `vehicle` where `vehicle`.`id` = 62 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 6 - 2025-01-22 12:20:46 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 62 and `party_vehicle`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 7 - 2025-01-22 12:20:46 [0.21ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 62 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 8 - 2025-01-22 12:20:46 [0.23ms] */
select * from `party_vehicle` where `vehicle_id` = 62 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 9 - 2025-01-22 12:20:46 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 101152 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 10 - 2025-01-22 12:20:46 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 11 - 2025-01-22 12:20:46 [0.14ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 12 - 2025-01-22 12:20:46 [0.24ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 13 - 2025-01-22 12:20:46 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 62 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 14 - 2025-01-22 12:20:46 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 15 - 2025-01-22 12:20:46 [0.36ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2024 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 16 - 2025-01-22 12:20:46 [0.41ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 17 - 2025-01-22 12:20:46 [0.14ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 18 - 2025-01-22 12:20:46 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 19 - 2025-01-22 12:20:46 [0.54ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58204, 2, 62, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 20 - 2025-01-22 12:20:46 [0.34ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105663, 'INITIATED', '2025-01-22 12:20:46', 5, 5, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 21 - 2025-01-22 12:20:46 [0.23ms] */
select * from `term` where `year` = 2024 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 22 - 2025-01-22 12:20:46 [0.31ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '9GP-101152-352', 62, 98, 58204, 98538, 105663, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 23 - 2025-01-22 12:20:46 [0.19ms] */
select * from `vehicle_tax` where `id` = 101733 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 24 - 2025-01-22 12:20:46 [0.32ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"9GP-101152-352","tax_sticker_id":null,"vehicle_id":62,"term_id":98,"party_id":58204,"transaction_id":105663,"party_vehicle_id":98538,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101733, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 25 - 2025-01-22 12:20:46 [0.23ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 26 - 2025-01-22 12:20:46 [0.57ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 27 - 2025-01-22 12:20:46 [0.38ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 28 - 2025-01-22 12:20:46 [0.17ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 29 - 2025-01-22 12:20:46 [0.21ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 30 - 2025-01-22 12:20:46 [0.28ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105663, '2024-05-17 00:00:00', '2024-03-01 00:00:00', 'OPEN', 58204, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 31 - 2025-01-22 12:20:46 [0.2ms] */
select * from `invoice` where `id` = 105206 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 32 - 2025-01-22 12:20:46 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105663,"party_id":58204,"invoice_amount":"0.00","invoice_date":"2024-05-17 00:00:00","due_date":"2024-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105206, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 33 - 2025-01-22 12:20:46 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 105206, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 34 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice_item` where `id` = 207460 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 35 - 2025-01-22 12:20:46 [0.35ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":105206}}', 5, 'App\Models\User', 207460, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 36 - 2025-01-22 12:20:46 [0.16ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 105206, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 37 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice_item` where `id` = 207461 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 38 - 2025-01-22 12:20:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":105206}}', 5, 'App\Models\User', 207461, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 39 - 2025-01-22 12:20:46 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 105206 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 40 - 2025-01-22 12:20:46 [0.3ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 105206 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 41 - 2025-01-22 12:20:46 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105206 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 42 - 2025-01-22 12:20:46 [0.18ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105206;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 43 - 2025-01-22 12:20:46 [0.21ms] */
select * from `invoice` where `id` = 105206 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 44 - 2025-01-22 12:20:46 [0.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 105206, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 45 - 2025-01-22 12:20:46 [0.18ms] */
update `invoice` set `invoice_number` = 'INV-427-105206955', `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105206;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 46 - 2025-01-22 12:20:46 [0.19ms] */
select * from `invoice` where `id` = 105206 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 47 - 2025-01-22 12:20:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-427-105206955","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105206, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 48 - 2025-01-22 12:20:46 [0.19ms] */
update `transaction` set `party_vehicle_id` = 98538, `vehicle_tax_id` = 101733, `invoice_id` = 105206, `transaction`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105663;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 49 - 2025-01-22 12:20:46 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2024 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 50 - 2025-01-22 12:20:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 51 - 2025-01-22 12:20:46 [0.23ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 52 - 2025-01-22 12:20:46 [0.23ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 53 - 2025-01-22 12:20:46 [0.21ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58204, 2, 62, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 54 - 2025-01-22 12:20:46 [0.22ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105664, 'INITIATED', '2025-01-22 12:20:46', 5, 5, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 55 - 2025-01-22 12:20:46 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 56 - 2025-01-22 12:20:46 [0.18ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'DFM-101152-570', 62, 99, 58204, 98538, 105664, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 57 - 2025-01-22 12:20:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 101734 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 58 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"DFM-101152-570","tax_sticker_id":null,"vehicle_id":62,"term_id":99,"party_id":58204,"transaction_id":105664,"party_vehicle_id":98538,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101734, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 59 - 2025-01-22 12:20:46 [0.22ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 60 - 2025-01-22 12:20:46 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 61 - 2025-01-22 12:20:46 [0.17ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 62 - 2025-01-22 12:20:46 [0.19ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 63 - 2025-01-22 12:20:46 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105664, '2024-06-01 00:00:00', '2024-06-01 00:00:00', 'OPEN', 58204, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 64 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice` where `id` = 105207 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 65 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105664,"party_id":58204,"invoice_amount":"0.00","invoice_date":"2024-06-01 00:00:00","due_date":"2024-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105207, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 66 - 2025-01-22 12:20:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 105207, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 67 - 2025-01-22 12:20:46 [0.19ms] */
select * from `invoice_item` where `id` = 207462 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 68 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":105207}}', 5, 'App\Models\User', 207462, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 69 - 2025-01-22 12:20:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 105207, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 70 - 2025-01-22 12:20:46 [0.17ms] */
select * from `invoice_item` where `id` = 207463 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 71 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":105207}}', 5, 'App\Models\User', 207463, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 72 - 2025-01-22 12:20:46 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 105207 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 73 - 2025-01-22 12:20:46 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 105207 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 74 - 2025-01-22 12:20:46 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105207 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 75 - 2025-01-22 12:20:46 [0.17ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105207;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 76 - 2025-01-22 12:20:46 [0.2ms] */
select * from `invoice` where `id` = 105207 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 77 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 105207, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 78 - 2025-01-22 12:20:46 [0.15ms] */
update `invoice` set `invoice_number` = 'INV-955-105207355', `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105207;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 79 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice` where `id` = 105207 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 80 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-955-105207355","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105207, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 81 - 2025-01-22 12:20:46 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98538, `vehicle_tax_id` = 101734, `invoice_id` = 105207, `transaction`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105664;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 82 - 2025-01-22 12:20:46 [0.26ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2024 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 83 - 2025-01-22 12:20:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2024 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 84 - 2025-01-22 12:20:46 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 85 - 2025-01-22 12:20:46 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 86 - 2025-01-22 12:20:46 [0.21ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58204, 2, 62, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 87 - 2025-01-22 12:20:46 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105665, 'INITIATED', '2025-01-22 12:20:46', 5, 5, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 88 - 2025-01-22 12:20:46 [0.2ms] */
select * from `term` where `year` = 2024 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 89 - 2025-01-22 12:20:46 [0.17ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '2QR-101152-301', 62, 100, 58204, 98538, 105665, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 90 - 2025-01-22 12:20:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 101735 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 91 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"2QR-101152-301","tax_sticker_id":null,"vehicle_id":62,"term_id":100,"party_id":58204,"transaction_id":105665,"party_vehicle_id":98538,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101735, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 92 - 2025-01-22 12:20:46 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 93 - 2025-01-22 12:20:46 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 94 - 2025-01-22 12:20:46 [0.17ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 95 - 2025-01-22 12:20:46 [0.19ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 96 - 2025-01-22 12:20:46 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105665, '2024-09-01 00:00:00', '2024-09-01 00:00:00', 'OPEN', 58204, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 97 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice` where `id` = 105208 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 98 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105665,"party_id":58204,"invoice_amount":"0.00","invoice_date":"2024-09-01 00:00:00","due_date":"2024-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105208, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 99 - 2025-01-22 12:20:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 105208, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 100 - 2025-01-22 12:20:46 [0.16ms] */
select * from `invoice_item` where `id` = 207464 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 101 - 2025-01-22 12:20:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":105208}}', 5, 'App\Models\User', 207464, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 102 - 2025-01-22 12:20:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 105208, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 103 - 2025-01-22 12:20:46 [0.17ms] */
select * from `invoice_item` where `id` = 207465 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 104 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":105208}}', 5, 'App\Models\User', 207465, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 105 - 2025-01-22 12:20:46 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 105208 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 106 - 2025-01-22 12:20:46 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 105208 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 107 - 2025-01-22 12:20:46 [0.19ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105208 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 108 - 2025-01-22 12:20:46 [0.17ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105208;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 109 - 2025-01-22 12:20:46 [0.19ms] */
select * from `invoice` where `id` = 105208 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 110 - 2025-01-22 12:20:46 [0.2ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 105208, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 111 - 2025-01-22 12:20:46 [0.15ms] */
update `invoice` set `invoice_number` = 'INV-821-105208654', `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105208;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 112 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice` where `id` = 105208 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 113 - 2025-01-22 12:20:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-821-105208654","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105208, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 114 - 2025-01-22 12:20:46 [0.17ms] */
update `transaction` set `party_vehicle_id` = 98538, `vehicle_tax_id` = 101735, `invoice_id` = 105208, `transaction`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105665;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 115 - 2025-01-22 12:20:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2025 and `term`.`quarter` = 1 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 116 - 2025-01-22 12:20:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2025 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 117 - 2025-01-22 12:20:46 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 118 - 2025-01-22 12:20:46 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 119 - 2025-01-22 12:20:46 [0.22ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58204, 2, 62, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 120 - 2025-01-22 12:20:46 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105666, 'INITIATED', '2025-01-22 12:20:46', 5, 5, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 121 - 2025-01-22 12:20:46 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 122 - 2025-01-22 12:20:46 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 123 - 2025-01-22 12:20:46 [0.21ms] */
select * from `term` where `year` = 2025 and `quarter` = 1 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 124 - 2025-01-22 12:20:46 [0.19ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'XSW-101152-433', 62, 103, 58204, 98538, 105666, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 125 - 2025-01-22 12:20:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 101736 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 126 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"XSW-101152-433","tax_sticker_id":null,"vehicle_id":62,"term_id":103,"party_id":58204,"transaction_id":105666,"party_vehicle_id":98538,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101736, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 127 - 2025-01-22 12:20:46 [0.43ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 128 - 2025-01-22 12:20:46 [0.17ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 129 - 2025-01-22 12:20:46 [0.19ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 130 - 2025-01-22 12:20:46 [0.19ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105666, '2024-12-01 00:00:00', '2024-12-01 00:00:00', 'OPEN', 58204, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 131 - 2025-01-22 12:20:46 [0.19ms] */
select * from `invoice` where `id` = 105209 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 132 - 2025-01-22 12:20:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105666,"party_id":58204,"invoice_amount":"0.00","invoice_date":"2024-12-01 00:00:00","due_date":"2024-12-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105209, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 133 - 2025-01-22 12:20:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Yearly tax for 18 HP', 'Yearly tax for 18 HP', 1, 63.00, 63.00, 105209, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 134 - 2025-01-22 12:20:46 [0.17ms] */
select * from `invoice_item` where `id` = 207466 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 135 - 2025-01-22 12:20:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Yearly tax for 18 HP","description":"Yearly tax for 18 HP","unit_price":"63.00","quantity":1,"total_price":"63.00","invoice_id":105209}}', 5, 'App\Models\User', 207466, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 136 - 2025-01-22 12:20:46 [0.14ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Yearly Tax', 'Yearly Tax Service Fee', 1, 8.00, 8.00, 105209, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 137 - 2025-01-22 12:20:46 [0.17ms] */
select * from `invoice_item` where `id` = 207467 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 138 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Yearly Tax","description":"Yearly Tax Service Fee","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":105209}}', 5, 'App\Models\User', 207467, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 139 - 2025-01-22 12:20:46 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 105209 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 140 - 2025-01-22 12:20:46 [0.23ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 105209 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 141 - 2025-01-22 12:20:46 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105209 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 142 - 2025-01-22 12:20:46 [0.17ms] */
update `invoice` set `invoice_amount` = 71, `outstanding_balance` = 71, `discounts` = 0, `total_invoice_amount` = 71, `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105209;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 143 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice` where `id` = 105209 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 144 - 2025-01-22 12:20:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"71.00","outstanding_balance":"71.00","discounts":"0.00","total_invoice_amount":"71.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 105209, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 145 - 2025-01-22 12:20:46 [0.15ms] */
update `invoice` set `invoice_number` = 'INV-238-105209899', `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105209;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 146 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice` where `id` = 105209 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 147 - 2025-01-22 12:20:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"71.00","outstanding_balance":"71.00","discounts":"0.00","total_invoice_amount":"71.00","invoice_number":"INV-238-105209899","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105209, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 148 - 2025-01-22 12:20:46 [0.17ms] */
update `transaction` set `party_vehicle_id` = 98538, `vehicle_tax_id` = 101736, `invoice_id` = 105209, `transaction`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105666;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 149 - 2025-01-22 12:20:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2025 and `term`.`quarter` = 2 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 150 - 2025-01-22 12:20:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2025 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 151 - 2025-01-22 12:20:46 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 152 - 2025-01-22 12:20:46 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 153 - 2025-01-22 12:20:46 [0.22ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58204, 2, 62, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 154 - 2025-01-22 12:20:46 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105667, 'INITIATED', '2025-01-22 12:20:46', 5, 5, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 155 - 2025-01-22 12:20:46 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 2 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 156 - 2025-01-22 12:20:46 [0.17ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '0IG-101152-141', 62, 104, 58204, 98538, 105667, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 157 - 2025-01-22 12:20:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 101737 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 158 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"0IG-101152-141","tax_sticker_id":null,"vehicle_id":62,"term_id":104,"party_id":58204,"transaction_id":105667,"party_vehicle_id":98538,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101737, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 159 - 2025-01-22 12:20:46 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 160 - 2025-01-22 12:20:46 [0.2ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 161 - 2025-01-22 12:20:46 [0.17ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 162 - 2025-01-22 12:20:46 [0.19ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 163 - 2025-01-22 12:20:46 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105667, '2025-03-01 00:00:00', '2025-03-01 00:00:00', 'OPEN', 58204, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 164 - 2025-01-22 12:20:46 [0.19ms] */
select * from `invoice` where `id` = 105210 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 165 - 2025-01-22 12:20:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105667,"party_id":58204,"invoice_amount":"0.00","invoice_date":"2025-03-01 00:00:00","due_date":"2025-03-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105210, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 166 - 2025-01-22 12:20:46 [0.21ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 105210, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 167 - 2025-01-22 12:20:46 [0.16ms] */
select * from `invoice_item` where `id` = 207468 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 168 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":105210}}', 5, 'App\Models\User', 207468, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 169 - 2025-01-22 12:20:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 105210, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 170 - 2025-01-22 12:20:46 [0.17ms] */
select * from `invoice_item` where `id` = 207469 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 171 - 2025-01-22 12:20:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":105210}}', 5, 'App\Models\User', 207469, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 172 - 2025-01-22 12:20:46 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 105210 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 173 - 2025-01-22 12:20:46 [0.24ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 105210 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 174 - 2025-01-22 12:20:46 [0.2ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105210 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 175 - 2025-01-22 12:20:46 [0.17ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105210;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 176 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice` where `id` = 105210 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 177 - 2025-01-22 12:20:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 105210, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 178 - 2025-01-22 12:20:46 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-744-105210316', `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105210;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 179 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice` where `id` = 105210 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 180 - 2025-01-22 12:20:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-744-105210316","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105210, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 181 - 2025-01-22 12:20:46 [0.17ms] */
update `transaction` set `party_vehicle_id` = 98538, `vehicle_tax_id` = 101737, `invoice_id` = 105210, `transaction`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105667;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 182 - 2025-01-22 12:20:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2025 and `term`.`quarter` = 3 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 183 - 2025-01-22 12:20:46 [0.23ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2025 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 184 - 2025-01-22 12:20:46 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 185 - 2025-01-22 12:20:46 [0.19ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 186 - 2025-01-22 12:20:46 [0.24ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58204, 2, 62, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 187 - 2025-01-22 12:20:46 [0.18ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105668, 'INITIATED', '2025-01-22 12:20:46', 5, 5, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 188 - 2025-01-22 12:20:46 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 3 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 189 - 2025-01-22 12:20:46 [0.2ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', 'QWL-101152-173', 62, 105, 58204, 98538, 105668, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 190 - 2025-01-22 12:20:46 [0.17ms] */
select * from `vehicle_tax` where `id` = 101738 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 191 - 2025-01-22 12:20:46 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"QWL-101152-173","tax_sticker_id":null,"vehicle_id":62,"term_id":105,"party_id":58204,"transaction_id":105668,"party_vehicle_id":98538,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101738, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 192 - 2025-01-22 12:20:46 [0.21ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 193 - 2025-01-22 12:20:46 [0.19ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 194 - 2025-01-22 12:20:46 [0.17ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 195 - 2025-01-22 12:20:46 [0.19ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 196 - 2025-01-22 12:20:46 [0.17ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105668, '2025-06-01 00:00:00', '2025-06-01 00:00:00', 'OPEN', 58204, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 197 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice` where `id` = 105211 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 198 - 2025-01-22 12:20:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105668,"party_id":58204,"invoice_amount":"0.00","invoice_date":"2025-06-01 00:00:00","due_date":"2025-06-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105211, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 199 - 2025-01-22 12:20:46 [0.15ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 105211, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 200 - 2025-01-22 12:20:46 [0.16ms] */
select * from `invoice_item` where `id` = 207470 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 201 - 2025-01-22 12:20:46 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":105211}}', 5, 'App\Models\User', 207470, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 202 - 2025-01-22 12:20:46 [0.14ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 105211, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 203 - 2025-01-22 12:20:46 [0.31ms] */
select * from `invoice_item` where `id` = 207471 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 204 - 2025-01-22 12:20:46 [0.32ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":105211}}', 5, 'App\Models\User', 207471, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 205 - 2025-01-22 12:20:46 [0.37ms] */
select * from `invoice` where `invoice`.`id` = 105211 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 206 - 2025-01-22 12:20:46 [0.43ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 105211 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 207 - 2025-01-22 12:20:46 [0.4ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105211 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 208 - 2025-01-22 12:20:46 [0.31ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105211;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 209 - 2025-01-22 12:20:46 [0.34ms] */
select * from `invoice` where `id` = 105211 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 210 - 2025-01-22 12:20:46 [0.33ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 105211, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 211 - 2025-01-22 12:20:46 [0.29ms] */
update `invoice` set `invoice_number` = 'INV-438-105211758', `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105211;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 212 - 2025-01-22 12:20:46 [0.37ms] */
select * from `invoice` where `id` = 105211 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 213 - 2025-01-22 12:20:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-438-105211758","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105211, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 214 - 2025-01-22 12:20:46 [0.17ms] */
update `transaction` set `party_vehicle_id` = 98538, `vehicle_tax_id` = 101738, `invoice_id` = 105211, `transaction`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105668;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 215 - 2025-01-22 12:20:46 [0.25ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2025 and `term`.`quarter` = 4 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 216 - 2025-01-22 12:20:46 [0.24ms] */
select `vehicle_tax`.* from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` where `vehicle_id` = 62 and `term`.`year` = 2025 and `status` in ('INPROGRESS', 'ISSUED') and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 217 - 2025-01-22 12:20:46 [0.19ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 218 - 2025-01-22 12:20:46 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 219 - 2025-01-22 12:20:46 [0.23ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58204, 2, 62, null, 2, 6, null, 37, 37, 'OPEN', null, null, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 220 - 2025-01-22 12:20:46 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105669, 'INITIATED', '2025-01-22 12:20:46', 5, 5, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 221 - 2025-01-22 12:20:46 [0.2ms] */
select * from `term` where `year` = 2025 and `quarter` = 4 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 222 - 2025-01-22 12:20:46 [0.36ms] */
insert into `vehicle_tax` (`status`, `tax_number`, `vehicle_id`, `term_id`, `party_id`, `party_vehicle_id`, `transaction_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('OPEN', '3FJ-101152-136', 62, 106, 58204, 98538, 105669, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 223 - 2025-01-22 12:20:46 [0.32ms] */
select * from `vehicle_tax` where `id` = 101739 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 224 - 2025-01-22 12:20:46 [0.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"OPEN","tax_number":"3FJ-101152-136","tax_sticker_id":null,"vehicle_id":62,"term_id":106,"party_id":58204,"transaction_id":105669,"party_vehicle_id":98538,"exempt":"N","migration_id":null}}', 5, 'App\Models\User', 101739, 'Modules\Vehicle\Entities\VehicleTax', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 225 - 2025-01-22 12:20:46 [0.39ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` = 2 and `service_id` = 2 and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `classification_id` = 2 and `sub_category_id` is null and `frequency_type_id` = 2 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 226 - 2025-01-22 12:20:46 [0.29ms] */
(select * from `service_fee` where `sub_category_id` = 5 and `classification_id` is null and `service_id` = 2 and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` is null and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null) union (select * from `service_fee` where `service_id` = 2 and `sub_category_id` = 5 and `classification_id` is null and `frequency_type_id` = 3 and `service_fee`.`deleted_at` is null);
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 227 - 2025-01-22 12:20:46 [0.26ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 228 - 2025-01-22 12:20:46 [0.29ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 229 - 2025-01-22 12:20:46 [0.28ms] */
insert into `invoice` (`transaction_id`, `invoice_date`, `due_date`, `status`, `party_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105669, '2025-09-01 00:00:00', '2025-09-01 00:00:00', 'OPEN', 58204, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 230 - 2025-01-22 12:20:46 [0.38ms] */
select * from `invoice` where `id` = 105212 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 231 - 2025-01-22 12:20:46 [0.29ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105669,"party_id":58204,"invoice_amount":"0.00","invoice_date":"2025-09-01 00:00:00","due_date":"2025-09-01 00:00:00","outstanding_balance":"0.00","discounts":null,"taxes":null,"total_invoice_amount":"0.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105212, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 232 - 2025-01-22 12:20:46 [0.23ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Quarterly TaxFee for 18 HP', '18 HP Quarterly Tax', 1, 30.00, 30.00, 105212, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 233 - 2025-01-22 12:20:46 [0.26ms] */
select * from `invoice_item` where `id` = 207472 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 234 - 2025-01-22 12:20:46 [0.27ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Quarterly TaxFee for 18 HP","description":"18 HP Quarterly Tax","unit_price":"30.00","quantity":1,"total_price":"30.00","invoice_id":105212}}', 5, 'App\Models\User', 207472, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 235 - 2025-01-22 12:20:46 [0.24ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Service Fee for Quarterly Tax', 'Service Fee for Quarterly Tax', 1, 8.00, 8.00, 105212, 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 236 - 2025-01-22 12:20:46 [0.26ms] */
select * from `invoice_item` where `id` = 207473 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 237 - 2025-01-22 12:20:46 [0.26ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Service Fee for Quarterly Tax","description":"Service Fee for Quarterly Tax","unit_price":"8.00","quantity":1,"total_price":"8.00","invoice_id":105212}}', 5, 'App\Models\User', 207473, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 238 - 2025-01-22 12:20:46 [0.3ms] */
select * from `invoice` where `invoice`.`id` = 105212 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 239 - 2025-01-22 12:20:46 [0.36ms] */
select `Payment`.*, `invoice_payment`.`invoice_id` as `pivot_invoice_id`, `invoice_payment`.`payment_id` as `pivot_payment_id`, `invoice_payment`.`created_at` as `pivot_created_at`, `invoice_payment`.`updated_at` as `pivot_updated_at` from `Payment` inner join `invoice_payment` on `Payment`.`id` = `invoice_payment`.`payment_id` where `invoice_payment`.`invoice_id` = 105212 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 240 - 2025-01-22 12:20:46 [0.3ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 105212 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 241 - 2025-01-22 12:20:46 [0.31ms] */
update `invoice` set `invoice_amount` = 38, `outstanding_balance` = 38, `discounts` = 0, `total_invoice_amount` = 38, `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105212;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 242 - 2025-01-22 12:20:46 [0.22ms] */
select * from `invoice` where `id` = 105212 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 243 - 2025-01-22 12:20:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00"},"old":{"invoice_amount":"0.00","outstanding_balance":"0.00","discounts":null,"total_invoice_amount":"0.00"}}', 5, 'App\Models\User', 105212, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 244 - 2025-01-22 12:20:46 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-342-105212497', `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105212;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 245 - 2025-01-22 12:20:46 [0.18ms] */
select * from `invoice` where `id` = 105212 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 246 - 2025-01-22 12:20:46 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_amount":"38.00","outstanding_balance":"38.00","discounts":"0.00","total_invoice_amount":"38.00","invoice_number":"INV-342-105212497","grouped":"N"},"old":{"invoice_amount":null,"outstanding_balance":null,"discounts":null,"total_invoice_amount":null,"invoice_number":null,"grouped":null}}', 5, 'App\Models\User', 105212, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 247 - 2025-01-22 12:20:46 [0.18ms] */
update `transaction` set `party_vehicle_id` = 98538, `vehicle_tax_id` = 101739, `invoice_id` = 105212, `transaction`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105669;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 248 - 2025-01-22 12:20:46 [0.23ms] */
select `id` from `term` where `year` < 2025 and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 249 - 2025-01-22 12:20:46 [1.33ms] */
select * from `vehicle_tax` where `party_vehicle_id` = 98538 and `status` = 'OPEN' and `term_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 250 - 2025-01-22 12:20:46 [0.69ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 101733 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 251 - 2025-01-22 12:20:46 [4.64ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-01-22 12:20:46' where `id` = 101733;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 252 - 2025-01-22 12:20:46 [0.46ms] */
select * from `vehicle_tax` where `id` = 101733 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 253 - 2025-01-22 12:20:46 [3.37ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 5, 'App\Models\User', 101733, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 254 - 2025-01-22 12:20:46 [0.57ms] */
select * from `invoice` where `transaction_id` = 105663 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 255 - 2025-01-22 12:20:46 [3.26ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105206;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 256 - 2025-01-22 12:20:46 [0.47ms] */
select * from `invoice` where `id` = 105206 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 257 - 2025-01-22 12:20:46 [3.58ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 105206, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 258 - 2025-01-22 12:20:46 [0.48ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 101734 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 259 - 2025-01-22 12:20:46 [3.96ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-01-22 12:20:46' where `id` = 101734;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 260 - 2025-01-22 12:20:46 [0.46ms] */
select * from `vehicle_tax` where `id` = 101734 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 261 - 2025-01-22 12:20:46 [3.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 5, 'App\Models\User', 101734, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 262 - 2025-01-22 12:20:46 [0.52ms] */
select * from `invoice` where `transaction_id` = 105664 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 263 - 2025-01-22 12:20:46 [3.15ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105207;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 264 - 2025-01-22 12:20:46 [0.47ms] */
select * from `invoice` where `id` = 105207 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 265 - 2025-01-22 12:20:46 [3.14ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 105207, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 266 - 2025-01-22 12:20:46 [0.5ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 101735 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 267 - 2025-01-22 12:20:46 [3.22ms] */
update `vehicle_tax` set `exempt` = 'Y', `vehicle_tax`.`updated_at` = '2025-01-22 12:20:46' where `id` = 101735;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 268 - 2025-01-22 12:20:46 [0.46ms] */
select * from `vehicle_tax` where `id` = 101735 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 269 - 2025-01-22 12:20:46 [3.3ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"exempt":"Y"},"old":{"exempt":"N"}}', 5, 'App\Models\User', 101735, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 270 - 2025-01-22 12:20:46 [0.51ms] */
select * from `invoice` where `transaction_id` = 105665 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 271 - 2025-01-22 12:20:46 [3.06ms] */
update `invoice` set `exempt` = 'Y', `invoice`.`updated_at` = '2025-01-22 12:20:46' where `id` = 105208;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 272 - 2025-01-22 12:20:46 [0.47ms] */
select * from `invoice` where `id` = 105208 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 273 - 2025-01-22 12:20:46 [3.09ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 5, 'App\Models\User', 105208, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 274 - 2025-01-22 12:20:46 [2ms] */
select * from `discount` where `vehicle_tax` = 101733 and `discount`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 275 - 2025-01-22 12:20:46 [3.18ms] */
insert into `discount` (`description`, `service_id`, `vehicle_tax`, `vehicle_id`, `party_id`, `expiry_date`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Exempt Before 2025 Taxes', 2, '[101733,101734,101735]', 62, 58204, '2025-09-01 12:20:46', 5, 5, '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 276 - 2025-01-22 12:20:46 [0.51ms] */
select * from `discount` where `id` = 1050 limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 277 - 2025-01-22 12:20:46 [3.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('discount', '{"attributes":{"description":"Exempt Before 2025 Taxes","percentage":null,"vehicle_id":62,"amount":null,"expiry_date":"2025-09-01 12:20:46","party_id":58204,"service_id":2,"vehicle_tax":[101733,101734,101735],"party_vehicle_id":null}}', 5, 'App\Models\User', 1050, 'Modules\Transaction\Entities\Discount', 'created', '2025-01-22 12:20:46', '2025-01-22 12:20:46');
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 278 - 2025-01-22 12:20:46 [0.49ms] */
select * from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 62 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 279 - 2025-01-22 12:20:46 [0.34ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 62 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 280 - 2025-01-22 12:20:46 [0.37ms] */
select * from `party_vehicle` where `vehicle_id` = 62 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 281 - 2025-01-22 12:20:46 [0.23ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 282 - 2025-01-22 12:20:46 [0.39ms] */
select * from `vehicle` where `vehicle`.`id` = 62 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 283 - 2025-01-22 12:20:46 [0.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 `vehicle_tax`.`vehicle_id` = 62 and date(`term`.`first_date_of_quarter`) <= '2025-01-22' and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 284 - 2025-01-22 12:20:46 [0.37ms] */
select `id` from `vehicle_tax` where `status` = 'OPEN' and `vehicle_id` = 62 and `vehicle_tax`.`deleted_at` is null order by `term_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 285 - 2025-01-22 12:20:46 [0.42ms] */
select sum(`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (94950, 101733, 101734, 101735, 101736) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 286 - 2025-01-22 12:20:46 [0.23ms] */
select * from `vehicle` where `vehicle`.`id` = 62 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 287 - 2025-01-22 12:20:46 [0.21ms] */
select * from `model` where `model`.`id` = 1 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 288 - 2025-01-22 12:20:46 [0.21ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 289 - 2025-01-22 12:20:46 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` = 5 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 290 - 2025-01-22 12:20:46 [0.39ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` = 62 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 291 - 2025-01-22 12:20:46 [0.24ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 292 - 2025-01-22 12:20:46 [0.24ms] */
select * from `vehicle_type` where `vehicle_type`.`id` = 1 and `vehicle_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 293 - 2025-01-22 12:20:46 [0.35ms] */
select * from `vehicle_color` where `vehicle_color`.`id` = 516 and `vehicle_color`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 294 - 2025-01-22 12:20:46 [0.37ms] */
select * from `fuel_type` where `fuel_type`.`id` = 2 and `fuel_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 295 - 2025-01-22 12:20:46 [0.21ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 296 - 2025-01-22 12:20:46 [0.16ms] */
select * from `person` where `person`.`id` = 55761 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 297 - 2025-01-22 12:20:46 [28ms] */
select * from `party` where `party`.`partyable_type` = 'Person' and `party`.`partyable_id` = 55761 and `party`.`partyable_id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 298 - 2025-01-22 12:20:46 [0.39ms] */
select * from `address` where `address`.`id` = 58204 and `address`.`id` is not null and `address`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 299 - 2025-01-22 12:20:46 [0.19ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 300 - 2025-01-22 12:20:46 [0.18ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 301 - 2025-01-22 12:20:46 [1.01ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 302 - 2025-01-22 12:20:46 [0.24ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 303 - 2025-01-22 12:20:46 [0.23ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 304 - 2025-01-22 12:20:46 [0.25ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 305 - 2025-01-22 12:20:46 [0.17ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 306 - 2025-01-22 12:20:46 [0.45ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 307 - 2025-01-22 12:20:46 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 308 - 2025-01-22 12:20:46 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 309 - 2025-01-22 12:20:46 [0.14ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 310 - 2025-01-22 12:20:46 [0.43ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 311 - 2025-01-22 12:20:46 [0.12ms] */
select * from `tax_collection_points` where `region_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 312 - 2025-01-22 12:20:46 [0.12ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 313 - 2025-01-22 12:20:46 [0.14ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 314 - 2025-01-22 12:20:46 [0.18ms] */
select * from `term` where `term`.`id` = 96 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 315 - 2025-01-22 12:20:46 [0.13ms] */
select * from `term` where `term`.`id` = 98 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 316 - 2025-01-22 12:20:46 [0.13ms] */
select * from `term` where `term`.`id` = 99 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 317 - 2025-01-22 12:20:46 [0.13ms] */
select * from `term` where `term`.`id` = 100 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 318 - 2025-01-22 12:20:46 [0.13ms] */
select * from `term` where `term`.`id` = 103 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 319 - 2025-01-22 12:20:46 [0.36ms] */
select * from `transaction` where `transaction`.`id` = 105666 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 320 - 2025-01-22 12:20:46 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 105209 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 321 - 2025-01-22 12:20:46 [0.13ms] */
select * from `term` where `term`.`id` = 104 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 322 - 2025-01-22 12:20:46 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 105667 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 323 - 2025-01-22 12:20:46 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 105210 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 324 - 2025-01-22 12:20:46 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 325 - 2025-01-22 12:20:46 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 105668 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 326 - 2025-01-22 12:20:46 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 105211 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 327 - 2025-01-22 12:20:46 [0.13ms] */
select * from `term` where `term`.`id` = 106 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 328 - 2025-01-22 12:20:46 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 105669 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 329 - 2025-01-22 12:20:46 [0.23ms] */
select * from `invoice` where `invoice`.`id` = 105212 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 330 - 2025-01-22 12:20:46 [0.19ms] */
(select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` is null and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 331 - 2025-01-22 12:20:46 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 332 - 2025-01-22 12:20:46 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 333 - 2025-01-22 12:20:46 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 334 - 2025-01-22 12:20:46 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 335 - 2025-01-22 12:20:46 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 336 - 2025-01-22 12:20:46 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 337 - 2025-01-22 12:20:46 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 338 - 2025-01-22 12:20:46 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 339 - 2025-01-22 12:20:46 [0.15ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://testtra.puntlandgov.org/m/service/tax/start/62
   Query 340 - 2025-01-22 12:20:46 [0.13ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-01-22 12:20:57 [2.18ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-01-22 12:20:57 [0.82ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-01-22 12:20:57 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-01-22 12:20:57 [0.39ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-01-22 12:20:57 [0.73ms] */
select * from `region` where `region`.`id` in (344, 47, 336, 63, 31, 164, 92, 187, 333, 135, 284, 214, 337, 140, 218, 303, 257, 295, 134, 232, 180, 183, 264, 121, 43, 294, 231, 122, 273, 126, 32, 357, 351, 89, 127, 238, 215, 112, 196, 199, 131, 172, 1, 178, 317, 227, 97, 48, 152, 124, 293, 76, 220, 247, 335, 103, 50, 174, 307, 201, 359, 141, 350, 248, 80, 208, 245, 169, 352, 209, 66, 278, 24, 155, 258, 271, 322, 328, 229, 276, 40, 49, 348, 265, 2, 192, 279, 252, 181, 69, 117, 235, 72, 290, 228, 239, 314, 83, 38, 138, 254, 292, 99, 29, 334, 237, 330, 250, 55, 84, 61, 263, 107, 163, 123, 185, 236, 79, 157, 270, 223, 194, 308, 277, 259, 71, 128, 58, 256, 145, 154, 39, 184, 60, 305, 296, 249, 230, 62, 149, 246, 64, 177, 302, 358, 3, 243, 102, 266, 35, 133, 75, 186, 225, 343, 16, 287, 242, 94, 167, 132, 323, 274, 151, 57, 299, 4, 10, 275, 191, 67, 341, 160, 329, 339, 189, 96, 34, 33, 321, 105, 253, 143, 298, 95, 311, 291, 161, 148, 197, 221, 74, 202, 109, 20, 168, 188, 319, 77, 59, 5, 306, 44, 147, 68, 87, 165, 331, 327, 304, 226, 100, 65, 119, 255, 289, 349, 310, 82, 156, 300, 173, 206, 283, 18, 70, 115, 28, 98, 213, 286, 106, 85, 42, 200, 6, 195, 111, 36, 315, 182, 346, 27, 53, 137, 170, 116, 342, 88, 320, 52, 56, 234, 14, 54, 104, 19, 176, 120, 125, 316, 269, 25, 261, 90, 7, 217, 179, 93, 23, 129, 46, 210, 150, 17, 114, 222, 285, 81, 153, 312, 142, 136, 240, 12, 347, 326, 205, 297, 13, 313, 353, 139, 110, 51, 8, 318, 267, 211, 216, 354, 37, 260, 233, 251, 41, 244, 175, 281, 158, 301, 171, 45, 338, 324, 78, 73, 262, 9, 26, 241, 86, 204, 108, 268, 159, 190, 325, 280, 113, 11, 309, 162, 146, 22, 101, 118, 224, 355, 144, 340, 21, 203, 91, 207, 130, 212, 219, 166, 288, 332, 30, 282, 345, 198, 272, 193, 15, 356);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-01-22 12:20:57 [0.47ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-01-22 12:20:57 [0.15ms] */
select * from `tax_collection_points` where `region_id` = 7 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-01-22 12:20:57 [0.16ms] */
select * from `district` where `region_id` = 7 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-01-22 12:20:57 [0.14ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 1 - 2025-01-22 12:20:58 [1.62ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 2 - 2025-01-22 12:20:58 [0.72ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 3 - 2025-01-22 12:20:58 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 4 - 2025-01-22 12:20:58 [0.67ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 5 - 2025-01-22 12:20:58 [1.31ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (94950, 101733, 101734, 101735, 101736, 101737, 101738, 101739);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 6 - 2025-01-22 12:20:58 [1.18ms] */
select * from `term` where `term`.`id` in (96, 98, 99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 7 - 2025-01-22 12:20:58 [0.8ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98538 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 8 - 2025-01-22 12:20:58 [1.29ms] */
select * from `party` where `party`.`id` in (58204) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 9 - 2025-01-22 12:20:58 [1.09ms] */
select * from `vehicle` where `vehicle`.`id` in (62) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 10 - 2025-01-22 12:20:58 [0.31ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 11 - 2025-01-22 12:20:58 [0.43ms] */
select * from `vehicle` where `vehicle`.`id` = 62 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2025-01-22 12:20:58 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 105666 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2025-01-22 12:20:58 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 105209 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2025-01-22 12:20:58 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 105667 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2025-01-22 12:20:58 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 105210 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2025-01-22 12:20:58 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105668 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2025-01-22 12:20:58 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 105211 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2025-01-22 12:20:58 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105669 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2025-01-22 12:20:58 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 105212 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2025-01-22 12:20:58 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2025-01-22 12:20:58 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2025-01-22 12:20:58 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2025-01-22 12:20:58 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2025-01-22 12:20:58 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2025-01-22 12:20:58 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2025-01-22 12:20:58 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2025-01-22 12:20:58 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-01-22 12:21:00 [1.33ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-01-22 12:21:00 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-01-22 12:21:00 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-01-22 12:21:00 [0.4ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-01-22 12:21:00 [0.22ms] */
select * from `district` where `district`.`id` in (34, 534, 1005, 35, 1007, 36, 109, 991, 242, 37, 188, 989, 341, 993, 38, 243);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-01-22 12:21:00 [0.71ms] */
select * from `region` where `region`.`id` in (344, 47, 336, 63, 31, 164, 92, 187, 333, 135, 284, 214, 337, 140, 218, 303, 257, 295, 134, 232, 180, 183, 264, 121, 43, 294, 231, 122, 273, 126, 32, 357, 351, 89, 127, 238, 215, 112, 196, 199, 131, 172, 1, 178, 317, 227, 97, 48, 152, 124, 293, 76, 220, 247, 335, 103, 50, 174, 307, 201, 359, 141, 350, 248, 80, 208, 245, 169, 352, 209, 66, 278, 24, 155, 258, 271, 322, 328, 229, 276, 40, 49, 348, 265, 2, 192, 279, 252, 181, 69, 117, 235, 72, 290, 228, 239, 314, 83, 38, 138, 254, 292, 99, 29, 334, 237, 330, 250, 55, 84, 61, 263, 107, 163, 123, 185, 236, 79, 157, 270, 223, 194, 308, 277, 259, 71, 128, 58, 256, 145, 154, 39, 184, 60, 305, 296, 249, 230, 62, 149, 246, 64, 177, 302, 358, 3, 243, 102, 266, 35, 133, 75, 186, 225, 343, 16, 287, 242, 94, 167, 132, 323, 274, 151, 57, 299, 4, 10, 275, 191, 67, 341, 160, 329, 339, 189, 96, 34, 33, 321, 105, 253, 143, 298, 95, 311, 291, 161, 148, 197, 221, 74, 202, 109, 20, 168, 188, 319, 77, 59, 5, 306, 44, 147, 68, 87, 165, 331, 327, 304, 226, 100, 65, 119, 255, 289, 349, 310, 82, 156, 300, 173, 206, 283, 18, 70, 115, 28, 98, 213, 286, 106, 85, 42, 200, 6, 195, 111, 36, 315, 182, 346, 27, 53, 137, 170, 116, 342, 88, 320, 52, 56, 234, 14, 54, 104, 19, 176, 120, 125, 316, 269, 25, 261, 90, 7, 217, 179, 93, 23, 129, 46, 210, 150, 17, 114, 222, 285, 81, 153, 312, 142, 136, 240, 12, 347, 326, 205, 297, 13, 313, 353, 139, 110, 51, 8, 318, 267, 211, 216, 354, 37, 260, 233, 251, 41, 244, 175, 281, 158, 301, 171, 45, 338, 324, 78, 73, 262, 9, 26, 241, 86, 204, 108, 268, 159, 190, 325, 280, 113, 11, 309, 162, 146, 22, 101, 118, 224, 355, 144, 340, 21, 203, 91, 207, 130, 212, 219, 166, 288, 332, 30, 282, 345, 198, 272, 193, 15, 356);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-01-22 12:21:00 [0.15ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` in (29, 28, 27, 25, 26, 30);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-01-22 12:21:00 [0.56ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-01-22 12:21:00 [0.15ms] */
select * from `tax_collection_points` where `region_id` = 7 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 10 - 2025-01-22 12:21:00 [0.15ms] */
select * from `district` where `region_id` = 7 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 11 - 2025-01-22 12:21:00 [0.14ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 1 - 2025-01-22 12:21:01 [1.42ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 2 - 2025-01-22 12:21:01 [0.46ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 3 - 2025-01-22 12:21:01 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 4 - 2025-01-22 12:21:01 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 5 - 2025-01-22 12:21:01 [0.24ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (94950, 101733, 101734, 101735, 101736, 101737, 101738, 101739);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 6 - 2025-01-22 12:21:01 [0.18ms] */
select * from `term` where `term`.`id` in (96, 98, 99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 7 - 2025-01-22 12:21:01 [0.18ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98538 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 8 - 2025-01-22 12:21:01 [0.17ms] */
select * from `party` where `party`.`id` in (58204) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 9 - 2025-01-22 12:21:01 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` in (62) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 10 - 2025-01-22 12:21:01 [0.16ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 11 - 2025-01-22 12:21:01 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` = 62 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2025-01-22 12:21:01 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 105666 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2025-01-22 12:21:01 [0.18ms] */
select * from `invoice` where `invoice`.`id` = 105209 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2025-01-22 12:21:01 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 105667 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2025-01-22 12:21:01 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 105210 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2025-01-22 12:21:01 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 105668 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2025-01-22 12:21:01 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 105211 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2025-01-22 12:21:01 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105669 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2025-01-22 12:21:01 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 105212 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2025-01-22 12:21:01 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2025-01-22 12:21:01 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2025-01-22 12:21:01 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2025-01-22 12:21:01 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2025-01-22 12:21:01 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2025-01-22 12:21:01 [0.16ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2025-01-22 12:21:01 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2025-01-22 12:21:01 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-01-22 12:21:05 [2.08ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-01-22 12:21:05 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-01-22 12:21:05 [0.61ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-01-22 12:21:05 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-01-22 12:21:05 [0.73ms] */
select * from `region` where `region`.`id` in (344, 47, 336, 63, 31, 164, 92, 187, 333, 135, 284, 214, 337, 140, 218, 303, 257, 295, 134, 232, 180, 183, 264, 121, 43, 294, 231, 122, 273, 126, 32, 357, 351, 89, 127, 238, 215, 112, 196, 199, 131, 172, 1, 178, 317, 227, 97, 48, 152, 124, 293, 76, 220, 247, 335, 103, 50, 174, 307, 201, 359, 141, 350, 248, 80, 208, 245, 169, 352, 209, 66, 278, 24, 155, 258, 271, 322, 328, 229, 276, 40, 49, 348, 265, 2, 192, 279, 252, 181, 69, 117, 235, 72, 290, 228, 239, 314, 83, 38, 138, 254, 292, 99, 29, 334, 237, 330, 250, 55, 84, 61, 263, 107, 163, 123, 185, 236, 79, 157, 270, 223, 194, 308, 277, 259, 71, 128, 58, 256, 145, 154, 39, 184, 60, 305, 296, 249, 230, 62, 149, 246, 64, 177, 302, 358, 3, 243, 102, 266, 35, 133, 75, 186, 225, 343, 16, 287, 242, 94, 167, 132, 323, 274, 151, 57, 299, 4, 10, 275, 191, 67, 341, 160, 329, 339, 189, 96, 34, 33, 321, 105, 253, 143, 298, 95, 311, 291, 161, 148, 197, 221, 74, 202, 109, 20, 168, 188, 319, 77, 59, 5, 306, 44, 147, 68, 87, 165, 331, 327, 304, 226, 100, 65, 119, 255, 289, 349, 310, 82, 156, 300, 173, 206, 283, 18, 70, 115, 28, 98, 213, 286, 106, 85, 42, 200, 6, 195, 111, 36, 315, 182, 346, 27, 53, 137, 170, 116, 342, 88, 320, 52, 56, 234, 14, 54, 104, 19, 176, 120, 125, 316, 269, 25, 261, 90, 7, 217, 179, 93, 23, 129, 46, 210, 150, 17, 114, 222, 285, 81, 153, 312, 142, 136, 240, 12, 347, 326, 205, 297, 13, 313, 353, 139, 110, 51, 8, 318, 267, 211, 216, 354, 37, 260, 233, 251, 41, 244, 175, 281, 158, 301, 171, 45, 338, 324, 78, 73, 262, 9, 26, 241, 86, 204, 108, 268, 159, 190, 325, 280, 113, 11, 309, 162, 146, 22, 101, 118, 224, 355, 144, 340, 21, 203, 91, 207, 130, 212, 219, 166, 288, 332, 30, 282, 345, 198, 272, 193, 15, 356);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-01-22 12:21:05 [0.49ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-01-22 12:21:05 [0.15ms] */
select * from `tax_collection_points` where `region_id` = 7 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-01-22 12:21:05 [0.16ms] */
select * from `district` where `region_id` = 7 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-01-22 12:21:05 [0.13ms] */
select * from `branches` where `district_id` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 1 - 2025-01-22 12:21:05 [1.98ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 2 - 2025-01-22 12:21:05 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 3 - 2025-01-22 12:21:05 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 4 - 2025-01-22 12:21:05 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 5 - 2025-01-22 12:21:05 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (94950, 101733, 101734, 101735, 101736, 101737, 101738, 101739);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 6 - 2025-01-22 12:21:05 [0.16ms] */
select * from `term` where `term`.`id` in (96, 98, 99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 7 - 2025-01-22 12:21:05 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98538 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 8 - 2025-01-22 12:21:05 [0.15ms] */
select * from `party` where `party`.`id` in (58204) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 9 - 2025-01-22 12:21:05 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (62) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 10 - 2025-01-22 12:21:05 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 11 - 2025-01-22 12:21:05 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 62 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2025-01-22 12:21:05 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 105666 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2025-01-22 12:21:05 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 105209 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2025-01-22 12:21:05 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 105667 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2025-01-22 12:21:05 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 105210 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2025-01-22 12:21:05 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105668 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2025-01-22 12:21:05 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 105211 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2025-01-22 12:21:05 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105669 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2025-01-22 12:21:05 [0.14ms] */
select * from `invoice` where `invoice`.`id` = 105212 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2025-01-22 12:21:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2025-01-22 12:21:05 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2025-01-22 12:21:05 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2025-01-22 12:21:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2025-01-22 12:21:05 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2025-01-22 12:21:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2025-01-22 12:21:05 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2025-01-22 12:21:05 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 1 - 2025-01-22 12:21:08 [1.41ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 2 - 2025-01-22 12:21:08 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 3 - 2025-01-22 12:21:08 [0.32ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 4 - 2025-01-22 12:21:08 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 5 - 2025-01-22 12:21:08 [0.28ms] */
select * from `district` where `district`.`id` in (34, 534, 1005, 35, 1007, 36, 109, 991, 242, 37, 188, 989, 341, 993, 38, 243);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 6 - 2025-01-22 12:21:08 [0.7ms] */
select * from `region` where `region`.`id` in (344, 47, 336, 63, 31, 164, 92, 187, 333, 135, 284, 214, 337, 140, 218, 303, 257, 295, 134, 232, 180, 183, 264, 121, 43, 294, 231, 122, 273, 126, 32, 357, 351, 89, 127, 238, 215, 112, 196, 199, 131, 172, 1, 178, 317, 227, 97, 48, 152, 124, 293, 76, 220, 247, 335, 103, 50, 174, 307, 201, 359, 141, 350, 248, 80, 208, 245, 169, 352, 209, 66, 278, 24, 155, 258, 271, 322, 328, 229, 276, 40, 49, 348, 265, 2, 192, 279, 252, 181, 69, 117, 235, 72, 290, 228, 239, 314, 83, 38, 138, 254, 292, 99, 29, 334, 237, 330, 250, 55, 84, 61, 263, 107, 163, 123, 185, 236, 79, 157, 270, 223, 194, 308, 277, 259, 71, 128, 58, 256, 145, 154, 39, 184, 60, 305, 296, 249, 230, 62, 149, 246, 64, 177, 302, 358, 3, 243, 102, 266, 35, 133, 75, 186, 225, 343, 16, 287, 242, 94, 167, 132, 323, 274, 151, 57, 299, 4, 10, 275, 191, 67, 341, 160, 329, 339, 189, 96, 34, 33, 321, 105, 253, 143, 298, 95, 311, 291, 161, 148, 197, 221, 74, 202, 109, 20, 168, 188, 319, 77, 59, 5, 306, 44, 147, 68, 87, 165, 331, 327, 304, 226, 100, 65, 119, 255, 289, 349, 310, 82, 156, 300, 173, 206, 283, 18, 70, 115, 28, 98, 213, 286, 106, 85, 42, 200, 6, 195, 111, 36, 315, 182, 346, 27, 53, 137, 170, 116, 342, 88, 320, 52, 56, 234, 14, 54, 104, 19, 176, 120, 125, 316, 269, 25, 261, 90, 7, 217, 179, 93, 23, 129, 46, 210, 150, 17, 114, 222, 285, 81, 153, 312, 142, 136, 240, 12, 347, 326, 205, 297, 13, 313, 353, 139, 110, 51, 8, 318, 267, 211, 216, 354, 37, 260, 233, 251, 41, 244, 175, 281, 158, 301, 171, 45, 338, 324, 78, 73, 262, 9, 26, 241, 86, 204, 108, 268, 159, 190, 325, 280, 113, 11, 309, 162, 146, 22, 101, 118, 224, 355, 144, 340, 21, 203, 91, 207, 130, 212, 219, 166, 288, 332, 30, 282, 345, 198, 272, 193, 15, 356);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 7 - 2025-01-22 12:21:08 [0.15ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` in (29, 28, 27, 25, 26, 30);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 8 - 2025-01-22 12:21:08 [0.21ms] */
select * from `district` where `id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 9 - 2025-01-22 12:21:08 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 10 - 2025-01-22 12:21:08 [0.47ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 11 - 2025-01-22 12:21:08 [0.15ms] */
select * from `tax_collection_points` where `region_id` = 7 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 12 - 2025-01-22 12:21:08 [0.15ms] */
select * from `district` where `region_id` = 7 and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/config.select-district-component
   Query 13 - 2025-01-22 12:21:08 [0.15ms] */
select * from `branches` where `district_id` = 37 order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 1 - 2025-01-22 12:21:09 [1.43ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 2 - 2025-01-22 12:21:09 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 3 - 2025-01-22 12:21:09 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 4 - 2025-01-22 12:21:09 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 5 - 2025-01-22 12:21:09 [0.31ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (94950, 101733, 101734, 101735, 101736, 101737, 101738, 101739);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 6 - 2025-01-22 12:21:09 [0.16ms] */
select * from `term` where `term`.`id` in (96, 98, 99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 7 - 2025-01-22 12:21:09 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98538 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 8 - 2025-01-22 12:21:09 [0.16ms] */
select * from `party` where `party`.`id` in (58204) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 9 - 2025-01-22 12:21:09 [0.18ms] */
select * from `vehicle` where `vehicle`.`id` in (62) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 10 - 2025-01-22 12:21:09 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 11 - 2025-01-22 12:21:09 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 62 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2025-01-22 12:21:09 [0.19ms] */
select * from `transaction` where `transaction`.`id` = 105666 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2025-01-22 12:21:09 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 105209 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2025-01-22 12:21:09 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105667 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2025-01-22 12:21:09 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 105210 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2025-01-22 12:21:09 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105668 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2025-01-22 12:21:09 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 105211 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2025-01-22 12:21:09 [0.16ms] */
select * from `transaction` where `transaction`.`id` = 105669 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2025-01-22 12:21:09 [0.15ms] */
select * from `invoice` where `invoice`.`id` = 105212 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2025-01-22 12:21:09 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2025-01-22 12:21:09 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2025-01-22 12:21:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2025-01-22 12:21:09 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2025-01-22 12:21:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2025-01-22 12:21:09 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2025-01-22 12:21:09 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2025-01-22 12:21:09 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 1 - 2025-01-22 12:21:12 [1.32ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 2 - 2025-01-22 12:21:12 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 3 - 2025-01-22 12:21:12 [0.31ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 4 - 2025-01-22 12:21:12 [0.35ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 5 - 2025-01-22 12:21:12 [0.2ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (94950, 101733, 101734, 101735, 101736, 101737, 101738, 101739);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 6 - 2025-01-22 12:21:12 [0.15ms] */
select * from `term` where `term`.`id` in (96, 98, 99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 7 - 2025-01-22 12:21:12 [0.15ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98538 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 8 - 2025-01-22 12:21:12 [0.15ms] */
select * from `party` where `party`.`id` in (58204) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 9 - 2025-01-22 12:21:12 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` in (62) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 10 - 2025-01-22 12:21:12 [0.25ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 11 - 2025-01-22 12:21:12 [0.25ms] */
select * from `vehicle` where `vehicle`.`id` = 62 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2025-01-22 12:21:12 [0.26ms] */
select * from `vehicle` where `vehicle`.`id` = 62 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2025-01-22 12:21:12 [0.27ms] */
select * from `service_fee` where (`sub_category_id` = 5 and `service_id` = 2 or `sub_category_id` is null and `service_id` = 2) and `service_fee`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2025-01-22 12:21:12 [0.25ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null order by `created_at` desc limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2025-01-22 12:21:12 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 105666 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2025-01-22 12:21:12 [0.25ms] */
select * from `invoice` where `invoice`.`id` = 105209 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2025-01-22 12:21:12 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 105667 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2025-01-22 12:21:12 [0.17ms] */
select * from `invoice` where `invoice`.`id` = 105210 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2025-01-22 12:21:12 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105668 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2025-01-22 12:21:12 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 105211 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2025-01-22 12:21:12 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 105669 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2025-01-22 12:21:12 [0.16ms] */
select * from `invoice` where `invoice`.`id` = 105212 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2025-01-22 12:21:12 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2025-01-22 12:21:12 [0.24ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2025-01-22 12:21:12 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2025-01-22 12:21:12 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2025-01-22 12:21:12 [0.24ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 28 - 2025-01-22 12:21:12 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 29 - 2025-01-22 12:21:12 [0.22ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 30 - 2025-01-22 12:21:12 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-01-22 12:21:13 [1.78ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-01-22 12:21:13 [0.71ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-01-22 12:21:13 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-01-22 12:21:13 [0.55ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-01-22 12:21:13 [0.38ms] */
(select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 6 - 2025-01-22 12:21:13 [0.34ms] */
(select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 1 - 2025-01-22 12:21:19 [1.42ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 2 - 2025-01-22 12:21:19 [0.45ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 3 - 2025-01-22 12:21:19 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 4 - 2025-01-22 12:21:19 [0.51ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/workflow.workflow-checklist-component
   Query 5 - 2025-01-22 12:21:19 [0.27ms] */
(select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` = 2 and `role_id` is null and `workflow_checklist`.`deleted_at` is null) union (select * from `workflow_checklist` where `workflow_id` is null and `role_id` = 5 and `workflow_checklist`.`deleted_at` is null) order by `workflow_Id` asc, `role_id` asc;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 1 - 2025-01-22 12:21:19 [1.21ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 2 - 2025-01-22 12:21:19 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 3 - 2025-01-22 12:21:19 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 4 - 2025-01-22 12:21:19 [0.54ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'test_tra' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 5 - 2025-01-22 12:21:19 [0.27ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (94950, 101733, 101734, 101735, 101736, 101737, 101738, 101739);
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 6 - 2025-01-22 12:21:19 [0.16ms] */
select * from `term` where `term`.`id` in (96, 98, 99, 100, 103, 104, 105, 106) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 7 - 2025-01-22 12:21:19 [0.16ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 98538 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 8 - 2025-01-22 12:21:19 [0.15ms] */
select * from `party` where `party`.`id` in (58204) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 9 - 2025-01-22 12:21:19 [0.16ms] */
select * from `vehicle` where `vehicle`.`id` in (62) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 10 - 2025-01-22 12:21:19 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` in (2) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 11 - 2025-01-22 12:21:19 [0.14ms] */
select * from `vehicle` where `vehicle`.`id` = 62 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 12 - 2025-01-22 12:21:19 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 13 - 2025-01-22 12:21:19 [1.31ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 62 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 14 - 2025-01-22 12:21:19 [0.24ms] */
select * from `party_vehicle` where `vehicle_id` = 62 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 15 - 2025-01-22 12:21:19 [0.15ms] */
select * from `party` where `party`.`id` = 58204 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 16 - 2025-01-22 12:21:19 [0.15ms] */
select * from `vehicle` where `vehicle`.`id` = 62 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 17 - 2025-01-22 12:21:19 [0.17ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 18 - 2025-01-22 12:21:19 [0.16ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 1 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 19 - 2025-01-22 12:21:19 [2.28ms] */
insert into `transaction` (`party_id`, `service_id`, `vehicle_id`, `driver_license_id`, `service_workflow_id`, `current_workflow_state_id`, `branch_id`, `deliver_district_id`, `district_id`, `status`, `tax_collection_point_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (58204, 2, 62, null, 2, 6, null, 37, 37, 'OPEN', 27, null, 5, 5, '2025-01-22 12:21:19', '2025-01-22 12:21:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 20 - 2025-01-22 12:21:19 [1.14ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105670, 'INITIATED', '2025-01-22 12:21:19', 5, 5, 5, 5, '2025-01-22 12:21:19', '2025-01-22 12:21:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 21 - 2025-01-22 12:21:19 [0.26ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 98538, `transaction`.`updated_at` = '2025-01-22 12:21:19' where `id` = 105670;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 22 - 2025-01-22 12:21:19 [1.2ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (94950, 101733, 101734, 101735, 101736) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 23 - 2025-01-22 12:21:19 [0.49ms] */
select sum(`invoice`.`outstanding_balance`) as aggregate from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (94950, 101733, 101734, 101735, 101736) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 24 - 2025-01-22 12:21:19 [0.76ms] */
insert into `invoice` (`transaction_id`, `party_id`, `invoice_date`, `due_date`, `invoice_amount`, `discounts`, `total_invoice_amount`, `outstanding_balance`, `taxes`, `status`, `grouped`, `parent`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (105670, 58204, '2025-01-22 12:21:19', '2025-01-22 12:21:19', 71.00, 122.00, 71.00, 71.00, 0, 'OPEN', 'N', 'Y', 5, 5, '2025-01-22 12:21:19', '2025-01-22 12:21:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 25 - 2025-01-22 12:21:19 [0.21ms] */
select * from `invoice` where `id` = 105213 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 26 - 2025-01-22 12:21:19 [0.93ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"transaction_id":105670,"party_id":58204,"invoice_amount":"71.00","invoice_date":"2025-01-22 12:21:19","due_date":"2025-01-22 12:21:19","outstanding_balance":"71.00","discounts":"122.00","taxes":"0.00","total_invoice_amount":"71.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 5, 'App\Models\User', 105213, 'Modules\Transaction\Entities\Invoice', 'created', '2025-01-22 12:21:19', '2025-01-22 12:21:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 27 - 2025-01-22 12:21:19 [0.37ms] */
select `invoice`.* from `vehicle_tax` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `vehicle_tax`.`id` in (94950, 101733, 101734, 101735, 101736) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 28 - 2025-01-22 12:21:19 [0.72ms] */
insert into `invoice_item` (`item`, `description`, `quantity`, `unit_price`, `total_price`, `invoice_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('Tax Service Fee', 'Combined Tax Fees', 5, 193, 193, 105213, 5, 5, '2025-01-22 12:21:19', '2025-01-22 12:21:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 29 - 2025-01-22 12:21:19 [0.18ms] */
select * from `invoice_item` where `id` = 207474 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 30 - 2025-01-22 12:21:19 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice_item', '{"attributes":{"item":"Tax Service Fee","description":"Combined Tax Fees","unit_price":"193.00","quantity":5,"total_price":"193.00","invoice_id":105213}}', 5, 'App\Models\User', 207474, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-01-22 12:21:19', '2025-01-22 12:21:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 31 - 2025-01-22 12:21:19 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-198-105213493', `invoice`.`updated_at` = '2025-01-22 12:21:19' where `id` = 105213;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 32 - 2025-01-22 12:21:19 [0.19ms] */
select * from `invoice` where `id` = 105213 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 33 - 2025-01-22 12:21:19 [0.16ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"invoice_number":"INV-198-105213493"},"old":{"invoice_number":null}}', 5, 'App\Models\User', 105213, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:21:19', '2025-01-22 12:21:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 34 - 2025-01-22 12:21:19 [0.21ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 94950 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 35 - 2025-01-22 12:21:19 [0.17ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 5, `vehicle_tax`.`updated_at` = '2025-01-22 12:21:19' where `id` = 94950;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 36 - 2025-01-22 12:21:19 [0.17ms] */
select * from `vehicle_tax` where `id` = 94950 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 37 - 2025-01-22 12:21:19 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"status":"INPROGRESS"},"old":{"status":"OPEN"}}', 5, 'App\Models\User', 94950, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-01-22 12:21:19', '2025-01-22 12:21:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 38 - 2025-01-22 12:21:19 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 95772 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 39 - 2025-01-22 12:21:19 [0.21ms] */
update `transaction` set `tax_collection_point_id` = 27, `parent_id` = 105670, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-01-22 12:21:19' where `id` = 95772;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 40 - 2025-01-22 12:21:19 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 95462 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 41 - 2025-01-22 12:21:19 [0.45ms] */
update `invoice` set `parent_id` = 105213, `grouped` = 'Y', `updated_by` = 5, `invoice`.`updated_at` = '2025-01-22 12:21:19' where `id` = 95462;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 42 - 2025-01-22 12:21:19 [0.18ms] */
select * from `invoice` where `id` = 95462 limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 43 - 2025-01-22 12:21:19 [0.17ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":{"parent_id":105213,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 5, 'App\Models\User', 95462, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-01-22 12:21:19', '2025-01-22 12:21:19');
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 44 - 2025-01-22 12:21:19 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 95772 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 45 - 2025-01-22 12:21:19 [0.19ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 46 - 2025-01-22 12:21:19 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 47 - 2025-01-22 12:21:19 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 6 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://testtra.puntlandgov.org/livewire/message/service.tax-component
   Query 48 - 2025-01-22 12:21:19 [0.2ms] */
