|
|
|
@ -70,6 +70,7 @@ class _PpmDetailsPageState extends State<PpmDetailsPage> {
|
|
|
|
: planPreventiveVisit != null
|
|
|
|
: planPreventiveVisit != null
|
|
|
|
? Column(children: [
|
|
|
|
? Column(children: [
|
|
|
|
SingleChildScrollView(
|
|
|
|
SingleChildScrollView(
|
|
|
|
|
|
|
|
padding: const EdgeInsets.all(16),
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
@ -99,7 +100,7 @@ class _PpmDetailsPageState extends State<PpmDetailsPage> {
|
|
|
|
InfoTextWidget(label: context.translation.department, value: planPreventiveVisit.departmentName?.cleanupWhitespace.capitalizeFirstOfEach ?? '-'),
|
|
|
|
InfoTextWidget(label: context.translation.department, value: planPreventiveVisit.departmentName?.cleanupWhitespace.capitalizeFirstOfEach ?? '-'),
|
|
|
|
InfoTextWidget(label: context.translation.room, value: (planPreventiveVisit.roomName ?? "").cleanupWhitespace.capitalizeFirstOfEach),
|
|
|
|
InfoTextWidget(label: context.translation.room, value: (planPreventiveVisit.roomName ?? "").cleanupWhitespace.capitalizeFirstOfEach),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
).toShadowContainer(context, padding: 16),
|
|
|
|
).toShadowContainer(context),
|
|
|
|
).expanded,
|
|
|
|
).expanded,
|
|
|
|
if (userProvider!.user!.type == UsersTypes.engineer && (!ppmProvider.isReadOnly)) ...[
|
|
|
|
if (userProvider!.user!.type == UsersTypes.engineer && (!ppmProvider.isReadOnly)) ...[
|
|
|
|
FooterActionButton.footerContainer(
|
|
|
|
FooterActionButton.footerContainer(
|
|
|
|
|