Stock Taking
Count physical stock, compare with system stock, and adjust inventory where necessary.
Inventory
@if(session('success'))
{{ session('success') }}
@endif
@if($errors->any())
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif
Products
{{ number_format($summary->products) }}
Current Quantity
{{ number_format($summary->quantity, 2) }}
Stock Value
{{ \App\Models\SystemSetting::formatMoney($summary->stock_value) }}
Low Stock
{{ number_format($summary->low_stock) }}
{{ $activeStockTaking ? 'Active Stock Taking' : 'Start Stock Taking' }}
@if(!$activeStockTaking)
@else
No: {{ $activeStockTaking->stock_take_no }}
Branch: {{ $activeStockTaking->branch?->name ?: '-' }}
Staff: {{ $activeStockTaking->user?->name ?: '-' }}
Start: {{ $activeStockTaking->started_at?->format('Y-m-d H:i') }}
@endif
@if($activeStockTaking)
Stock Taking Worksheet
| Code |
Product Name |
Category |
Available |
B.Price |
S.Price |
Actual Qty |
Difference |
Branch |
Start Date |
Close Date |
Staff |
Update |
Adjust |
@forelse($items as $item)
@php($diff = (float) $item->difference_quantity)
@php($updateFormId = 'stockTakingUpdate'.$item->id)
| {{ $item->barcode ?: '-' }} |
{{ $item->product_name }} |
{{ $item->category?->name ?: '-' }} |
{{ number_format($item->available_quantity, 2) }} |
{{ \App\Models\SystemSetting::formatMoney($item->buying_price) }} |
{{ \App\Models\SystemSetting::formatMoney($item->selling_price) }} |
|
{{ number_format($diff, 2) }}
|
{{ $activeStockTaking->branch?->name ?: '-' }} |
{{ $activeStockTaking->started_at?->format('Y-m-d H:i') }} |
{{ $activeStockTaking->closed_at?->format('Y-m-d H:i') ?: '-' }} |
{{ $item->updatedBy?->name ?: $activeStockTaking->user?->name }} |
|
|
@empty
| No stock taking items found. |
@endforelse
@if(method_exists($items, 'links'))
{{ $items->links('vendor.pagination.jevapos') }}
@endif
@endif
Stock Taking Report
| Stock Take No |
Branch |
Status |
Start Date |
Close Date |
Staff |
Items |
Counted |
Adjusted |
@forelse($stockTakingReports as $report)
| {{ $report->stock_take_no }} |
{{ $report->branch?->name ?: '-' }} |
{{ ucfirst($report->status) }} |
{{ $report->started_at?->format('Y-m-d H:i') }} |
{{ $report->closed_at?->format('Y-m-d H:i') ?: '-' }} |
{{ $report->user?->name ?: '-' }} |
{{ $report->items()->count() }} |
{{ $report->items()->whereNotNull('actual_quantity')->count() }} |
{{ $report->items()->whereNotNull('adjusted_at')->count() }} |
@empty
| No stock taking reports yet. |
@endforelse
@endsection