Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

feat(accounting): filter journal entries and depreciation runs by date range

naveenkashefc56198fa4f
diff --git a/apps/erp/app/modules/accounting/ui/FixedAssets/DepreciationRunTable.tsx b/apps/erp/app/modules/accounting/ui/FixedAssets/DepreciationRunTable.tsx
index a06295352c..8d56d768bb 100644
--- a/apps/erp/app/modules/accounting/ui/FixedAssets/DepreciationRunTable.tsx
+++ b/apps/erp/app/modules/accounting/ui/FixedAssets/DepreciationRunTable.tsx
@@ -57,6 +57,9 @@ const DepreciationRunTable = memo(
<DateTime value={row.original.periodEnd} variant="date" />
),
meta: {
+ filter: {
+ type: "dateRange"
+ },
icon: <LuCalendar />
}
},
diff --git a/apps/erp/app/modules/accounting/ui/JournalEntries/JournalEntriesTable.tsx b/apps/erp/app/modules/accounting/ui/JournalEntries/JournalEntriesTable.tsx
index 108e9fd3e9..ef1de4e796 100644
--- a/apps/erp/app/modules/accounting/ui/JournalEntries/JournalEntriesTable.tsx
+++ b/apps/erp/app/modules/accounting/ui/JournalEntries/JournalEntriesTable.tsx
@@ -91,6 +91,9 @@ const JournalEntriesTable = memo(
<DateTime value={row.original.postingDate} variant="date" />
),
meta: {
+ filter: {
+ type: "dateRange"
+ },
icon: <LuCalendar />
}
},