|
|
|
|
@ -92,7 +92,7 @@ class PrescriptionsPage extends StatelessWidget {
|
|
|
|
|
rat: prescriptions.actualDoctorRate.toDouble(),
|
|
|
|
|
subName: prescriptions.name,
|
|
|
|
|
isInOutPatient: prescriptions.isInOutPatient,
|
|
|
|
|
date:projectViewModel.isArabic? DateUtil.getMonthDayYearDateFormattedAr(prescriptions.dischargeDate):DateUtil.getMonthDayYearDateFormatted(prescriptions.dischargeDate),
|
|
|
|
|
date:projectViewModel.isArabic? DateUtil.getMonthDayYearDateFormattedAr( DateUtil.convertStringToDate(prescriptions.appointmentDate) ):DateUtil.getMonthDayYearDateFormatted(DateUtil.convertStringToDate(prescriptions.appointmentDate)),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}).toList(),
|
|
|
|
|
|