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 {
return '$thisعدد';
return '$this قطعه';
}
String get addDayEXT {
return '$thisروزه';
}
String get addKgEXT {
return '$thisکیلوگرم';
return '$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',
),
buildRow(
title: 'میانگین وزن کشتار',
value: hatchingDetails?.totalAverageKilledWeight.toString().addKgEXT ?? 'N/A',
),
buildRow(
title: 'وزن کشتار',
value: hatchingDetails?.totalKilledWeight.separatedByComma.addKgEXT ?? 'N/A',