admin controlller bukja stats added null

This commit is contained in:
ilmedova 2022-04-21 16:04:54 +05:00
parent 5104b87a93
commit 7b1f904462
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class AdminController extends Controller
$start_date = request('start_date');
$end_date = request('end_date');
$order = Order::where('payed',1);
$bukja = BukjaOrder::where('status', 0)->count();
$bukja = BukjaOrder::where('status', 0)->orWhere('status', null)->count();
$users = User::select('id');
$userMaterials = UserMaterial::select('id');
if($start_date && $end_date)