jira bug fixing

merge-requests/312/head
hussam al-habibeh 5 years ago
parent d20e83faa5
commit 39d2fe879c

@ -214,16 +214,16 @@ class _NewPrescriptionScreenState extends State<NewPrescriptionScreen> {
0] 0]
.entityList[ .entityList[
index] index]
.startDate) .createdOn)
.day .day
.toString(), .toString(),
color: Colors color: Colors
.green, .green,
), ),
AppText( AppText(
Helpers.getMonth(model.prescriptionList[0].entityList[index].startDate != Helpers.getMonth(model.prescriptionList[0].entityList[index].createdOn !=
null null
? (DateTime.parse(model.prescriptionList[0].entityList[index].startDate) ? (DateTime.parse(model.prescriptionList[0].entityList[index].createdOn)
.month) .month)
: DateTime.now() : DateTime.now()
.month) .month)
@ -261,9 +261,13 @@ class _NewPrescriptionScreenState extends State<NewPrescriptionScreen> {
child: child:
AppText( AppText(
model model
.prescriptionList[0] .prescriptionList[
.entityList[index] 0]
.startDate, .entityList[
index]
.startDate
.replaceAll("-",
"/"),
fontSize: fontSize:
12.0, 12.0,
), ),

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save