|
|
@ -112,12 +112,21 @@ class _DetailPeminjamanBarangPageState |
|
|
|
SizedBox(height: 10), |
|
|
|
SizedBox(height: 10), |
|
|
|
if (assetStatusData != null) ...[ |
|
|
|
if (assetStatusData != null) ...[ |
|
|
|
_buildDetailItem( |
|
|
|
_buildDetailItem( |
|
|
|
'Asset Name', assetStatusData!['asset']['name']), |
|
|
|
'Peti Nama', |
|
|
|
|
|
|
|
assetStatusData!['peti']['customer']['code_customer'] + |
|
|
|
|
|
|
|
' - ' + |
|
|
|
|
|
|
|
assetStatusData!['peti']['tipe_peti']['type'], |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
// _buildDetailItem( |
|
|
|
|
|
|
|
// 'Peti Nama', assetStatusData!['peti']['fix_lot']), |
|
|
|
|
|
|
|
Divider(thickness: 1), |
|
|
|
|
|
|
|
_buildDetailItem('Nama Customer', |
|
|
|
|
|
|
|
assetStatusData!['peti']['customer']['name']), |
|
|
|
Divider(thickness: 1), |
|
|
|
Divider(thickness: 1), |
|
|
|
_buildDetailItem( |
|
|
|
_buildDetailItem( |
|
|
|
'Exit At', _formatDate(assetStatusData!['exit_at'])), |
|
|
|
'Tgl Peminjaman', _formatDate(assetStatusData!['exit_at'])), |
|
|
|
Divider(thickness: 1), |
|
|
|
Divider(thickness: 1), |
|
|
|
_buildDetailItem('Exit Pic', assetStatusData!['exit_pic']), |
|
|
|
_buildDetailItem('PJ Peminjaman', assetStatusData!['exit_pic']), |
|
|
|
Divider(thickness: 1), |
|
|
|
Divider(thickness: 1), |
|
|
|
_buildDetailItem( |
|
|
|
_buildDetailItem( |
|
|
|
'Exit Warehouse', assetStatusData!['warehouse']['name']), |
|
|
|
'Exit Warehouse', assetStatusData!['warehouse']['name']), |
|
|
|