update report
This commit is contained in:
parent
fe4176621c
commit
2897436c5f
@ -600,7 +600,11 @@ const DailyPOSReport = () => {
|
||||
startY: currentY,
|
||||
head: [],
|
||||
body: [
|
||||
['TOTAL KESELURUHAN', String(productSummary.totalQuantitySold), formatCurrency(productSummary.totalRevenue)]
|
||||
[
|
||||
'TOTAL KESELURUHAN',
|
||||
String(productSummary.totalQuantitySold),
|
||||
formatCurrency(profitLoss?.summary.total_revenue ?? 0)
|
||||
]
|
||||
],
|
||||
theme: 'grid',
|
||||
styles: {
|
||||
@ -962,7 +966,7 @@ const DailyPOSReport = () => {
|
||||
{productSummary.totalQuantitySold ?? 0}
|
||||
</td>
|
||||
<td className='p-5 text-2xl text-right font-bold' style={{ width: '30%', color: '#36175e' }}>
|
||||
{formatCurrency(productSummary.totalRevenue ?? 0)}
|
||||
{formatCurrency(profitLoss?.summary.total_revenue ?? 0)}
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user