diff --git a/packages/server/src/modules/FinancialStatements/modules/InventoryValuationSheet/InventoryValuationSheet.ts b/packages/server/src/modules/FinancialStatements/modules/InventoryValuationSheet/InventoryValuationSheet.ts
index 8eab7581d..2fb7f2cf7 100644
--- a/packages/server/src/modules/FinancialStatements/modules/InventoryValuationSheet/InventoryValuationSheet.ts
+++ b/packages/server/src/modules/FinancialStatements/modules/InventoryValuationSheet/InventoryValuationSheet.ts
@@ -211,7 +211,7 @@ export class InventoryValuationSheet extends FinancialSheet {
* Detarmines whether the items post filter is active.
*/
private isItemsPostFilter = (): boolean => {
- return isEmpty(this.query.itemsIds);
+ return !isEmpty(this.query.itemsIds);
};
/**
diff --git a/packages/server/src/modules/FinancialStatements/modules/InventoryValuationSheet/InventoryValuationSheetService.ts b/packages/server/src/modules/FinancialStatements/modules/InventoryValuationSheet/InventoryValuationSheetService.ts
index 059c6648d..560b77a8d 100644
--- a/packages/server/src/modules/FinancialStatements/modules/InventoryValuationSheet/InventoryValuationSheetService.ts
+++ b/packages/server/src/modules/FinancialStatements/modules/InventoryValuationSheet/InventoryValuationSheetService.ts
@@ -18,7 +18,7 @@ export class InventoryValuationSheetService {
private readonly inventoryValuationMeta: InventoryValuationMetaInjectable,
private readonly eventPublisher: EventEmitter2,
private readonly inventoryValuationSheetRepository: InventoryValuationSheetRepository,
- ) {}
+ ) { }
/**
* Inventory valuation sheet.
diff --git a/packages/server/src/modules/FinancialStatements/modules/TrialBalanceSheet/TrialBalanceSheet.ts b/packages/server/src/modules/FinancialStatements/modules/TrialBalanceSheet/TrialBalanceSheet.ts
index 9110920fc..1cee9693a 100644
--- a/packages/server/src/modules/FinancialStatements/modules/TrialBalanceSheet/TrialBalanceSheet.ts
+++ b/packages/server/src/modules/FinancialStatements/modules/TrialBalanceSheet/TrialBalanceSheet.ts
@@ -172,7 +172,10 @@ export class TrialBalanceSheet extends FinancialSheet {
private filterNoneTransactions = (
accountNode: ITrialBalanceAccount
): boolean => {
- return false === this.repository.totalAccountsLedger.isEmpty();
+ const accountLedger = this.repository.totalAccountsLedger.whereAccountId(
+ accountNode.id,
+ );
+ return !accountLedger.isEmpty();
};
/**
diff --git a/packages/server/src/modules/SaleInvoices/SaleInvoiceCostGLEntries.ts b/packages/server/src/modules/SaleInvoices/SaleInvoiceCostGLEntries.ts
index a209e2290..78053973f 100644
--- a/packages/server/src/modules/SaleInvoices/SaleInvoiceCostGLEntries.ts
+++ b/packages/server/src/modules/SaleInvoices/SaleInvoiceCostGLEntries.ts
@@ -19,7 +19,7 @@ export class SaleInvoiceCostGLEntries {
private readonly inventoryCostLotTracker: TenantModelProxy<
typeof InventoryCostLotTracker
>,
- ) {}
+ ) { }
/**
* Writes journal entries from sales invoices.
diff --git a/packages/server/src/modules/SaleInvoices/subscribers/InvoiceGLEntriesSubscriber.ts b/packages/server/src/modules/SaleInvoices/subscribers/InvoiceGLEntriesSubscriber.ts
index 1917d1477..0c27afa51 100644
--- a/packages/server/src/modules/SaleInvoices/subscribers/InvoiceGLEntriesSubscriber.ts
+++ b/packages/server/src/modules/SaleInvoices/subscribers/InvoiceGLEntriesSubscriber.ts
@@ -10,7 +10,7 @@ import { events } from '@/common/events/events';
@Injectable()
export class InvoiceGLEntriesSubscriber {
- constructor(public readonly saleInvoiceGLEntries: SaleInvoiceGLEntries) {}
+ constructor(public readonly saleInvoiceGLEntries: SaleInvoiceGLEntries) { }
/**
* Records journal entries of the non-inventory invoice.
diff --git a/packages/webapp/src/components/Branches/BranchSelect.tsx b/packages/webapp/src/components/Branches/BranchSelect.tsx
index 2641f2704..190c5122b 100644
--- a/packages/webapp/src/components/Branches/BranchSelect.tsx
+++ b/packages/webapp/src/components/Branches/BranchSelect.tsx
@@ -20,12 +20,3 @@ export function BranchSelect({ branches, ...rest }) {
/>
);
}
-
-/**
- *
- * @param {*} param0
- * @returns
- */
-export function BranchSelectButton({ label, ...rest }) {
- return ;
-}
diff --git a/packages/webapp/src/constants/financialReportsMenu.tsx b/packages/webapp/src/constants/financialReportsMenu.tsx
index c659462bd..507e63c76 100644
--- a/packages/webapp/src/constants/financialReportsMenu.tsx
+++ b/packages/webapp/src/constants/financialReportsMenu.tsx
@@ -171,6 +171,15 @@ export const financialReportMenus = [
subject: AbilitySubject.Report,
ability: ReportsAction.READ_INVENTORY_ITEM_DETAILS,
},
+ {
+ title: ,
+ desc: (
+
+ ),
+ link: '/financial-reports/inventory-valuation',
+ subject: AbilitySubject.Report,
+ ability: ReportsAction.READ_INVENTORY_VALUATION_SUMMARY,
+ },
],
},
{
diff --git a/packages/webapp/src/containers/Dialogs/AllocateLandedCostDialog/AllocateLandedCostFormFields.tsx b/packages/webapp/src/containers/Dialogs/AllocateLandedCostDialog/AllocateLandedCostFormFields.tsx
index 2b86e02b5..9ca8ab041 100644
--- a/packages/webapp/src/containers/Dialogs/AllocateLandedCostDialog/AllocateLandedCostFormFields.tsx
+++ b/packages/webapp/src/containers/Dialogs/AllocateLandedCostDialog/AllocateLandedCostFormFields.tsx
@@ -1,7 +1,7 @@
// @ts-nocheck
import React from 'react';
import intl from 'react-intl-universal';
-import { FastField, Field, ErrorMessage } from 'formik';
+import { ErrorMessage, useFormikContext } from 'formik';
import {
Classes,
FormGroup,
@@ -10,15 +10,14 @@ import {
InputGroup,
} from '@blueprintjs/core';
import classNames from 'classnames';
-import { FormattedMessage as T, If } from '@/components';
-import { inputIntent, handleStringChange } from '@/utils';
-import { FieldRequiredHint, ListSelect } from '@/components';
+import { FormattedMessage as T, If, FFormGroup, FSelect } from '@/components';
+import { handleStringChange } from '@/utils';
+import { FieldRequiredHint } from '@/components';
import { CLASSES } from '@/constants/classes';
import allocateLandedCostType from '@/constants/allocateLandedCostType';
import AllocateLandedCostFormBody from './AllocateLandedCostFormBody';
import {
- transactionsSelectShouldUpdate,
allocateCostToEntries,
resetAllocatedCostEntries,
} from './utils';
@@ -32,137 +31,109 @@ export default function AllocateLandedCostFormFields() {
const { costTransactionEntries, landedCostTransactions } =
useAllocateLandedConstDialogContext();
+ const { values, setFieldValue } = useFormikContext();
+
+ // Handle transaction type select change.
+ const handleTransactionTypeChange = (type) => {
+ const { items } = values;
+
+ setFieldValue('transaction_type', type.value);
+ setFieldValue('transaction_id', '');
+ setFieldValue('transaction_entry_id', '');
+ setFieldValue('amount', '');
+ setFieldValue('items', resetAllocatedCostEntries(items));
+ };
+
+ // Handle transaction select change.
+ const handleTransactionChange = (transaction) => {
+ const { items } = values;
+ setFieldValue('transaction_id', transaction.id);
+ setFieldValue('transaction_entry_id', '');
+ setFieldValue('amount', '');
+ setFieldValue('items', resetAllocatedCostEntries(items));
+ };
+
+ // Handle transaction entry select change.
+ const handleTransactionEntryChange = (entry) => {
+ const { id, unallocated_cost_amount: unallocatedAmount } = entry;
+ const { items, allocation_method } = values;
+
+ setFieldValue('amount', unallocatedAmount);
+ setFieldValue('transaction_entry_id', id);
+ setFieldValue(
+ 'items',
+ allocateCostToEntries(unallocatedAmount, allocation_method, items),
+ );
+ };
+
return (
{/*------------Transaction type -----------*/}
- }
+ labelInfo={}
+ inline
+ fill
+ fastField
>
- {({
- form: { values, setFieldValue },
- field: { value },
- meta: { error, touched },
- }) => (
- }
- labelInfo={}
- helperText={}
- intent={inputIntent({ error, touched })}
- inline={true}
- className={classNames(CLASSES.FILL, 'form-group--transaction_type')}
- >
- {
- const { items } = values;
-
- setFieldValue('transaction_type', type.value);
- setFieldValue('transaction_id', '');
- setFieldValue('transaction_entry_id', '');
-
- setFieldValue('amount', '');
- setFieldValue('items', resetAllocatedCostEntries(items));
- }}
- filterable={false}
- selectedItem={value}
- selectedItemProp={'value'}
- textProp={'name'}
- popoverProps={{ minimal: true }}
- />
-
- )}
-
+
+
{/*------------ Transaction -----------*/}
- }
+ labelInfo={}
+ inline
+ fill
>
- {({ form, field: { value }, meta: { error, touched } }) => (
- }
- labelInfo={}
- intent={inputIntent({ error, touched })}
- helperText={}
- className={classNames(CLASSES.FILL, 'form-group--transaction_id')}
- inline={true}
- >
- {
- const { items } = form.values;
- form.setFieldValue('transaction_id', id);
- form.setFieldValue('transaction_entry_id', '');
-
- form.setFieldValue('amount', '');
- form.setFieldValue('items', resetAllocatedCostEntries(items));
- }}
- filterable={false}
- selectedItem={value}
- selectedItemProp={'id'}
- textProp={'name'}
- labelProp={'formatted_unallocated_cost_amount'}
- defaultText={intl.get(
- 'landed_cost.dialog.label_select_transaction',
- )}
- popoverProps={{ minimal: true }}
- />
-
- )}
-
+
+
{/*------------ Transaction line -----------*/}
0}>
- }
+ inline
+ fill
+ fastField
>
- {({ form, field: { value }, meta: { error, touched } }) => (
- }
- intent={inputIntent({ error, touched })}
- helperText={}
- className={classNames(
- CLASSES.FILL,
- 'form-group--transaction_entry_id',
- )}
- inline={true}
- >
- {
- const { id, unallocated_cost_amount: unallocatedAmount } =
- entry;
- const { items, allocation_method } = form.values;
-
- form.setFieldValue('amount', unallocatedAmount);
- form.setFieldValue('transaction_entry_id', id);
- form.setFieldValue(
- 'items',
- allocateCostToEntries(
- unallocatedAmount,
- allocation_method,
- items,
- ),
- );
- }}
- filterable={false}
- selectedItem={value}
- selectedItemProp={'id'}
- textProp={'name'}
- labelProp={'formatted_unallocated_cost_amount'}
- defaultText={intl.get(
- 'landed_cost.dialog.label_select_transaction_entry',
- )}
- popoverProps={{ minimal: true }}
- />
-
- )}
-
+
+
{/*------------ Amount -----------*/}
diff --git a/packages/webapp/src/containers/Dialogs/ContactDuplicateDialog/ContactDuplicateForm.tsx b/packages/webapp/src/containers/Dialogs/ContactDuplicateDialog/ContactDuplicateForm.tsx
index 534450c08..09fb43907 100644
--- a/packages/webapp/src/containers/Dialogs/ContactDuplicateDialog/ContactDuplicateForm.tsx
+++ b/packages/webapp/src/containers/Dialogs/ContactDuplicateDialog/ContactDuplicateForm.tsx
@@ -2,10 +2,9 @@
import React from 'react';
import intl from 'react-intl-universal';
import * as Yup from 'yup';
-import { Formik, Form, Field, ErrorMessage } from 'formik';
-import { inputIntent } from '@/utils';
-import { ListSelect, FieldRequiredHint } from '@/components';
-import { Button, FormGroup, Intent, Classes } from '@blueprintjs/core';
+import { Formik, Form } from 'formik';
+import { FFormGroup, FSelect, FieldRequiredHint } from '@/components';
+import { Button, Intent, Classes } from '@blueprintjs/core';
import { FormattedMessage as T } from '@/components';
import { useHistory } from 'react-router-dom';
import { useContactDuplicateFromContext } from './ContactDuplicateProvider';
@@ -60,29 +59,22 @@ function ContactDuplicateForm({
{/*------------ Contact Type -----------*/}
-
- {({ form, meta: { error, touched } }) => (
- }
- labelInfo={}
- intent={inputIntent({ error, touched })}
- className={'form-group--select-list'}
- helperText={}
- >
-
- form.setFieldValue('contact_type', path)
- }
- defaultText={}
- textProp={'name'}
- selectedItemProp={'name'}
- filterable={false}
- popoverProps={{ minimal: true }}
- />
-
- )}
-
+ }
+ labelInfo={}
+ className={'form-group--select-list'}
+ >
+ }
+ textAccessor={'name'}
+ valueAccessor={'path'}
+ filterable={false}
+ popoverProps={{ minimal: true }}
+ />
+
diff --git a/packages/webapp/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentFormDialogFields.tsx b/packages/webapp/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentFormDialogFields.tsx
index 0d054efee..f350fc9ce 100644
--- a/packages/webapp/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentFormDialogFields.tsx
+++ b/packages/webapp/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentFormDialogFields.tsx
@@ -3,7 +3,7 @@ import React from 'react';
import intl from 'react-intl-universal';
import styled from 'styled-components';
import classNames from 'classnames';
-import { FastField, ErrorMessage, Field } from 'formik';
+import { useFormikContext } from 'formik';
import { Classes, FormGroup, Position } from '@blueprintjs/core';
import {
FFormGroup,
@@ -11,10 +11,10 @@ import {
FDateInput,
FInputGroup,
FTextArea,
+ FSelect,
} from '@/components';
import { useAutofocus } from '@/hooks';
import {
- ListSelect,
FieldRequiredHint,
Col,
Row,
@@ -24,7 +24,7 @@ import {
BranchSelectButton,
FAccountsSuggestField,
} from '@/components';
-import { inputIntent, momentFormatter, toSafeNumber } from '@/utils';
+import { momentFormatter, toSafeNumber } from '@/utils';
import { Features, CLASSES } from '@/constants';
import { useInventoryAdjContext } from './InventoryAdjustmentFormProvider';
@@ -52,6 +52,7 @@ export default function InventoryAdjustmentFormDialogFields() {
// Inventory adjustment dialog context.
const { accounts, branches, warehouses } = useInventoryAdjContext();
+ const { values, setFieldValue } = useFormikContext();
// Sets the primary warehouse to form.
useSetPrimaryWarehouseToForm();
@@ -59,6 +60,17 @@ export default function InventoryAdjustmentFormDialogFields() {
// Sets the primary branch to form.
useSetPrimaryBranchToForm();
+ // Handle adjustment type change.
+ const handleAdjustmentTypeChange = (type) => {
+ const result = diffQuantity(
+ toSafeNumber(values.quantity),
+ toSafeNumber(values.quantity_on_hand),
+ type.value,
+ );
+ setFieldValue('type', type.value);
+ setFieldValue('new_quantity', result);
+ };
+
return (
@@ -122,39 +134,24 @@ export default function InventoryAdjustmentFormDialogFields() {
{/*------------ Adjustment type -----------*/}
-
- {({
- form: { values, setFieldValue },
- field: { value },
- meta: { error, touched },
- }) => (
- }
- labelInfo={}
- fill
- >
- {
- const result = diffQuantity(
- toSafeNumber(values.quantity),
- toSafeNumber(values.quantity_on_hand),
- type.value,
- );
- setFieldValue('type', type.value);
- setFieldValue('new_quantity', result);
- }}
- filterable={false}
- selectedItem={value}
- selectedItemProp={'value'}
- textProp={'name'}
- popoverProps={{ minimal: true }}
- intent={inputIntent({ error, touched })}
- />
-
- )}
-
+ }
+ labelInfo={}
+ fill
+ fastField
+ >
+
+
diff --git a/packages/webapp/src/containers/Dialogs/RefundCreditNoteDialog/RefundCreditNoteFormFields.tsx b/packages/webapp/src/containers/Dialogs/RefundCreditNoteDialog/RefundCreditNoteFormFields.tsx
index 01f4ce69e..f0f0fdd42 100644
--- a/packages/webapp/src/containers/Dialogs/RefundCreditNoteDialog/RefundCreditNoteFormFields.tsx
+++ b/packages/webapp/src/containers/Dialogs/RefundCreditNoteDialog/RefundCreditNoteFormFields.tsx
@@ -73,7 +73,6 @@ function RefundCreditNoteFormFields({
diff --git a/packages/webapp/src/containers/Dialogs/UserFormDialog/UserFormContent.tsx b/packages/webapp/src/containers/Dialogs/UserFormDialog/UserFormContent.tsx
index d1c4ca3f8..b0039db8f 100644
--- a/packages/webapp/src/containers/Dialogs/UserFormDialog/UserFormContent.tsx
+++ b/packages/webapp/src/containers/Dialogs/UserFormDialog/UserFormContent.tsx
@@ -1,19 +1,16 @@
// @ts-nocheck
import React from 'react';
import {
- FormGroup,
- InputGroup,
Intent,
Classes,
Button,
} from '@blueprintjs/core';
-import { FastField, Form, useFormikContext, ErrorMessage } from 'formik';
+import { Form, useFormikContext } from 'formik';
import classNames from 'classnames';
-import { FFormGroup, FInputGroup, FormattedMessage as T } from '@/components';
+import { FFormGroup, FInputGroup, FSelect, FormattedMessage as T } from '@/components';
import { CLASSES } from '@/constants/classes';
-import { inputIntent } from '@/utils';
-import { ListSelect, FieldRequiredHint } from '@/components';
+import { FieldRequiredHint } from '@/components';
import { useUserFormContext } from './UserFormProvider';
import withDialogActions from '@/containers/Dialog/withDialogActions';
import { compose } from '@/utils';
@@ -68,31 +65,21 @@ function UserFormContent({
{/* ----------- Role name ----------- */}
-
- {({ form, field: { value }, meta: { error, touched } }) => (
- }
- labelInfo={}
- helperText={}
- className={classNames(CLASSES.FILL, 'form-group--role_name')}
- intent={inputIntent({ error, touched })}
- >
- {
- form.setFieldValue('role_id', id);
- }}
- selectedItem={value}
- selectedItemProp={'id'}
- textProp={'name'}
- // labelProp={'id '}
- popoverProps={{ minimal: true }}
- intent={inputIntent({ error, touched })}
- disabled={isAuth}
- />
-
- )}
-
+ }
+ labelInfo={}
+ className={classNames(CLASSES.FILL, 'form-group--role_name')}
+ >
+
+
diff --git a/packages/webapp/src/containers/FinancialStatements/APAgingSummary/APAgingSummaryActionsBar.tsx b/packages/webapp/src/containers/FinancialStatements/APAgingSummary/APAgingSummaryActionsBar.tsx
index 9035be7e6..4b4144ce6 100644
--- a/packages/webapp/src/containers/FinancialStatements/APAgingSummary/APAgingSummaryActionsBar.tsx
+++ b/packages/webapp/src/containers/FinancialStatements/APAgingSummary/APAgingSummaryActionsBar.tsx
@@ -105,11 +105,6 @@ function APAgingSummaryActionsBar({
/>
-
}
- icon={
}
- />
-
}
- icon={
}
- />
-
- }
- icon={}
- />
-
-
-
- }
- icon={}
- />
-
-
-
- }
- icon={}
- />
-
-
-
- }
- icon={}
- />
-
-
-
- }
- icon={}
- />
-
-
-
-
}
diff --git a/packages/webapp/src/containers/FinancialStatements/InventoryItemDetails/InventoryItemDetailsActionsBar.tsx b/packages/webapp/src/containers/FinancialStatements/InventoryItemDetails/InventoryItemDetailsActionsBar.tsx
index a272cbc24..1bb63210a 100644
--- a/packages/webapp/src/containers/FinancialStatements/InventoryItemDetails/InventoryItemDetailsActionsBar.tsx
+++ b/packages/webapp/src/containers/FinancialStatements/InventoryItemDetails/InventoryItemDetailsActionsBar.tsx
@@ -102,18 +102,6 @@ function InventoryItemDetailsActionsBar({
/>
-
- }
- icon={}
- />
-
-
-
- }
- icon={}
- />
-
-
}
diff --git a/packages/webapp/src/containers/FinancialStatements/InventoryValuation/InventoryValuationTable.tsx b/packages/webapp/src/containers/FinancialStatements/InventoryValuation/InventoryValuationTable.tsx
index c1f7cbe8c..39620e718 100644
--- a/packages/webapp/src/containers/FinancialStatements/InventoryValuation/InventoryValuationTable.tsx
+++ b/packages/webapp/src/containers/FinancialStatements/InventoryValuation/InventoryValuationTable.tsx
@@ -55,17 +55,29 @@ const InventoryValuationSheet = styled(FinancialSheet)`
`;
const InventoryValuationDataTable = styled(ReportDataTable)`
+ --color-table-text-color: #252a31;
+ --color-table-total-text-color: #000;
+ --color-table-total-border: #bbb;
+
+ .bp4-dark & {
+ --color-table-text-color: var(--color-light-gray1);
+ --color-table-total-text-color: var(--color-light-gray4);
+ --color-table-total-border: var(--color-dark-gray5);
+ }
+
.table {
.tbody {
.tr .td {
border-bottom: 0;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
+ color: var(--color-table-text-color);
}
.tr.row_type--TOTAL .td {
- border-top: 1px solid #bbb;
+ border-top: 1px solid var(--color-table-total-border);
+ border-bottom: 3px double var(--color-table-total-border);
font-weight: 500;
- border-bottom: 3px double #000;
+ color: var(--color-table-total-text-color);
}
}
}
diff --git a/packages/webapp/src/containers/FinancialStatements/Journal/JournalActionsBar.tsx b/packages/webapp/src/containers/FinancialStatements/Journal/JournalActionsBar.tsx
index 6a424b02a..cb2b9db86 100644
--- a/packages/webapp/src/containers/FinancialStatements/Journal/JournalActionsBar.tsx
+++ b/packages/webapp/src/containers/FinancialStatements/Journal/JournalActionsBar.tsx
@@ -78,19 +78,6 @@ function JournalActionsBar({
/>
-
- }
- icon={}
- />
-
-
-
-
}
diff --git a/packages/webapp/src/containers/FinancialStatements/ProfitLossSheet/ProfitLossActionsBar.tsx b/packages/webapp/src/containers/FinancialStatements/ProfitLossSheet/ProfitLossActionsBar.tsx
index dbffa90f2..9c0ed1095 100644
--- a/packages/webapp/src/containers/FinancialStatements/ProfitLossSheet/ProfitLossActionsBar.tsx
+++ b/packages/webapp/src/containers/FinancialStatements/ProfitLossSheet/ProfitLossActionsBar.tsx
@@ -103,18 +103,6 @@ function ProfitLossActionsBar({
/>
-
- }
- icon={}
- />
-
-
}
diff --git a/packages/webapp/src/containers/FinancialStatements/ProjectProfitabilitySummary/ProjectProfitabilitySummaryActionsBar.tsx b/packages/webapp/src/containers/FinancialStatements/ProjectProfitabilitySummary/ProjectProfitabilitySummaryActionsBar.tsx
index 197ed136e..e88ce2f21 100644
--- a/packages/webapp/src/containers/FinancialStatements/ProjectProfitabilitySummary/ProjectProfitabilitySummaryActionsBar.tsx
+++ b/packages/webapp/src/containers/FinancialStatements/ProjectProfitabilitySummary/ProjectProfitabilitySummaryActionsBar.tsx
@@ -93,17 +93,6 @@ function ProjectProfitabilitySummaryActionsBar({
icon={
}
/>
-
- }
- icon={}
- />
-
diff --git a/packages/webapp/src/containers/FinancialStatements/PurchasesByItems/PurchasesByItemsActionsBar.tsx b/packages/webapp/src/containers/FinancialStatements/PurchasesByItems/PurchasesByItemsActionsBar.tsx
index 8e88a5155..190fc32cd 100644
--- a/packages/webapp/src/containers/FinancialStatements/PurchasesByItems/PurchasesByItemsActionsBar.tsx
+++ b/packages/webapp/src/containers/FinancialStatements/PurchasesByItems/PurchasesByItemsActionsBar.tsx
@@ -100,17 +100,6 @@ function PurchasesByItemsActionsBar({
icon={
}
/>
-
- }
- icon={}
- />
-
-
}
- icon={
}
- />
-
- }
- icon={}
- />
-
-
}
diff --git a/packages/webapp/src/containers/FinancialStatements/SalesTaxLiabilitySummary/SalesTaxLiabilitySummaryActionsBar.tsx b/packages/webapp/src/containers/FinancialStatements/SalesTaxLiabilitySummary/SalesTaxLiabilitySummaryActionsBar.tsx
index 1779ba329..1db166ebb 100644
--- a/packages/webapp/src/containers/FinancialStatements/SalesTaxLiabilitySummary/SalesTaxLiabilitySummaryActionsBar.tsx
+++ b/packages/webapp/src/containers/FinancialStatements/SalesTaxLiabilitySummary/SalesTaxLiabilitySummaryActionsBar.tsx
@@ -104,18 +104,6 @@ function SalesTaxLiabilitySummaryActionsBar({
/>
-
- }
- icon={}
- />
-
-
-
- }
- icon={}
- />
-
-
}
diff --git a/packages/webapp/src/containers/FinancialStatements/TrialBalanceSheet/TrialBalanceSheetHeader.tsx b/packages/webapp/src/containers/FinancialStatements/TrialBalanceSheet/TrialBalanceSheetHeader.tsx
index 7cb170509..5fd7e61db 100644
--- a/packages/webapp/src/containers/FinancialStatements/TrialBalanceSheet/TrialBalanceSheetHeader.tsx
+++ b/packages/webapp/src/containers/FinancialStatements/TrialBalanceSheet/TrialBalanceSheetHeader.tsx
@@ -52,6 +52,7 @@ function TrialBalanceSheetHeader({
fromDate: moment().toDate(),
toDate: moment().toDate(),
branchesIds: [],
+ filterByOption: 'with-transactions',
};
// Initial values.
diff --git a/packages/webapp/src/containers/FinancialStatements/UnrealizedGainOrLoss/UnrealizedGainOrLossActionsBar.tsx b/packages/webapp/src/containers/FinancialStatements/UnrealizedGainOrLoss/UnrealizedGainOrLossActionsBar.tsx
index 363ee51b4..9eab1e8c6 100644
--- a/packages/webapp/src/containers/FinancialStatements/UnrealizedGainOrLoss/UnrealizedGainOrLossActionsBar.tsx
+++ b/packages/webapp/src/containers/FinancialStatements/UnrealizedGainOrLoss/UnrealizedGainOrLossActionsBar.tsx
@@ -92,11 +92,6 @@ function UnrealizedGainOrLossActionsBar({
/>
-
}
- icon={
}
- />
-
}
- icon={
}
- />
-
- }
- icon={}
- />
-
-