Kirin преди 7 месеца
родител
ревизия
98fa084226
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/services/supplier/finance/SupplierFlowingWaterServices.php

+ 1 - 1
app/services/supplier/finance/SupplierFlowingWaterServices.php

@@ -150,7 +150,7 @@ class SupplierFlowingWaterServices extends BaseServices
         }
         if ($order['supplier_id'] <= 0) return true;
         $supplier = $supplierServices->get($order['supplier_id']);
-        if (!$supplier->status || !$supplier->is_show || ($supplier->valid_time > 0 && $supplier->valid_time < time())) return true;
+        if (!$supplier->is_show || ($supplier->valid_time > 0 && $supplier->valid_time < time())) return true;
         if ($type == 1) {
             $res = $this->search([
                 'type' => 1,