select * from `sticker_box` where `sticker_box`.`id` = 1020 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 62 - 2025-07-04 08:45:31 [0.2ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 63 - 2025-07-04 08:45:31 [0.22ms] */
select * from `users` where `users`.`id` = 110 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 64 - 2025-07-04 08:45:31 [0.21ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 65 - 2025-07-04 08:45:31 [0.21ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1017 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 66 - 2025-07-04 08:45:31 [0.21ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 67 - 2025-07-04 08:45:31 [0.24ms] */
select * from `users` where `users`.`id` = 85 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 68 - 2025-07-04 08:45:31 [0.14ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 69 - 2025-07-04 08:45:31 [0.14ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1168 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 70 - 2025-07-04 08:45:31 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 71 - 2025-07-04 08:45:31 [0.15ms] */
select * from `users` where `users`.`id` = 23 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 72 - 2025-07-04 08:45:31 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 73 - 2025-07-04 08:45:31 [0.14ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1113 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 74 - 2025-07-04 08:45:31 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 75 - 2025-07-04 08:45:31 [0.14ms] */
select * from `users` where `users`.`id` = 121 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 76 - 2025-07-04 08:45:31 [0.13ms] */
select * from `district` where `district`.`id` = 21 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 77 - 2025-07-04 08:45:31 [0.15ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1133 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 78 - 2025-07-04 08:45:31 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 79 - 2025-07-04 08:45:31 [0.15ms] */
select * from `users` where `users`.`id` = 92 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 80 - 2025-07-04 08:45:31 [0.13ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 81 - 2025-07-04 08:45:31 [0.14ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1111 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 82 - 2025-07-04 08:45:31 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 83 - 2025-07-04 08:45:31 [0.15ms] */
select * from `users` where `users`.`id` = 154 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 84 - 2025-07-04 08:45:31 [0.13ms] */
select * from `district` where `district`.`id` = 21 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 1 - 2025-07-04 08:45:32 [1.79ms] */
select * from `users` where `id` = 16 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 2 - 2025-07-04 08:45:32 [0.69ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 3 - 2025-07-04 08:45:32 [0.57ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 4 - 2025-07-04 08:45:32 [0.62ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 5 - 2025-07-04 08:45:32 [0.28ms] */
select * from `term` where `term`.`id` in (102, 103, 104, 105, 106);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 6 - 2025-07-04 08:45:32 [0.37ms] */
select * from `users` where `users`.`id` in (85, 86, 97, 149, 150, 151, 153, 154, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 172, 173, 175, 176, 177, 178, 179, 182, 183, 186, 189, 190);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 7 - 2025-07-04 08:45:32 [0.82ms] */
select * from `sticker_box` where `sticker_box`.`id` in (1010, 1012, 1013, 1014, 1016, 1021, 1022, 1023, 1024, 1025, 1026, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1081, 1084, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1134, 1136, 1137, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1185, 1186, 1188, 1189, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1247, 1248, 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, 1260);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 8 - 2025-07-04 08:45:32 [0.26ms] */
select * from `term` where `term`.`id` in (105) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 9 - 2025-07-04 08:45:32 [0.4ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1013 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 10 - 2025-07-04 08:45:32 [11.53ms] */
update `sticker_box` set `assigned` = 'Y', `updated_by` = 16, `sticker_box`.`updated_at` = '2025-07-04 08:45:32' where `id` = 1013;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 11 - 2025-07-04 08:45:32 [0.48ms] */
select * from `sticker_box` where `id` = 1013 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 12 - 2025-07-04 08:45:32 [3.56ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('sticker_box', '{"attributes":{"assigned":"Y"},"old":{"assigned":"N"}}', 16, 'App\Models\User', 1013, 'Modules\Config\Entities\StickerBox', 'updated', '2025-07-04 08:45:32', '2025-07-04 08:45:32');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 13 - 2025-07-04 08:45:32 [4.74ms] */
insert into `sticker_box_assignment` (`sticker_box_id`, `user_id`, `assign_count`, `assigned_date`, `return_date`, `return_count`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (1013, 85, 100, '2025-07-04 08:45:32', null, null, 16, 16, '2025-07-04 08:45:32', '2025-07-04 08:45:32');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 14 - 2025-07-04 08:45:32 [6.81ms] */
select * from `sticker_box_assignment` where `id` = 96 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 15 - 2025-07-04 08:45:32 [3.34ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('sticker_box_assignment', '{"attributes":{"sticker_box_id":1013,"user_id":85,"assigned_date":"2025-07-04","return_date":null,"assign_count":100,"return_count":null,"used_count":null}}', 16, 'App\Models\User', 96, 'Modules\Config\Entities\StickerBoxAssignment', 'created', '2025-07-04 08:45:32', '2025-07-04 08:45:32');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 16 - 2025-07-04 08:45:32 [0.37ms] */
select count(*) as aggregate from `sticker_box_assignment` where `sticker_box_assignment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 17 - 2025-07-04 08:45:32 [0.51ms] */
select * from `sticker_box_assignment` where `sticker_box_assignment`.`deleted_at` is null order by `assigned_date` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 18 - 2025-07-04 08:45:32 [0.41ms] */
select * from `users` where `mobile_app_officer` = 1 and `users`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 19 - 2025-07-04 08:45:32 [0.3ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 20 - 2025-07-04 08:45:32 [0.26ms] */
select * from `district` where `district`.`id` = 3 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 21 - 2025-07-04 08:45:32 [0.25ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 22 - 2025-07-04 08:45:32 [0.25ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 23 - 2025-07-04 08:45:32 [0.25ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 24 - 2025-07-04 08:45:32 [0.24ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 25 - 2025-07-04 08:45:32 [0.24ms] */
select * from `district` where `district`.`id` = 6 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 26 - 2025-07-04 08:45:32 [0.28ms] */
select * from `district` where `district`.`id` = 21 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 27 - 2025-07-04 08:45:32 [0.25ms] */
select * from `district` where `district`.`id` = 33 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 28 - 2025-07-04 08:45:32 [0.14ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 29 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 30 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 31 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 29 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 32 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 27 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 33 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 34 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 35 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 36 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 18 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 37 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 18 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 38 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 43 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 39 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 40 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 18 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 41 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 45 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 42 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 16 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 43 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 44 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 35 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 45 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 21 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 46 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 47 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 48 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 21 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 49 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 45 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 50 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 51 - 2025-07-04 08:45:32 [0.12ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 52 - 2025-07-04 08:45:32 [0.24ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1013 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 53 - 2025-07-04 08:45:32 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 54 - 2025-07-04 08:45:32 [0.14ms] */
select * from `users` where `users`.`id` = 85 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 55 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 56 - 2025-07-04 08:45:32 [0.2ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1091 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 57 - 2025-07-04 08:45:32 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 58 - 2025-07-04 08:45:32 [0.14ms] */
select * from `users` where `users`.`id` = 51 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 59 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 28 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 60 - 2025-07-04 08:45:32 [0.2ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1080 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 61 - 2025-07-04 08:45:32 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 62 - 2025-07-04 08:45:32 [0.15ms] */
select * from `users` where `users`.`id` = 156 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 63 - 2025-07-04 08:45:32 [0.14ms] */
select * from `district` where `district`.`id` = 33 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 64 - 2025-07-04 08:45:32 [0.2ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1167 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 65 - 2025-07-04 08:45:32 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 66 - 2025-07-04 08:45:32 [0.14ms] */
select * from `users` where `users`.`id` = 183 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 67 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 68 - 2025-07-04 08:45:32 [0.24ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1166 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 69 - 2025-07-04 08:45:32 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 70 - 2025-07-04 08:45:32 [0.14ms] */
select * from `users` where `users`.`id` = 175 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 71 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 35 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 72 - 2025-07-04 08:45:32 [0.21ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1020 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 73 - 2025-07-04 08:45:32 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 74 - 2025-07-04 08:45:32 [0.14ms] */
select * from `users` where `users`.`id` = 110 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 75 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 76 - 2025-07-04 08:45:32 [0.2ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1017 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 77 - 2025-07-04 08:45:32 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 78 - 2025-07-04 08:45:32 [0.14ms] */
select * from `users` where `users`.`id` = 85 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 79 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 2 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 80 - 2025-07-04 08:45:32 [0.2ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1168 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 81 - 2025-07-04 08:45:32 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 82 - 2025-07-04 08:45:32 [0.14ms] */
select * from `users` where `users`.`id` = 23 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 83 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 37 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 84 - 2025-07-04 08:45:32 [0.2ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1113 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 85 - 2025-07-04 08:45:32 [0.15ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 86 - 2025-07-04 08:45:32 [0.14ms] */
select * from `users` where `users`.`id` = 121 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 87 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 21 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 88 - 2025-07-04 08:45:32 [0.2ms] */
select * from `sticker_box` where `sticker_box`.`id` = 1133 and `sticker_box`.`id` is not null and `sticker_box`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 89 - 2025-07-04 08:45:32 [0.13ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 90 - 2025-07-04 08:45:32 [0.14ms] */
select * from `users` where `users`.`id` = 92 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.sticker-box-assignment-component
   Query 91 - 2025-07-04 08:45:32 [0.13ms] */
select * from `district` where `district`.`id` = 39 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-07-04 08:45:48 [1.96ms] */
select * from `users` where `id` = 15 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-07-04 08:45:48 [0.8ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-07-04 08:45:48 [0.73ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-07-04 08:45:48 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-07-04 08:45:48 [0.24ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-07-04 08:45:48 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-07-04 08:45:48 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-07-04 08:45:48 [0.17ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-07-04 08:45:48 [0.15ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-07-04 08:45:48 [0.15ms] */
select * from `users` where `users`.`id` = 156 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-07-04 08:45:48 [0.15ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-07-04 08:45:48 [0.18ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-07-04 08:45:48 [0.15ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-07-04 08:45:48 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-07-04 08:45:48 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-07-04 08:45:48 [0.15ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-07-04 08:45:48 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-07-04 08:45:48 [2.02ms] */
select * from `users` where `id` = 15 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-07-04 08:45:48 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-07-04 08:45:48 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-07-04 08:45:48 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-07-04 08:45:48 [0.22ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-07-04 08:45:48 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-07-04 08:45:48 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-07-04 08:45:48 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-07-04 08:45:48 [0.14ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-07-04 08:45:48 [0.14ms] */
select * from `users` where `users`.`id` = 156 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-07-04 08:45:48 [0.14ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-07-04 08:45:48 [0.15ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-07-04 08:45:48 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-07-04 08:45:48 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-07-04 08:45:48 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-07-04 08:45:48 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-07-04 08:45:48 [0.14ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 08:46:08 [1.98ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 08:46:08 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 08:46:08 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 08:46:08 [0.24ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 08:46:08 [0.21ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 08:46:08 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 08:46:08 [5.61ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 08:46:08 [3.69ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-07-04 08:46:08 [1.95ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-07-04 08:46:08 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-07-04 08:46:08 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-07-04 08:46:08 [0.35ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-07-04 08:46:08 [0.25ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-07-04 08:46:08 [0.24ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-07-04 08:46:08 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-07-04 08:46:08 [0.24ms] */
select `transaction_id` from `vehicle_tax` where `id` in (458476) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-07-04 08:46:08 [0.26ms] */
select `parent_id` from `transaction` where `id` in (568055) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-07-04 08:46:08 [0.14ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-07-04 08:46:08 [0.2ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-07-04 08:46:08 [0.24ms] */
select * from `transaction` where `id` in (568055) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-07-04 08:46:08 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 543754 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 14 - 2025-07-04 08:46:08 [11.03ms] */
update `invoice` set `updated_by` = 183, `invoice`.`updated_at` = '2025-07-04 08:46:08' where `id` = 543754;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 15 - 2025-07-04 08:46:08 [0.22ms] */
select * from `invoice` where `id` = 543754 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-07-04 08:46:08 [3.48ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 183, 'App\Models\User', 543754, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-07-04 08:46:08 [0.29ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-07-04 08:46:08 [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://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-07-04 08:46:08 [3.39ms] */
update `transaction` set `updated_by` = 183, `transaction`.`updated_at` = '2025-07-04 08:46:08' where `id` = 568055;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 20 - 2025-07-04 08:46:08 [3.18ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-07-04 08:46:08' where `id` in (458476) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 21 - 2025-07-04 08:46:08 [0.37ms] */
select * from `vehicle` where `vehicle`.`id` = 97242 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 22 - 2025-07-04 08:46:08 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 23 - 2025-07-04 08:46:08 [0.34ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 97242 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 24 - 2025-07-04 08:46:08 [0.36ms] */
select * from `party_vehicle` where `vehicle_id` = 97242 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 25 - 2025-07-04 08:46:08 [0.33ms] */
select * from `party` where `party`.`id` = 63385 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 26 - 2025-07-04 08:46:08 [0.34ms] */
select * from `vehicle` where `vehicle`.`id` = 97242 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 27 - 2025-07-04 08:46:08 [0.21ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 28 - 2025-07-04 08:46:08 [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): POST https://rta2.puntlandgov.org/api/make_payment
   Query 29 - 2025-07-04 08:46:08 [0.13ms] */
select * from `branches` where `branches`.`id` = 16 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 30 - 2025-07-04 08:46:08 [0.3ms] */
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 (63385, 2, 97242, null, 2, 6, 16, 37, 37, 'OPEN', 26, null, 183, 183, '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 31 - 2025-07-04 08:46:08 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642340, 'INITIATED', '2025-07-04 08:46:08', 5, 183, 183, 183, '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 32 - 2025-07-04 08:46:08 [0.19ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 97315, `transaction`.`updated_at` = '2025-07-04 08:46:08' where `id` = 642340;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 33 - 2025-07-04 08:46:08 [0.22ms] */
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 (458476) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 34 - 2025-07-04 08:46:08 [0.21ms] */
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 (458476) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 35 - 2025-07-04 08:46:08 [0.23ms] */
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 (642340, 63385, '2025-07-04 08:46:08', '2025-07-04 08:46:08', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 183, 183, '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 36 - 2025-07-04 08:46:08 [0.19ms] */
select * from `invoice` where `id` = 615102 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 37 - 2025-07-04 08:46:08 [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":642340,"party_id":63385,"invoice_amount":"31.00","invoice_date":"2025-07-04 08:46:08","due_date":"2025-07-04 08:46:08","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 183, 'App\Models\User', 615102, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 38 - 2025-07-04 08:46:08 [0.24ms] */
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 (458476) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 39 - 2025-07-04 08:46:08 [0.18ms] */
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 Quarterly Tax Fees', 1, 31.00, 31, 615102, 183, 183, '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 40 - 2025-07-04 08:46:08 [0.17ms] */
select * from `invoice_item` where `id` = 1101908 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 41 - 2025-07-04 08:46:08 [0.15ms] */
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 Quarterly Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":615102}}', 183, 'App\Models\User', 1101908, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 42 - 2025-07-04 08:46:08 [0.16ms] */
update `invoice` set `invoice_number` = 'INV-387-615102399', `invoice`.`updated_at` = '2025-07-04 08:46:08' where `id` = 615102;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 43 - 2025-07-04 08:46:08 [0.18ms] */
select * from `invoice` where `id` = 615102 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 44 - 2025-07-04 08:46:08 [0.15ms] */
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-387-615102399"},"old":{"invoice_number":null}}', 183, 'App\Models\User', 615102, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 45 - 2025-07-04 08:46:08 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 458476 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 46 - 2025-07-04 08:46:08 [0.18ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 183, `vehicle_tax`.`updated_at` = '2025-07-04 08:46:08' where `id` = 458476;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 47 - 2025-07-04 08:46:08 [0.17ms] */
select * from `vehicle_tax` where `id` = 458476 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 48 - 2025-07-04 08:46:08 [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"}}', 183, 'App\Models\User', 458476, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 49 - 2025-07-04 08:46:08 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 568055 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 50 - 2025-07-04 08:46:08 [0.2ms] */
update `transaction` set `tax_collection_point_id` = 26, `parent_id` = 642340, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-07-04 08:46:08' where `id` = 568055;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 51 - 2025-07-04 08:46:08 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 543754 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 52 - 2025-07-04 08:46:08 [0.16ms] */
update `invoice` set `parent_id` = 615102, `grouped` = 'Y', `invoice`.`updated_at` = '2025-07-04 08:46:08' where `id` = 543754;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 53 - 2025-07-04 08:46:08 [0.21ms] */
select * from `invoice` where `id` = 543754 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 54 - 2025-07-04 08:46:08 [0.15ms] */
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":615102,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 183, 'App\Models\User', 543754, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 55 - 2025-07-04 08:46:08 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 568055 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 56 - 2025-07-04 08:46:08 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 57 - 2025-07-04 08:46:08 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 58 - 2025-07-04 08:46:08 [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://rta2.puntlandgov.org/api/make_payment
   Query 59 - 2025-07-04 08:46:08 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 60 - 2025-07-04 08:46:08 [0.16ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 61 - 2025-07-04 08:46:08 [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 (568055, 'APPROVED', '2025-07-04 08:46:08', 5, 183, null, 183, 183, '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 62 - 2025-07-04 08:46:08 [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://rta2.puntlandgov.org/api/make_payment
   Query 63 - 2025-07-04 08:46:08 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-07-04 08:46:08' where `id` = 568055;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 64 - 2025-07-04 08:46:08 [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://rta2.puntlandgov.org/api/make_payment
   Query 65 - 2025-07-04 08:46:08 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 543754 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 66 - 2025-07-04 08:46:08 [0.21ms] */
update `transaction` set `invoice_id` = 615102, `transaction`.`updated_at` = '2025-07-04 08:46:08' where `id` = 642340;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 67 - 2025-07-04 08:46:08 [0.27ms] */
update `vehicle` set `updated_by` = 183, `vehicle`.`updated_at` = '2025-07-04 08:46:08' where `id` = 97242;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 68 - 2025-07-04 08:46:08 [0.18ms] */
select * from `vehicle` where `id` = 97242 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 69 - 2025-07-04 08:46:08 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 183, 'App\Models\User', 97242, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 70 - 2025-07-04 08:46:08 [0.18ms] */
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":99}', '{"updated_by":183}', 'updated', 97242, 'Modules\Vehicle\Entities\Vehicle', 183, 'App\Models\User', null, '41.223.109.136', 'Dart/3.4 (dart:io)', 'https://rta2.puntlandgov.org/api/make_payment', '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 71 - 2025-07-04 08:46:08 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 72 - 2025-07-04 08:46:08 [0.2ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 73 - 2025-07-04 08:46:08 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 74 - 2025-07-04 08:46:08 [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://rta2.puntlandgov.org/api/make_payment
   Query 75 - 2025-07-04 08:46:08 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642340, 'APPROVED', '2025-07-04 08:46:08', 5, 183, null, 183, 183, '2025-07-04 08:46:08', '2025-07-04 08:46:08');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 76 - 2025-07-04 08:46:08 [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://rta2.puntlandgov.org/api/make_payment
   Query 77 - 2025-07-04 08:46:08 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-07-04 08:46:08' where `id` = 642340;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 78 - 2025-07-04 08:46:08 [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://rta2.puntlandgov.org/api/make_payment
   Query 79 - 2025-07-04 08:46:08 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615102 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 80 - 2025-07-04 08:46:08 [0.17ms] */
select `transaction_id` from `vehicle_tax` where `id` in (458476) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 81 - 2025-07-04 08:46:08 [0.24ms] */
select * from `invoice` where `transaction_id` = 568055 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 82 - 2025-07-04 08:46:08 [0.33ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 543754 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 83 - 2025-07-04 08:46:08 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 568055 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 84 - 2025-07-04 08:46:08 [3.03ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-07-04 08:46:08' where `id` = 568055;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 85 - 2025-07-04 08:46:08 [0.25ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 86 - 2025-07-04 08:46:08 [0.35ms] */
select * from `user_accounts` where `user_id` = 183 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 87 - 2025-07-04 08:46:08 [0.25ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 88 - 2025-07-04 08:46:08 [0.24ms] */
select * from `user_accounts` where `user_id` = 183 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-07-04 08:46:09 [2.03ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-07-04 08:46:09 [0.29ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-07-04 08:46:09 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-07-04 08:46:09 [0.16ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-07-04 08:46:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-07-04 08:46:09 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-07-04 08:46:09 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-07-04 08:46:09 [0.13ms] */
select `transaction_id` from `vehicle_tax` where `id` in (458476) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-07-04 08:46:09 [0.26ms] */
select `parent_id` from `transaction` where `id` in (568055) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-07-04 08:46:09 [0.21ms] */
select `id` from `transaction` where `parent_id` in (642340) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-07-04 08:46:09 [0.25ms] */
select * from `transaction` where `id` in (642340) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-07-04 08:46:09 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (458476) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-07-04 08:46:09 [0.16ms] */
select * from `invoice` where `transaction_id` = 568055 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 14 - 2025-07-04 08:46:09 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 543754 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 15 - 2025-07-04 08:46:09 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 568055 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-07-04 08:46:09 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-07-04 08:46:09 [0.14ms] */
select * from `user_accounts` where `user_id` = 183 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-07-04 08:46:09 [0.15ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-07-04 08:46:09 [0.13ms] */
select * from `user_accounts` where `user_id` = 183 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 1 - 2025-07-04 08:46:09 [2.04ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 2 - 2025-07-04 08:46:09 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 3 - 2025-07-04 08:46:09 [0.34ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 4 - 2025-07-04 08:46:09 [0.41ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 5 - 2025-07-04 08:46:09 [0.32ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 6 - 2025-07-04 08:46:09 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 7 - 2025-07-04 08:46:10 [0.54ms] */
select * from `transaction` where `id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 8 - 2025-07-04 08:46:10 [0.47ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 642340 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 9 - 2025-07-04 08:46:10 [0.37ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 642340 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 10 - 2025-07-04 08:46:10 [0.4ms] */
select * from `invoice` where `invoice`.`id` = 615102 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 11 - 2025-07-04 08:46:10 [0.31ms] */
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` = 615102 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 08:46:10 [2.05ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 08:46:10 [0.26ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 08:46:10 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 08:46:10 [0.3ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 08:46:10 [0.22ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 08:46:10 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 08:46:10 [0.26ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 08:46:16 [1.39ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 08:46:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 08:46:16 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 08:46:16 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 08:46:16 [0.15ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 08:46:16 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 08:46:16 [0.18ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 08:46:16 [0.13ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-07-04 08:46:34 [1.96ms] */
select * from `users` where `id` = 15 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-07-04 08:46:34 [0.8ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-07-04 08:46:34 [0.52ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-07-04 08:46:34 [0.42ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-07-04 08:46:34 [0.22ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-07-04 08:46:34 [0.16ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-07-04 08:46:34 [0.16ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-07-04 08:46:34 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-07-04 08:46:34 [0.15ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-07-04 08:46:34 [0.15ms] */
select * from `users` where `users`.`id` = 156 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-07-04 08:46:34 [0.15ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-07-04 08:46:34 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-07-04 08:46:34 [1.34ms] */
select * from `users` where `id` = 15 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-07-04 08:46:34 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-07-04 08:46:34 [0.3ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-07-04 08:46:34 [0.41ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-07-04 08:46:34 [0.37ms] */
select count(*) as aggregate from `user_receipts` where `book_number` = 51187 and `deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-07-04 08:46:34 [0.17ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-07-04 08:46:34 [0.14ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-07-04 08:46:34 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-07-04 08:46:34 [0.17ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-07-04 08:46:34 [0.15ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 156 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-07-04 08:46:34 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 18 - 2025-07-04 08:46:34 [0.14ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-07-04 08:47:09 [1.28ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-07-04 08:47:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-07-04 08:47:09 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-07-04 08:47:09 [0.16ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-07-04 08:47:09 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-07-04 08:47:09 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-07-04 08:47:09 [0.25ms] */
delete from `payment_documents` where `transaction_id` = 642340 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-07-04 08:47:09 [21.86ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2548845;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-07-04 08:47:09 [0.55ms] */
select * from `transaction` where `transaction`.`id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-07-04 08:47:09 [0.49ms] */
select * from `transaction` where `parent_id` = 642340 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-07-04 08:47:09 [11.5ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (568055, 'GOV_RECEIPT_IMAGE', 2548845, 1, '2025-07-04 08:47:09', '2025-07-04 08:47:09');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-07-04 08:47:09 [3.22ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (642340, 'GOV_RECEIPT_IMAGE', 2548845, 1, '2025-07-04 08:47:09', '2025-07-04 08:47:09');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-07-04 08:47:09 [0.37ms] */
select * from `transaction` where `transaction`.`id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-07-04 08:47:09 [3.51ms] */
update `transaction` set `paid_by` = 'pharma cabdi', `paid_by_mobile` = 7791758, `transaction`.`updated_at` = '2025-07-04 08:47:09' where `id` = 642340;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-07-04 08:47:09 [13.62ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-07-04 08:47:09' where `receipt_number` = 2548845 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 08:47:11 [1.29ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 08:47:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 08:47:11 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 08:47:11 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 08:47:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 08:47:11 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 08:47:11 [4.09ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 08:47:11 [3.69ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 183 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-07-04 08:47:13 [1.67ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-07-04 08:47:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-07-04 08:47:13 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-07-04 08:47:13 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-07-04 08:47:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-07-04 08:47:13 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-07-04 08:47:13 [0.23ms] */
delete from `payment_documents` where `transaction_id` = 642340 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-07-04 08:47:13 [22.38ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 139595;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-07-04 08:47:13 [0.33ms] */
select * from `transaction` where `transaction`.`id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-07-04 08:47:13 [0.26ms] */
select * from `transaction` where `parent_id` = 642340 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-07-04 08:47:13 [10.97ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (568055, 'SERVICE_RECEIPT_IMAGE', 139595, 1, '2025-07-04 08:47:13', '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-07-04 08:47:13 [3.31ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (642340, 'SERVICE_RECEIPT_IMAGE', 139595, 1, '2025-07-04 08:47:13', '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-07-04 08:47:13 [15.54ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-07-04 08:47:13' where `receipt_number` = 139595 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-07-04 08:47:13 [1.32ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-07-04 08:47:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-07-04 08:47:13 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-07-04 08:47:13 [0.16ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-07-04 08:47:13 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-07-04 08:47:13 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-07-04 08:47:13 [0.17ms] */
select * from `transaction` where `transaction`.`id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-07-04 08:47:13 [0.27ms] */
select * from `invoice_payment` where `invoice_id` = 615102 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-07-04 08:47:13 [0.37ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 642340 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-07-04 08:47:13 [0.27ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 642340 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-07-04 08:47:13 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-07-04 08:47:13 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-07-04 08:47:13 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 14 - 2025-07-04 08:47:13 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 15 - 2025-07-04 08:47:13 [0.45ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 642340 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-07-04 08:47:13 [0.23ms] */
select * from `party` where `party`.`id` = 63385 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-07-04 08:47:13 [0.25ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-07-04 08:47:13', 'faras', 2548845, 1, 31.00, 'pharma cabdi', 7791758, null, 37, 183, 183, 183, '2025-07-04 08:47:13', '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-07-04 08:47:13 [0.21ms] */
select * from `Payment` where `id` = 204510 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-07-04 08:47:13 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":1,"payment_amount":"31.00","payment_date":"2025-07-04 08:47:13","external_payment_reference_no":"faras","payment_receipt_number":"2548845","siinpay_payref_number":null,"paid_by":"pharma cabdi","paid_by_mobile":"7791758","district_id":37,"migration_id":null,"payment_collected_by":183}}', 183, 'App\Models\User', 204510, 'Modules\Transaction\Entities\Payment', 'created', '2025-07-04 08:47:13', '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-07-04 08:47:13 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-07-04 08:47:13 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-07-04 08:47:13 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 23 - 2025-07-04 08:47:13 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 543754 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 24 - 2025-07-04 08:47:13 [0.17ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-07-04 08:47:13', 543754, 204510, '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-07-04 08:47:13 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 543754 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-07-04 08:47:13 [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` = 543754 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-07-04 08:47:13 [0.23ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 543754 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-07-04 08:47:13 [0.22ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 31, `status` = 'PAID', `invoice`.`updated_at` = '2025-07-04 08:47:13' where `id` = 543754;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 29 - 2025-07-04 08:47:13 [0.19ms] */
select * from `invoice` where `id` = 543754 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-07-04 08:47:13 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"31.00","status":"OPEN"}}', 183, 'App\Models\User', 543754, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:47:13', '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-07-04 08:47:13 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 568055 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-07-04 08:47:13 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 568055 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-07-04 08:47:13 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-07-04 08:47:13 [0.15ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-07-04 08:47:13 [0.14ms] */
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): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 36 - 2025-07-04 08:47:13 [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 (568055, 'PAID', '2025-07-04 08:47:13', 7, 183, null, 183, 183, '2025-07-04 08:47:13', '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 37 - 2025-07-04 08:47:13 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-07-04 08:47:13 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-07-04 08:47:13' where `id` = 568055;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-07-04 08:47:13 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-07-04 08:47:13 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 543754 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 41 - 2025-07-04 08:47:13 [0.22ms] */
select * from `vehicle_tax` where `transaction_id` = 568055 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 42 - 2025-07-04 08:47:13 [0.18ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-07-04 08:47:13' where `id` = 458476;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-07-04 08:47:13 [0.18ms] */
select * from `vehicle_tax` where `id` = 458476 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-07-04 08:47:13 [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":"PAID"},"old":{"status":"INPROGRESS"}}', 183, 'App\Models\User', 458476, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 08:47:13', '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-07-04 08:47:13 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615102 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-07-04 08:47:13 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 615102 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-07-04 08:47:13 [0.15ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-07-04 08:47:13', 615102, 204510, '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-07-04 08:47:13 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 615102 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-07-04 08:47:13 [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` = 615102 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-07-04 08:47:13 [0.17ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-07-04 08:47:13' where `id` = 615102;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-07-04 08:47:13 [0.19ms] */
select * from `invoice` where `id` = 615102 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-07-04 08:47:13 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"31.00","status":"OPEN"}}', 183, 'App\Models\User', 615102, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:47:13', '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-07-04 08:47:13 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-07-04 08:47:13 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-07-04 08:47:13 [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://rta2.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-07-04 08:47:13 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 57 - 2025-07-04 08:47:13 [0.18ms] */
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): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 58 - 2025-07-04 08:47:13 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642340, 'PAID', '2025-07-04 08:47:13', 7, 183, null, 183, 183, '2025-07-04 08:47:13', '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 59 - 2025-07-04 08:47:13 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-07-04 08:47:13 [0.19ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-07-04 08:47:13' where `id` = 642340;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 61 - 2025-07-04 08:47:13 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-07-04 08:47:13 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 615102 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 63 - 2025-07-04 08:47:13 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 64 - 2025-07-04 08:47:13 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 65 - 2025-07-04 08:47:13 [0.17ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642340, 'CLAIMED', '2025-07-04 08:47:13', 8, 183, 183, 183, '2025-07-04 08:47:13', '2025-07-04 08:47:13');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 66 - 2025-07-04 08:47:13 [0.36ms] */
update `transaction` set `assigned_to` = 183, `transaction`.`updated_at` = '2025-07-04 08:47:13' where `id` = 642340;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-07-04 08:47:16 [1.27ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-07-04 08:47:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-07-04 08:47:16 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-07-04 08:47:16 [0.16ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-07-04 08:47:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-07-04 08:47:16 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-07-04 08:47:16 [0.27ms] */
select * from `vehicle_tax` where `id` = 458476 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-07-04 08:47:16 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-07-04 08:47:16 [14.06ms] */
select `id`, `name` from `tax_sticker` where exists (select * from `sticker_box_assignment` where `tax_sticker`.`sticker_box_id` = `sticker_box_assignment`.`sticker_box_id` and `user_id` = 183 and `return_date` is null and `sticker_box_assignment`.`deleted_at` is null) and `term_id` = 105 and `name` like '%2025-Q3%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 1 - 2025-07-04 08:47:25 [2.35ms] */
select * from `users` where `id` = 15 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 2 - 2025-07-04 08:47:25 [0.59ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 3 - 2025-07-04 08:47:25 [0.47ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 4 - 2025-07-04 08:47:25 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 5 - 2025-07-04 08:47:26 [0.22ms] */
select `u`.`id`, `u`.`name` from `users` as `u` left join `model_has_roles` as `mr` on `mr`.`model_id` = `u`.`id` left join `roles` as `r` on `r`.`id` = `mr`.`role_id` where `r`.`name` = 'teller';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 6 - 2025-07-04 08:47:26 [0.15ms] */
select count(*) as aggregate from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 7 - 2025-07-04 08:47:26 [0.15ms] */
select * from `user_receipts` where exists (select * from `users` where `user_receipts`.`user_id` = `users`.`id` and `users`.`deleted_at` is null) and `user_receipts`.`deleted_at` is null order by `id` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 8 - 2025-07-04 08:47:26 [0.16ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 9 - 2025-07-04 08:47:26 [0.15ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 10 - 2025-07-04 08:47:26 [0.14ms] */
select * from `users` where `users`.`id` = 156 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 11 - 2025-07-04 08:47:26 [0.14ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 12 - 2025-07-04 08:47:26 [0.42ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 13 - 2025-07-04 08:47:26 [0.3ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 14 - 2025-07-04 08:47:26 [0.28ms] */
select * from `users` where `users`.`id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 15 - 2025-07-04 08:47:26 [0.28ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 16 - 2025-07-04 08:47:26 [0.28ms] */
select * from `users` where `users`.`id` = 150 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/config.manage-a-receipts-component
   Query 17 - 2025-07-04 08:47:26 [0.28ms] */
select * from `users` where `users`.`id` = 85 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 1 - 2025-07-04 08:47:29 [1.33ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 2 - 2025-07-04 08:47:29 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 3 - 2025-07-04 08:47:29 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 4 - 2025-07-04 08:47:29 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 5 - 2025-07-04 08:47:29 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 6 - 2025-07-04 08:47:29 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 7 - 2025-07-04 08:47:29 [0.32ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 677315 and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 8 - 2025-07-04 08:47:29 [0.16ms] */
select * from `vehicle_tax` where `id` = 458476 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 9 - 2025-07-04 08:47:29 [12.01ms] */
update `vehicle_tax` set `tax_sticker_id` = 677315, `vehicle_tax`.`updated_at` = '2025-07-04 08:47:29' where `id` = 458476;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 10 - 2025-07-04 08:47:29 [0.76ms] */
select * from `vehicle_tax` where `id` = 458476 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 11 - 2025-07-04 08:47:29 [3.72ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"tax_sticker_id":677315},"old":{"tax_sticker_id":null}}', 183, 'App\Models\User', 458476, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 08:47:29', '2025-07-04 08:47:29');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 12 - 2025-07-04 08:47:29 [3.57ms] */
update `tax_sticker` set `assigned` = 'Y', `updated_by` = 183, `tax_sticker`.`updated_at` = '2025-07-04 08:47:29' where `id` = 677315;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 13 - 2025-07-04 08:47:29 [0.69ms] */
select * from `sticker_box_assignment` where `sticker_box_id` = 1167 and `sticker_box_assignment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 14 - 2025-07-04 08:47:29 [3.63ms] */
update `sticker_box_assignment` set `used_count` = 12, `sticker_box_assignment`.`updated_at` = '2025-07-04 08:47:29' where `sticker_box_id` = 1167 and `sticker_box_assignment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 1 - 2025-07-04 08:47:29 [1.36ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 2 - 2025-07-04 08:47:29 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 3 - 2025-07-04 08:47:29 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 4 - 2025-07-04 08:47:29 [0.16ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 5 - 2025-07-04 08:47:29 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 6 - 2025-07-04 08:47:29 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 7 - 2025-07-04 08:47:29 [0.3ms] */
select * from `vehicle_tax` where `id` in (458476) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 8 - 2025-07-04 08:47:29 [0.32ms] */
select * from `transaction` where `transaction`.`id` = 568055 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 9 - 2025-07-04 08:47:29 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 568055 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 10 - 2025-07-04 08:47:29 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 11 - 2025-07-04 08:47:29 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 12 - 2025-07-04 08:47:29 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 13 - 2025-07-04 08:47:29 [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 (568055, 'APPROVED', '2025-07-04 08:47:29', 8, 183, null, 183, 183, '2025-07-04 08:47:29', '2025-07-04 08:47:29');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 14 - 2025-07-04 08:47:29 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 15 - 2025-07-04 08:47:29 [0.29ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-07-04 08:47:29' where `id` = 568055;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 16 - 2025-07-04 08:47:29 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 17 - 2025-07-04 08:47:29 [0.26ms] */
select * from `vehicle_tax` where `transaction_id` = 568055 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 18 - 2025-07-04 08:47:29 [0.21ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-07-04 08:47:29' where `id` = 458476;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 19 - 2025-07-04 08:47:29 [0.18ms] */
select * from `vehicle_tax` where `id` = 458476 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 20 - 2025-07-04 08:47:29 [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":"ISSUED"},"old":{"status":"PAID"}}', 183, 'App\Models\User', 458476, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 08:47:29', '2025-07-04 08:47:29');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 21 - 2025-07-04 08:47:29 [0.52ms] */
select * from `invoice` where `invoice`.`id` = 543754 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 22 - 2025-07-04 08:47:29 [0.71ms] */
select * from `transaction` where `id` = 568055 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 23 - 2025-07-04 08:47:29 [0.5ms] */
select * from `transaction` where `transaction`.`id` = 642340 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 24 - 2025-07-04 08:47:29 [0.26ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 25 - 2025-07-04 08:47:29 [0.2ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 26 - 2025-07-04 08:47:29 [0.22ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 27 - 2025-07-04 08:47:29 [0.27ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642340, 'APPROVED', '2025-07-04 08:47:29', 8, 183, null, 183, 183, '2025-07-04 08:47:29', '2025-07-04 08:47:29');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 28 - 2025-07-04 08:47:29 [0.21ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 29 - 2025-07-04 08:47:29 [0.4ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-07-04 08:47:29' where `id` = 642340;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 30 - 2025-07-04 08:47:29 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 31 - 2025-07-04 08:47:29 [0.35ms] */
select * from `vehicle_tax` where `transaction_id` = 642340 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 32 - 2025-07-04 08:47:29 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 615102 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 33 - 2025-07-04 08:47:29 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 34 - 2025-07-04 08:47:29 [0.39ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 97315 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 35 - 2025-07-04 08:47:29 [0.29ms] */
select * from `party` where `party`.`id` = 63385 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 36 - 2025-07-04 08:47:29 [0.52ms] */
select * from `person` where `person`.`id` = 60814 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 37 - 2025-07-04 08:47:29 [0.47ms] */
select * from `vehicle` where `vehicle`.`id` = 97242 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 38 - 2025-07-04 08:47:29 [0.5ms] */
select * from `invoice` where `invoice`.`id` = 543754 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 39 - 2025-07-04 08:47:29 [0.47ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 543754 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 40 - 2025-07-04 08:47:29 [0.49ms] */
select * from `Payment` where `Payment`.`id` = 204510 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 41 - 2025-07-04 08:47:29 [0.27ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 26 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 42 - 2025-07-04 08:47:29 [0.53ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 677315 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 08:47:36 [2.36ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 08:47:36 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 08:47:36 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 08:47:36 [0.26ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 08:47:36 [0.25ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 08:47:36 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 08:47:36 [4.45ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 97 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 08:47:36 [7.69ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 97 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-07-04 08:47:37 [1.36ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-07-04 08:47:37 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-07-04 08:47:37 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-07-04 08:47:37 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-07-04 08:47:37 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-07-04 08:47:37 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-07-04 08:47:37 [0.16ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-07-04 08:47:37 [0.25ms] */
select `transaction_id` from `vehicle_tax` where `id` in (451071) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-07-04 08:47:37 [0.21ms] */
select `parent_id` from `transaction` where `id` in (560637) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-07-04 08:47:37 [0.21ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-07-04 08:47:37 [0.21ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-07-04 08:47:37 [0.22ms] */
select * from `transaction` where `id` in (560637) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-07-04 08:47:37 [0.24ms] */
select * from `invoice` where `invoice`.`id` = 536338 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 14 - 2025-07-04 08:47:37 [6.06ms] */
update `invoice` set `updated_by` = 97, `invoice`.`updated_at` = '2025-07-04 08:47:37' where `id` = 536338;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 15 - 2025-07-04 08:47:37 [0.27ms] */
select * from `invoice` where `id` = 536338 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-07-04 08:47:37 [3.39ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 97, 'App\Models\User', 536338, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-07-04 08:47:37 [0.23ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-07-04 08:47:37 [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): POST https://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-07-04 08:47:37 [3.45ms] */
update `transaction` set `updated_by` = 97, `transaction`.`updated_at` = '2025-07-04 08:47:37' where `id` = 560637;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 20 - 2025-07-04 08:47:37 [3.18ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-07-04 08:47:37' where `id` in (451071) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 21 - 2025-07-04 08:47:37 [0.36ms] */
select * from `vehicle` where `vehicle`.`id` = 93991 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 22 - 2025-07-04 08:47:37 [0.22ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 23 - 2025-07-04 08:47:37 [0.35ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 93991 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 24 - 2025-07-04 08:47:37 [0.42ms] */
select * from `party_vehicle` where `vehicle_id` = 93991 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 25 - 2025-07-04 08:47:37 [0.32ms] */
select * from `party` where `party`.`id` = 59659 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 26 - 2025-07-04 08:47:37 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 93991 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 27 - 2025-07-04 08:47:37 [0.21ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 28 - 2025-07-04 08:47:37 [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): POST https://rta2.puntlandgov.org/api/make_payment
   Query 29 - 2025-07-04 08:47:37 [0.23ms] */
select * from `branches` where `branches`.`id` = 15 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 30 - 2025-07-04 08:47:37 [0.44ms] */
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 (59659, 2, 93991, null, 2, 6, 15, 37, 37, 'OPEN', 27, null, 97, 97, '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 31 - 2025-07-04 08:47:37 [0.27ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642341, 'INITIATED', '2025-07-04 08:47:37', 5, 97, 97, 97, '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 32 - 2025-07-04 08:47:37 [0.29ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 93759, `transaction`.`updated_at` = '2025-07-04 08:47:37' where `id` = 642341;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 33 - 2025-07-04 08:47:37 [0.38ms] */
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 (451071) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 34 - 2025-07-04 08:47:37 [0.33ms] */
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 (451071) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 35 - 2025-07-04 08:47:37 [0.32ms] */
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 (642341, 59659, '2025-07-04 08:47:37', '2025-07-04 08:47:37', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 97, 97, '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 36 - 2025-07-04 08:47:37 [0.3ms] */
select * from `invoice` where `id` = 615103 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 37 - 2025-07-04 08:47:37 [0.31ms] */
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":642341,"party_id":59659,"invoice_amount":"31.00","invoice_date":"2025-07-04 08:47:37","due_date":"2025-07-04 08:47:37","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 97, 'App\Models\User', 615103, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 38 - 2025-07-04 08:47:37 [0.39ms] */
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 (451071) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 39 - 2025-07-04 08:47:37 [0.18ms] */
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 Quarterly Tax Fees', 1, 31.00, 31, 615103, 97, 97, '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 40 - 2025-07-04 08:47:37 [0.17ms] */
select * from `invoice_item` where `id` = 1101909 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 41 - 2025-07-04 08:47:37 [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":"Tax Service Fee","description":"Combined Quarterly Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":615103}}', 97, 'App\Models\User', 1101909, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 42 - 2025-07-04 08:47:37 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-963-615103113', `invoice`.`updated_at` = '2025-07-04 08:47:37' where `id` = 615103;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 43 - 2025-07-04 08:47:37 [0.19ms] */
select * from `invoice` where `id` = 615103 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 44 - 2025-07-04 08:47:37 [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-963-615103113"},"old":{"invoice_number":null}}', 97, 'App\Models\User', 615103, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 45 - 2025-07-04 08:47:37 [0.19ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 451071 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 46 - 2025-07-04 08:47:37 [0.18ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 97, `vehicle_tax`.`updated_at` = '2025-07-04 08:47:37' where `id` = 451071;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 47 - 2025-07-04 08:47:37 [0.19ms] */
select * from `vehicle_tax` where `id` = 451071 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 48 - 2025-07-04 08:47:37 [0.15ms] */
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"}}', 97, 'App\Models\User', 451071, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 49 - 2025-07-04 08:47:37 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 560637 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 50 - 2025-07-04 08:47:37 [0.21ms] */
update `transaction` set `tax_collection_point_id` = 27, `deliver_district_id` = 37, `parent_id` = 642341, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-07-04 08:47:37' where `id` = 560637;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 51 - 2025-07-04 08:47:37 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 536338 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 52 - 2025-07-04 08:47:37 [0.17ms] */
update `invoice` set `parent_id` = 615103, `grouped` = 'Y', `invoice`.`updated_at` = '2025-07-04 08:47:37' where `id` = 536338;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 53 - 2025-07-04 08:47:37 [0.18ms] */
select * from `invoice` where `id` = 536338 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 54 - 2025-07-04 08:47:37 [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":615103,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 97, 'App\Models\User', 536338, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 55 - 2025-07-04 08:47:37 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 560637 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 56 - 2025-07-04 08:47:37 [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://rta2.puntlandgov.org/api/make_payment
   Query 57 - 2025-07-04 08:47:37 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 58 - 2025-07-04 08:47:37 [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://rta2.puntlandgov.org/api/make_payment
   Query 59 - 2025-07-04 08:47:37 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 60 - 2025-07-04 08:47:37 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 61 - 2025-07-04 08:47:37 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (560637, 'APPROVED', '2025-07-04 08:47:37', 5, 97, null, 97, 97, '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 62 - 2025-07-04 08:47:37 [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://rta2.puntlandgov.org/api/make_payment
   Query 63 - 2025-07-04 08:47:37 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-07-04 08:47:37' where `id` = 560637;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 64 - 2025-07-04 08:47:37 [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://rta2.puntlandgov.org/api/make_payment
   Query 65 - 2025-07-04 08:47:37 [0.21ms] */
select * from `invoice` where `invoice`.`id` = 536338 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 66 - 2025-07-04 08:47:37 [0.19ms] */
update `transaction` set `invoice_id` = 615103, `transaction`.`updated_at` = '2025-07-04 08:47:37' where `id` = 642341;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 67 - 2025-07-04 08:47:37 [0.21ms] */
update `vehicle` set `updated_by` = 97, `vehicle`.`updated_at` = '2025-07-04 08:47:37' where `id` = 93991;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 68 - 2025-07-04 08:47:37 [0.18ms] */
select * from `vehicle` where `id` = 93991 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 69 - 2025-07-04 08:47:37 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 97, 'App\Models\User', 93991, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 70 - 2025-07-04 08:47:37 [0.18ms] */
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":151}', '{"updated_by":97}', 'updated', 93991, 'Modules\Vehicle\Entities\Vehicle', 97, 'App\Models\User', null, '102.128.131.252', 'Dart/3.4 (dart:io)', 'https://rta2.puntlandgov.org/api/make_payment', '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 71 - 2025-07-04 08:47:37 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 72 - 2025-07-04 08:47:37 [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://rta2.puntlandgov.org/api/make_payment
   Query 73 - 2025-07-04 08:47:37 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 74 - 2025-07-04 08:47:37 [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://rta2.puntlandgov.org/api/make_payment
   Query 75 - 2025-07-04 08:47:37 [0.16ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642341, 'APPROVED', '2025-07-04 08:47:37', 5, 97, null, 97, 97, '2025-07-04 08:47:37', '2025-07-04 08:47:37');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 76 - 2025-07-04 08:47:37 [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://rta2.puntlandgov.org/api/make_payment
   Query 77 - 2025-07-04 08:47:37 [0.21ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-07-04 08:47:37' where `id` = 642341;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 78 - 2025-07-04 08:47:37 [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://rta2.puntlandgov.org/api/make_payment
   Query 79 - 2025-07-04 08:47:37 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615103 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 80 - 2025-07-04 08:47:37 [0.17ms] */
select `transaction_id` from `vehicle_tax` where `id` in (451071) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 81 - 2025-07-04 08:47:37 [0.45ms] */
select * from `invoice` where `transaction_id` = 560637 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 82 - 2025-07-04 08:47:37 [0.54ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 536338 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 83 - 2025-07-04 08:47:37 [0.44ms] */
select * from `transaction` where `transaction`.`id` = 560637 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 84 - 2025-07-04 08:47:37 [3.33ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-07-04 08:47:37' where `id` = 560637;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 85 - 2025-07-04 08:47:37 [0.3ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 86 - 2025-07-04 08:47:37 [0.29ms] */
select * from `user_accounts` where `user_id` = 97 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 87 - 2025-07-04 08:47:37 [0.27ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 88 - 2025-07-04 08:47:37 [0.28ms] */
select * from `user_accounts` where `user_id` = 97 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-07-04 08:47:37 [2.03ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-07-04 08:47:37 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-07-04 08:47:37 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-07-04 08:47:37 [0.26ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-07-04 08:47:37 [0.37ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-07-04 08:47:37 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-07-04 08:47:37 [0.17ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-07-04 08:47:37 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (451071) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-07-04 08:47:37 [0.38ms] */
select `parent_id` from `transaction` where `id` in (560637) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-07-04 08:47:37 [0.33ms] */
select `id` from `transaction` where `parent_id` in (642341) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-07-04 08:47:37 [0.36ms] */
select * from `transaction` where `id` in (642341) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-07-04 08:47:37 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (451071) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-07-04 08:47:37 [0.16ms] */
select * from `invoice` where `transaction_id` = 560637 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 14 - 2025-07-04 08:47:37 [0.15ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 536338 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 15 - 2025-07-04 08:47:37 [0.34ms] */
select * from `transaction` where `transaction`.`id` = 560637 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-07-04 08:47:37 [0.15ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-07-04 08:47:37 [0.14ms] */
select * from `user_accounts` where `user_id` = 97 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-07-04 08:47:37 [0.16ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-07-04 08:47:37 [0.13ms] */
select * from `user_accounts` where `user_id` = 97 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 1 - 2025-07-04 08:47:38 [2.13ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 2 - 2025-07-04 08:47:38 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 3 - 2025-07-04 08:47:38 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 4 - 2025-07-04 08:47:38 [0.35ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 5 - 2025-07-04 08:47:38 [0.31ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 6 - 2025-07-04 08:47:38 [0.31ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 7 - 2025-07-04 08:47:38 [0.32ms] */
select * from `transaction` where `id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 8 - 2025-07-04 08:47:38 [0.28ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 642341 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 9 - 2025-07-04 08:47:38 [0.2ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 642341 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 10 - 2025-07-04 08:47:38 [0.6ms] */
select * from `invoice` where `invoice`.`id` = 615103 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 11 - 2025-07-04 08:47:38 [0.63ms] */
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` = 615103 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 08:47:38 [2.07ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 08:47:38 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 08:47:38 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 08:47:38 [0.25ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 08:47:38 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 08:47:38 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 08:47:38 [0.26ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 08:47:40 [2.22ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 08:47:40 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 08:47:40 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 08:47:40 [0.32ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 08:47:40 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 08:47:40 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 08:47:40 [0.15ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 97 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 08:47:40 [0.13ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 97 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-07-04 08:47:44 [2.39ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-07-04 08:47:44 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-07-04 08:47:44 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-07-04 08:47:44 [0.33ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-07-04 08:47:44 [0.27ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-07-04 08:47:44 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-07-04 08:47:44 [0.84ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'EE268' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-07-04 08:47:44 [0.16ms] */
select * from `party` where `party`.`id` = 63385 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-07-04 08:47:44 [0.36ms] */
select * from `vehicle` where `id` = 97242 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-07-04 08:47:44 [0.15ms] */
select * from `party_vehicle` where `vehicle_id` = 97242 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-07-04 08:47:45 [2.33ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-07-04 08:47:45 [0.28ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-07-04 08:47:45 [0.32ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-07-04 08:47:45 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-07-04 08:47:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-07-04 08:47:45 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-07-04 08:47:45 [0.41ms] */
select * from `vehicle` where `vehicle`.`id` = 97242 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-07-04 08:47:45 [0.33ms] */
select * from `vehicle` where `id` = 97242 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-07-04 08:47:45 [0.16ms] */
select * from `party_vehicle` where `vehicle_id` = 97242 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-07-04 08:47:45 [0.67ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 97242 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-07-04 08:47:45 [2ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-07-04 08:47:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-07-04 08:47:45 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-07-04 08:47:45 [0.17ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-07-04 08:47:45 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-07-04 08:47:45 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-07-04 08:47:45 [0.13ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 08:47:46 [1.83ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 08:47:46 [0.3ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 08:47:46 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 08:47:46 [0.16ms] */
select * from `users` where `id` = 183 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 08:47:46 [0.14ms] */
select * from `oauth_access_tokens` where `id` = '364e9048800dd4297d5d3b4e9cb2b4f940a361fa27c5e005139a3500edea8cfa897510e7bc9c893d' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 08:47:46 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 08:47:46 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-07-04 08:47:59 [1.27ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-07-04 08:47:59 [0.2ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-07-04 08:47:59 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-07-04 08:47:59 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-07-04 08:47:59 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-07-04 08:47:59 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-07-04 08:47:59 [0.25ms] */
delete from `payment_documents` where `transaction_id` = 642341 and `type` = 'GOV_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-07-04 08:47:59 [21.97ms] */
select * from `payment_documents` where `type` = 'GOV_RECEIPT_IMAGE' and `receipt_number` = 2549218;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-07-04 08:47:59 [0.29ms] */
select * from `transaction` where `transaction`.`id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-07-04 08:47:59 [0.28ms] */
select * from `transaction` where `parent_id` = 642341 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-07-04 08:47:59 [6.15ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (560637, 'GOV_RECEIPT_IMAGE', 2549218, 1, '2025-07-04 08:47:59', '2025-07-04 08:47:59');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-07-04 08:47:59 [3.27ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (642341, 'GOV_RECEIPT_IMAGE', 2549218, 1, '2025-07-04 08:47:59', '2025-07-04 08:47:59');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-07-04 08:47:59 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 14 - 2025-07-04 08:47:59 [3.41ms] */
update `transaction` set `paid_by` = 'xusen axmed', `paid_by_mobile` = 7936666, `transaction`.`updated_at` = '2025-07-04 08:47:59' where `id` = 642341;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 15 - 2025-07-04 08:47:59 [15.42ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-07-04 08:47:59' where `receipt_number` = 2549218 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 08:48:01 [2.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 08:48:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 08:48:01 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 08:48:01 [0.19ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 08:48:01 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 08:48:01 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 08:48:01 [4.27ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 97 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 08:48:01 [3.92ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 97 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 1 - 2025-07-04 08:48:02 [1.27ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 2 - 2025-07-04 08:48:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 3 - 2025-07-04 08:48:02 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 4 - 2025-07-04 08:48:02 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 5 - 2025-07-04 08:48:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 6 - 2025-07-04 08:48:02 [0.16ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 7 - 2025-07-04 08:48:02 [0.24ms] */
delete from `payment_documents` where `transaction_id` = 642341 and `type` = 'SERVICE_RECEIPT_IMAGE';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 8 - 2025-07-04 08:48:02 [22.28ms] */
select * from `payment_documents` where `type` = 'SERVICE_RECEIPT_IMAGE' and `receipt_number` = 139816;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 9 - 2025-07-04 08:48:02 [0.31ms] */
select * from `transaction` where `transaction`.`id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 10 - 2025-07-04 08:48:02 [0.25ms] */
select * from `transaction` where `parent_id` = 642341 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 11 - 2025-07-04 08:48:02 [9.02ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (560637, 'SERVICE_RECEIPT_IMAGE', 139816, 1, '2025-07-04 08:48:02', '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 12 - 2025-07-04 08:48:02 [3.29ms] */
insert into `payment_documents` (`transaction_id`, `type`, `receipt_number`, `payment_provider_id`, `updated_at`, `created_at`) values (642341, 'SERVICE_RECEIPT_IMAGE', 139816, 1, '2025-07-04 08:48:02', '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/payment_confirm_image
   Query 13 - 2025-07-04 08:48:02 [16.15ms] */
update `receipts` set `used` = 'Yes', `receipts`.`updated_at` = '2025-07-04 08:48:02' where `receipt_number` = 139816 and `type` = 'SERVICE_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 1 - 2025-07-04 08:48:02 [1.25ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 2 - 2025-07-04 08:48:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 3 - 2025-07-04 08:48:02 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 4 - 2025-07-04 08:48:02 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 5 - 2025-07-04 08:48:02 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 6 - 2025-07-04 08:48:02 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 7 - 2025-07-04 08:48:02 [0.18ms] */
select * from `transaction` where `transaction`.`id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 8 - 2025-07-04 08:48:02 [0.31ms] */
select * from `invoice_payment` where `invoice_id` = 615103 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 9 - 2025-07-04 08:48:02 [0.32ms] */
select `invoice`.* from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 642341 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 10 - 2025-07-04 08:48:02 [0.24ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`id` = `transaction`.`invoice_id` where `invoice`.`invoice_amount` <> 0.00 and `transaction`.`parent_id` = 642341 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 11 - 2025-07-04 08:48:02 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 12 - 2025-07-04 08:48:02 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 13 - 2025-07-04 08:48:02 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 14 - 2025-07-04 08:48:02 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 15 - 2025-07-04 08:48:02 [0.36ms] */
select sum(`invoice`.`invoice_amount`) as aggregate from `vehicle_tax` inner join `term` on `term`.`id` = `vehicle_tax`.`term_id` inner join `transaction` on `transaction`.`id` = `vehicle_tax`.`transaction_id` inner join `invoice` on `invoice`.`id` = `transaction`.`invoice_id` where `transaction`.`parent_id` = 642341 and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 16 - 2025-07-04 08:48:02 [0.22ms] */
select * from `party` where `party`.`id` = 59659 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 17 - 2025-07-04 08:48:02 [0.25ms] */
insert into `Payment` (`payment_date`, `external_payment_reference_no`, `payment_receipt_number`, `payment_method_id`, `payment_amount`, `paid_by`, `paid_by_mobile`, `siinpay_payref_number`, `district_id`, `payment_collected_by`, `updated_by`, `created_by`, `created_at`, `updated_at`) values ('2025-07-04 08:48:02', 123, 2549218, 1, 31.00, 'xusen axmed', 7936666, null, 37, 97, 97, 97, '2025-07-04 08:48:02', '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 18 - 2025-07-04 08:48:02 [0.2ms] */
select * from `Payment` where `id` = 204511 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 19 - 2025-07-04 08:48:02 [0.18ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('Payment', '{"attributes":{"payment_method_id":1,"payment_amount":"31.00","payment_date":"2025-07-04 08:48:02","external_payment_reference_no":"123","payment_receipt_number":"2549218","siinpay_payref_number":null,"paid_by":"xusen axmed","paid_by_mobile":"7936666","district_id":37,"migration_id":null,"payment_collected_by":97}}', 97, 'App\Models\User', 204511, 'Modules\Transaction\Entities\Payment', 'created', '2025-07-04 08:48:02', '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 20 - 2025-07-04 08:48:02 [0.26ms] */
select * from `transaction` where `transaction`.`id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 21 - 2025-07-04 08:48:02 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 22 - 2025-07-04 08:48:02 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 23 - 2025-07-04 08:48:02 [0.22ms] */
select * from `invoice` where `invoice`.`id` = 536338 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 24 - 2025-07-04 08:48:02 [0.18ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-07-04 08:48:02', 536338, 204511, '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 25 - 2025-07-04 08:48:02 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 536338 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 26 - 2025-07-04 08:48:02 [0.28ms] */
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` = 536338 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 27 - 2025-07-04 08:48:02 [0.25ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 536338 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 28 - 2025-07-04 08:48:02 [0.25ms] */
update `invoice` set `invoice_amount` = 31, `outstanding_balance` = 0, `discounts` = 0, `total_invoice_amount` = 31, `status` = 'PAID', `invoice`.`updated_at` = '2025-07-04 08:48:02' where `id` = 536338;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 29 - 2025-07-04 08:48:02 [0.19ms] */
select * from `invoice` where `id` = 536338 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 30 - 2025-07-04 08:48:02 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"31.00","status":"OPEN"}}', 97, 'App\Models\User', 536338, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:48:02', '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 31 - 2025-07-04 08:48:02 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 560637 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 32 - 2025-07-04 08:48:02 [0.15ms] */
select * from `transaction` where `transaction`.`id` = 560637 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 33 - 2025-07-04 08:48:02 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 34 - 2025-07-04 08:48:02 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 35 - 2025-07-04 08:48:02 [0.14ms] */
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): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 36 - 2025-07-04 08:48:02 [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 (560637, 'PAID', '2025-07-04 08:48:02', 7, 97, null, 97, 97, '2025-07-04 08:48:02', '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 37 - 2025-07-04 08:48:02 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 38 - 2025-07-04 08:48:02 [0.24ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-07-04 08:48:02' where `id` = 560637;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 39 - 2025-07-04 08:48:02 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 40 - 2025-07-04 08:48:02 [0.52ms] */
select * from `invoice` where `invoice`.`id` = 536338 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 41 - 2025-07-04 08:48:02 [0.49ms] */
select * from `vehicle_tax` where `transaction_id` = 560637 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 42 - 2025-07-04 08:48:02 [0.39ms] */
update `vehicle_tax` set `status` = 'PAID', `vehicle_tax`.`updated_at` = '2025-07-04 08:48:02' where `id` = 451071;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 43 - 2025-07-04 08:48:02 [0.35ms] */
select * from `vehicle_tax` where `id` = 451071 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 44 - 2025-07-04 08:48:02 [0.33ms] */
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":"PAID"},"old":{"status":"INPROGRESS"}}', 97, 'App\Models\User', 451071, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 08:48:02', '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 45 - 2025-07-04 08:48:02 [0.41ms] */
select * from `invoice` where `invoice`.`id` = 615103 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 46 - 2025-07-04 08:48:02 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 615103 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 47 - 2025-07-04 08:48:02 [0.31ms] */
insert into `invoice_payment` (`created_at`, `invoice_id`, `payment_id`, `updated_at`) values ('2025-07-04 08:48:02', 615103, 204511, '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 48 - 2025-07-04 08:48:02 [0.38ms] */
select * from `invoice` where `invoice`.`id` = 615103 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 49 - 2025-07-04 08:48:02 [0.49ms] */
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` = 615103 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 50 - 2025-07-04 08:48:02 [0.18ms] */
update `invoice` set `outstanding_balance` = 0, `status` = 'PAID', `invoice`.`updated_at` = '2025-07-04 08:48:02' where `id` = 615103;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 51 - 2025-07-04 08:48:02 [0.19ms] */
select * from `invoice` where `id` = 615103 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 52 - 2025-07-04 08:48:02 [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":{"outstanding_balance":"0.00","status":"PAID"},"old":{"outstanding_balance":"31.00","status":"OPEN"}}', 97, 'App\Models\User', 615103, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:48:02', '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 53 - 2025-07-04 08:48:02 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 54 - 2025-07-04 08:48:02 [0.21ms] */
select * from `transaction` where `transaction`.`id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 55 - 2025-07-04 08:48:02 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 56 - 2025-07-04 08:48:02 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 57 - 2025-07-04 08:48:02 [0.2ms] */
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): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 58 - 2025-07-04 08:48:02 [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 (642341, 'PAID', '2025-07-04 08:48:02', 7, 97, null, 97, 97, '2025-07-04 08:48:02', '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 59 - 2025-07-04 08:48:02 [0.2ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 3 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 60 - 2025-07-04 08:48:02 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 8, `transaction`.`updated_at` = '2025-07-04 08:48:02' where `id` = 642341;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 61 - 2025-07-04 08:48:02 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 62 - 2025-07-04 08:48:02 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615103 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 63 - 2025-07-04 08:48:02 [0.51ms] */
select * from `transaction` where `transaction`.`id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 64 - 2025-07-04 08:48:02 [0.31ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 65 - 2025-07-04 08:48:02 [0.41ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642341, 'CLAIMED', '2025-07-04 08:48:02', 8, 97, 97, 97, '2025-07-04 08:48:02', '2025-07-04 08:48:02');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/confirm_payment
   Query 66 - 2025-07-04 08:48:02 [0.33ms] */
update `transaction` set `assigned_to` = 97, `transaction`.`updated_at` = '2025-07-04 08:48:02' where `id` = 642341;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-07-04 08:48:04 [1.3ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-07-04 08:48:04 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-07-04 08:48:04 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-07-04 08:48:04 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-07-04 08:48:04 [0.16ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-07-04 08:48:04 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-07-04 08:48:04 [0.27ms] */
select * from `vehicle_tax` where `id` = 451071 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-07-04 08:48:04 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-07-04 08:48:04 [14.01ms] */
select `id`, `name` from `tax_sticker` where exists (select * from `sticker_box_assignment` where `tax_sticker`.`sticker_box_id` = `sticker_box_assignment`.`sticker_box_id` and `user_id` = 97 and `return_date` is null and `sticker_box_assignment`.`deleted_at` is null) and `term_id` = 105 and `name` like '%2025-Q3%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-07-04 08:48:08 [2.29ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-07-04 08:48:08 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-07-04 08:48:08 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-07-04 08:48:08 [0.18ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-07-04 08:48:08 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-07-04 08:48:08 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-07-04 08:48:08 [0.16ms] */
select * from `vehicle_tax` where `id` = 451071 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-07-04 08:48:08 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-07-04 08:48:08 [21.86ms] */
select `id`, `name` from `tax_sticker` where exists (select * from `sticker_box_assignment` where `tax_sticker`.`sticker_box_id` = `sticker_box_assignment`.`sticker_box_id` and `user_id` = 97 and `return_date` is null and `sticker_box_assignment`.`deleted_at` is null) and `term_id` = 105 and `name` like '%2025-Q3-0151%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 1 - 2025-07-04 08:48:11 [1.33ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 2 - 2025-07-04 08:48:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 3 - 2025-07-04 08:48:11 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 4 - 2025-07-04 08:48:11 [0.18ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 5 - 2025-07-04 08:48:11 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 6 - 2025-07-04 08:48:11 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 7 - 2025-07-04 08:48:11 [0.16ms] */
select * from `vehicle_tax` where `id` = 451071 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 8 - 2025-07-04 08:48:11 [0.14ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_sticker_code
   Query 9 - 2025-07-04 08:48:11 [13.79ms] */
select `id`, `name` from `tax_sticker` where exists (select * from `sticker_box_assignment` where `tax_sticker`.`sticker_box_id` = `sticker_box_assignment`.`sticker_box_id` and `user_id` = 97 and `return_date` is null and `sticker_box_assignment`.`deleted_at` is null) and `term_id` = 105 and `name` like '%2025-Q3-015%' and `assigned` = 'NO' and `is_disabled` is null and `tax_sticker`.`deleted_at` is null limit 10;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 1 - 2025-07-04 08:48:16 [2.34ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 2 - 2025-07-04 08:48:16 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 3 - 2025-07-04 08:48:16 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 4 - 2025-07-04 08:48:16 [0.32ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 5 - 2025-07-04 08:48:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 6 - 2025-07-04 08:48:16 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 7 - 2025-07-04 08:48:16 [0.41ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 677054 and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 8 - 2025-07-04 08:48:16 [0.15ms] */
select * from `vehicle_tax` where `id` = 451071 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 9 - 2025-07-04 08:48:16 [11.26ms] */
update `vehicle_tax` set `tax_sticker_id` = 677054, `vehicle_tax`.`updated_at` = '2025-07-04 08:48:16' where `id` = 451071;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 10 - 2025-07-04 08:48:16 [0.52ms] */
select * from `vehicle_tax` where `id` = 451071 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 11 - 2025-07-04 08:48:16 [3.35ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle_tax', '{"attributes":{"tax_sticker_id":677054},"old":{"tax_sticker_id":null}}', 97, 'App\Models\User', 451071, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 08:48:16', '2025-07-04 08:48:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 12 - 2025-07-04 08:48:16 [3.3ms] */
update `tax_sticker` set `assigned` = 'Y', `updated_by` = 97, `tax_sticker`.`updated_at` = '2025-07-04 08:48:16' where `id` = 677054;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 13 - 2025-07-04 08:48:16 [0.54ms] */
select * from `sticker_box_assignment` where `sticker_box_id` = 1164 and `sticker_box_assignment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/assign_sticker_code
   Query 14 - 2025-07-04 08:48:16 [3.29ms] */
update `sticker_box_assignment` set `used_count` = 51, `sticker_box_assignment`.`updated_at` = '2025-07-04 08:48:16' where `sticker_box_id` = 1164 and `sticker_box_assignment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 1 - 2025-07-04 08:48:16 [1.29ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 2 - 2025-07-04 08:48:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 3 - 2025-07-04 08:48:16 [0.14ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 4 - 2025-07-04 08:48:16 [0.17ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 5 - 2025-07-04 08:48:16 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 6 - 2025-07-04 08:48:16 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 7 - 2025-07-04 08:48:16 [0.29ms] */
select * from `vehicle_tax` where `id` in (451071) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 8 - 2025-07-04 08:48:16 [0.28ms] */
select * from `transaction` where `transaction`.`id` = 560637 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 9 - 2025-07-04 08:48:16 [0.24ms] */
select * from `transaction` where `transaction`.`id` = 560637 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 10 - 2025-07-04 08:48:16 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 11 - 2025-07-04 08:48:16 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 12 - 2025-07-04 08:48:16 [0.15ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 13 - 2025-07-04 08:48:16 [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 (560637, 'APPROVED', '2025-07-04 08:48:16', 8, 97, null, 97, 97, '2025-07-04 08:48:16', '2025-07-04 08:48:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 14 - 2025-07-04 08:48:16 [0.15ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 15 - 2025-07-04 08:48:16 [0.27ms] */
update `transaction` set `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-07-04 08:48:16' where `id` = 560637;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 16 - 2025-07-04 08:48:16 [0.14ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 17 - 2025-07-04 08:48:16 [0.23ms] */
select * from `vehicle_tax` where `transaction_id` = 560637 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 18 - 2025-07-04 08:48:16 [0.19ms] */
update `vehicle_tax` set `status` = 'ISSUED', `vehicle_tax`.`updated_at` = '2025-07-04 08:48:16' where `id` = 451071;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 19 - 2025-07-04 08:48:16 [0.18ms] */
select * from `vehicle_tax` where `id` = 451071 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 20 - 2025-07-04 08:48:16 [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":"ISSUED"},"old":{"status":"PAID"}}', 97, 'App\Models\User', 451071, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 08:48:16', '2025-07-04 08:48:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 21 - 2025-07-04 08:48:16 [0.26ms] */
select * from `invoice` where `invoice`.`id` = 536338 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 22 - 2025-07-04 08:48:16 [0.25ms] */
select * from `transaction` where `id` = 560637 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 23 - 2025-07-04 08:48:16 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 642341 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 24 - 2025-07-04 08:48:16 [0.14ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 25 - 2025-07-04 08:48:16 [0.13ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 26 - 2025-07-04 08:48:16 [0.14ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 8 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 27 - 2025-07-04 08:48:16 [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 (642341, 'APPROVED', '2025-07-04 08:48:16', 8, 97, null, 97, 97, '2025-07-04 08:48:16', '2025-07-04 08:48:16');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 28 - 2025-07-04 08:48:16 [0.14ms] */
select * from `workflow_definition` where `workflow_id` = 2 and `step_number` = 4 and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 29 - 2025-07-04 08:48:16 [0.25ms] */
update `transaction` set `assigned_to` = null, `current_workflow_state_id` = 9, `status` = 'END', `transaction`.`updated_at` = '2025-07-04 08:48:16' where `id` = 642341;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 30 - 2025-07-04 08:48:16 [0.21ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 31 - 2025-07-04 08:48:16 [0.34ms] */
select * from `vehicle_tax` where `transaction_id` = 642341 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 32 - 2025-07-04 08:48:16 [0.32ms] */
select * from `invoice` where `invoice`.`id` = 615103 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 33 - 2025-07-04 08:48:16 [0.21ms] */
select * from `term` where `term`.`id` = 105 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 34 - 2025-07-04 08:48:16 [0.39ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 93759 and `party_vehicle`.`id` is not null and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 35 - 2025-07-04 08:48:16 [0.26ms] */
select * from `party` where `party`.`id` = 59659 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 36 - 2025-07-04 08:48:16 [0.37ms] */
select * from `person` where `person`.`id` = 57204 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 37 - 2025-07-04 08:48:16 [0.38ms] */
select * from `vehicle` where `vehicle`.`id` = 93991 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 38 - 2025-07-04 08:48:16 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 536338 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 39 - 2025-07-04 08:48:16 [0.4ms] */
select * from `invoice_payment` where `invoice_payment`.`invoice_id` = 536338 and `invoice_payment`.`invoice_id` is not null and `invoice_payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 40 - 2025-07-04 08:48:16 [0.38ms] */
select * from `Payment` where `Payment`.`id` = 204511 and `Payment`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 41 - 2025-07-04 08:48:16 [0.21ms] */
select * from `tax_collection_points` where `tax_collection_points`.`id` = 27 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/complete_transaction
   Query 42 - 2025-07-04 08:48:16 [0.32ms] */
select * from `tax_sticker` where `tax_sticker`.`id` = 677054 and `tax_sticker`.`id` is not null and `tax_sticker`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 1 - 2025-07-04 08:50:00 [2.11ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 2 - 2025-07-04 08:50:00 [0.29ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 3 - 2025-07-04 08:50:00 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 4 - 2025-07-04 08:50:00 [0.29ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 5 - 2025-07-04 08:50:00 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 6 - 2025-07-04 08:50:00 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 7 - 2025-07-04 08:50:00 [2.37ms] */
select `vehicle`.`id` as `vehicle_id`, `company`.`contact_party_id`, `party`.`id` as `party_id`, `vehicle`.`license_plate`, `vehicle`.`year`, `vehicle`.`odometer`, `vehicle`.`vin`, `sub_category`.`name` as `sub_category`, `classification_type`.`name` as `classification`, `make`.`name` as `make`, `model`.`name` as `model`, `vehicle_color`.`name` as `vehicle_color`, `fuel_type`.`name` as `fuel_type`, `vehicle_type`.`name` as `vehicle_type`, CASE
                WHEN party_vehicle.id IS NULL THEN "UNREGISTERED" ELSE party_vehicle.status END AS status, CASE
                WHEN person.id IS NOT NULL THEN CONCAT(person.first_name, " ", person.second_name, " ", person.third_name, " ", person.fourth_name)
                WHEN company.id IS NOT NULL THEN company.company_name
                ELSE "No Entity Found"
                END AS owner, `party`.`partyable_type` as `owner_type`, `party_vehicle`.`registration_date`, `vehicle`.`created_at`, `vehicle`.`updated_at` from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `sub_category` on `vehicle`.`sub_category_id` = `sub_category`.`id` left join `classification_type` on `party_vehicle`.`classification_id` = `classification_type`.`id` left join `model` on `vehicle`.`model_id` = `model`.`id` left join `make` on `model`.`make_id` = `make`.`id` left join `vehicle_color` on `vehicle`.`vehicle_color_id` = `vehicle_color`.`id` left join `fuel_type` on `vehicle`.`fuel_type_id` = `fuel_type`.`id` left join `vehicle_type` on `vehicle`.`vehicle_type_id` = `vehicle_type`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` left join `person` on `person`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Person' left join `company` on `company`.`id` = `party`.`partyable_id` and `party`.`partyable_type` = 'Company' where `license_plate` = 'BO677' and `party_vehicle`.`is_owner` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 8 - 2025-07-04 08:50:00 [1.21ms] */
select * from `party` where `party`.`id` = 53138 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 9 - 2025-07-04 08:50:00 [0.62ms] */
select * from `vehicle` where `id` = 86323 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/vehicle
   Query 10 - 2025-07-04 08:50:00 [0.64ms] */
select * from `party_vehicle` where `vehicle_id` = 86323 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 1 - 2025-07-04 08:50:00 [2.39ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 2 - 2025-07-04 08:50:00 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 3 - 2025-07-04 08:50:00 [0.29ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 4 - 2025-07-04 08:50:00 [0.25ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 5 - 2025-07-04 08:50:00 [0.21ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 6 - 2025-07-04 08:50:00 [0.2ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 7 - 2025-07-04 08:50:00 [0.4ms] */
select * from `vehicle` where `vehicle`.`id` = 86323 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 8 - 2025-07-04 08:50:00 [0.36ms] */
select * from `vehicle` where `id` = 86323 and `provisional` = 'Y' and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 9 - 2025-07-04 08:50:00 [0.5ms] */
select * from `party_vehicle` where `vehicle_id` = 86323 and `is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/taxes
   Query 10 - 2025-07-04 08:50:00 [1.32ms] */
select `vehicle_tax`.`id`, `transaction`.`id` as `transaction_id`, `term`.`year`, `term`.`quarter`, `invoice`.`invoice_amount`, `invoice`.`outstanding_balance`, `vehicle_tax`.`exempt`, `invoice`.`status`, `tax_sticker`.`name` as `tax_sticker`, CASE
                WHEN term.quarter = 1 THEN DATE_FORMAT(CONCAT(term.year, "-03-31"), "%d-%m-%Y")
                WHEN term.quarter = 2 THEN DATE_FORMAT(CONCAT(term.year, "-06-30"), "%d-%m-%Y")
                WHEN term.quarter = 3 THEN DATE_FORMAT(CONCAT(term.year, "-09-30"), "%d-%m-%Y")
                WHEN term.quarter = 4 THEN DATE_FORMAT(CONCAT(term.year, "-12-31"), "%d-%m-%Y")
                ELSE NULL
                END as due_date from `vehicle_tax` left join `term` on `vehicle_tax`.`term_id` = `term`.`id` left join `transaction` on `vehicle_tax`.`transaction_id` = `transaction`.`id` left join `invoice` on `transaction`.`invoice_id` = `invoice`.`id` left join `tax_sticker` on `vehicle_tax`.`tax_sticker_id` = `tax_sticker`.`id` where `vehicle_tax`.`vehicle_id` = 86323 and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null and `transaction`.`deleted_at` is null and `invoice`.`deleted_at` is null order by `term`.`year` asc, `term`.`quarter` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 1 - 2025-07-04 08:50:01 [2ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 2 - 2025-07-04 08:50:01 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 3 - 2025-07-04 08:50:01 [0.3ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 4 - 2025-07-04 08:50:01 [0.29ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 5 - 2025-07-04 08:50:01 [0.22ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 6 - 2025-07-04 08:50:01 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/region-list
   Query 7 - 2025-07-04 08:50:01 [0.2ms] */
select `id`, `name` from `region` where `deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 08:50:01 [1.93ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 08:50:01 [0.28ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 08:50:01 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 08:50:01 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 08:50:01 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 08:50:01 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 08:50:01 [0.18ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 08:50:33 [1.99ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 08:50:33 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 08:50:33 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 08:50:33 [0.26ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 08:50:33 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 08:50:33 [0.21ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 08:50:33 [4.24ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 97 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 08:50:33 [3.82ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 97 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-07-04 08:50:33 [1.97ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-07-04 08:50:33 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-07-04 08:50:33 [0.27ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-07-04 08:50:33 [0.4ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-07-04 08:50:33 [0.17ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-07-04 08:50:33 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-07-04 08:50:33 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-07-04 08:50:33 [0.62ms] */
select `transaction_id` from `vehicle_tax` where `id` in (438049) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-07-04 08:50:33 [0.58ms] */
select `parent_id` from `transaction` where `id` in (547570) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-07-04 08:50:33 [0.52ms] */
select `id` from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-07-04 08:50:33 [0.84ms] */
select * from `transaction` where 0 = 1 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-07-04 08:50:33 [0.64ms] */
select * from `transaction` where `id` in (547570) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-07-04 08:50:33 [0.64ms] */
select * from `invoice` where `invoice`.`id` = 523273 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 14 - 2025-07-04 08:50:33 [11.86ms] */
update `invoice` set `updated_by` = 97, `invoice`.`updated_at` = '2025-07-04 08:50:33' where `id` = 523273;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 15 - 2025-07-04 08:50:33 [1.14ms] */
select * from `invoice` where `id` = 523273 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-07-04 08:50:33 [4.34ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('invoice', '{"attributes":[],"old":[]}', 97, 'App\Models\User', 523273, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-07-04 08:50:33 [0.22ms] */
select * from `service_workflow` where `service_id` = 2 and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-07-04 08:50:33 [0.22ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-07-04 08:50:33 [7.29ms] */
update `transaction` set `updated_by` = 97, `transaction`.`updated_at` = '2025-07-04 08:50:33' where `id` = 547570;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 20 - 2025-07-04 08:50:33 [3.57ms] */
update `vehicle_tax` set `status` = 'OPEN', `vehicle_tax`.`updated_at` = '2025-07-04 08:50:33' where `id` in (438049) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 21 - 2025-07-04 08:50:33 [0.66ms] */
select * from `vehicle` where `vehicle`.`id` = 86323 and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 22 - 2025-07-04 08:50:33 [0.28ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 23 - 2025-07-04 08:50:33 [0.44ms] */
select count(*) as aggregate from `party_vehicle` where `vehicle_id` = 86323 and `status` = 'TRANSFER_INPROGRESS' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 24 - 2025-07-04 08:50:33 [0.49ms] */
select * from `party_vehicle` where `vehicle_id` = 86323 and `is_owner` = 'Y' and `status` = 'REGISTERED' and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 25 - 2025-07-04 08:50:33 [0.31ms] */
select * from `party` where `party`.`id` = 53138 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 26 - 2025-07-04 08:50:33 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 86323 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 27 - 2025-07-04 08:50:33 [0.13ms] */
select * from `service_workflow` where ((`service_id` = 2)) and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 28 - 2025-07-04 08:50:33 [0.14ms] */
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://rta2.puntlandgov.org/api/make_payment
   Query 29 - 2025-07-04 08:50:33 [0.14ms] */
select * from `branches` where `branches`.`id` = 15 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 30 - 2025-07-04 08:50:33 [0.32ms] */
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 (53138, 2, 86323, null, 2, 6, 15, 37, 37, 'OPEN', 27, null, 97, 97, '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 31 - 2025-07-04 08:50:33 [0.21ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (642342, 'INITIATED', '2025-07-04 08:50:33', 5, 97, 97, 97, '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 32 - 2025-07-04 08:50:33 [0.2ms] */
update `transaction` set `grouped` = 'N', `parent` = 'Y', `party_vehicle_id` = 87991, `transaction`.`updated_at` = '2025-07-04 08:50:33' where `id` = 642342;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 33 - 2025-07-04 08:50:33 [0.24ms] */
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 (438049) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'N' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 34 - 2025-07-04 08:50:33 [0.21ms] */
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 (438049) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`exempt` = 'Y' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 35 - 2025-07-04 08:50:33 [0.22ms] */
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 (642342, 53138, '2025-07-04 08:50:33', '2025-07-04 08:50:33', 31.00, 0, 31.00, 31.00, 0, 'OPEN', 'N', 'Y', 97, 97, '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 36 - 2025-07-04 08:50:33 [0.19ms] */
select * from `invoice` where `id` = 615104 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 37 - 2025-07-04 08:50:33 [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":642342,"party_id":53138,"invoice_amount":"31.00","invoice_date":"2025-07-04 08:50:33","due_date":"2025-07-04 08:50:33","outstanding_balance":"31.00","discounts":"0.00","taxes":"0.00","total_invoice_amount":"31.00","status":"OPEN","siinpay_invoice_number":null,"invoice_number":null,"invoice_group_id":null,"parent_id":null,"grouped":"N","migration_id":null}}', 97, 'App\Models\User', 615104, 'Modules\Transaction\Entities\Invoice', 'created', '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 38 - 2025-07-04 08:50:33 [0.26ms] */
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 (438049) and `vehicle_tax`.`status` = 'OPEN' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 39 - 2025-07-04 08:50:33 [0.19ms] */
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 Quarterly Tax Fees', 1, 31.00, 31, 615104, 97, 97, '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 40 - 2025-07-04 08:50:33 [0.17ms] */
select * from `invoice_item` where `id` = 1101910 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 41 - 2025-07-04 08:50:33 [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":"Tax Service Fee","description":"Combined Quarterly Tax Fees","unit_price":"31.00","quantity":1,"total_price":"31.00","invoice_id":615104}}', 97, 'App\Models\User', 1101910, 'Modules\Transaction\Entities\InvoiceItem', 'created', '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 42 - 2025-07-04 08:50:33 [0.17ms] */
update `invoice` set `invoice_number` = 'INV-934-615104646', `invoice`.`updated_at` = '2025-07-04 08:50:33' where `id` = 615104;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 43 - 2025-07-04 08:50:33 [0.19ms] */
select * from `invoice` where `id` = 615104 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 44 - 2025-07-04 08:50:33 [0.15ms] */
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-934-615104646"},"old":{"invoice_number":null}}', 97, 'App\Models\User', 615104, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 45 - 2025-07-04 08:50:33 [0.22ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` = 438049 and `vehicle_tax`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 46 - 2025-07-04 08:50:33 [0.18ms] */
update `vehicle_tax` set `status` = 'INPROGRESS', `updated_by` = 97, `vehicle_tax`.`updated_at` = '2025-07-04 08:50:33' where `id` = 438049;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 47 - 2025-07-04 08:50:33 [0.21ms] */
select * from `vehicle_tax` where `id` = 438049 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 48 - 2025-07-04 08:50:33 [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"}}', 97, 'App\Models\User', 438049, 'Modules\Vehicle\Entities\VehicleTax', 'updated', '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 49 - 2025-07-04 08:50:33 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 547570 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 50 - 2025-07-04 08:50:33 [0.21ms] */
update `transaction` set `tax_collection_point_id` = 27, `parent_id` = 642342, `child` = 'Y', `grouped` = 'Y', `transaction`.`updated_at` = '2025-07-04 08:50:33' where `id` = 547570;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 51 - 2025-07-04 08:50:33 [0.19ms] */
select * from `invoice` where `invoice`.`id` = 523273 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 52 - 2025-07-04 08:50:33 [0.18ms] */
update `invoice` set `parent_id` = 615104, `grouped` = 'Y', `invoice`.`updated_at` = '2025-07-04 08:50:33' where `id` = 523273;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 53 - 2025-07-04 08:50:33 [0.18ms] */
select * from `invoice` where `id` = 523273 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 54 - 2025-07-04 08:50:33 [0.15ms] */
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":615104,"grouped":"Y"},"old":{"parent_id":null,"grouped":"N"}}', 97, 'App\Models\User', 523273, 'Modules\Transaction\Entities\Invoice', 'updated', '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 55 - 2025-07-04 08:50:33 [0.22ms] */
select * from `transaction` where `transaction`.`id` = 547570 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 56 - 2025-07-04 08:50:33 [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://rta2.puntlandgov.org/api/make_payment
   Query 57 - 2025-07-04 08:50:33 [0.19ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 58 - 2025-07-04 08:50:33 [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://rta2.puntlandgov.org/api/make_payment
   Query 59 - 2025-07-04 08:50:33 [0.37ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 60 - 2025-07-04 08:50:33 [0.17ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 61 - 2025-07-04 08:50:33 [0.2ms] */
insert into `transaction_workflow` (`transaction_id`, `action`, `action_date`, `role_id`, `user_id`, `comments`, `updated_by`, `created_by`, `created_at`, `updated_at`) values (547570, 'APPROVED', '2025-07-04 08:50:33', 5, 97, null, 97, 97, '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 62 - 2025-07-04 08:50:33 [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://rta2.puntlandgov.org/api/make_payment
   Query 63 - 2025-07-04 08:50:33 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-07-04 08:50:33' where `id` = 547570;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 64 - 2025-07-04 08:50:33 [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://rta2.puntlandgov.org/api/make_payment
   Query 65 - 2025-07-04 08:50:33 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 523273 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 66 - 2025-07-04 08:50:33 [0.19ms] */
update `transaction` set `invoice_id` = 615104, `transaction`.`updated_at` = '2025-07-04 08:50:33' where `id` = 642342;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 67 - 2025-07-04 08:50:33 [0.26ms] */
update `vehicle` set `updated_by` = 97, `vehicle`.`updated_at` = '2025-07-04 08:50:33' where `id` = 86323;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 68 - 2025-07-04 08:50:33 [0.18ms] */
select * from `vehicle` where `id` = 86323 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 69 - 2025-07-04 08:50:33 [0.19ms] */
insert into `activity_log` (`log_name`, `properties`, `causer_id`, `causer_type`, `subject_id`, `subject_type`, `description`, `updated_at`, `created_at`) values ('vehicle', '{"attributes":[],"old":[]}', 97, 'App\Models\User', 86323, 'Modules\Vehicle\Entities\Vehicle', 'updated', '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 70 - 2025-07-04 08:50:33 [0.2ms] */
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":18}', '{"updated_by":97}', 'updated', 86323, 'Modules\Vehicle\Entities\Vehicle', 97, 'App\Models\User', null, '102.128.131.252', 'Dart/3.4 (dart:io)', 'https://rta2.puntlandgov.org/api/make_payment', '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 71 - 2025-07-04 08:50:33 [0.23ms] */
select * from `transaction` where `transaction`.`id` = 642342 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 72 - 2025-07-04 08:50:33 [0.18ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 73 - 2025-07-04 08:50:33 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 74 - 2025-07-04 08:50:33 [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://rta2.puntlandgov.org/api/make_payment
   Query 75 - 2025-07-04 08:50:33 [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 (642342, 'APPROVED', '2025-07-04 08:50:33', 5, 97, null, 97, 97, '2025-07-04 08:50:33', '2025-07-04 08:50:33');
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 76 - 2025-07-04 08:50:33 [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://rta2.puntlandgov.org/api/make_payment
   Query 77 - 2025-07-04 08:50:33 [0.2ms] */
update `transaction` set `current_workflow_state_id` = 7, `status` = 'INPROGRESS', `transaction`.`updated_at` = '2025-07-04 08:50:33' where `id` = 642342;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 78 - 2025-07-04 08:50:33 [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://rta2.puntlandgov.org/api/make_payment
   Query 79 - 2025-07-04 08:50:33 [0.2ms] */
select * from `invoice` where `invoice`.`id` = 615104 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 80 - 2025-07-04 08:50:33 [0.53ms] */
select `transaction_id` from `vehicle_tax` where `id` in (438049) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 81 - 2025-07-04 08:50:33 [0.68ms] */
select * from `invoice` where `transaction_id` = 547570 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 82 - 2025-07-04 08:50:33 [0.73ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 523273 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 83 - 2025-07-04 08:50:33 [0.64ms] */
select * from `transaction` where `transaction`.`id` = 547570 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 84 - 2025-07-04 08:50:33 [3.48ms] */
update `transaction` set `payment_provider_id` = 1, `transaction`.`updated_at` = '2025-07-04 08:50:33' where `id` = 547570;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 85 - 2025-07-04 08:50:33 [0.28ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 86 - 2025-07-04 08:50:33 [0.29ms] */
select * from `user_accounts` where `user_id` = 97 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 87 - 2025-07-04 08:50:33 [0.28ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 88 - 2025-07-04 08:50:33 [0.25ms] */
select * from `user_accounts` where `user_id` = 97 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 1 - 2025-07-04 08:50:34 [1.97ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 2 - 2025-07-04 08:50:34 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 3 - 2025-07-04 08:50:34 [0.28ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 4 - 2025-07-04 08:50:34 [0.3ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 5 - 2025-07-04 08:50:34 [0.15ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 6 - 2025-07-04 08:50:34 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 7 - 2025-07-04 08:50:34 [0.15ms] */
select * from `payment_configurations` where `provider_id` = 1 and `status` = 1 and `payment_configurations`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 8 - 2025-07-04 08:50:34 [0.14ms] */
select `transaction_id` from `vehicle_tax` where `id` in (438049) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 9 - 2025-07-04 08:50:34 [0.27ms] */
select `parent_id` from `transaction` where `id` in (547570) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 10 - 2025-07-04 08:50:34 [0.28ms] */
select `id` from `transaction` where `parent_id` in (642342) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 11 - 2025-07-04 08:50:34 [0.26ms] */
select * from `transaction` where `id` in (642342) and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 12 - 2025-07-04 08:50:34 [0.12ms] */
select `transaction_id` from `vehicle_tax` where `id` in (438049) and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 13 - 2025-07-04 08:50:34 [0.16ms] */
select * from `invoice` where `transaction_id` = 547570 and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 14 - 2025-07-04 08:50:34 [0.14ms] */
select * from `invoice_item` where `invoice_item`.`invoice_id` = 523273 and `invoice_item`.`invoice_id` is not null and `invoice_item`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 15 - 2025-07-04 08:50:34 [0.25ms] */
select * from `transaction` where `transaction`.`id` = 547570 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 16 - 2025-07-04 08:50:34 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 1 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 17 - 2025-07-04 08:50:34 [0.14ms] */
select * from `user_accounts` where `user_id` = 97 and `payment_provider_id` = 1 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 18 - 2025-07-04 08:50:34 [0.14ms] */
select * from `merchants` where `merchants`.`id` = 3 and `merchants`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/make_payment
   Query 19 - 2025-07-04 08:50:34 [0.13ms] */
select * from `user_accounts` where `user_id` = 97 and `payment_provider_id` = 3 and `user_accounts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 1 - 2025-07-04 08:50:35 [1.93ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 2 - 2025-07-04 08:50:35 [0.3ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 3 - 2025-07-04 08:50:35 [0.22ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 4 - 2025-07-04 08:50:35 [0.26ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 5 - 2025-07-04 08:50:35 [0.23ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 6 - 2025-07-04 08:50:35 [0.23ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 7 - 2025-07-04 08:50:35 [0.43ms] */
select * from `transaction` where `id` = 642342 and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 8 - 2025-07-04 08:50:35 [0.38ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 642342 and `payment_documents`.`transaction_id` is not null and `type` = 'SERVICE_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 9 - 2025-07-04 08:50:35 [0.34ms] */
select * from `payment_documents` where `payment_documents`.`transaction_id` = 642342 and `payment_documents`.`transaction_id` is not null and `type` = 'GOV_RECEIPT_IMAGE' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 10 - 2025-07-04 08:50:35 [0.34ms] */
select * from `invoice` where `invoice`.`id` = 615104 and `invoice`.`id` is not null and `invoice`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/workflow
   Query 11 - 2025-07-04 08:50:35 [0.37ms] */
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` = 615104 and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 1 - 2025-07-04 08:50:35 [1.91ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 2 - 2025-07-04 08:50:35 [0.26ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 3 - 2025-07-04 08:50:35 [0.25ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 4 - 2025-07-04 08:50:35 [0.31ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 5 - 2025-07-04 08:50:35 [0.27ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 6 - 2025-07-04 08:50:35 [0.26ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/api/payment_providers
   Query 7 - 2025-07-04 08:50:35 [0.2ms] */
select * from `payment_method` where exists (select * from `payment_configurations` where `payment_method`.`id` = `payment_configurations`.`provider_id` and `fee_type` = 'Government' and `payment_configurations`.`deleted_at` is null) and `payment_method`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 1 - 2025-07-04 08:50:49 [1.33ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 2 - 2025-07-04 08:50:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 3 - 2025-07-04 08:50:49 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 4 - 2025-07-04 08:50:49 [0.16ms] */
select * from `users` where `id` = 97 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 5 - 2025-07-04 08:50:49 [0.14ms] */
select * from `oauth_access_tokens` where `id` = 'be5170dda456022ff574c7504a50137acaf29e741fd9b80babe917bb43255b34b6b160b9b9abc235' limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 6 - 2025-07-04 08:50:49 [0.13ms] */
select * from `oauth_clients` where `id` = 5 limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 7 - 2025-07-04 08:50:49 [0.15ms] */
select `id`, `receipt_number` from `receipts` where `used` = 'No' and `user_id` = 97 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null order by `id` asc limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/api/get_receipt_number
   Query 8 - 2025-07-04 08:50:49 [0.13ms] */
select count(*) as aggregate from `receipts` where `used` = 'No' and `user_id` = 97 and `type` = 'GOV_RECEIPT_NUMBER' and `receipts`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 1 - 2025-07-04 08:51:22 [2.08ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 2 - 2025-07-04 08:51:22 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 3 - 2025-07-04 08:51:22 [0.6ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 4 - 2025-07-04 08:51:22 [0.43ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 5 - 2025-07-04 08:51:23 [0.18ms] */
select * from `classification_type` where `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 6 - 2025-07-04 08:51:23 [0.15ms] */
select * from `sub_category` where `migration_id` is null and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 7 - 2025-07-04 08:51:23 [135.15ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 8 - 2025-07-04 08:51:23 [52.12ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null order by `vehicle`.`updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 9 - 2025-07-04 08:51:23 [0.77ms] */
select * from `model` where `model`.`id` in (1093, 1352, 1367, 1381, 1396, 4381) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 10 - 2025-07-04 08:51:23 [0.22ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (2, 14, 20, 22, 23, 24, 26) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 11 - 2025-07-04 08:51:23 [0.27ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (26, 50) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 12 - 2025-07-04 08:51:23 [0.13ms] */
select * from `fuel_type` where `fuel_type`.`id` in (2, 3) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 13 - 2025-07-04 08:51:23 [0.2ms] */
select * from `sub_category` where `sub_category`.`id` in (3, 4, 7, 13) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 14 - 2025-07-04 08:51:23 [0.57ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (1366, 29782, 48780, 64810, 76318, 86323, 93991, 97242, 100661, 101150) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 15 - 2025-07-04 08:51:23 [0.24ms] */
select * from `make` where `make`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 16 - 2025-07-04 08:51:23 [0.12ms] */
select * from `model` where `make_id` is null and `model`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 17 - 2025-07-04 08:51:23 [0.16ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 18 - 2025-07-04 08:51:23 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 19 - 2025-07-04 08:51:23 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 20 - 2025-07-04 08:51:23 [0.31ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 86323 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 21 - 2025-07-04 08:51:23 [0.27ms] */
select * from `party` where `party`.`id` = 53138 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 22 - 2025-07-04 08:51:23 [0.3ms] */
select * from `person` where `person`.`id` = 53138 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 23 - 2025-07-04 08:51:23 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 24 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 53138 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 25 - 2025-07-04 08:51:23 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 26 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 27 - 2025-07-04 08:51:23 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 28 - 2025-07-04 08:51:23 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 93991 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 29 - 2025-07-04 08:51:23 [0.16ms] */
select * from `party` where `party`.`id` = 59659 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 30 - 2025-07-04 08:51:23 [0.15ms] */
select * from `person` where `person`.`id` = 57204 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 31 - 2025-07-04 08:51:23 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 32 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 59659 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 33 - 2025-07-04 08:51:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 34 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 35 - 2025-07-04 08:51:23 [0.42ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 97242 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 36 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 63385 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 37 - 2025-07-04 08:51:23 [0.15ms] */
select * from `person` where `person`.`id` = 60814 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 38 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 39 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 63385 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 40 - 2025-07-04 08:51:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 41 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 42 - 2025-07-04 08:51:23 [0.13ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 43 - 2025-07-04 08:51:23 [0.26ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 64810 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 44 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 45510 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 45 - 2025-07-04 08:51:23 [0.15ms] */
select * from `person` where `person`.`id` = 45510 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 46 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 47 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 45510 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 48 - 2025-07-04 08:51:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 13 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 49 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 50 - 2025-07-04 08:51:23 [0.13ms] */
select * from `make` where `make`.`id` = 52 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 51 - 2025-07-04 08:51:23 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 29782 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 52 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 19777 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 53 - 2025-07-04 08:51:23 [0.14ms] */
select * from `person` where `person`.`id` = 19777 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 54 - 2025-07-04 08:51:23 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 55 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 19777 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 56 - 2025-07-04 08:51:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 57 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 58 - 2025-07-04 08:51:23 [0.4ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 100661 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 59 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 33314 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 60 - 2025-07-04 08:51:23 [0.15ms] */
select * from `person` where `person`.`id` = 33314 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 61 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 62 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 33314 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 63 - 2025-07-04 08:51:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 3 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 64 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 65 - 2025-07-04 08:51:23 [0.19ms] */
select * from `make` where `make`.`id` = 99 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 66 - 2025-07-04 08:51:23 [0.29ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 101150 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 67 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 66392 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 68 - 2025-07-04 08:51:23 [0.16ms] */
select * from `person` where `person`.`id` = 63727 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 69 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 70 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 66392 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 71 - 2025-07-04 08:51:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 4 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 72 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 73 - 2025-07-04 08:51:23 [0.27ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 76318 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 74 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 44902 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 75 - 2025-07-04 08:51:23 [0.14ms] */
select * from `person` where `person`.`id` = 44902 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 76 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 77 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 44902 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 78 - 2025-07-04 08:51:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 79 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 80 - 2025-07-04 08:51:23 [0.12ms] */
select * from `make` where `make`.`id` = 74 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 81 - 2025-07-04 08:51:23 [0.38ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 48780 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 82 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 38830 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 83 - 2025-07-04 08:51:23 [0.14ms] */
select * from `person` where `person`.`id` = 38830 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 84 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 85 - 2025-07-04 08:51:23 [0.16ms] */
select * from `party` where `party`.`id` = 38830 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 86 - 2025-07-04 08:51:23 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 87 - 2025-07-04 08:51:23 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 88 - 2025-07-04 08:51:23 [0.25ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 1366 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 89 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 61809 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 90 - 2025-07-04 08:51:23 [0.15ms] */
select * from `person` where `person`.`id` = 59274 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 91 - 2025-07-04 08:51:23 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 92 - 2025-07-04 08:51:23 [0.14ms] */
select * from `party` where `party`.`id` = 61809 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 93 - 2025-07-04 08:51:23 [0.2ms] */
select * from `district` where `district`.`id` = 34 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://rta2.puntlandgov.org/m/vehicle
   Query 94 - 2025-07-04 08:51:23 [0.14ms] */
select * from `region` where `region`.`id` = 7 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 1 - 2025-07-04 08:51:29 [2.15ms] */
select * from `users` where `id` = 42 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 2 - 2025-07-04 08:51:29 [0.81ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 3 - 2025-07-04 08:51:29 [0.34ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 4 - 2025-07-04 08:51:29 [0.44ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'prod_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 5 - 2025-07-04 08:51:29 [0.21ms] */
select * from `classification_type` where `classification_type`.`id` in (1, 2, 3, 4);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 6 - 2025-07-04 08:51:29 [0.17ms] */
select * from `sub_category` where `sub_category`.`id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20);
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 7 - 2025-07-04 08:51:29 [139.36ms] */
select count(*) as aggregate from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%C%' or `vin` like '%C%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 8 - 2025-07-04 08:51:29 [0.63ms] */
select `vehicle`.* from `vehicle` left join `party_vehicle` on `party_vehicle`.`vehicle_id` = `vehicle`.`id` left join `party` on `party_vehicle`.`party_id` = `party`.`id` where (`license_plate` like '%C%' or `vin` like '%C%') and `party_vehicle`.`is_owner` = 'Y' and `party_vehicle`.`deleted_at` is null and `vehicle`.`deleted_at` is null limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 9 - 2025-07-04 08:51:29 [0.17ms] */
select * from `model` where `model`.`id` in (1) and `model`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 10 - 2025-07-04 08:51:29 [0.13ms] */
select * from `vehicle_type` where `vehicle_type`.`id` in (1) and `vehicle_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 11 - 2025-07-04 08:51:29 [0.15ms] */
select * from `vehicle_color` where `vehicle_color`.`id` in (1) and `vehicle_color`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 12 - 2025-07-04 08:51:29 [0.12ms] */
select * from `fuel_type` where `fuel_type`.`id` in (1) and `fuel_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 13 - 2025-07-04 08:51:29 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` in (1) and `sub_category`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 14 - 2025-07-04 08:51:29 [1.65ms] */
select * from `party_vehicle` where `party_vehicle`.`vehicle_id` in (19031, 26301, 26302, 26335, 46182, 46187, 50164, 50185, 50192, 50471) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 15 - 2025-07-04 08:51:29 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 16 - 2025-07-04 08:51:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 17 - 2025-07-04 08:51:29 [0.13ms] */
select * from `make` where `make`.`id` = 1 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 18 - 2025-07-04 08:51:29 [0.37ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26335 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 19 - 2025-07-04 08:51:29 [0.34ms] */
select * from `party` where `party`.`id` = 17271 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 20 - 2025-07-04 08:51:29 [0.41ms] */
select * from `person` where `person`.`id` = 17271 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 21 - 2025-07-04 08:51:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 22 - 2025-07-04 08:51:29 [0.14ms] */
select * from `party` where `party`.`id` = 17271 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 23 - 2025-07-04 08:51:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 24 - 2025-07-04 08:51:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 25 - 2025-07-04 08:51:29 [0.37ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 50192 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 26 - 2025-07-04 08:51:29 [0.16ms] */
select * from `party` where `party`.`id` = 38070 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 27 - 2025-07-04 08:51:29 [0.15ms] */
select * from `person` where `person`.`id` = 38070 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 28 - 2025-07-04 08:51:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 29 - 2025-07-04 08:51:29 [0.14ms] */
select * from `party` where `party`.`id` = 38070 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 30 - 2025-07-04 08:51:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 31 - 2025-07-04 08:51:29 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 32 - 2025-07-04 08:51:29 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26301 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 33 - 2025-07-04 08:51:29 [0.31ms] */
select * from `party` where `party`.`id` = 17249 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 34 - 2025-07-04 08:51:29 [0.33ms] */
select * from `person` where `person`.`id` = 17249 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 35 - 2025-07-04 08:51:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 36 - 2025-07-04 08:51:29 [0.14ms] */
select * from `party` where `party`.`id` = 17249 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 37 - 2025-07-04 08:51:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 38 - 2025-07-04 08:51:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 39 - 2025-07-04 08:51:29 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 26302 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 40 - 2025-07-04 08:51:29 [0.35ms] */
select * from `party` where `party`.`id` = 17250 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 41 - 2025-07-04 08:51:29 [0.37ms] */
select * from `person` where `person`.`id` = 17250 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 42 - 2025-07-04 08:51:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 43 - 2025-07-04 08:51:29 [0.14ms] */
select * from `party` where `party`.`id` = 17250 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 44 - 2025-07-04 08:51:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 45 - 2025-07-04 08:51:29 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 46 - 2025-07-04 08:51:29 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 50164 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 47 - 2025-07-04 08:51:29 [0.55ms] */
select * from `party` where `party`.`id` = 57082 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 48 - 2025-07-04 08:51:29 [0.51ms] */
select * from `company` where `company`.`id` = 1369 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 49 - 2025-07-04 08:51:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 50 - 2025-07-04 08:51:29 [0.14ms] */
select * from `party` where `party`.`id` = 57082 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 51 - 2025-07-04 08:51:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 52 - 2025-07-04 08:51:29 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 53 - 2025-07-04 08:51:29 [0.39ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 50185 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 54 - 2025-07-04 08:51:29 [0.34ms] */
select * from `party` where `party`.`id` = 38949 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 55 - 2025-07-04 08:51:29 [0.51ms] */
select * from `person` where `person`.`id` = 38949 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 56 - 2025-07-04 08:51:29 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 57 - 2025-07-04 08:51:29 [0.14ms] */
select * from `party` where `party`.`id` = 38949 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 58 - 2025-07-04 08:51:29 [0.13ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 59 - 2025-07-04 08:51:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 60 - 2025-07-04 08:51:29 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46182 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 61 - 2025-07-04 08:51:29 [0.55ms] */
select * from `party` where `party`.`id` = 37095 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 62 - 2025-07-04 08:51:29 [0.62ms] */
select * from `person` where `person`.`id` = 37095 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 63 - 2025-07-04 08:51:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 64 - 2025-07-04 08:51:29 [0.14ms] */
select * from `party` where `party`.`id` = 37095 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 65 - 2025-07-04 08:51:29 [0.14ms] */
select * from `sub_category` where `sub_category`.`id` = 1 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 66 - 2025-07-04 08:51:29 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 67 - 2025-07-04 08:51:29 [0.36ms] */
select * from `party_vehicle` where `is_owner` = 'Y' and `vehicle_id` = 46187 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 68 - 2025-07-04 08:51:29 [0.31ms] */
select * from `party` where `party`.`id` = 37100 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 69 - 2025-07-04 08:51:29 [0.43ms] */
select * from `person` where `person`.`id` = 37100 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 70 - 2025-07-04 08:51:29 [0.15ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 71 - 2025-07-04 08:51:29 [0.14ms] */
select * from `party` where `party`.`id` = 37100 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://rta2.puntlandgov.org/livewire/message/vehicle.list-vehicle-component
   Query 72 - 2025-07-04 08:51:29 [0.13ms] */
