|
|
|
|
@ -209,42 +209,30 @@ class _NewPrescriptionScreenState extends State<NewPrescriptionScreen> {
|
|
|
|
|
0.09,
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
// AppText(
|
|
|
|
|
// (DateTime.parse(model.prescriptionList[0].entityList[index].createdOn) !=
|
|
|
|
|
// null
|
|
|
|
|
// ? (DateTime.parse(model.prescriptionList[0].entityList[index].createdOn).year)
|
|
|
|
|
// .toString()
|
|
|
|
|
// : DateTime.now()
|
|
|
|
|
// .year)
|
|
|
|
|
// .toString(),
|
|
|
|
|
// color: Colors
|
|
|
|
|
// .green,
|
|
|
|
|
// fontSize:
|
|
|
|
|
// 13.5,
|
|
|
|
|
// ),
|
|
|
|
|
// AppText(
|
|
|
|
|
// Helpers.getMonth(model.prescriptionList[0].entityList[index].createdOn !=
|
|
|
|
|
// null
|
|
|
|
|
// ? (DateTime.parse(model.prescriptionList[0].entityList[index].createdOn)
|
|
|
|
|
// .month)
|
|
|
|
|
// : DateTime.now()
|
|
|
|
|
// .month)
|
|
|
|
|
// .toUpperCase(),
|
|
|
|
|
// color: Colors
|
|
|
|
|
// .green,
|
|
|
|
|
// ),
|
|
|
|
|
// AppText(
|
|
|
|
|
// DateTime.parse(model
|
|
|
|
|
// .prescriptionList[
|
|
|
|
|
// 0]
|
|
|
|
|
// .entityList[
|
|
|
|
|
// index]
|
|
|
|
|
// .createdOn)
|
|
|
|
|
// .day
|
|
|
|
|
// .toString(),
|
|
|
|
|
// color: Colors
|
|
|
|
|
// .green,
|
|
|
|
|
// ),
|
|
|
|
|
AppText(
|
|
|
|
|
(DateTime.parse(model.prescriptionList[0].entityList[index].createdOn) !=
|
|
|
|
|
null
|
|
|
|
|
? (DateTime.parse(model.prescriptionList[0].entityList[index].createdOn).year)
|
|
|
|
|
.toString()
|
|
|
|
|
: DateTime.now()
|
|
|
|
|
.year)
|
|
|
|
|
.toString(),
|
|
|
|
|
color: Colors
|
|
|
|
|
.green,
|
|
|
|
|
fontSize:
|
|
|
|
|
13.5,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
Helpers.getMonth(model.prescriptionList[0].entityList[index].createdOn !=
|
|
|
|
|
null
|
|
|
|
|
? (DateTime.parse(model.prescriptionList[0].entityList[index].createdOn)
|
|
|
|
|
.month)
|
|
|
|
|
: DateTime.now()
|
|
|
|
|
.month)
|
|
|
|
|
.toUpperCase(),
|
|
|
|
|
color: Colors
|
|
|
|
|
.green,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
DateTime.parse(model
|
|
|
|
|
.prescriptionList[
|
|
|
|
|
@ -252,6 +240,18 @@ class _NewPrescriptionScreenState extends State<NewPrescriptionScreen> {
|
|
|
|
|
.entityList[
|
|
|
|
|
index]
|
|
|
|
|
.createdOn)
|
|
|
|
|
.day
|
|
|
|
|
.toString(),
|
|
|
|
|
color: Colors
|
|
|
|
|
.green,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
Helpers.getTimeFormated(DateTime.parse(model
|
|
|
|
|
.prescriptionList[
|
|
|
|
|
0]
|
|
|
|
|
.entityList[
|
|
|
|
|
index]
|
|
|
|
|
.createdOn))
|
|
|
|
|
.toString(),
|
|
|
|
|
color: Colors
|
|
|
|
|
.green,
|
|
|
|
|
@ -446,7 +446,7 @@ class _NewPrescriptionScreenState extends State<NewPrescriptionScreen> {
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
'BOX Quantity: ',
|
|
|
|
|
'pharmacy Intervention ',
|
|
|
|
|
fontWeight:
|
|
|
|
|
FontWeight
|
|
|
|
|
.w700,
|
|
|
|
|
|