Browse Source

Billing manager - is_bill_ready_to_verify filter

Vijayakrishnan 4 years ago
parent
commit
88ebfb7cdc
1 changed files with 7 additions and 0 deletions
  1. 7 0
      app/Http/Controllers/PracticeManagementController.php

+ 7 - 0
app/Http/Controllers/PracticeManagementController.php

@@ -524,6 +524,13 @@ class PracticeManagementController extends Controller
                 0);
                 0);
         }
         }
 
 
+        if($filters['bills_ready_to_verify']) {
+            $notes->where(
+                'is_bill_ready_to_verify',
+                ($filters['bills_ready_to_verify'] === 'yes' ? '=' : '!='),
+                true);
+        }
+
         if($filters['bills_closed']) {
         if($filters['bills_closed']) {
             $notes->where(
             $notes->where(
                 'is_bill_closed',
                 'is_bill_closed',