From 07e78ebd6ab96ce05ff126c66e8e90f478fc39c7 Mon Sep 17 00:00:00 2001 From: ElforJani13 <39470382+elforjani13@users.noreply.github.com> Date: Sun, 24 Sep 2023 04:58:16 +0200 Subject: [PATCH] Sticky table header for all reports --- .../CashFlowStatement/CashFlowStatementTable.tsx | 1 + .../CustomersBalanceSummary/CustomersBalanceSummaryTable.tsx | 1 + .../CustomersTransactions/CustomersTransactionsTable.tsx | 1 + .../InventoryItemDetails/InventoryItemDetailsTable.tsx | 1 + .../VendorsBalanceSummary/VendorsBalanceSummaryTable.tsx | 1 + .../VendorsTransactions/VendorsTransactionsTable.tsx | 1 + 6 files changed, 6 insertions(+) diff --git a/packages/webapp/src/containers/FinancialStatements/CashFlowStatement/CashFlowStatementTable.tsx b/packages/webapp/src/containers/FinancialStatements/CashFlowStatement/CashFlowStatementTable.tsx index 7dac65e9c..f2c557465 100644 --- a/packages/webapp/src/containers/FinancialStatements/CashFlowStatement/CashFlowStatementTable.tsx +++ b/packages/webapp/src/containers/FinancialStatements/CashFlowStatement/CashFlowStatementTable.tsx @@ -44,6 +44,7 @@ export default function CashFlowStatementTable({ expandable={true} expanded={expandedRows} expandToggleColumn={1} + sticky={true} expandColumnSpace={0.8} styleName={TableStyle.Constrant} /> diff --git a/packages/webapp/src/containers/FinancialStatements/CustomersBalanceSummary/CustomersBalanceSummaryTable.tsx b/packages/webapp/src/containers/FinancialStatements/CustomersBalanceSummary/CustomersBalanceSummaryTable.tsx index 6957483bc..c03ca5cde 100644 --- a/packages/webapp/src/containers/FinancialStatements/CustomersBalanceSummary/CustomersBalanceSummaryTable.tsx +++ b/packages/webapp/src/containers/FinancialStatements/CustomersBalanceSummary/CustomersBalanceSummaryTable.tsx @@ -35,6 +35,7 @@ export default function CustomersBalanceSummaryTable({ data={table.data} rowClassNames={tableRowTypesToClassnames} noInitialFetch={true} + sticky={true} styleName={TableStyle.Constrant} /> diff --git a/packages/webapp/src/containers/FinancialStatements/CustomersTransactions/CustomersTransactionsTable.tsx b/packages/webapp/src/containers/FinancialStatements/CustomersTransactions/CustomersTransactionsTable.tsx index ef3ec53b1..cded74fe6 100644 --- a/packages/webapp/src/containers/FinancialStatements/CustomersTransactions/CustomersTransactionsTable.tsx +++ b/packages/webapp/src/containers/FinancialStatements/CustomersTransactions/CustomersTransactionsTable.tsx @@ -47,6 +47,7 @@ export default function CustomersTransactionsTable({ noInitialFetch={true} expandable={true} expanded={expandedRows} + sticky={true} expandToggleColumn={1} expandColumnSpace={0.8} styleName={TableStyle.Constrant} diff --git a/packages/webapp/src/containers/FinancialStatements/InventoryItemDetails/InventoryItemDetailsTable.tsx b/packages/webapp/src/containers/FinancialStatements/InventoryItemDetails/InventoryItemDetailsTable.tsx index f8cd204cd..16a65e16d 100644 --- a/packages/webapp/src/containers/FinancialStatements/InventoryItemDetails/InventoryItemDetailsTable.tsx +++ b/packages/webapp/src/containers/FinancialStatements/InventoryItemDetails/InventoryItemDetailsTable.tsx @@ -48,6 +48,7 @@ export function InventoryItemDetailsTable({ expanded={expandedRows} expandToggleColumn={1} expandColumnSpace={0.8} + sticky={true} styleName={TableStyle.Constrant} /> diff --git a/packages/webapp/src/containers/FinancialStatements/VendorsBalanceSummary/VendorsBalanceSummaryTable.tsx b/packages/webapp/src/containers/FinancialStatements/VendorsBalanceSummary/VendorsBalanceSummaryTable.tsx index 6f7362449..a3bbfa122 100644 --- a/packages/webapp/src/containers/FinancialStatements/VendorsBalanceSummary/VendorsBalanceSummaryTable.tsx +++ b/packages/webapp/src/containers/FinancialStatements/VendorsBalanceSummary/VendorsBalanceSummaryTable.tsx @@ -34,6 +34,7 @@ export default function VendorsBalanceSummaryTable({ data={table.data} rowClassNames={tableRowTypesToClassnames} noInitialFetch={true} + sticky={true} styleName={TableStyle.Constrant} /> diff --git a/packages/webapp/src/containers/FinancialStatements/VendorsTransactions/VendorsTransactionsTable.tsx b/packages/webapp/src/containers/FinancialStatements/VendorsTransactions/VendorsTransactionsTable.tsx index 45f5fd3e9..693bbfabe 100644 --- a/packages/webapp/src/containers/FinancialStatements/VendorsTransactions/VendorsTransactionsTable.tsx +++ b/packages/webapp/src/containers/FinancialStatements/VendorsTransactions/VendorsTransactionsTable.tsx @@ -53,6 +53,7 @@ export default function VendorsTransactionsTable({ expanded={expandedRows} expandToggleColumn={1} expandColumnSpace={0.8} + sticky={true} styleName={TableStyle.Constrant} />