merge-requests/446/head
Sultan Khan 5 years ago
parent 4af6e45c97
commit 3ca9f33df4

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