|
@@ -341,10 +341,10 @@ class PatientController extends Controller
|
|
|
return view('app.patient.vitals-graph', compact('patient', 'pros', 'filter'));
|
|
|
}
|
|
|
|
|
|
- public function tickets(Request $request, Client $patient, $type = '') {
|
|
|
+ public function tickets(Request $request, Client $patient, $type = '', Ticket $currentTicket = null) {
|
|
|
$pros = $this->pros;
|
|
|
$allPros = Pro::all();
|
|
|
- return view('app.patient.tickets', compact('patient', 'pros', 'allPros', 'type'));
|
|
|
+ return view('app.patient.tickets', compact('patient', 'pros', 'allPros', 'type', 'currentTicket'));
|
|
|
}
|
|
|
|
|
|
public function supplyOrders(Request $request, Client $patient, SupplyOrder $supplyOrder = null)
|