@extends('admin.layouts.master') @section('title', 'Stock') @section('content')
Purchase Complete
@if(Auth::user()->role<=4) @endif @if(Auth::user()->role==7) @endif @if(!empty($stock) && $stock->count()>0) @foreach($stock as $key=>$val) @if($val->is_draft==1) @else @endif @endforeach @endif
Sl.No Invoice No DateApprove ReviewAction
{{$key+1}} {{ $val->invoiceNo}} {{ $val->purchaseDate}} In Draft @if($val->status==1) Received @endif @if($val->status==2) In Stock @endif @if($val->is_draft==1 || (Auth::user()->role<=4 && $val->status==0)) @if(Auth::user()->role <=4) Add To Stock   @endif @else @endif @if(Auth::user()->id==1)
{{ method_field('delete') }} {{ csrf_field() }}
@endif
@endsection