mirror of
https://github.com/inventree/InvenTree.git
synced 2025-11-09 09:35:42 +00:00
@@ -69,13 +69,13 @@ export default function PartPurchaseOrdersTable({
|
|||||||
const total = record.quantity * supplier_part.pack_quantity_native;
|
const total = record.quantity * supplier_part.pack_quantity_native;
|
||||||
|
|
||||||
extra.push(
|
extra.push(
|
||||||
<Text key='pack-quantity'>
|
<Text key='pack-quantity' size='sm'>
|
||||||
{t`Pack Quantity`}: {supplier_part.pack_quantity}
|
{t`Pack Quantity`}: {supplier_part.pack_quantity}
|
||||||
</Text>
|
</Text>
|
||||||
);
|
);
|
||||||
|
|
||||||
extra.push(
|
extra.push(
|
||||||
<Text key='total-quantity'>
|
<Text key='total-quantity' size='sm'>
|
||||||
{t`Total Quantity`}: {formatDecimal(total)} {part?.units}
|
{t`Total Quantity`}: {formatDecimal(total)} {part?.units}
|
||||||
</Text>
|
</Text>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -187,13 +187,13 @@ export function PurchaseOrderLineItemTable({
|
|||||||
const total = record.quantity * supplier_part.pack_quantity_native;
|
const total = record.quantity * supplier_part.pack_quantity_native;
|
||||||
|
|
||||||
extra.push(
|
extra.push(
|
||||||
<Text key='pack-quantity'>
|
<Text key='pack-quantity' size='sm'>
|
||||||
{t`Pack Quantity`}: {supplier_part.pack_quantity}
|
{t`Pack Quantity`}: {supplier_part.pack_quantity}
|
||||||
</Text>
|
</Text>
|
||||||
);
|
);
|
||||||
|
|
||||||
extra.push(
|
extra.push(
|
||||||
<Text key='total-quantity'>
|
<Text key='total-quantity' size='sm'>
|
||||||
{t`Total Quantity`}: {formatDecimal(total)} {part?.units}
|
{t`Total Quantity`}: {formatDecimal(total)} {part?.units}
|
||||||
</Text>
|
</Text>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user