Improve execution of health care sheet v2
This commit is contained in:
parent
c689b89cb0
commit
bad3b7bca8
|
@ -1003,7 +1003,8 @@ class HealthCareSheetController extends Controller
|
|||
return $q->with(['act:id,code,name'])->where('billed', 0);
|
||||
}, 'prescriptions' => function ($q) {
|
||||
return $q->with(['drug_or_device:id,name'])->where('billed', 0);
|
||||
}])->where('user_id', $request->input('user_id'));
|
||||
}])->where('state', InsuranceSubscriptionState::ACCEPTED)
|
||||
->where('user_id', $request->input('user_id'));
|
||||
}
|
||||
|
||||
if (!empty($type)) {
|
||||
|
|
Loading…
Reference in New Issue