@extends('layouts.admin-simple') @section('title', 'Physical Count & Cycle Counting') @section('breadcrumb')
Perform physical inventory counts and reconcile with system records
| Item | Category | Division | Current Stock | Physical Count | Variance | Status | Last Updated | Actions |
|---|---|---|---|---|---|---|---|---|
|
{{ substr($item->item_description ?? $item->item_code ?? 'U', 0, 1) }}
{{ $item->item_description ?? $item->item_code ?? 'Unknown Item' }}
{{ $item->item_code ?? 'No Code' }}
|
@if($item->category)
category
{{ $item->category->category_name }}
@else
-
@endif
|
@php
// Get unique divisions that have this item in inventory
$itemDivisions = $item->inventories ? $item->inventories->filter(function($inv) {
return $inv->division_id && $inv->quantity_available > 0;
})->pluck('division')->unique('id') : collect();
@endphp
@if($itemDivisions->count() > 0)
@if($itemDivisions->count() == 1)
business
{{ $itemDivisions->first()->division_name ?? 'Unknown' }}
@else
business
{{ $itemDivisions->count() }} divisions
@endif
@else
No Division
@endif
|
@php
$currentStock = $item->inventories ? $item->inventories->sum('quantity_available') : 0;
@endphp
{{ number_format($currentStock, 2) }}
{{ $item->unit_of_measure ?? 'pcs' }}
|
- | Pending |
{{ now()->format('M j, Y') }}
by {{ auth()->user()->name }}
|
|
|
inventory
No Items FoundNo items available for counting. |
||||||||