|
|
|
|
@ -20,7 +20,7 @@ class PrescriptionItemsPage extends StatelessWidget {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return BaseView<PrescriptionsViewModel>(
|
|
|
|
|
onModelReady: (model) =>
|
|
|
|
|
model.getPrescriptionReport(dischargeNo: prescriptions.dischargeNo,setupID:prescriptions.setupID,clinicID: prescriptions.clinicID,projectId: prescriptions.projectID),
|
|
|
|
|
model.getPrescriptionReport(dischargeNo: prescriptions.dischargeNo,setupID:prescriptions.setupID,clinicID: prescriptions.clinicID,projectId: prescriptions.projectID,episodeID: prescriptions.episodeID),
|
|
|
|
|
builder: (_, model, widget) => AppScaffold(
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
appBarTitle: TranslationBase.of(context).prescriptions,
|
|
|
|
|
@ -81,7 +81,7 @@ class PrescriptionItemsPage extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
bottomSheet: Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: MediaQuery.of(context).size.height * 0.2,
|
|
|
|
|
height: MediaQuery.of(context).size.height * 0.23,
|
|
|
|
|
color: Colors.grey[100],
|
|
|
|
|
child: Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
@ -89,7 +89,7 @@ class PrescriptionItemsPage extends StatelessWidget {
|
|
|
|
|
Container(
|
|
|
|
|
width: MediaQuery.of(context).size.width * 0.8,
|
|
|
|
|
child: Button(
|
|
|
|
|
label: 'Send Copy',
|
|
|
|
|
label: TranslationBase.of(context).sendCopy,
|
|
|
|
|
onTap: () => model.sendPrescriptionEmail(
|
|
|
|
|
appointmentDate: prescriptions.appointmentDate,
|
|
|
|
|
patientID: prescriptions.patientID,
|
|
|
|
|
@ -102,7 +102,7 @@ class PrescriptionItemsPage extends StatelessWidget {
|
|
|
|
|
Container(
|
|
|
|
|
width: MediaQuery.of(context).size.width * 0.8,
|
|
|
|
|
child: Button(
|
|
|
|
|
label: 'Resend order & deliver',
|
|
|
|
|
label:TranslationBase.of(context).resendOrder,
|
|
|
|
|
backgroundColor: Colors.green[200],
|
|
|
|
|
))
|
|
|
|
|
],
|
|
|
|
|
|