fix(FE): change datatype location in inventory products

This commit is contained in:
randy-ar
2025-12-04 14:10:46 +07:00
parent 3b846bf11c
commit dc6b0eaec6
4 changed files with 9 additions and 9 deletions
@@ -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={{