diff --git a/src/app/[lang]/(dashboard)/(private)/dashboards/daily-report/page.tsx b/src/app/[lang]/(dashboard)/(private)/dashboards/daily-report/page.tsx index 79ec0ea..6e3eab3 100644 --- a/src/app/[lang]/(dashboard)/(private)/dashboards/daily-report/page.tsx +++ b/src/app/[lang]/(dashboard)/(private)/dashboards/daily-report/page.tsx @@ -600,11 +600,7 @@ const DailyPOSReport = () => { startY: currentY, head: [], body: [ - [ - 'TOTAL KESELURUHAN', - String(productSummary.totalQuantitySold), - formatCurrency(profitLoss?.summary.total_revenue ?? 0) - ] + ['TOTAL KESELURUHAN', String(productSummary.totalQuantitySold), formatCurrency(productSummary.totalRevenue)] ], theme: 'grid', styles: { @@ -966,7 +962,7 @@ const DailyPOSReport = () => { {productSummary.totalQuantitySold ?? 0} - {formatCurrency(profitLoss?.summary.total_revenue ?? 0)} + {formatCurrency(productSummary.totalRevenue ?? 0)}