|
|
|
@ -115,37 +115,42 @@ class RequestFragment extends StatelessWidget {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Widget prLinesDataView() {
|
|
|
|
Widget prLinesDataView() {
|
|
|
|
return Column(
|
|
|
|
return ExpandableNotifier(
|
|
|
|
children: [
|
|
|
|
child: ListView.separated(
|
|
|
|
prLinesList[0].dESCRIPTION.toString().toText14(color: MyColors.textMixColor).objectContainerView(),
|
|
|
|
shrinkWrap: true,
|
|
|
|
12.height,
|
|
|
|
physics: const NeverScrollableScrollPhysics(),
|
|
|
|
Column(
|
|
|
|
itemBuilder: (cxt, index) => ExpandablePanel(
|
|
|
|
children: [
|
|
|
|
header: prLinesList[index].dESCRIPTION.toString().toText14(color: MyColors.textMixColor),
|
|
|
|
ItemDetailGrid(
|
|
|
|
collapsed: Column(
|
|
|
|
ItemDetailViewCol("Cost Center", prLinesList[0].cOSTCENTER ?? ""),
|
|
|
|
children: [
|
|
|
|
ItemDetailViewCol("Code", prLinesList[0].iTEMCODE ?? ""),
|
|
|
|
ItemDetailGrid(
|
|
|
|
),
|
|
|
|
ItemDetailViewCol("Cost Center", prLinesList[index].cOSTCENTER ?? ""),
|
|
|
|
ItemDetailGrid(
|
|
|
|
ItemDetailViewCol("Code", prLinesList[index].iTEMCODE ?? ""),
|
|
|
|
ItemDetailViewCol("Unit", prLinesList[0].uOM ?? ""),
|
|
|
|
),
|
|
|
|
ItemDetailViewCol("Price (SAR)", prLinesList[0].uNITPRICE.toString() ?? ""),
|
|
|
|
ItemDetailGrid(
|
|
|
|
),
|
|
|
|
ItemDetailViewCol("Unit", prLinesList[index].uOM ?? ""),
|
|
|
|
ItemDetailGrid(
|
|
|
|
ItemDetailViewCol("Price (SAR)", prLinesList[index].uNITPRICE.toString() ?? ""),
|
|
|
|
ItemDetailViewCol("Amount (SAR)", prLinesList[0].lINEAMOUNT.toString() ?? ""),
|
|
|
|
),
|
|
|
|
ItemDetailViewCol("Quantity", prLinesList[0].qUANTITY.toString() ?? ""),
|
|
|
|
ItemDetailGrid(
|
|
|
|
),
|
|
|
|
ItemDetailViewCol("Amount (SAR)", prLinesList[index].lINEAMOUNT.toString() ?? ""),
|
|
|
|
ItemDetailGrid(
|
|
|
|
ItemDetailViewCol("Quantity", prLinesList[index].qUANTITY.toString() ?? ""),
|
|
|
|
ItemDetailViewCol("AMU (Last 3 months)", prLinesList[0].iTEMAMU.toString() ?? ""),
|
|
|
|
),
|
|
|
|
Container(),
|
|
|
|
ItemDetailGrid(
|
|
|
|
isItLast: true,
|
|
|
|
ItemDetailViewCol("AMU (Last 3 months)", prLinesList[index].iTEMAMU.toString() ?? ""),
|
|
|
|
),
|
|
|
|
Container(),
|
|
|
|
// ItemDetailGrid(
|
|
|
|
isItLast: true,
|
|
|
|
// ItemDetailViewCol(getPrNotificationBodyList.pRHeader![1].hDRATTRIBUTENAME!, getPrNotificationBodyList.pRHeader![1].hDRATTRIBUTEVALUE ?? ""),
|
|
|
|
),
|
|
|
|
// Container(),
|
|
|
|
// ItemDetailGrid(
|
|
|
|
// isItLast: true,
|
|
|
|
// ItemDetailViewCol(getPrNotificationBodyList.pRHeader![1].hDRATTRIBUTENAME!, getPrNotificationBodyList.pRHeader![1].hDRATTRIBUTEVALUE ?? ""),
|
|
|
|
// ),
|
|
|
|
// Container(),
|
|
|
|
],
|
|
|
|
// isItLast: true,
|
|
|
|
).objectContainerView(),
|
|
|
|
// ),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
expanded: const SizedBox(),
|
|
|
|
|
|
|
|
).objectContainerView(),
|
|
|
|
|
|
|
|
separatorBuilder: (cxt, index) => 12.height,
|
|
|
|
|
|
|
|
itemCount: prLinesList.length),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|