Fix Patient Profile

merge-requests/599/head
Mohammad Aljammal 5 years ago
parent 3927c40d7e
commit 686c81463b

@ -188,10 +188,9 @@ class AddSickLeavScreen extends StatelessWidget {
), ),
Flexible( Flexible(
child: AppText( child: AppText(
DateUtils DateUtils.getDayMonthYearDateFormatted(DateUtils
.convertStringToDateFormat( .convertStringToDate(
item.startDate, item.startDate)),
'dd-MMM-yyyy'),
fontWeight: fontWeight:
FontWeight.bold, FontWeight.bold,
), ),
@ -208,10 +207,10 @@ class AddSickLeavScreen extends StatelessWidget {
), ),
Flexible( Flexible(
child: AppText( child: AppText(
DateUtils DateUtils.getDayMonthYearDateFormatted(DateUtils
.convertStringToDateFormat( .convertStringToDate(
item.endDate, item.endDate,
'dd-MMM-yyyy'), )),
fontWeight: fontWeight:
FontWeight.bold, FontWeight.bold,
), ),

Loading…
Cancel
Save