diff --git a/Frontend/erp-system/app/dashboard/sales/bundles/page.tsx b/Frontend/erp-system/app/dashboard/sales/bundles/page.tsx index 5d84432..75e182a 100644 --- a/Frontend/erp-system/app/dashboard/sales/bundles/page.tsx +++ b/Frontend/erp-system/app/dashboard/sales/bundles/page.tsx @@ -244,8 +244,8 @@ export default function BundleSalesPage() { {row.customerSnapshotName} {new Date(row.createdAt).toLocaleDateString()} - {row.bundlePrice.toFixed(2)} - {row.grandTotal.toFixed(2)} + {row.bundlePrice.toFixed(2)} + {row.grandTotal.toFixed(2)} {row.status} @@ -271,11 +271,11 @@ export default function BundleSalesPage() {
Rows loaded
-
{visibleRows.length}
+
{visibleRows.length}
Grand total
-
{bundleTotal.toFixed(2)}
+
{bundleTotal.toFixed(2)}
diff --git a/Frontend/erp-system/app/dashboard/sales/day-end/page.tsx b/Frontend/erp-system/app/dashboard/sales/day-end/page.tsx index a980a10..1b7143b 100644 --- a/Frontend/erp-system/app/dashboard/sales/day-end/page.tsx +++ b/Frontend/erp-system/app/dashboard/sales/day-end/page.tsx @@ -145,7 +145,7 @@ export default function SalesDayEndPage() { -
-
- - - -
-
+ {!iconOnly && ( +

+ © {new Date().getFullYear()} Hexa ERP +

+ )} ) } diff --git a/Frontend/erp-system/components/Layouts/Breadcrumbs.tsx b/Frontend/erp-system/components/Layouts/Breadcrumbs.tsx index a5c4ad9..70deacf 100644 --- a/Frontend/erp-system/components/Layouts/Breadcrumbs.tsx +++ b/Frontend/erp-system/components/Layouts/Breadcrumbs.tsx @@ -38,6 +38,7 @@ const SEGMENT_LABELS: Record = { production: "Production", templates: "Templates", runs: "Runs", + invoices: "Sales", } function labelFor(segment: string): string { diff --git a/Frontend/erp-system/components/Layouts/Header.tsx b/Frontend/erp-system/components/Layouts/Header.tsx index 6b5aba8..b3a1329 100644 --- a/Frontend/erp-system/components/Layouts/Header.tsx +++ b/Frontend/erp-system/components/Layouts/Header.tsx @@ -79,6 +79,9 @@ const STOCK_TITLES: Record = { } function titleFromPath(pathname: string) { + if (pathname === "/dashboard/sales/invoices") return "Sales" + if (pathname === "/dashboard/sales/invoices/new") return "New Sale" + if (pathname === "/dashboard/receiving/grn") return "Goods Receipt Notes" if (pathname === "/dashboard/receiving/grn/new") return "Create Goods Receipt Note" if (/^\/dashboard\/receiving\/grn\/[^/]+$/.test(pathname)) return "Goods Receipt Note" diff --git a/Frontend/erp-system/components/sales/FreeIssueSuggestions.tsx b/Frontend/erp-system/components/sales/FreeIssueSuggestions.tsx deleted file mode 100644 index 2813912..0000000 --- a/Frontend/erp-system/components/sales/FreeIssueSuggestions.tsx +++ /dev/null @@ -1,42 +0,0 @@ -"use client" - -import Link from "next/link" - -import { buttonVariants } from "@/components/ui/button" -import { cn } from "@/lib/utils" -import { SalesSlipSummary } from "@/types/sales" - -export function FreeIssueSuggestions({ rows }: { rows: SalesSlipSummary[] }) { - if (rows.length === 0) return null - - return ( -
-
-
-

Free issue suggestions

-

Recent free-issue slips created from the free-issues page.

-
- - Open free issues - -
- -
- {rows.map((row) => ( - -
-
{row.slipNo}
-
{row.status}
-
-
{row.customerSnapshotName}
-
Free qty total: {row.totals.freeQtyTotal.toFixed(2)}
- - ))} -
-
- ) -} \ No newline at end of file diff --git a/Frontend/erp-system/public/images/logo (2).png b/Frontend/erp-system/public/images/hexa-erp-logo.png similarity index 100% rename from Frontend/erp-system/public/images/logo (2).png rename to Frontend/erp-system/public/images/hexa-erp-logo.png