@extends('Reports.template') @if($trnType === 'GIN') @php $reportTitle = 'Material Issue Note Register Report'; @endphp @else @php $reportTitle = 'Material Issue Note Return Register Report'; @endphp @endif @section('title') {{__($reportTitle)}} @endsection @section('ExternalCss') @parent @endsection @section('Content') @php if($trnStatus === 'P'){ $trnStatusMessage = "Partial"; }else if($trnStatus === 'T'){ $trnStatusMessage = "Cancelled"; }else if($trnStatus === 'C'){ $trnStatusMessage = "Completed"; }else{ $trnStatusMessage = "ALL"; } @endphp
|
@if($businessEntityMasterData[0]->logo != null)
|
{{ $businessEntityMasterData[0]->name }}
{{$businessEntityMasterData[0]->add1. " " .$businessEntityMasterData[0]->add2 ." ".$businessEntityMasterData[0]->city." : " .$businessEntityMasterData[0]->pincode }}
{{"Phone : ".$businessEntityMasterData[0]->tel1}}
|
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{__($reportTitle)." "}} | {{__('Store')}} : {{ $storeName }} | {{__('Period')}} : {{ \Helper::getDisplayDate($fromDate) }} {{__('TO')}} {{ \Helper::getDisplayDate($toDate) }} | |||||||||
| {{__('Bill No')}} | {{__('Bill Date')}} | {{__('Department / Patient Name')}} | |||||||||
| {{__('Sr')}} | {{__('Item Name')}} | {{__('Mfg')}} | {{__('Category')}} | {{__('Unit')}} | {{__('Batch')}} | {{__('Exp')}} | {{__('Qty')}} | {{__('MRP')}} | {{__('MRP Value')}} | {{__('PTR')}} | {{__('PTR Value')}} |
| {{__('Bill No')}} | {{__('Bill Date')}} | {{__('Department / Patient Name')}} | {{__('Total PTR Value')}} | ||||||||
| @if($remark != '') {{__('Remarks')}} : {{$remark}} @endif | {{__("Created By")}}: @if($createdBy) {{$createdBy ." ".Carbon\Carbon::parse($datetime)->format('d-m-Y h:i:s')}} @endif | {{__('Total')}} : | {{\Helper::customAmountFormat2($mrpTotal)}} | {{\Helper::customAmountFormat4($ptrTotal)}} | |||||||
| {{ $productTransaction->trn_type.$productTransaction->ph_trn_id }} | {{ \Helper::getDisplayDate($productTransaction->trn_date) }} | {{$patDepName}} | |||||||||
| {{$transactionSr++}} | {{ \Helper::zeroValueToDash($productTransaction->product_name) }} | {{ \Helper::zeroValueToDash($productTransaction->manufacturer_name) }} | {{ \Helper::zeroValueToDash($productTransaction->category_abbrev) }} | {{ \Helper::zeroValueToDash($productTransaction->unit_abbrev) }} | {{ $productTransaction->batch_no }} | {{ \Helper::getMonthYearFromDate($productTransaction->batch_exp) }} | {{ $productTransaction->quantity }} | {{ \Helper::customAmountFormat2($productTransaction->mrp) }} | {{ \Helper::customAmountFormat2($mrpValue) }} | {{ \Helper::customAmountFormat4($productTransaction->price_per_unit_suom) }} | {{ \Helper::customAmountFormat4($rateValue) }} |
| @if($remark != '') {{__('Remarks')}} : {{$remark}} @endif | {{__("Created By")}}: @if($createdBy) {{$createdBy ." ".Carbon\Carbon::parse($datetime)->format('d-m-Y h:i:s')}} @endif | {{__('Total')}} : | {{\Helper::customAmountFormat2($mrpTotal)}} | {{\Helper::customAmountFormat4($ptrTotal)}} | |||||||
| {{__('Grand Total')}} : | {{\Helper::customAmountFormat2($mrpGrandTotal)}} | {{\Helper::customAmountFormat4($ptrGrandTotal)}} | |||||||||
| {{ $lastTrnId }} | {{ \Helper::getDisplayDate($lastTrnDate) }} | {{$lastPatOrDeptName}} | {{\Helper::customAmountFormat4($ptrTotal)}} | ||||||||
| {{ $lastTrnId }} | {{ \Helper::getDisplayDate($lastTrnDate) }} | {{$lastPatOrDeptName}} | {{\Helper::customAmountFormat4($ptrTotal)}} | ||||||||
| Grand Total : | {{\Helper::customAmountFormat4($ptrGrandTotal)}} | {{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} | |||||||||