@extends('apex-layouts.main') @section('content')

Ingredient Inventory

Total Ingredient Inventory:  {{ $ingredientInventory->total() }}
@foreach($ingredientInventory as $value) @endforeach
id ingredient perGramPrice currentStock unit lastPrice Qty boughtDate boughtby user inStock created updated actions
{{$value->id}} {{$value->ingredientName}} {{\App\helpers\CommonHelper::getIngredientPrice($value->alongQty,$value->lastPrice,$value->unit)}} {{$value->actualQty}} {{$value->unit}} {{$value->lastPrice}} {{$value->alongQty}} {{$value->boughtDate}} {{$value->bought_by}} {{$value->user_id}} {{$value->inStock}} {{\App\helpers\ViewCommonHelper::getDateFormat($value->created_at)}} {{\App\helpers\ViewCommonHelper::getDateFormat($value->updated_at)}}
@method('DELETE') @csrf
@if($ingredientInventory->total() > $ingredientInventory->perPage()) @endif
@endsection @section('scripts') @stop @section('styles') @stop