|
|
|
@ -7,9 +7,12 @@ import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer
|
|
|
|
|
import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/add_new_address_Request_Model.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/core/viewModels/medical/PrescriptionDeliveryViewModel.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/cmc_location_page.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/location_page.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/pages/base/base_view.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/theme/colors.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/utils_new.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/widgets/buttons/button.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/widgets/dialogs/select_location_dialog.dart';
|
|
|
|
@ -28,20 +31,13 @@ class PrescriptionDeliveryAddressPage extends StatefulWidget {
|
|
|
|
|
final List<PrescriptionReport> prescriptionReportList;
|
|
|
|
|
final List<PrescriptionReportEnh> prescriptionReportEnhList;
|
|
|
|
|
|
|
|
|
|
const PrescriptionDeliveryAddressPage(
|
|
|
|
|
{Key key,
|
|
|
|
|
this.prescriptions,
|
|
|
|
|
this.prescriptionReportList,
|
|
|
|
|
this.prescriptionReportEnhList})
|
|
|
|
|
: super(key: key);
|
|
|
|
|
const PrescriptionDeliveryAddressPage({Key key, this.prescriptions, this.prescriptionReportList, this.prescriptionReportEnhList}) : super(key: key);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
_PrescriptionDeliveryAddressPageState createState() =>
|
|
|
|
|
_PrescriptionDeliveryAddressPageState();
|
|
|
|
|
_PrescriptionDeliveryAddressPageState createState() => _PrescriptionDeliveryAddressPageState();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class _PrescriptionDeliveryAddressPageState
|
|
|
|
|
extends State<PrescriptionDeliveryAddressPage> {
|
|
|
|
|
class _PrescriptionDeliveryAddressPageState extends State<PrescriptionDeliveryAddressPage> {
|
|
|
|
|
AddressInfo _selectedAddress;
|
|
|
|
|
Completer<GoogleMapController> _controller = Completer();
|
|
|
|
|
|
|
|
|
@ -79,218 +75,252 @@ class _PrescriptionDeliveryAddressPageState
|
|
|
|
|
return BaseView<PrescriptionDeliveryViewModel>(
|
|
|
|
|
onModelReady: (model) => model.getCustomerInfo(),
|
|
|
|
|
builder: (_, model, w) => AppScaffold(
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
appBarTitle: TranslationBase.of(context).shippingAddresss,
|
|
|
|
|
baseViewModel: model,
|
|
|
|
|
body: Container(
|
|
|
|
|
height: MediaQuery.of(context).size.height * 0.65,
|
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 8,
|
|
|
|
|
),
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
confirmSelectLocationDialog(model.addressesList);
|
|
|
|
|
},
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.only(left: 10, right: 10, top: 15),
|
|
|
|
|
height: 50,
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
border: Border.all(color: Colors.grey),
|
|
|
|
|
borderRadius: BorderRadius.circular(7),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
shape: BoxShape.rectangle,
|
|
|
|
|
),
|
|
|
|
|
child: Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
child: Container(
|
|
|
|
|
child: Text(
|
|
|
|
|
getAddressName(),
|
|
|
|
|
),
|
|
|
|
|
margin: EdgeInsets.only(left: 10, right: 10),
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
appBarTitle: TranslationBase.of(context).shippingAddresss,
|
|
|
|
|
baseViewModel: model,
|
|
|
|
|
showNewAppBarTitle: true,
|
|
|
|
|
showNewAppBar: true,
|
|
|
|
|
backgroundColor: CustomColors.appBackgroudGrey2Color,
|
|
|
|
|
body: Container(
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
Card(
|
|
|
|
|
margin: EdgeInsets.only(left: 12, right: 12, bottom: 12, top: 12),
|
|
|
|
|
shape: cardRadius(12),
|
|
|
|
|
elevation: 3,
|
|
|
|
|
child: Container(
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () => confirmSelectLocationDialog(model.addressesList),
|
|
|
|
|
child: Container(
|
|
|
|
|
padding: EdgeInsets.all(8),
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
// height: 65,
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
borderRadius: BorderRadius.circular(10),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
child: Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Text(
|
|
|
|
|
getAddressName(),
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
letterSpacing: -0.45,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Icon(Icons.arrow_drop_down)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Icon(
|
|
|
|
|
Icons.arrow_drop_down,
|
|
|
|
|
size: 22,
|
|
|
|
|
color: Colors.grey,
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
height: 50,
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 10,
|
|
|
|
|
),
|
|
|
|
|
_selectedAddress == null
|
|
|
|
|
? Container(
|
|
|
|
|
child: Image.asset(
|
|
|
|
|
projectViewModel.isArabic
|
|
|
|
|
? 'assets/images/pharmacy/shipping_image_ar.png'
|
|
|
|
|
: 'assets/images/pharmacy/shipping_image.png',
|
|
|
|
|
height: 300,
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
: Padding(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
child: Container(
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
border: Border.all(color: Colors.grey)),
|
|
|
|
|
height: 200,
|
|
|
|
|
child: GoogleMap(
|
|
|
|
|
mapType: MapType.normal,
|
|
|
|
|
markers: markers,
|
|
|
|
|
initialCameraPosition: _kGooglePlex,
|
|
|
|
|
onMapCreated:
|
|
|
|
|
(GoogleMapController controller) {
|
|
|
|
|
_controller.complete(controller);
|
|
|
|
|
},
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: () async {
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
FadePage(
|
|
|
|
|
page: LocationPage(
|
|
|
|
|
latitude: latitude,
|
|
|
|
|
longitude: longitude,
|
|
|
|
|
)),
|
|
|
|
|
).then((value) {
|
|
|
|
|
if (value != null && value is AddNewAddressRequestModel) {
|
|
|
|
|
setState(() {
|
|
|
|
|
_selectedAddress = AddressInfo(
|
|
|
|
|
id: value.customer.id.toString(),
|
|
|
|
|
email: value.customer.email,
|
|
|
|
|
firstName: value.customer.addresses[0].firstName,
|
|
|
|
|
lastName: value.customer.addresses[0].lastName,
|
|
|
|
|
address1: value.customer.addresses[0].address1,
|
|
|
|
|
address2: value.customer.addresses[0].address2,
|
|
|
|
|
city: value.customer.addresses[0].city,
|
|
|
|
|
country: value.customer.addresses[0].country,
|
|
|
|
|
phoneNumber: value.customer.addresses[0].phoneNumber,
|
|
|
|
|
latLong: value.customer.addresses[0].latLong,
|
|
|
|
|
company: value.customer.addresses[0].company,
|
|
|
|
|
countryId: value.customer.addresses[0].countryId,
|
|
|
|
|
createdOnUtc: value.customer.addresses[0].createdOnUtc,
|
|
|
|
|
customerAttributes: value.customer.addresses[0].customerAttributes,
|
|
|
|
|
faxNumber: value.customer.addresses[0].faxNumber,
|
|
|
|
|
province: value.customer.addresses[0].province,
|
|
|
|
|
stateProvinceId: value.customer.addresses[0].stateProvinceId,
|
|
|
|
|
zipPostalCode: value.customer.addresses[0].zipPostalCode,
|
|
|
|
|
);
|
|
|
|
|
List latLongArr = _selectedAddress.latLong.split(',');
|
|
|
|
|
|
|
|
|
|
latitude = double.parse(latLongArr[0]);
|
|
|
|
|
longitude = double.parse(latLongArr[1]);
|
|
|
|
|
markers = Set();
|
|
|
|
|
markers.add(
|
|
|
|
|
Marker(
|
|
|
|
|
markerId: MarkerId(
|
|
|
|
|
_selectedAddress.latLong.hashCode.toString(),
|
|
|
|
|
),
|
|
|
|
|
position: LatLng(latitude, longitude),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
_kGooglePlex = CameraPosition(
|
|
|
|
|
target: LatLng(latitude, longitude),
|
|
|
|
|
zoom: 14.4746,
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: EdgeInsets.only(left: 12, right: 12, bottom: 16, top: 8),
|
|
|
|
|
child: Row(
|
|
|
|
|
children: [
|
|
|
|
|
Icon(Icons.add_circle_outline_sharp),
|
|
|
|
|
mWidth(12),
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context).addNewAddress,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
letterSpacing: -0.46,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 10,
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
TranslationBase.of(context).shippingAddresss),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 10,
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
'${model.user.firstName} ${model.user.lastName}'),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 10,
|
|
|
|
|
),
|
|
|
|
|
Texts(_selectedAddress.address1),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 10,
|
|
|
|
|
),
|
|
|
|
|
Texts(_selectedAddress.address2),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 10,
|
|
|
|
|
),
|
|
|
|
|
Texts(_selectedAddress.city +
|
|
|
|
|
" " +
|
|
|
|
|
_selectedAddress.country),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
if (_selectedAddress != null)
|
|
|
|
|
Card(
|
|
|
|
|
shape: cardRadius(12),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
margin: EdgeInsets.all(12),
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: const EdgeInsets.all(12.0),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Texts(
|
|
|
|
|
TranslationBase.of(context).selectAddress + ":",
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
color: CustomColors.grey,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
mHeight(12),
|
|
|
|
|
Container(
|
|
|
|
|
height: 175,
|
|
|
|
|
decoration: containerColorRadiusBorder(Colors.white, 12, Colors.grey),
|
|
|
|
|
clipBehavior: Clip.antiAlias,
|
|
|
|
|
child: Card(
|
|
|
|
|
shape: cardRadius(12),
|
|
|
|
|
clipBehavior: Clip.antiAlias,
|
|
|
|
|
elevation: 0,
|
|
|
|
|
margin: const EdgeInsets.all(0),
|
|
|
|
|
// child: GoogleMap(
|
|
|
|
|
// mapType: MapType.normal,
|
|
|
|
|
// markers: markers,
|
|
|
|
|
// initialCameraPosition: _kGooglePlex,
|
|
|
|
|
// onMapCreated: (GoogleMapController controller) {
|
|
|
|
|
// _controller.complete(controller);
|
|
|
|
|
// },
|
|
|
|
|
// ),
|
|
|
|
|
child: Image.network(
|
|
|
|
|
"https://maps.googleapis.com/maps/api/staticmap?center=" +
|
|
|
|
|
_kGooglePlex.target.latitude.toString() +
|
|
|
|
|
"," +
|
|
|
|
|
_kGooglePlex.target.longitude.toString() +
|
|
|
|
|
"&zoom=16&size=600x300&maptype=roadmap&markers=color:red%7C" +
|
|
|
|
|
_kGooglePlex.target.latitude.toString() +
|
|
|
|
|
"," +
|
|
|
|
|
_kGooglePlex.target.longitude.toString() +
|
|
|
|
|
"&key=AIzaSyCyDbWUM9d_sBUGIE8PcuShzPaqO08NSC8",
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: double.infinity,
|
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 10,
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
TranslationBase.of(context).shippingAddresss + ":",
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
color: CustomColors.grey,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 2,
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
'${model.user.firstName} ${model.user.lastName}',
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
_selectedAddress.address1,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
_selectedAddress.address2,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
_selectedAddress.city + " " + _selectedAddress.country,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
bottomSheet: Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: MediaQuery.of(context).size.height * 0.25,
|
|
|
|
|
color: Colors.grey[100],
|
|
|
|
|
child: Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Divider(),
|
|
|
|
|
Container(
|
|
|
|
|
width: MediaQuery.of(context).size.width * 0.8,
|
|
|
|
|
Card(
|
|
|
|
|
shape: cardRadius(0),
|
|
|
|
|
margin: EdgeInsets.zero,
|
|
|
|
|
elevation: 20,
|
|
|
|
|
child: Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
padding: EdgeInsets.only(left: 16, right: 16, top: 16),
|
|
|
|
|
child: Button(
|
|
|
|
|
label:
|
|
|
|
|
TranslationBase.of(context).addNewAddress.toUpperCase(),
|
|
|
|
|
label: TranslationBase.of(context).continues.toUpperCase(),
|
|
|
|
|
disabled: _selectedAddress == null,
|
|
|
|
|
backgroundColor: _selectedAddress == null ? CustomColors.grey2 : CustomColors.accentColor,
|
|
|
|
|
onTap: () {
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
FadePage(
|
|
|
|
|
page: LocationPage(
|
|
|
|
|
latitude: latitude,
|
|
|
|
|
longitude: longitude,
|
|
|
|
|
)),
|
|
|
|
|
).then((value) {
|
|
|
|
|
if (value != null &&
|
|
|
|
|
value is AddNewAddressRequestModel) {
|
|
|
|
|
setState(() {
|
|
|
|
|
_selectedAddress = AddressInfo(
|
|
|
|
|
id: value.customer.id.toString(),
|
|
|
|
|
email: value.customer.email,
|
|
|
|
|
firstName: value.customer.addresses[0].firstName,
|
|
|
|
|
lastName: value.customer.addresses[0].lastName,
|
|
|
|
|
address1: value.customer.addresses[0].address1,
|
|
|
|
|
address2: value.customer.addresses[0].address2,
|
|
|
|
|
city: value.customer.addresses[0].city,
|
|
|
|
|
country: value.customer.addresses[0].country,
|
|
|
|
|
phoneNumber: value.customer.addresses[0].phoneNumber,
|
|
|
|
|
latLong: value.customer.addresses[0].latLong,
|
|
|
|
|
company: value.customer.addresses[0].company,
|
|
|
|
|
countryId: value.customer.addresses[0].countryId,
|
|
|
|
|
createdOnUtc: value.customer.addresses[0].createdOnUtc,
|
|
|
|
|
customerAttributes: value.customer.addresses[0].customerAttributes,
|
|
|
|
|
faxNumber: value.customer.addresses[0].faxNumber,
|
|
|
|
|
province: value.customer.addresses[0].province,
|
|
|
|
|
stateProvinceId: value.customer.addresses[0].stateProvinceId,
|
|
|
|
|
zipPostalCode: value.customer.addresses[0].zipPostalCode,
|
|
|
|
|
|
|
|
|
|
);
|
|
|
|
|
List latLongArr = _selectedAddress.latLong.split(',');
|
|
|
|
|
|
|
|
|
|
latitude = double.parse(latLongArr[0]);
|
|
|
|
|
longitude = double.parse(latLongArr[1]);
|
|
|
|
|
markers = Set();
|
|
|
|
|
markers.add(
|
|
|
|
|
Marker(
|
|
|
|
|
markerId: MarkerId(
|
|
|
|
|
_selectedAddress.latLong.hashCode.toString(),
|
|
|
|
|
),
|
|
|
|
|
position: LatLng(latitude, longitude),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
_kGooglePlex = CameraPosition(
|
|
|
|
|
target: LatLng(latitude, longitude),
|
|
|
|
|
zoom: 14.4746,
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
page: PrescriptionOrderOverview(
|
|
|
|
|
latitude: latitude,
|
|
|
|
|
longitude: longitude,
|
|
|
|
|
prescriptionReportEnhList: widget.prescriptionReportEnhList,
|
|
|
|
|
prescriptionReportList: widget.prescriptionReportList,
|
|
|
|
|
prescriptions: widget.prescriptions,
|
|
|
|
|
selectedAddress: _selectedAddress,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
width: MediaQuery.of(context).size.width * 0.8,
|
|
|
|
|
child: Button(
|
|
|
|
|
label:
|
|
|
|
|
TranslationBase.of(context).continues.toUpperCase(),
|
|
|
|
|
disabled: _selectedAddress == null,
|
|
|
|
|
backgroundColor: _selectedAddress == null
|
|
|
|
|
? Colors.green[300]
|
|
|
|
|
: Colors.green[700],
|
|
|
|
|
onTap: () {
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
FadePage(
|
|
|
|
|
page: PrescriptionOrderOverview(
|
|
|
|
|
latitude: latitude,
|
|
|
|
|
longitude: longitude,
|
|
|
|
|
prescriptionReportEnhList:
|
|
|
|
|
widget.prescriptionReportEnhList,
|
|
|
|
|
prescriptionReportList:
|
|
|
|
|
widget.prescriptionReportList,
|
|
|
|
|
prescriptions: widget.prescriptions,
|
|
|
|
|
selectedAddress: _selectedAddress,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
))
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
)),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|