refactor : rename files and update routes for poultry actions

feat : poultry kill registration and poultry OrderList

** Made With Nima **
This commit is contained in:
2025-09-16 15:47:35 +03:30
parent 87a0955697
commit e933d22f8f
81 changed files with 22780 additions and 192 deletions

View File

@@ -549,7 +549,7 @@ Widget cardWithLabel({
children: [
Text(title, style: AppFonts.yekan12.copyWith(color: AppColor.textColor)),
Text(
count.separatedByComma,
count.separatedByCommaFa,
style: AppFonts.yekan16.copyWith(color: AppColor.textColor),
),
Text(unit, style: AppFonts.yekan12.copyWith(color: AppColor.textColor)),

View File

@@ -426,7 +426,7 @@ class MapPage extends GetView<MapLogic> {
),
buildRow(
title: 'باقیمانده',
value: '${location.hatching?.first.leftOver.separatedByComma ?? 'N/A'} عدد',
value: '${location.hatching?.first.leftOver.separatedByCommaFa ?? 'N/A'} عدد',
),
buildRow(
title: 'سن جوجه ریزی',
@@ -523,21 +523,21 @@ class MapPage extends GetView<MapLogic> {
buildRow(
title: 'تعداد جوجه ریزی',
value: hatchingDetails?.quantity.separatedByComma.addCountEXT ?? 'N/A',
value: hatchingDetails?.quantity.separatedByCommaFa.addCountEXT ?? 'N/A',
),
buildRow(
title: 'تلفات کل',
value: hatchingDetails?.totalLosses.separatedByComma.addCountEXT ?? 'N/A',
value: hatchingDetails?.totalLosses.separatedByCommaFa.addCountEXT ?? 'N/A',
),
buildRow(
title: 'تلفات دامپزشکی',
value: hatchingDetails?.losses.separatedByComma.addCountEXT ?? 'N/A',
value: hatchingDetails?.losses.separatedByCommaFa.addCountEXT ?? 'N/A',
),
buildRow(
title: 'باقیمانده در سالن',
value: hatchingDetails?.leftOver.separatedByComma.addCountEXT ?? 'N/A',
value: hatchingDetails?.leftOver.separatedByCommaFa.addCountEXT ?? 'N/A',
),
buildRow(title: 'نژاد', value: hatchingDetails?.chickenBreed ?? 'N/A'),
@@ -553,7 +553,7 @@ class MapPage extends GetView<MapLogic> {
buildRow(
title: 'تعداد کشتار',
value: hatchingDetails?.killedQuantity.separatedByComma.addCountEXT ?? 'N/A',
value: hatchingDetails?.killedQuantity.separatedByCommaFa.addCountEXT ?? 'N/A',
),
buildRow(
@@ -563,7 +563,7 @@ class MapPage extends GetView<MapLogic> {
buildRow(
title: 'وزن کشتار',
value: hatchingDetails?.totalKilledWeight.separatedByComma.addKgEXT ?? 'N/A',
value: hatchingDetails?.totalKilledWeight.separatedByCommaFa.addKgEXT ?? 'N/A',
),
],
);

View File

@@ -168,7 +168,7 @@ class StatisticsPage extends GetView<StatisticsLogic> {
title: 'تعداد تراکنش ها',
titleColor: AppColor.blueNormal,
isLoading: data.value == null,
description: 25369654.separatedByComma,
description: 25369654.separatedByCommaFa,
iconPath: Assets.vec.cubeScanSvg.path,
bgDescriptionColor: Colors.white,
gradient: LinearGradient(
@@ -186,7 +186,7 @@ class StatisticsPage extends GetView<StatisticsLogic> {
return _informationLabelCard(
title: 'جمع تراکنش ها',
isLoading: data.value == null,
description: data.value.separatedByComma ?? '0',
description: data.value.separatedByCommaFa ?? '0',
unit: 'ريال',
iconPath: Assets.vec.cubeCardSvg.path,
bgDescriptionColor: Colors.white,