@extends('layouts.app') @section('title', 'Stock Take') @section('content') @php $num = fn ($v) => \App\Support\Fmt::plain($v, 2); $money = fn ($v) => \App\Support\Fmt::money($v); $day = fn ($v) => \App\Support\Fmt::day($v instanceof \DateTimeInterface ? $v->format('Y-m-d') : $v); $sel = 'h-9 w-full rounded-lg border border-input bg-transparent px-3 text-sm outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50'; @endphp
Physical counts against book balances; differences post as adjustments on approval
No stock takes recorded yet.
@endforelse{{ $active->store?->name ?? '—' }} · {{ $day($active->counted_on) }} · {{ $active->counted_by }}
| Item | Book qty | Counted | Variance | Value |
|---|---|---|---|---|
| {{ $line->item?->name ?? '—' }} | {{ $num($line->book_qty) }} | {{ $line->counted_qty === null ? '—' : $num($line->counted_qty) }} | {{ $line->variance() === null ? '—' : \App\Support\Fmt::signed($line->variance()) }} | {{ $money(abs($line->variance() ?? 0) * (float) ($line->item?->weighted_avg_cost ?? 0)) }} |
| No items match this filter. | ||||
This count is approved. Its differences have already been posted as adjustment movements.
@endif @if ($active->status === 'Draft')