From 625fae4d5a5ed3700aafe5722b7b57e78522abe5 Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Mon, 21 Jul 2025 18:53:24 +0200 Subject: [PATCH] use business as param --- .../mih_business_details_view.dart | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details_view.dart b/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details_view.dart index 89ce09fd..fb182804 100644 --- a/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details_view.dart +++ b/Frontend/lib/mih_packages/mzansi_profile/business_profile/package_tools/mih_business_details_view.dart @@ -162,15 +162,16 @@ class _MihBusinessDetailsViewState extends State { SizedBox( width: 700, child: MihBusinessCard( - businessid: widget.business.business_id, - businessName: widget.business.Name, - cellNumber: widget.business.contact_no, - email: widget.business.bus_email, - gpsLocation: widget.business.gps_location, - rating: widget.business.rating.isNotEmpty - ? double.parse(widget.business.rating) - : 0, - website: widget.business.website, + business: widget.business, + // businessid: widget.business.business_id, + // businessName: widget.business.Name, + // cellNumber: widget.business.contact_no, + // email: widget.business.bus_email, + // gpsLocation: widget.business.gps_location, + // rating: widget.business.rating.isNotEmpty + // ? double.parse(widget.business.rating) + // : 0, + // website: widget.business.website, width: width, ), ),