@extends('Reports.template') @section('title') Material Reorder Report @endsection @section('ExternalCss') @parent @endsection @section('Content')
@php $currentTime = \Carbon\Carbon::now(); @endphp @php $sr = 1; $avgDay =0; $addReq =0; @endphp @foreach ($medicineReorderData as $key =>$product) @foreach($stockReorder as $key =>$stock) @if($product->product_id == $stock->product_id) @if($reorder != 'reorder') @php $avgDay=round($product->quantity/$day,2); $addReq=$product->quantity -$stock->current_stock_qty; @endphp @if($addReq<0) @php $addReq= '-'; @endphp @endif @endif @endif @endforeach @endforeach
Pharmacy Logologo )}}"/>
{{ $businessEntityMasterData[0]->name }}
{{$businessEntityMasterData[0]->add1. " " .$businessEntityMasterData[0]->add2 ." ".$businessEntityMasterData[0]->city." : " .$businessEntityMasterData[0]->pincode }}
{{"Phone : ".$businessEntityMasterData[0]->tel1}}
{{"Material Reorder"}} As on :{{$currentTime->format('d/m/Y H:i:s ')}}
Period Of {{$day}} Days From :{{$date2}} To {{$date1}}
Sr No   Item Name Curr. Stock Total Sale Avg/Day Sale Additional Rqd. Order Qty.
{{$sr++}}  {{$product->product_name}} {{$stock->current_stock_qty}} {{$product->quantity}} {{\Helper::customAmountFormat($avgDay)}} {{$addReq}}
Back
@endsection @section('BootstrapModals') @endsection @section('ExternalJs') @endsection