@extends('layouts.master') @section('title', 'Restock View') @section('style') @endsection @section('script') @endsection @section('content') @include('layouts.sidebar') @include('layouts.header-sub')
@yield('title')

Restock Information

Purchase Order: {{ $stock->purchase_order ?? '-' }}

{{--

Stock ID: {{ $stock->stock_id }}

--}}

Remark: {{ $stock->remark ?? '-' }}

Date: {{ \Carbon\Carbon::parse($stock->created_at)->format('d M Y H:i') }}

Supplier: {{ $stock->supplier_name ?? '-' }}


Items
@php $grandTotal = 0; @endphp @forelse ($items as $index => $item) @php $grandTotal += $item->total; @endphp @empty @endforelse
# Product Quantity Cost / Unit Total
{{ $index + 1 }} {{ $item->product_name_snapshot ?? $item->product_name }} {{ number_format($item->quantity) }} {{ number_format($item->price, 2) }} {{ number_format($item->total, 2) }}
No items found
Grand Total {{ number_format($grandTotal, 2) }}
@include('layouts.footer') @endsection