logicpowerhouse 4 years ago
parent
commit
c7ab90a441
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Http/Controllers/PracticeManagementController.php

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

@@ -434,10 +434,12 @@ class PracticeManagementController extends Controller
             $bills = Bill::where('hcp_pro_id', $targetPro->id)->
             where('has_hcp_been_paid', false)->
             where('is_cancelled', false)->
+            where('is_signed_by_hcp', true)->
             orderBy('effective_date', 'desc')->paginate();
         } else {
             $bills = Bill::where('has_hcp_been_paid', false)->
             where('is_cancelled', false)->
+            where('is_signed_by_hcp', true)->
             orderBy('effective_date', 'desc')->
             paginate();
         }