feat: integrate city poultry feature by adding routes, DI setup, and updating UI components to reflect new data handling and localization changes

This commit is contained in:
2025-12-29 14:26:12 +03:30
parent edde363b6d
commit 9910de4ed8
40 changed files with 2158 additions and 41 deletions

View File

@@ -193,12 +193,12 @@ class ActiveHatchingPage extends GetView<ActiveHatchingLogic> {
spacing: 3,
children: [
Text(
item.poultry?.user?.fullname ?? 'N/A',
item.poultry?.user?.fullname ?? 'ندارد',
textAlign: TextAlign.start,
style: AppFonts.yekan12.copyWith(color: AppColor.blueNormal),
),
Text(
item.poultry?.user?.mobile ?? 'N/A',
item.poultry?.user?.mobile ?? 'ندارد',
textAlign: TextAlign.center,
style: AppFonts.yekan14.copyWith(color: AppColor.bgDark),
),
@@ -213,12 +213,12 @@ class ActiveHatchingPage extends GetView<ActiveHatchingLogic> {
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
item.poultry?.unitName ?? 'N/Aaq',
item.poultry?.unitName ?? 'ندارد',
textAlign: TextAlign.start,
style: AppFonts.yekan12.copyWith(color: AppColor.bgDark),
),
Text(
item.poultry?.licenceNumber ?? 'N/A',
item.licenceNumber ?? 'ندارد',
textAlign: TextAlign.left,
style: AppFonts.yekan12.copyWith(color: AppColor.blueNormal),
),

View File

@@ -24,7 +24,7 @@ class ProvinceOperatorHomeLogic extends GetxController {
ProvinceOperatorHomeItem(
title: "بازرسی مزارع طیور",
route: ProvinceOperatorRoutes.newInspectionProvinceOperator,
icon: Assets.vec.activeFramSvg.path,
icon: Assets.vec.inspectionPoultrySvg.path,
),
].obs;
}