cqp 1 день назад
Родитель
Сommit
817da4c590
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Service/U8ServerService.php

+ 1 - 1
app/Service/U8ServerService.php

@@ -1119,7 +1119,7 @@ class U8ServerService extends Service
                 DB::raw("ISNULL(i.cInvStd, '') as size"),
                 DB::raw("ISNULL(b.iQuantity, 0) as i_qty"),
                 DB::raw("ISNULL(b.iReceivedQTY, 0) as in_qty"),
-                DB::raw("(ISNULL(b.iQuantity, 0) - ISNULL(b.iReceivedQTY, 0)) as available_qty")
+                DB::raw("(ISNULL(b.iReceivedQTY, 0)) as available_qty")
             )
             ->orderBy('b.ivouchrowno', 'asc')
             ->get();