{{-- New-Unity ERP | sales/orders/show.blade.php | v2.1 | 26/06/2026 --}} {{-- v2.1 — Dirección/contacto editables, botón PDF, textos en inglés. --}} @extends('layouts.vertical') @section('content')
| # | {{ __('orders.sku') }} | {{ __('orders.description') }} | {{ __('orders.unit') }} | {{ __('orders.ordered') }} | {{ __('orders.delivered') }} | {{ __('orders.pending') }} | {{ __('orders.unit_price') }} | {{ __('orders.amount') }} |
|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $product->sku ?? '—' }} | {{ $product->product_name }} | {{ $product->unity ?? '—' }} | {{ $product->quantity }} | {{ $product->quantity_delivered }} | @php $pending = $product->pendingQty(); @endphp {{ $pending }} | ${{ number_format($product->sales_price, 2) }} | ${{ number_format($product->amount, 2) }} |
| {{ __('orders.no_products') }} | ||||||||
{{ $order->notes }}
| {{ __('orders.currency') }} | {{ $order->currency }} |
| {{ __('orders.subtotal') }} | ${{ number_format($order->subtotal, 2) }} |
| {{ __('orders.discount') }} ({{ $order->discount_perc }}%) | ${{ number_format($order->discount, 2) }} |
| {{ __('orders.vat') }} ({{ $order->tax_perc }}%) | ${{ number_format($order->tax, 2) }} |
| {{ __('orders.total') }} | ${{ number_format($order->total, 2) }} |
{{ $log->comment }}
{{ $log->user?->name ?? __('orders.system') }} — {{ $log->created_at->format('d-m-Y H:i') }} @if($log->status_from) · {{ __('orders.from_status') }} {{ $log->statusFromLabel() }} @endif{{ __('orders.no_status_changes') }}
@endforelse