|
|
@@ -1005,6 +1005,14 @@ class OrderController extends BaseController
|
|
|
if (isset($get['customId']) && !empty($get['customId'])) {
|
|
|
$where['customId'] = $get['customId'];
|
|
|
}
|
|
|
+ $customDistId = $get['customDistId'] ?? ($get['distId'] ?? 0);
|
|
|
+ if (!empty($customDistId)) {
|
|
|
+ $where['customDistId'] = (int)$customDistId;
|
|
|
+ }
|
|
|
+ $debt = isset($get['debt']) && is_numeric($get['debt']) ? (int)$get['debt'] : -1;
|
|
|
+ if ($debt > -1) {
|
|
|
+ $where['debt'] = $debt;
|
|
|
+ }
|
|
|
if (isset($get['ids']) && !empty($get['ids'])) {
|
|
|
$stringIds = $get['ids'];
|
|
|
$newIds = explode(',', $stringIds);
|