modified: .gitignore
This commit is contained in:
@@ -15,7 +15,9 @@ class OperationController extends Controller
|
||||
'historyId' => 'required|integer'
|
||||
]);
|
||||
|
||||
$operations = MisSurgicalOperation::where('rf_MedicalHistoryID', $request->historyId)->get();
|
||||
$operations = MisSurgicalOperation::where('rf_MedicalHistoryID', $request->historyId)
|
||||
->completed()
|
||||
->get();
|
||||
|
||||
return response()->json(
|
||||
OperationsResource::collection($operations)
|
||||
|
||||
Reference in New Issue
Block a user