diff --git a/plugins/romanah/gokbakja/components/LoadTransport.php b/plugins/romanah/gokbakja/components/LoadTransport.php index e202a4b..472ef8f 100644 --- a/plugins/romanah/gokbakja/components/LoadTransport.php +++ b/plugins/romanah/gokbakja/components/LoadTransport.php @@ -222,8 +222,8 @@ class LoadTransport extends ComponentBase ->where('color_id', $color); }) ->where("stock_id", $stock->id) - ->where("status_accountant", "accept") - ->where("status_director", "accept") + //->where("status_accountant", "accept") + //->where("status_director", "accept") ->sum('amount'); $products = ''; @@ -241,8 +241,8 @@ class LoadTransport extends ComponentBase $q->with(['bag_type', 'bag_size', 'color']); }]) ->where("stock_id", $stock->id) - ->where("status_accountant", "accept") - ->where("status_director", "accept") + //->where("status_accountant", "accept") + //->where("status_director", "accept") ->addSelect(DB::raw("SUM(amount) as quantity")) ->groupBy('romanah_gokbakja_rulon_action.product_id') ->orderBy('id', 'DESC') @@ -283,8 +283,8 @@ class LoadTransport extends ComponentBase $qqq->where('width', $bag_width)->where('height', $bag_height); }) ->where("stock_id", $stock->id) - ->where("status_accountant", "accept") - ->where("status_director", "accept") + //->where("status_accountant", "accept") + //->where("status_director", "accept") ->sum('amount'); @@ -307,8 +307,8 @@ class LoadTransport extends ComponentBase $qqq->where('width', $bag_width)->where('height', $bag_height); }) ->where("stock_id", $stock->id) - ->where("status_accountant", "accept") - ->where("status_director", "accept") + //->where("status_accountant", "accept") + //->where("status_director", "accept") ->addSelect(DB::raw("SUM(amount) as quantity")) ->groupBy('romanah_gokbakja_bag_actions.product_id') ->orderBy('id', 'DESC') diff --git a/plugins/romanah/gokbakja/components/Order.php b/plugins/romanah/gokbakja/components/Order.php index a88a1db..24532bb 100644 --- a/plugins/romanah/gokbakja/components/Order.php +++ b/plugins/romanah/gokbakja/components/Order.php @@ -91,6 +91,7 @@ class Order extends ComponentBase
Hasabat