|
|
|
@ -2,9 +2,6 @@ import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart';
|
|
|
|
import 'package:diplomaticquarterapp/models/InPatientServices/get_inpatient_advance_requests_response_model.dart';
|
|
|
|
import 'package:diplomaticquarterapp/models/InPatientServices/get_inpatient_advance_requests_response_model.dart';
|
|
|
|
import 'package:diplomaticquarterapp/pages/InPatientServices/components/inpatient_paid_advance_payment.dart';
|
|
|
|
import 'package:diplomaticquarterapp/pages/InPatientServices/components/inpatient_paid_advance_payment.dart';
|
|
|
|
import 'package:diplomaticquarterapp/pages/InPatientServices/components/inpatient_pending_advance_payment.dart';
|
|
|
|
import 'package:diplomaticquarterapp/pages/InPatientServices/components/inpatient_pending_advance_payment.dart';
|
|
|
|
import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart';
|
|
|
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/app_toast.dart';
|
|
|
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart';
|
|
|
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
|
|
|
|
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
|
|
|
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
|
|
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
@ -12,8 +9,9 @@ import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
|
|
class InPatientAdvancePayment extends StatefulWidget {
|
|
|
|
class InPatientAdvancePayment extends StatefulWidget {
|
|
|
|
InPatientAdvanceResponseModel inPatientAdvanceResponseModel;
|
|
|
|
InPatientAdvanceResponseModel inPatientAdvanceResponseModel;
|
|
|
|
|
|
|
|
bool isHasData;
|
|
|
|
|
|
|
|
|
|
|
|
InPatientAdvancePayment({@required this.inPatientAdvanceResponseModel});
|
|
|
|
InPatientAdvancePayment({this.isHasData, this.inPatientAdvanceResponseModel});
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
State<InPatientAdvancePayment> createState() => _InPatientAdvancePaymentState();
|
|
|
|
State<InPatientAdvancePayment> createState() => _InPatientAdvancePaymentState();
|
|
|
|
@ -67,7 +65,7 @@ class _InPatientAdvancePaymentState extends State<InPatientAdvancePayment> with
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
controller: _tabController,
|
|
|
|
controller: _tabController,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
InPatientPendingAdvancePayment(inPatientAdvanceResponseModel: widget.inPatientAdvanceResponseModel),
|
|
|
|
InPatientPendingAdvancePayment(isHasData: widget.isHasData, inPatientAdvanceResponseModel: widget.inPatientAdvanceResponseModel),
|
|
|
|
InPatientPaidAdvancePayment(),
|
|
|
|
InPatientPaidAdvancePayment(),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|