update report
This commit is contained in:
parent
fe4176621c
commit
2897436c5f
@ -600,7 +600,11 @@ 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: {
|
||||||
@ -962,7 +966,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(productSummary.totalRevenue ?? 0)}
|
{formatCurrency(profitLoss?.summary.total_revenue ?? 0)}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user