Pārlūkot izejas kodu

added is_bill_closed filter

= 3 gadi atpakaļ
vecāks
revīzija
c1bb97cf20

+ 5 - 5
app/Http/Controllers/PracticeManagementController.php

@@ -74,11 +74,11 @@ class PracticeManagementController extends Controller
             ->where('days_between_most_recent_mcp_note_date_and_end_of_care_month', '<=', 90);
 	if(!$isAdmin) $query->where('mcp_pro_id', '=', $proID);
 
-    if($request->get('show_billing_not_closed_only')){
-        $query->where(function($q){
-            return $q->where('is_bill_closed', false)->orWhereNull('is_bill_closed');
-        });
-    }
+    // if($request->get('show_billing_not_closed_only')){
+    //     $query->where(function($q){
+    //         return $q->where('is_bill_closed', false)->orWhereNull('is_bill_closed');
+    //     });
+    // }
 
 
 	$rows = $query->orderByRaw(DB::raw('start_date DESC'))->paginate(10000) ;