updates & fixes

Dev_3.3_MedicalReportCR
haroon amjad 3 years ago
parent 275c99a4ce
commit 38661621e3

@ -29,7 +29,7 @@ class ReportsService extends BaseService {
} }
Future getInPatientReports() async { Future getInPatientReports() async {
RequestReports _requestReportsInpatient = RequestReports(isReport: true, encounterType: 2, requestType: 2, patientOutSA: 0, projectID: 0); RequestReports _requestReportsInpatient = RequestReports(isReport: true, encounterType: 2, requestType: 1, patientOutSA: 0, projectID: 0);
hasError = false; hasError = false;
await baseAppClient.post(REPORTS, onSuccess: (dynamic response, int statusCode) { await baseAppClient.post(REPORTS, onSuccess: (dynamic response, int statusCode) {
inpatientReportsList.clear(); inpatientReportsList.clear();
@ -137,7 +137,7 @@ class ReportsService extends BaseService {
body['ProjectID'] = projectID; body['ProjectID'] = projectID;
body['Remarks'] = ""; body['Remarks'] = "";
body['ProcedureId'] = ""; body['ProcedureId'] = "";
body['RequestType'] = 2; body['RequestType'] = 1;
body['Source'] = 2; body['Source'] = 2;
body['Status'] = 1; body['Status'] = 1;
body['CreatedBy'] = 102; body['CreatedBy'] = 102;

@ -106,7 +106,7 @@ class MyBalancePage extends StatelessWidget {
), ),
), ),
Text( Text(
TranslationBase.of(context).sar, projectViewModel.user.outSA == 1 ? TranslationBase.of(context).aed : TranslationBase.of(context).sar,
style: TextStyle( style: TextStyle(
fontSize: 16, fontSize: 16,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
@ -157,7 +157,7 @@ class MyBalancePage extends StatelessWidget {
), ),
), ),
Text( Text(
amount.toStringAsFixed(2) + " " + TranslationBase.of(context).sar, amount.toStringAsFixed(2) + " " + (projectViewModel.user.outSA == 1 ? TranslationBase.of(context).aed : TranslationBase.of(context).sar),
style: TextStyle( style: TextStyle(
fontSize: 16, fontSize: 16,
letterSpacing: -0.64, letterSpacing: -0.64,

Loading…
Cancel
Save