@extends('backend.layouts_backend.master2') @section('title') Stock Reconciliation @endsection @section('content') {{-- header --}}

Stock Reconciliation

@if (Auth::user()->can('stock-reconciliation-create')) @endif
{{-- end header --}}
{{-- alert add item --}} @if (session('messagesave')) {{--
{{ session('message')}}
--}} @endif {{-- alert delete item --}} @if (session('messagedelete')) {{--
{{ session('messagedelete')}}
--}} @endif {{-- alert update item --}} @if (session('messageupdate')) @endif
{{-- --}} {{-- --}} {{-- --}} @foreach ($products as $key => $product) {{-- --}} {{-- --}} {{-- --}} {{-- view details modal --}} {{-- end of view modal --}} @endforeach
#IdProduct CodeProduct Name Branch Adjustment Type New System StockPysical StockVarianceCreated ByReconciled On Action
{{ $key + 1 ?? 'N/A' }}{{ $product->product->product_code ?? 'N/A' }}{{ $product->product->product_name ?? 'N/A' }} {{ $product->branch->branch_name ?? 'N/A' }} @if ($product->adjustment_type == '1') Addition @elseif($product->adjustment_type == '2') Subtraction @else @endif {{ $product->product->product_stock_quantity ?? 'N/A' }}{{ $product->physical_stock ?? 'N/A' }}{{ $product->variance ?? 'N/A' }}{{ get_user_fullname($product->created_by) ?? 'N/A' }}{{ short_date($product->reconciliation_date) ?? 'N/A' }}
@if (Auth::user()->can('view-product-stock-reconciliation-details')) @endif {{-- delete --}} @if (Auth::user()->can('delete-product-stock-reconciliation'))
@csrf @method('DELETE')
@endif

@endsection