mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE-208): remove period from currency formatting in invoice display
This commit is contained in:
@@ -352,13 +352,13 @@ const PurchaseOrderInvoice = ({ data }: PurchaseOrderInvoiceProps) => {
|
|||||||
<Text>{item.product?.name || '-'}</Text>
|
<Text>{item.product?.name || '-'}</Text>
|
||||||
</View>
|
</View>
|
||||||
<View style={pdfStyles.tableCellRight}>
|
<View style={pdfStyles.tableCellRight}>
|
||||||
<Text>Rp.{formatNumber(item.price || 0)}</Text>
|
<Text>Rp{formatNumber(item.price || 0)}</Text>
|
||||||
</View>
|
</View>
|
||||||
<View style={pdfStyles.tableCellRight}>
|
<View style={pdfStyles.tableCellRight}>
|
||||||
<Text>{formatNumber(item.total_qty || 0)}</Text>
|
<Text>{formatNumber(item.total_qty || 0)}</Text>
|
||||||
</View>
|
</View>
|
||||||
<View style={pdfStyles.tableCellRightLast}>
|
<View style={pdfStyles.tableCellRightLast}>
|
||||||
<Text>Rp.{formatNumber(item.total_price || 0)}</Text>
|
<Text>Rp{formatNumber(item.total_price || 0)}</Text>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
@@ -383,7 +383,7 @@ const PurchaseOrderInvoice = ({ data }: PurchaseOrderInvoiceProps) => {
|
|||||||
{ fontWeight: 'bold' },
|
{ fontWeight: 'bold' },
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<Text>Rp.{formatNumber(grandTotal)}</Text>
|
<Text>Rp{formatNumber(grandTotal)}</Text>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user