|
|
|
@ -10,7 +10,9 @@ import 'package:doctor_app_flutter/util/date-utils.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/util/dr_app_toast_msg.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/util/translations_delegate_base.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/patient-page-header-widget.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/patient-profile-header-new-design-app-bar.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/patient-profile-header-new-design.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/patient_profile_header_with_appointment_card_app_bar.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/card_with_bgNew_widget.dart';
|
|
|
|
@ -29,12 +31,16 @@ class AddSickLeavScreen extends StatelessWidget {
|
|
|
|
|
onModelReady: (model) => model.getSickLeave(patient.patientMRN),
|
|
|
|
|
builder: (_, model, w) => AppScaffold(
|
|
|
|
|
baseViewModel: model,
|
|
|
|
|
isShowAppBar: false,
|
|
|
|
|
appBarTitle: TranslationBase.of(context).sickleave,
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
appBar: PatientProfileHeaderNewDesignAppBar(
|
|
|
|
|
patient,
|
|
|
|
|
routeArgs['patientType'] ?? "0",
|
|
|
|
|
routeArgs['arrivalType'] ?? "0",
|
|
|
|
|
),
|
|
|
|
|
body: SingleChildScrollView(
|
|
|
|
|
child: Column(children: [
|
|
|
|
|
PatientProfileHeaderNewDesign(
|
|
|
|
|
patient, routeArgs['patientType'], routeArgs['arrivalType']),
|
|
|
|
|
// PatientProfileHeaderNewDesign(
|
|
|
|
|
// patient, routeArgs['patientType'], routeArgs['arrivalType']),
|
|
|
|
|
patient.patientStatusType == 43
|
|
|
|
|
? Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|