update report add service charger
This commit is contained in:
parent
a3dd214a99
commit
b506d97c06
@ -275,6 +275,10 @@ const DailyPOSReport = () => {
|
||||
{formatCurrency(profitLoss?.summary.total_tax ?? 0)}
|
||||
</span>
|
||||
</div>
|
||||
<div className='flex justify-between items-center py-3 border-b border-gray-200'>
|
||||
<span className='text-xl text-gray-700'>Biaya Layanan</span>
|
||||
<span className='text-xl font-semibold text-gray-800'>{formatCurrency(0)}</span>
|
||||
</div>
|
||||
<div className='flex justify-between items-center py-3 border-b-2 border-gray-300'>
|
||||
<span className='text-xl text-gray-700 font-bold'>Total</span>
|
||||
<span className='text-xl font-bold text-gray-800'>
|
||||
|
||||
@ -183,7 +183,7 @@ export const generateExcel = async (params: ExcelGeneratorParams) => {
|
||||
['Total Diskon', profitLoss?.summary.total_discount || 0],
|
||||
['Total Pajak', profitLoss?.summary.total_tax || 0],
|
||||
['PB1', 0],
|
||||
['Service Charge', 0]
|
||||
['Biaya Layanan', 0]
|
||||
]
|
||||
|
||||
summaryData.forEach((row, idx) => {
|
||||
|
||||
@ -119,6 +119,7 @@ export const generatePDF = async (params: PDFGeneratorParams) => {
|
||||
['Total Penjualan', formatCurrency(profitLoss?.summary.total_revenue ?? 0)],
|
||||
['Total Diskon', formatCurrency(profitLoss?.summary.total_discount ?? 0)],
|
||||
['Total Pajak', formatCurrency(profitLoss?.summary.total_tax ?? 0)],
|
||||
['Biaya Layanan', formatCurrency(0)],
|
||||
['Total', formatCurrency(profitLoss?.summary.total_revenue ?? 0)]
|
||||
],
|
||||
theme: 'grid',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user