|
|
|
|
@ -44,47 +44,47 @@ class AssetDetailCardView extends StatelessWidget {
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
|
|
|
|
'${context.translation.assetNumber}: ${assetInventoryModel.assetNumber ?? '-'}',
|
|
|
|
|
'${context.translation.assetNumber}: ${assetInventoryModel.assetNumber ?? '-'}',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'${context.translation.serialNo}: ${assetInventoryModel.serialNo ?? '-'}',
|
|
|
|
|
'${context.translation.serialNo}: ${assetInventoryModel.serialNo ?? '-'}',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'${context.translation.manufacture}: ${assetInventoryModel.manufacturer ?? ''}',
|
|
|
|
|
'${context.translation.manufacture}: ${assetInventoryModel.manufacturer ?? ''}',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'${context.translation.model}: ${assetInventoryModel.model ?? ''}',
|
|
|
|
|
'${context.translation.model}: ${assetInventoryModel.model ?? ''}',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'${context.translation.site}: ${assetInventoryModel.siteName ?? ''}',
|
|
|
|
|
'${context.translation.site}: ${assetInventoryModel.siteName ?? ''}',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'${context.translation.building}: ${assetInventoryModel.buildingName ?? ''}',
|
|
|
|
|
'${context.translation.building}: ${assetInventoryModel.buildingName ?? ''}',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'${context.translation.floor}: ${assetInventoryModel.floorName ?? ''}',
|
|
|
|
|
'${context.translation.floor}: ${assetInventoryModel.floorName ?? ''}',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'${context.translation.department}: ${assetInventoryModel.departmentName ?? ''}',
|
|
|
|
|
'${context.translation.department}: ${assetInventoryModel.departmentName ?? ''}',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'${context.translation.supplier}: ${assetInventoryModel.supplierName ?? ''}',
|
|
|
|
|
'${context.translation.supplier}: ${assetInventoryModel.supplierName ?? ''}',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'${'Classifications'.addTranslation}: ${assetInventoryModel.status ?? ''}',
|
|
|
|
|
'${'Classifications'.addTranslation}: ${assetInventoryModel.status ?? ''}',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
'${'Remarks'.addTranslation}: ${assetInventoryModel.remarks ?? ''}',
|
|
|
|
|
'${'Remarks'.addTranslation}: ${assetInventoryModel.remarks ?? ''}',
|
|
|
|
|
style: AppTextStyles.bodyText.copyWith(color: context.isDark ? AppColor.neutral10 : AppColor.neutral120),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
|