@php $fdLogo = asset('uploads/fd-logo.png'); @endphp @if($Appsettings->logo) @php $fdLogo = asset('uploads/'.$Appsettings->logo); @endphp @endif
Customer
{{$Appsettings['address']}}
Delivery / Installation Address
{{$Appsettings['address']}}

Date

: {!! date('d/m/Y', strtotime($PO['orderCreatedDate'])) !!}

Sales Rep

: {{$PO['quote']['salesRep']}}

Reference

: {{($PO['quote']['opportunityQuoteVersion'])?$PO['quote']['opportunityQuoteVersion'].'-'.ucwords($PO['quote']['quoteVersion']):'' }}

User Image

{{($PO['quote']['opportunityQuoteVersion'])?$PO['quote']['opportunityQuoteVersion'].'-'.ucwords($PO['quote']['quoteVersion']):'' }}

Rework type : {{$reworkData['reworkType']}}

Rework sub type : {{$reworkData['reworkSubType']}}

Rework reason : {{$reworkData['reworkReasonType']}}

@php $totalproductArray=array(); @endphp @foreach ($grouProducts as $val) @php $totalProduct = 0; $totalIndProduct = 0; $totalSurProduct = 0; @endphp
{{($val[0]['productName']??'')}}
@foreach ($val as $lkey => $location) @php $totalIndProduct = $location['pIncGstTotalprice']; $totalProduct += $totalIndProduct; @endphp @php $tdsize ='36%'; $tdsize1 ='24%'; if($isUser){ $tdsize ='20%'; $tdsize1 ='16%'; } @endphp @endforeach @endforeach
@if(($location['pColor']!=null)) @endif @if(($location['pFabric']!=null)) @endif @if(($location['options']!=null)) @foreach($location['options'] as $key => $specProdOption) @php $typevalueLoc=json_decode($specProdOption['typeValue']) ; if(is_array($typevalueLoc)){ $typevalueLoc = implode(', ',$typevalueLoc); } @endphp @endforeach @endif @php $surcharges =[]; if(array_key_exists($location['pSpecId'],$relatedHardwareGrp)){ $surcharges = $relatedHardwareGrp[$location['pSpecId']]; } @endphp @if(count($surcharges)>0) @foreach ($surcharges as $sur) @php $totalIndProduct = $totalIndProduct+$sur['pIncGstTotalprice']; $totalProduct += $sur['pIncGstTotalprice']; @endphp @endforeach @endif @if($location['sNotes']!=null) @endif
{{($val[0]['productName']??'')}} Total (Inc GST) : @currency($totalProduct)
@php $totalproductArray=array(); @endphp @foreach ($grouHrdware as $val) @php $totalProduct = 0; $totalIndProduct = 0; $totalSurProduct = 0; @endphp
{{($val[0]['productName']??'')}}
@foreach ($val as $lkey => $location) @php $totalIndProduct = $location['pIncGstTotalprice']; $totalProduct += $totalIndProduct; @endphp @php $tdsize ='36%'; $tdsize1 ='24%'; if($isUser){ $tdsize ='20%'; $tdsize1='16%'; } @endphp @endforeach @endforeach @if($PO['reworkAdditionalComments']) @endif
{{($val[0]['productName']??'')}} Total (Inc GST) : ${{round($totalProduct)}}
Additional Comments If any:

{{($PO['reworkAdditionalComments'])}}