@extends('Modules.Stock.layouts.main') View Stock-DairyCare @section('main-content')
Stock
@foreach($all_products as $a) @if($a->non_stock==0) @if($a->non_asset==0) @else @endif @else @endif @if($a->non_stock==0) @if($a->head_id==1) @elseif($a->head_id==2) @elseif($a->head_id==3) @else @endif @else @endif @if($a->disable==0) @else @endif @endforeach @foreach($milk_products as $a) @if($a->stock_item==1) @if($a->asset==1) @else @endif @else @endif @if($a->stock_item==0) @if($a->head_id==1) @elseif($a->head_id==2) @elseif($a->head_id==3) @else @endif @else @endif @endforeach
# Name Type Unit Rate/Unit Stock Item Stock Asset Quantity/Edit Status Delete
Type Unit Stock Item Stock Asset
{{$i}} {{$a->name}} {{$a->head_name}} {{$a->unit_name }} {{$a->rate }}YesYesNoNo No{{$a->q2}}{{$a->q1 }}{{$a->q3 }}{{$a->q4 }}
{{$i}} {{$a->name}} Milk Ltr {{$a->rate }}YesYesNoNo No{{$a->q2}}{{$a->q1 }}{{$a->q3 }}{{$a->q4 }}{{$a->quantity}}  Edit
@endsection