Proveedor: {{ $purchase->provider->name }} - {{ $purchase->provider->company }}
Fecha: {{ $purchase->registration_date->format('d/m/Y') }} - Fecha entrega: {{ $purchase->arrival_date->format('d/m/Y') }}
Estado: {{ $purchase->status->name }}
A/B: {{ $purchase->has_invoice ? 'A' : 'B' }}
Moneda: {{ $purchase->currency->name }} @if ($purchase->exchange_rate > 0) Tipo de cambio: $ {{ number_format($purchase->exchange_rate, 2, ',', '.') }} @endif
Item | Color | Cantidad | Bultos | Precio U. | Subtotal |
---|---|---|---|---|---|
{{ $item->product->name }} | {{ $item->color->name }} | {{ $item->quantity }} {{ $item->product->measurementUnit->name }} | {{ $item->packages_quantity }} | $ {{ number_format($item['price'], 2, ',', '.') }} | $ {{ number_format($item['price'] * $item['quantity'], 2, ',', '.') }} |
Subtotal | $ {{ number_format($purchase->subtotal_amount, 2, ',', '.') }} | ||||
Descuento | -$ {{ number_format($purchase->discount_amount, 2, ',', '.') }} | ||||
Total | $ {{ number_format($purchase->subtotal_amount - $purchase->discount_amount, 2, ',', '.') }} |
Item | Color | Cantidad | Bultos | Precio U. | Subtotal | |
---|---|---|---|---|---|---|
{{ $stock->product->name }} | {{ $stock->color->name }} | {{ $stock->quantity }} {{ $stock->product->measurementUnit->name }} | {{ $stock->packages_quantity }} | $ {{ number_format($stock['purchase_price'], 2, ',', '.') }} | $ {{ number_format($stock['purchase_price'] * $stock['quantity'], 2, ',', '.') }} | |
Subtotal | $ {{ number_format($purchase->subtotal_amount, 2, ',', '.') }} | |||||
Descuento | -$ {{ number_format($purchase->discount_amount, 2, ',', '.') }} | |||||
Total | $ {{ number_format($purchase->subtotal_amount - $purchase->discount_amount, 2, ',', '.') }} |
Item | Colores | Cant. | Bultos | Cant. Total | Total Bultos |
---|---|---|---|---|---|
{{ $items['product'] }} | @foreach ($items['colors'] as $color){{ $color['name'] }} | {{ number_format($color['quantity'], 2, ',', '.') }} {{$color['measurement_unit']}} | {{ number_format($color['packages_quantity'], 2, ',', '.') }} | @if ($loop->first){{number_format($items['quantity'], 2, ',', '.')}} {{$color['measurement_unit']}} | {{number_format($items['packages_quantity'], 2, ',', '.')}} | @endif @if (!$loop->last)
Total | {{ number_format($purchase->purchaseTotals['total_quantity'], 2, ',', '.') }} | {{ number_format($purchase->purchaseTotals['packages_quantity'], 2, ',', '.') }} |
{{--
Color | Cantidad | Bultos |
---|---|---|
{{ $color['name'] }} | {{ number_format($color['quantity'], 2, ',', '.') }} | {{ number_format($color['packages_quantity'], 2, ',', '.') }} |
--}} {{--
--}}