@extends('Reports.template') @section('title') @php $reportTitle = "Product Expiry Report With Supplier Detail"; @endphp {{__($reportTitle)}} @endsection @section('ExternalCss') @parent @endsection @section('Content') @php $currentTime = \Carbon\Carbon::now(); @endphp @if($reportType == "all") @else @endif @php $srHeader = 1; $oldUniqueID = ''; $totalQty = 0; $totalStockAmt = 0; @endphp @foreach($productStockExpData as $stock) @php $uniqueID = $stock->product_id." ".$stock->batch_no; @endphp @if($uniqueID != $oldUniqueID) @if($totalQty != 0 && $oldUniqueID != '') @endif @php $sr = 1; $totalQty = 0; $stockAmt = $stock->current_stock_qty * $stock->price_per_unit_wo_gst; $totalStockAmt += $stockAmt; @endphp @endif @if($stock->supplier_name != null) @php $totalQty += $stock->quantity_per_unit_suom; @endphp @endif @php $oldUniqueID = $uniqueID; @endphp @endforeach @if($totalQty != 0) @endif
@if($businessEntityMasterData[0]->logo != null) Pharmacy Logologo )}}"/> @endif
{{ $businessEntityMasterData[0]->name }}
{{$businessEntityMasterData[0]->add1. " " .$businessEntityMasterData[0]->add2 ." ".$businessEntityMasterData[0]->city." : " .$businessEntityMasterData[0]->pincode }}
{{"Phone : ".$businessEntityMasterData[0]->tel1}}
{{__($reportTitle)}} {{__('Store')}} : {{$storeName}}{{__('As on')}} : {{\Helper::getDisplayDate($toDate)}}{{__('Period')}} : {{\Helper::getDisplayDate($fromDate)}} {{__('TO')}} {{\Helper::getDisplayDate($toDate)}}
{{__('Sr No.')}}   {{__('Item Name')}} {{__('Cat')}} {{__('Batch')}} {{__('Exp')}} {{__('SUOM')}} {{__('Stock Qty')}}     {{__('Stock Rate (WO GST)')}} {{__('Stock Amt')}}
{{__('Sr No.')}}  {{__('Supplier Name')}} {{__('Vou No')}}   {{__('Vou Date')}}   {{__('Supp Bill No')}}   {{__('Supp Bill Date')}}   {{__('Qty')}}
{{__('Total Qty')}} :   {{$totalQty}}
{{$srHeader++}}   {{$stock->product_name}} {{$stock->category_abbrev}} {{strtoupper($stock->batch_no)}} {{\Helper::getMonthYearFromDate($stock->batch_exp)}} {{$stock->unit_abbrev}} {{\Helper::zeroValueToNbspSpace($stock->current_stock_qty)}}     {{\Helper::customAmountFormat4($stock->price_per_unit_wo_gst)}} {{\Helper::customAmountFormat($stockAmt)}}
{{$sr++}}  {{$stock->supplier_name}} {{$trnType.($stock->trn_id ? "/" : "").$stock->trn_fyear.($stock->trn_id ? "/" : "").$stock->trn_id}}   {{\Helper::getDisplayDate($stock->trn_date)}}   {{$stock->purchase_bill_no}}   {{\Helper::getDisplayDate($stock->purchase_bill_date)}}     {{$stock->quantity_per_unit_suom}}
{{__('Total Qty')}} :   {{$totalQty}}
{{__('Total Amt')}} : {{\Helper::customAmountFormat($totalStockAmt)}}
{{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}}
@if($trnType == "P") {{__('Back')}} @else {{__('Back')}} @endif
@endsection @section('BootstrapModals') @endsection @section('ExternalJs') @endsection