{{-- Letterhead --}}
{{ Auth::user()->company->name }}

{{ __('Goods Received Note') }}

{{ __('Date Printed') }}: {{ now()->format('M j, Y') }}
{{ __('Entries') }}: {{ $movements->count() }}
{{-- Supplier --}}

{{ __('Supplier') }}

{{ $supplier->name }}
@if ($supplier->contact_person)
{{ $supplier->contact_person }}
@endif @if ($supplier->phone)
{{ $supplier->phone }}
@endif @if ($supplier->address)
{{ $supplier->address }}
@endif

{{ __('Period') }}

{{ $movements->min('date')->format('M j, Y') }} – {{ $movements->max('date')->format('M j, Y') }}
{{-- Items --}} @foreach ($movements as $movement) @endforeach
{{ __('Date') }} {{ __('Item') }} {{ __('Part No.') }} {{ __('Qty') }} {{ __('Unit Cost') }} {{ __('Line Total') }}
{{ $movement->date->format('M j, Y') }} {{ $movement->part->name }} {{ $movement->part->part_number ?: '—' }} {{ $movement->magnitude() }} {{ $movement->part->unit }} {{ number_format((float) $movement->unit_cost, 2) }} {{ number_format($movement->magnitude() * (float) $movement->unit_cost, 2) }}
{{ __('Total') }} {{ number_format($total, 2) }}
{{-- Signatures --}}
{{ __('Received By (Name, Signature, Date)') }}
{{ __('Authorized By (Name, Signature, Date)') }}