Merge branch 'sultan' into 'development'

bug fix

See merge request Cloud_Solution/doctor_app_flutter!446
merge-requests/447/merge
Mohammad Aljammal 5 years ago
commit 887eac5401

@ -35,7 +35,8 @@ class AddSickLeavScreen extends StatelessWidget {
child: Column(children: [
PatientProfileHeaderNewDesign(
patient, routeArgs['patientType'], routeArgs['arrivalType']),
Column(
patient.patientStatusType == 43
? Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
@ -86,7 +87,8 @@ class AddSickLeavScreen extends StatelessWidget {
)),
Padding(
child: AppText(
TranslationBase.of(context).noSickLeaveApplied,
TranslationBase.of(context)
.noSickLeaveApplied,
fontWeight: FontWeight.bold,
fontFamily: 'Poppins',
fontSize: 16,
@ -97,7 +99,8 @@ class AddSickLeavScreen extends StatelessWidget {
],
)),
],
),
)
: SizedBox(),
model.getAllSIckLeave.length > 0
? Column(
children: model.getAllSIckLeave

Loading…
Cancel
Save