@extends('layouts.app') @push('css') @endpush @section('content')
@if(session('success')) {!! alert_success(session('success')) !!} @elseif(session('error')) {!! alert_error(session('error')) !!} @endif
{{ $title }} @if(userCanView('counting.destroy') && $counting->status == "Pending") Delete       @endif @if(userCanView('counting.export_excel')) Export Excel       @endif @if(userCanView('counting.import_excel')) Import Excel       @endif

{{ $counting->name }}

{{ convert_date2($counting->date) }}

{{ $counting->user->name }}

{!! showStatus($counting->status) !!}

Stock List

@foreach($counting->stock_taking_items as $count) @endforeach
Stock Name Available Quantity Available Yard Quantity Counted Quantity Counted Yard Quantity Quantity Difference Quantity Yard Difference
{{ $count->stock->name }} {{ $count->available_quantity }} {{ $count->available_yard_quantity }} {{ $count->counted_available_quantity }} {{ $count->counted_yard_quantity }} {{ $count->available_quantity_diff }} {{ $count->available_yard_quantity_diff }}
@if(userCanView('counting.import_excel')) @endif @endsection @push('js') @endpush