|
|
@ -107,7 +107,6 @@ class _DentalComplaintsState extends State<DentalComplaints> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
return tableRow;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
getLanguageID() async {
|
|
|
|
getLanguageID() async {
|
|
|
@ -138,6 +137,72 @@ class _DentalComplaintsState extends State<DentalComplaints> {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<TableRow> getProceduresData() {
|
|
|
|
|
|
|
|
List<TableRow> tableRow = [];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tableRow.add(
|
|
|
|
|
|
|
|
TableRow(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
Container(
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
|
|
|
|
child: Text(TranslationBase.of(context).procedureName, style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold, fontSize: 14.0)),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
Container(
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
margin: EdgeInsets.only(bottom: 10.0),
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
|
|
|
|
child: Text(TranslationBase.of(context).timeNeeded, style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold, fontSize: 14.0)),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
dentalProceduresModel.listIsPatientHasOnGoingEstimation.forEach((procedure) {
|
|
|
|
|
|
|
|
tableRow.add(TableRow(children: [
|
|
|
|
|
|
|
|
Container(
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
|
|
|
|
child: Text(procedure.procedureName, textAlign: TextAlign.center, style: TextStyle(color: Colors.black, fontSize: 14.0)),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
Container(
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
|
|
|
|
child: Text(procedure.neededTime.toString() + " mins", textAlign: TextAlign.center, style: TextStyle(color: Colors.black, fontSize: 14.0)),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
]));
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
tableRow.add(
|
|
|
|
|
|
|
|
TableRow(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
Container(
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
|
|
|
|
child: Text(TranslationBase.of(context).totalTimeNeeded, textAlign: TextAlign.center, style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold, fontSize: 14.0)),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
Container(
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
margin: EdgeInsets.only(bottom: 10.0),
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
|
|
|
|
child: Text(totalAppointmentTime.toString() + " mins", textAlign: TextAlign.center, style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold, fontSize: 14.0)),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
return tableRow;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
continueDentalPlan() {
|
|
|
|
continueDentalPlan() {
|
|
|
|
DoctorsListService service = new DoctorsListService();
|
|
|
|
DoctorsListService service = new DoctorsListService();
|
|
|
|
|
|
|
|
|
|
|
|