@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']):'' }} |
|
{{($PO['quote']['opportunityQuoteVersion'])?$PO['quote']['opportunityQuoteVersion'].'-'.ucwords($PO['quote']['quoteVersion']):'' }}
|
@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%';
}
$sqm=0;
$width=($location['pWidth'])??0;
$hieght=($location['pHieght'])??0;
$sqm=($width*$hieght)??0;
$sqm=($sqm)/(1000000);
@endphp
Location |
{{$location['pLocation']}} |
Width (mm) |
{{$location['pWidth']}} |
Drop (mm) |
{{$location['pHieght']}} |
@if(($location['pColor']!=null))
Colour: |
{{$location['pColor']}} |
@endif
@if(($location['pFabric']!=null))
Fabric: |
{{$location['pFabric']}} |
@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
{{$specProdOption['optionName']}} : |
{{$typevalueLoc}} |
@endforeach
@endif
Total SQM : |
{{$sqm}} |
@php
$surcharges =[];
if(array_key_exists($location['pSpecId'],$relatedHardwareGrp)){
$surcharges = $relatedHardwareGrp[$location['pSpecId']];
}
@endphp
@if(count($surcharges)>0)
Surcharges |
@foreach ($surcharges as $sur)
@php
$totalIndProduct = $totalIndProduct+$sur['pIncGstTotalprice'];
$totalProduct += $sur['pIncGstTotalprice'];
@endphp
{{$sur['productName']}} |
@currency($sur['pIncGstTotalprice']) |
@endforeach
@endif
@if($location['sNotes']!=null)
Comments : {{$location['sNotes']}} |
@endif
Total price (Inc GST): @currency($totalIndProduct) |
|
@endforeach
@endforeach
|
{{($val[0]['productName']??'')}} Total (Inc GST) :@currency($totalProduct)
|
|
@if($PO['additionalComments'])
Additional Comments If any:
{{($PO['additionalComments'])}}
|
@endif