@extends('admin.layout.master') @section('title','RECIPE MANAGEMENT') @section('custom_style') @endsection @section ('content')

Recipe List

{{--
Add New
--}}
{{-- --}}
Search

{{-- @php $action_user=checkUserCapableToAprroveList('App\Models\Inventory\Recipe',$action_id); @endphp --}} @forelse ($recipes as $key=>$recipe) @endif @empty @endforelse
# Name Finished Product Valid Till By Approval Status ACTION
{{ ($key+1) }} {{ $recipe->name }} {{ $recipe->product?$recipe->product->name_eng:'' }} {{ date('d-m-Y',strtotime($recipe->valid_till)) }} {{ $recipe->madeBy->name }} @if(($recipe->approved_status==2)) @else @if($action_step_id=checkApproval($recipe->approvals,$action_id)) {{-- @php($action_step_id=checkApproval($recipe->approvals,$action_id)) --}} {{-- @if(!$recipe->approvals || !$recipe->approvals->where('status',1)->where('action_step_id',$action_step_id)->first()) --}} {{-- @endif --}} @elseif($recipe->approvals && count($recipe->approvals->where('admin_id',active_user()))>0) @else {{'No Acess'}} @endif @endif @if(checkAuthPermission('recipe.update'))
{{-- {!! $invoices->links() !!} --}}
@include('inventory.recipe.recipe_edit_modal') @endsection @section('script') {{-- --}} {{-- @include('inventory.recipe.recipe_js') --}} @stop