@@ -1,4 +1,5 @@
|
||||
import { Head, Link } from '@inertiajs/react';
|
||||
import { convertedQuantity } from '@/components/receipt-conversion';
|
||||
import { InventoryNotice } from '@/components/inventory';
|
||||
import { PageTitle, Panel } from '@/components/procurement';
|
||||
import { date } from '@/types/procurement';
|
||||
@@ -101,6 +102,39 @@ export default function ReceiptShow({
|
||||
Rejeitado: {quantity(line.rejected_milli)}{' '}
|
||||
{line.snapshot.order_item.unit}
|
||||
</p>
|
||||
{line.snapshot.quantity_conversion && (
|
||||
<p className="mt-2 text-sm">
|
||||
Entrada física:{' '}
|
||||
{convertedQuantity(
|
||||
line.snapshot.quantity_conversion
|
||||
.accepted_stock_milli,
|
||||
)}{' '}
|
||||
{
|
||||
line.snapshot.quantity_conversion
|
||||
.stock_unit
|
||||
}{' '}
|
||||
· factor{' '}
|
||||
{
|
||||
line.snapshot.quantity_conversion
|
||||
.numerator
|
||||
}
|
||||
/
|
||||
{
|
||||
line.snapshot.quantity_conversion
|
||||
.denominator
|
||||
}{' '}
|
||||
·
|
||||
{
|
||||
line.snapshot.quantity_conversion
|
||||
.source
|
||||
}{' '}
|
||||
· versão{' '}
|
||||
{
|
||||
line.snapshot.quantity_conversion
|
||||
.version
|
||||
}
|
||||
</p>
|
||||
)}
|
||||
<p className="mt-2 text-muted-foreground">
|
||||
{line.snapshot.stock_item
|
||||
? `${line.snapshot.stock_item.code} · ${line.snapshot.stock_item.name}`
|
||||
|
||||
Reference in New Issue
Block a user