@extends('admin.layouts.app') @section('page-title', 'Stock receipt') @section('body-class', 'inventory-preview') @push('styles') @endpush @section('content')

Stock receipt ST{{ str_pad((string) $entry->id, 6, '0', STR_PAD_LEFT) }}

Saved
Stock HistoryProduct ListAdd Stock
Reference
{{ $entry->reference ?? '—' }}
Entry date
{{ $entry->entry_date->format('d M Y') }}
Source
{{ $entry->source }}
Products / Variants
{{ $entry->product_count }} / {{ $entry->line_count }}
Units added
+{{ number_format($entry->total_units) }}
Recorded at
{{ $entry->created_at->timezone('Asia/Dhaka')->format('d M Y, h:i A') }}
@if($entry->note)
Note

{{ $entry->note }}

@endif
@foreach($lines as $line) @endforeach
Stock balances at the time of this entry
Product / CodeColour / SizeSKUBeforeAddedAfter
{{ $line->product_name }}{{ $line->product_code }}{{ $line->colour ?: 'Default' }} / {{ $line->size ?: 'Default' }}{{ $line->sku }}{{ number_format($line->stock_before) }}+{{ number_format($line->quantity) }}{{ number_format($line->stock_after) }}
{{ $lines->firstItem() ?? 0 }}–{{ $lines->lastItem() ?? 0 }} of {{ $lines->total() }} variants
@if($lines->previousPageUrl())Previous@endif @if($lines->nextPageUrl())Next@endif

These balances were recorded when this entry was saved. See Product List for current stock.

@endsection