@ -59,10 +59,8 @@ class _TrafRequestDetailPageState extends State<TrafRequestDetailPage> {
requesterInformation ( trafProvider . trafRequestDataModel ! ) ,
requesterInformation ( trafProvider . trafRequestDataModel ! ) ,
12. height ,
12. height ,
requestInformation ( trafProvider . trafRequestDataModel ! ) ,
requestInformation ( trafProvider . trafRequestDataModel ! ) ,
if ( trafProvider . trafRequestDataModel ! . requestTypeId = = 733 ) . . . [
12. height ,
12. height ,
assetInformation ( trafProvider . trafRequestDataModel ! ) ,
assetInformation ( trafProvider . trafRequestDataModel ! ) ,
]
] ,
] ,
) . expanded ,
) . expanded ,
/ / / / if ( isEngineer )
/ / / / if ( isEngineer )
@ -91,12 +89,12 @@ class _TrafRequestDetailPageState extends State<TrafRequestDetailPage> {
style: AppTextStyles . heading4 . copyWith ( color: context . isDark ? AppColor . neutral30 : AppColor . neutral50 ) ,
style: AppTextStyles . heading4 . copyWith ( color: context . isDark ? AppColor . neutral30 : AppColor . neutral50 ) ,
) ,
) ,
8. height ,
8. height ,
' ${ context . translation . employeeId } : ${ data . employeeId ? ? ' - ' } ' . bodyText ( context ) ,
' ${ context . translation . employeeId } : ${ data . employeeId ForDisplay ? ? ' - ' } ' . bodyText ( context ) ,
' ${ context . translation . name } : ${ data . employee Id ? ? ' - ' } ' . bodyText ( context ) , / / todo ask shaheer
' ${ context . translation . name } : ${ data . employee Name ? ? ' - ' } ' . bodyText ( context ) , / / todo ask shaheer
' ${ context . translation . email } : ${ data . employee Id ? ? ' - ' } ' . bodyText ( context ) , / / todo ask shaheer
' ${ context . translation . email } : ${ data . employee Email ? ? ' - ' } ' . bodyText ( context ) , / / todo ask shaheer
' Position: ${ data . employeeId ? ? ' - ' } ' . bodyText ( context ) , / / todo ask shaheer
' Position: ${ data . positionName ? ? ' - ' } ' . bodyText ( context ) , / / todo ask shaheer
' ${ context . translation . site } : ${ data . siteName ? ? ' - ' } ' . bodyText ( context ) ,
' ${ context . translation . site } : ${ data . siteName ? ? ' - ' } ' . bodyText ( context ) ,
' ${ context . translation . department } : ${ data . departments ? ? ' - ' } ' . bodyText ( context ) ,
' ${ context . translation . department } : ${ data . departments ? . map ( ( item ) = > item . departmentName ) . toList ( ) ? ? ' - ' } ' . bodyText ( context ) ,
' Requester Extension: ${ data . requesterExtensionName ? ? ' - ' } ' . bodyText ( context ) ,
' Requester Extension: ${ data . requesterExtensionName ? ? ' - ' } ' . bodyText ( context ) ,
' ${ context . translation . extensionNo } : ${ data . requesterExtensionNumber ? ? ' - ' } ' . bodyText ( context ) ,
' ${ context . translation . extensionNo } : ${ data . requesterExtensionNumber ? ? ' - ' } ' . bodyText ( context ) ,
] ,
] ,
@ -109,23 +107,26 @@ class _TrafRequestDetailPageState extends State<TrafRequestDetailPage> {
crossAxisAlignment: CrossAxisAlignment . start ,
crossAxisAlignment: CrossAxisAlignment . start ,
children: [
children: [
Text (
Text (
" TRAF Request Information" ,
" Request Information" ,
style: AppTextStyles . heading4 . copyWith ( color: context . isDark ? AppColor . neutral30 : AppColor . neutral50 ) ,
style: AppTextStyles . heading4 . copyWith ( color: context . isDark ? AppColor . neutral30 : AppColor . neutral50 ) ,
) ,
) ,
8. height ,
8. height ,
' TRAF No: ${ data . reqCode ? ? ' - ' } ' . bodyText ( context ) ,
' TRAF No: ${ data . reqCode ? ? ' - ' } ' . bodyText ( context ) ,
' Request type: ${ data . requestTypeName ? ? ' - ' } ' . bodyText ( context ) ,
' Request type: ${ data . requestTypeName ? ? ' - ' } ' . bodyText ( context ) ,
4. height ,
4. height ,
' What is the current practice?: \n ${ data . currentPractise ? ? ' - ' } ' . bodyText ( context ) ,
' How would the requested technology solve the current situation and/or serve the purpose?: ${ data . purposeAnswer ? ? ' - ' } ' . bodyText ( context ) ,
4. height ,
' What is the current practice?: ${ data . currentPractise ? ? ' - ' } ' . bodyText ( context ) ,
4. height ,
4. height ,
' Census Q1: ${ data . censusQ1 ? ? ' - ' } ' . bodyText ( context ) ,
' Census Q1: ${ data . censusQ1 ? ? ' - ' } ' . bodyText ( context ) ,
' Census Q2: ${ data . censusQ2 ? ? ' - ' } ' . bodyText ( context ) ,
' Census Q2: ${ data . censusQ2 ? ? ' - ' } ' . bodyText ( context ) ,
' Census Q3: ${ data . censusQ3 ? ? ' - ' } ' . bodyText ( context ) ,
' Census Q3: ${ data . censusQ3 ? ? ' - ' } ' . bodyText ( context ) ,
' Census Q4: ${ data . censusQ4 ? ? ' - ' } ' . bodyText ( context ) ,
' Census Q4: ${ data . censusQ4 ? ? ' - ' } ' . bodyText ( context ) ,
4. height ,
4. height ,
' List down names & contact information of users going to use the technology & specify if they are part-time or full time?: \n ${ data . trafContacts ? ? ' - ' } ' . bodyText ( context ) ,
' List down names & contact information of users going to use the technology & specify if they are part-time or full time?: \n ${ data . trafContacts ? . map ( ( item ) = > item . name ) . toList ( ) ? ? ' - ' } '
. bodyText ( context ) ,
4. height ,
4. height ,
' Is the requesting department going to use the technology solely or shared with other departments?: \n ${ data . usingSolelyOrShared Id ? ? ' - ' } ' . bodyText ( context ) ,
' Is the requesting department going to use the technology solely or shared with other departments?: \n ${ data . usingSolelyOrShared Name ? ? ' - ' } ' . bodyText ( context ) ,
4. height ,
4. height ,
' Would other services be effected by acquiring the new equipment?: \n ${ data . effectedServices ? ? ' - ' } ' . bodyText ( context ) ,
' Would other services be effected by acquiring the new equipment?: \n ${ data . effectedServices ? ? ' - ' } ' . bodyText ( context ) ,
4. height ,
4. height ,
@ -144,6 +145,10 @@ class _TrafRequestDetailPageState extends State<TrafRequestDetailPage> {
style: AppTextStyles . heading4 . copyWith ( color: context . isDark ? AppColor . neutral30 : AppColor . neutral50 ) ,
style: AppTextStyles . heading4 . copyWith ( color: context . isDark ? AppColor . neutral30 : AppColor . neutral50 ) ,
) ,
) ,
8. height ,
8. height ,
' ${ context . translation . assetName } : ${ data . assetName ? ? ' - ' } ' . bodyText ( context ) ,
' ${ context . translation . model } : ${ data . modelName ? ? ' - ' } ' . bodyText ( context ) ,
' ${ context . translation . manufacture } : ${ data . manufacturerName ? ? ' - ' } ' . bodyText ( context ) ,
if ( data . requestTypeId = = 733 ) . . . [
' Last price & PO: ${ data . poNumber ? ? ' - ' } ' . bodyText ( context ) ,
' Last price & PO: ${ data . poNumber ? ? ' - ' } ' . bodyText ( context ) ,
' The quantity of the same asset: ${ data . qty ? ? ' - ' } ' . bodyText ( context ) , / / todo check with shaheer
' The quantity of the same asset: ${ data . qty ? ? ' - ' } ' . bodyText ( context ) , / / todo check with shaheer
' Existing asset under SLA: ${ data . qty ? ? ' - ' } ' . bodyText ( context ) , / / todo check with shaheer
' Existing asset under SLA: ${ data . qty ? ? ' - ' } ' . bodyText ( context ) , / / todo check with shaheer
@ -155,6 +160,7 @@ class _TrafRequestDetailPageState extends State<TrafRequestDetailPage> {
' Up Time (UT): ${ data . qty ? ? ' - ' } ' . bodyText ( context ) , / / todo check with shaheer
' Up Time (UT): ${ data . qty ? ? ' - ' } ' . bodyText ( context ) , / / todo check with shaheer
' Purchased Price: ${ data . qty ? ? ' - ' } ' . bodyText ( context ) , / / todo check with shaheer
' Purchased Price: ${ data . qty ? ? ' - ' } ' . bodyText ( context ) , / / todo check with shaheer
] ,
] ,
] ,
) . toShadowContainer ( context , borderRadius: 20 , padding: 12 ) ;
) . toShadowContainer ( context , borderRadius: 20 , padding: 12 ) ;
}
}
}
}