Merge branch 'fix-issues' into 'development'

jira bug fixing

See merge request Cloud_Solution/doctor_app_flutter!312
merge-requests/313/merge
Mohammad Aljammal 4 years ago
commit 592aac011e

@ -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