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, startY: currentY,
head: [], head: [],
body: [ body: [
[ ['TOTAL KESELURUHAN', String(productSummary.totalQuantitySold), formatCurrency(productSummary.totalRevenue)]
'TOTAL KESELURUHAN',
String(productSummary.totalQuantitySold),
formatCurrency(profitLoss?.summary.total_revenue ?? 0)
]
], ],
theme: 'grid', theme: 'grid',
styles: { styles: {
@ -966,7 +962,7 @@ const DailyPOSReport = () => {
{productSummary.totalQuantitySold ?? 0} {productSummary.totalQuantitySold ?? 0}
</td> </td>
<td className='p-5 text-2xl text-right font-bold' style={{ width: '30%', color: '#36175e' }}> <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> </td>
</tr> </tr>
</tfoot> </tfoot>