Преглед изворни кода

added is_bill_closed filter

= пре 3 година
родитељ
комит
c1bb97cf20
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5 5
      app/Http/Controllers/PracticeManagementController.php

+ 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) ;