updateclear

This commit is contained in:
efrilm 2025-11-25 21:45:53 +07:00
parent 2897436c5f
commit c5cda37efb

View File

@ -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}
</td>
<td className='p-5 text-2xl text-right font-bold' style={{ width: '30%', color: '#36175e' }}>
{formatCurrency(profitLoss?.summary.total_revenue ?? 0)}
{formatCurrency(productSummary.totalRevenue ?? 0)}
</td>
</tr>
</tfoot>