|
@@ -743,18 +743,18 @@ class _ExpenseDetailReportPageState
|
|
|
TDTableCol(
|
|
TDTableCol(
|
|
|
title: l10n.get('expenseNo'),
|
|
title: l10n.get('expenseNo'),
|
|
|
colKey: 'billNo',
|
|
colKey: 'billNo',
|
|
|
- width: 140,
|
|
|
|
|
|
|
+ width: 180,
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
),
|
|
),
|
|
|
TDTableCol(
|
|
TDTableCol(
|
|
|
title: l10n.get('date'),
|
|
title: l10n.get('date'),
|
|
|
colKey: 'billDate',
|
|
colKey: 'billDate',
|
|
|
- width: 100,
|
|
|
|
|
|
|
+ width: 150,
|
|
|
),
|
|
),
|
|
|
TDTableCol(
|
|
TDTableCol(
|
|
|
title: l10n.get('expenseAmount'),
|
|
title: l10n.get('expenseAmount'),
|
|
|
colKey: 'amount',
|
|
colKey: 'amount',
|
|
|
- width: 110,
|
|
|
|
|
|
|
+ width: 180,
|
|
|
align: TDTableColAlign.right,
|
|
align: TDTableColAlign.right,
|
|
|
cellBuilder: (context, rowIndex) {
|
|
cellBuilder: (context, rowIndex) {
|
|
|
final amount = double.parse(tableData[rowIndex]['amount'] as String);
|
|
final amount = double.parse(tableData[rowIndex]['amount'] as String);
|
|
@@ -771,7 +771,7 @@ class _ExpenseDetailReportPageState
|
|
|
TDTableCol(
|
|
TDTableCol(
|
|
|
title: l10n.get('approvedAmountLabel'),
|
|
title: l10n.get('approvedAmountLabel'),
|
|
|
colKey: 'approvedAmount',
|
|
colKey: 'approvedAmount',
|
|
|
- width: 110,
|
|
|
|
|
|
|
+ width: 180,
|
|
|
align: TDTableColAlign.right,
|
|
align: TDTableColAlign.right,
|
|
|
cellBuilder: (context, rowIndex) {
|
|
cellBuilder: (context, rowIndex) {
|
|
|
final amount = double.parse(tableData[rowIndex]['approvedAmount'] as String);
|
|
final amount = double.parse(tableData[rowIndex]['approvedAmount'] as String);
|
|
@@ -788,18 +788,19 @@ class _ExpenseDetailReportPageState
|
|
|
TDTableCol(
|
|
TDTableCol(
|
|
|
title: l10n.get('expenseApplyReason'),
|
|
title: l10n.get('expenseApplyReason'),
|
|
|
colKey: 'reason',
|
|
colKey: 'reason',
|
|
|
- width: 130,
|
|
|
|
|
|
|
+ width: 200,
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
),
|
|
),
|
|
|
TDTableCol(
|
|
TDTableCol(
|
|
|
title: l10n.get('transferStatus'),
|
|
title: l10n.get('transferStatus'),
|
|
|
colKey: 'isTransferred',
|
|
colKey: 'isTransferred',
|
|
|
- width: 90,
|
|
|
|
|
|
|
+ width: 150,
|
|
|
align: TDTableColAlign.center,
|
|
align: TDTableColAlign.center,
|
|
|
cellBuilder: (context, rowIndex) {
|
|
cellBuilder: (context, rowIndex) {
|
|
|
final transferred = tableData[rowIndex]['isTransferred'] as String;
|
|
final transferred = tableData[rowIndex]['isTransferred'] as String;
|
|
|
return transferred == '1'
|
|
return transferred == '1'
|
|
|
? Container(
|
|
? Container(
|
|
|
|
|
+ padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 1),
|
|
|
decoration: BoxDecoration(
|
|
decoration: BoxDecoration(
|
|
|
color: colors.success.withValues(alpha: 0.1),
|
|
color: colors.success.withValues(alpha: 0.1),
|
|
|
borderRadius: BorderRadius.circular(10),
|
|
borderRadius: BorderRadius.circular(10),
|