logicpowerhouse %!s(int64=4) %!d(string=hai) anos
pai
achega
c7ab90a441
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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();
         }