ER Online CheckIn implementation Contd
parent
704d691816
commit
f5df1b1d01
@ -0,0 +1,96 @@
|
|||||||
|
class EROnlineCheckInPaymentDetailsResponse {
|
||||||
|
int cashPrice;
|
||||||
|
int cashPriceTax;
|
||||||
|
int cashPriceWithTax;
|
||||||
|
int companyId;
|
||||||
|
String companyName;
|
||||||
|
int companyShareWithTax;
|
||||||
|
Null errCode;
|
||||||
|
int groupID;
|
||||||
|
String insurancePolicyNo;
|
||||||
|
String message;
|
||||||
|
String patientCardID;
|
||||||
|
double patientShare;
|
||||||
|
double patientShareWithTax;
|
||||||
|
double patientTaxAmount;
|
||||||
|
int policyId;
|
||||||
|
String policyName;
|
||||||
|
String procedureId;
|
||||||
|
String procedureName;
|
||||||
|
Null setupID;
|
||||||
|
int statusCode;
|
||||||
|
String subPolicyNo;
|
||||||
|
|
||||||
|
EROnlineCheckInPaymentDetailsResponse(
|
||||||
|
{this.cashPrice,
|
||||||
|
this.cashPriceTax,
|
||||||
|
this.cashPriceWithTax,
|
||||||
|
this.companyId,
|
||||||
|
this.companyName,
|
||||||
|
this.companyShareWithTax,
|
||||||
|
this.errCode,
|
||||||
|
this.groupID,
|
||||||
|
this.insurancePolicyNo,
|
||||||
|
this.message,
|
||||||
|
this.patientCardID,
|
||||||
|
this.patientShare,
|
||||||
|
this.patientShareWithTax,
|
||||||
|
this.patientTaxAmount,
|
||||||
|
this.policyId,
|
||||||
|
this.policyName,
|
||||||
|
this.procedureId,
|
||||||
|
this.procedureName,
|
||||||
|
this.setupID,
|
||||||
|
this.statusCode,
|
||||||
|
this.subPolicyNo});
|
||||||
|
|
||||||
|
EROnlineCheckInPaymentDetailsResponse.fromJson(Map<String, dynamic> json) {
|
||||||
|
cashPrice = json['CashPrice'];
|
||||||
|
cashPriceTax = json['CashPriceTax'];
|
||||||
|
cashPriceWithTax = json['CashPriceWithTax'];
|
||||||
|
companyId = json['CompanyId'];
|
||||||
|
companyName = json['CompanyName'];
|
||||||
|
companyShareWithTax = json['CompanyShareWithTax'];
|
||||||
|
errCode = json['ErrCode'];
|
||||||
|
groupID = json['GroupID'];
|
||||||
|
insurancePolicyNo = json['InsurancePolicyNo'];
|
||||||
|
message = json['Message'];
|
||||||
|
patientCardID = json['PatientCardID'];
|
||||||
|
patientShare = json['PatientShare'];
|
||||||
|
patientShareWithTax = json['PatientShareWithTax'];
|
||||||
|
patientTaxAmount = json['PatientTaxAmount'];
|
||||||
|
policyId = json['PolicyId'];
|
||||||
|
policyName = json['PolicyName'];
|
||||||
|
procedureId = json['ProcedureId'];
|
||||||
|
procedureName = json['ProcedureName'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
statusCode = json['StatusCode'];
|
||||||
|
subPolicyNo = json['SubPolicyNo'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['CashPrice'] = this.cashPrice;
|
||||||
|
data['CashPriceTax'] = this.cashPriceTax;
|
||||||
|
data['CashPriceWithTax'] = this.cashPriceWithTax;
|
||||||
|
data['CompanyId'] = this.companyId;
|
||||||
|
data['CompanyName'] = this.companyName;
|
||||||
|
data['CompanyShareWithTax'] = this.companyShareWithTax;
|
||||||
|
data['ErrCode'] = this.errCode;
|
||||||
|
data['GroupID'] = this.groupID;
|
||||||
|
data['InsurancePolicyNo'] = this.insurancePolicyNo;
|
||||||
|
data['Message'] = this.message;
|
||||||
|
data['PatientCardID'] = this.patientCardID;
|
||||||
|
data['PatientShare'] = this.patientShare;
|
||||||
|
data['PatientShareWithTax'] = this.patientShareWithTax;
|
||||||
|
data['PatientTaxAmount'] = this.patientTaxAmount;
|
||||||
|
data['PolicyId'] = this.policyId;
|
||||||
|
data['PolicyName'] = this.policyName;
|
||||||
|
data['ProcedureId'] = this.procedureId;
|
||||||
|
data['ProcedureName'] = this.procedureName;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['StatusCode'] = this.statusCode;
|
||||||
|
data['SubPolicyNo'] = this.subPolicyNo;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,36 @@
|
|||||||
|
import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart';
|
||||||
|
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:provider/provider.dart';
|
||||||
|
|
||||||
|
class EROnlineCheckInBookAppointment extends StatefulWidget {
|
||||||
|
const EROnlineCheckInBookAppointment();
|
||||||
|
|
||||||
|
@override
|
||||||
|
State<EROnlineCheckInBookAppointment> createState() => _EROnlineCheckInBookAppointmentState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _EROnlineCheckInBookAppointmentState extends State<EROnlineCheckInBookAppointment> {
|
||||||
|
ProjectViewModel projectViewModel;
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
projectViewModel = Provider.of(context);
|
||||||
|
return AppScaffold(
|
||||||
|
isShowAppBar: true,
|
||||||
|
appBarTitle: TranslationBase.of(context).emergency + " ${TranslationBase.of(context).checkinOptions}",
|
||||||
|
isShowDecPage: false,
|
||||||
|
showNewAppBar: true,
|
||||||
|
showNewAppBarTitle: true,
|
||||||
|
backgroundColor: Color(0xffF8F8F8),
|
||||||
|
body: Padding(
|
||||||
|
padding: EdgeInsets.all(16),
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue