refactor : rename files and update routes for poultry actions
feat : poultry kill registration and poultry OrderList ** Made With Nima **
This commit is contained in:
@@ -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)),
|
||||
|
||||
@@ -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',
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user