fix : location details

This commit is contained in:
2025-08-03 10:07:15 +03:30
parent f862c93c73
commit 2800634cab
2 changed files with 8 additions and 2 deletions

View File

@@ -13,14 +13,15 @@ extension XString on String {
} }
String get addCountEXT { String get addCountEXT {
return '$thisعدد'; return '$this قطعه';
} }
String get addDayEXT { String get addDayEXT {
return '$thisروزه'; return '$thisروزه';
} }
String get addKgEXT { String get addKgEXT {
return '$thisکیلوگرم'; return '$this کیلوگرم';
} }
DateTime get toDateTime => DateTime.parse(this); DateTime get toDateTime => DateTime.parse(this);

View File

@@ -556,6 +556,11 @@ class MapPage extends GetView<MapLogic> {
value: hatchingDetails?.killedQuantity.separatedByComma.addCountEXT ?? 'N/A', value: hatchingDetails?.killedQuantity.separatedByComma.addCountEXT ?? 'N/A',
), ),
buildRow(
title: 'میانگین وزن کشتار',
value: hatchingDetails?.totalAverageKilledWeight.toString().addKgEXT ?? 'N/A',
),
buildRow( buildRow(
title: 'وزن کشتار', title: 'وزن کشتار',
value: hatchingDetails?.totalKilledWeight.separatedByComma.addKgEXT ?? 'N/A', value: hatchingDetails?.totalKilledWeight.separatedByComma.addKgEXT ?? 'N/A',