mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 13:55:45 +00:00
fix(FE): change datatype location in inventory products
This commit is contained in:
@@ -79,8 +79,8 @@ const InventoryProductDetail = ({
|
||||
<td className='font-semibold'>Harga Jual</td>
|
||||
<td>:</td>
|
||||
<td>
|
||||
{inventoryProduct?.product_price
|
||||
? formatCurrency(inventoryProduct.product_price)
|
||||
{inventoryProduct?.selling_price
|
||||
? formatCurrency(inventoryProduct.selling_price)
|
||||
: '-'}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -88,8 +88,8 @@ const InventoryProductDetail = ({
|
||||
<td className='font-semibold'>Harga Beli</td>
|
||||
<td>:</td>
|
||||
<td>
|
||||
{inventoryProduct?.selling_price
|
||||
? formatCurrency(inventoryProduct?.selling_price)
|
||||
{inventoryProduct?.product_price
|
||||
? formatCurrency(inventoryProduct?.product_price)
|
||||
: '-'}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -59,7 +59,7 @@ const StockLogTable = ({ stockLogs }: { stockLogs: StockLog[] }) => {
|
||||
},
|
||||
{
|
||||
header: 'Oleh',
|
||||
accessorKey: 'created_by',
|
||||
accessorKey: 'created_by.name',
|
||||
},
|
||||
]}
|
||||
className={{
|
||||
|
||||
Reference in New Issue
Block a user