ui fix discharged patient card

merge-requests/909/head
hussam al-habibeh 4 years ago
parent e2cde9a39f
commit 118d367b4c

@ -36,13 +36,13 @@ class _AllDischargeSummaryState extends State<AllDischargeSummary> {
body: // DrAppEmbeddedError(error: TranslationBase.of(context).noItem) body: // DrAppEmbeddedError(error: TranslationBase.of(context).noItem)
model.allDisChargeSummaryList.isEmpty model.allDisChargeSummaryList.isEmpty
? Center( ? Center(
child: ErrorMessage( child: ErrorMessage(
error: TranslationBase.of(context).noDataAvailable), error: TranslationBase.of(context).noDataAvailable),
) )
: Column( : Column(
children: [ children: [
Padding( Padding(
padding: const EdgeInsets.all(8.0), padding: const EdgeInsets.all(12.0),
child: Column( child: Column(
children: [ children: [
Row( Row(

@ -115,7 +115,7 @@ class _DischargeSummaryWidgetState extends State<DischargeSummaryWidget> {
SizedBox( SizedBox(
height: 15.0, height: 15.0,
), ),
AppText(TranslationBase.of(context).moreDetails), //AppText(TranslationBase.of(context).moreDetails),
SizedBox( SizedBox(
height: 15.0, height: 15.0,
), ),

@ -37,14 +37,13 @@ class _PendingDischargeSummaryState extends State<PendingDischargeSummary> {
isShowAppBar: false, isShowAppBar: false,
body: model.pendingDischargeSummaryList.isEmpty body: model.pendingDischargeSummaryList.isEmpty
? Center( ? Center(
child: ErrorMessage( child: ErrorMessage(
error: TranslationBase.of(context) error: TranslationBase.of(context).noDataAvailable),
.noDataAvailable), ) // DrAppEmbeddedError(error: TranslationBase.of(context).noItem)
) // DrAppEmbeddedError(error: TranslationBase.of(context).noItem)
: Column( : Column(
children: [ children: [
Padding( Padding(
padding: const EdgeInsets.all(8.0), padding: EdgeInsets.all(12.0),
child: Column( child: Column(
children: [ children: [
Row( Row(

@ -1477,6 +1477,7 @@ class TranslationBase {
localizedValues['confirmation'][locale.languageCode]; localizedValues['confirmation'][locale.languageCode];
String get diabetic => localizedValues['diabetic'][locale.languageCode]; String get diabetic => localizedValues['diabetic'][locale.languageCode];
String get chart => localizedValues['chart'][locale.languageCode]; String get chart => localizedValues['chart'][locale.languageCode];
String get investigation => String get investigation =>
localizedValues['investigation'][locale.languageCode]; localizedValues['investigation'][locale.languageCode];
String get conditionOnDischarge => String get conditionOnDischarge =>

Loading…
Cancel
Save