@php @endphp @foreach ($products as $val) @php $itemNo = 0; @endphp @foreach ($val as $lkey => $location) @php $itemNo ++; @endphp @endforeach @endforeach @php $itemNo = 1; @endphp @foreach ($products as $val) $copArr= array(); @foreach ($val as $lkey => $location) $copArr= array(); @foreach ($location['options'] as $key => $specProdOption) @php $optName = ''; $typevalueLoc=json_decode($specProdOption['typeValue']) ; if(is_array($typevalueLoc)){ $typevalueLoc = implode(', ',$typevalueLoc); } $optName = str_replace(' ', '',strtolower($specProdOption['optionName'])); $copArr["$optName"] = $typevalueLoc; @endphp @endforeach @foreach ($location['options'] as $key => $specProdOption) @php $optName = ''; $typevalueLoc=json_decode($specProdOption['typeValue']) ; if(is_array($typevalueLoc)){ $typevalueLoc = implode(', ',$typevalueLoc); } $optName = str_replace(' ', '',strtolower($specProdOption['optionName'])); $copArr["$optName"] = ''; @endphp @endforeach @php $itemNo ++; @endphp @endforeach @php $itemNo = 1; @endphp @foreach ($val as $lkey => $location) @php @endphp @foreach ($location['options'] as $key => $specProdOption) @php $optName = ''; $typevalueLoc=json_decode($specProdOption['typeValue']) ; if(is_array($typevalueLoc)){ $typevalueLoc = implode(', ',$typevalueLoc); } $optName = str_replace(' ', '',strtolower($specProdOption['optionName'])); $copArr["$optName"] = $typevalueLoc; @endphp @endforeach @php $hardstring = ''; $rowH = 0; @endphp @foreach ($relatedHardwareGrp as $key3 => $hlocation) @if($location['pSpecId'] == $key3) @foreach($hlocation as $key4 => $mlocation) @php $hwstring = $mlocation['pQty'].' X '.$mlocation['productName']; if($mlocation['pWidth'] > 0){ $hwstring = $hwstring .' @ '. $mlocation['pWidth'] . 'mm'; } if($mlocation['pNotes'] != ''){ $hwstring = $hwstring . ' ('.$mlocation['pNotes'] .')'; } $hardstring = $hardstring . $hwstring . "\n"; $rowH +=30; @endphp @endforeach @endif @endforeach @php if($rowH == 0){ $rowHeight = '30'; }else{ $rowHeight = (string)$rowH; } @endphp @php $itemNo ++; @endphp @endforeach @endforeach
Company Name 4878 Factory Direct Shutters, Blinds & Awnings Office USE
Order Name/No. {{$additionalInfo['quoteNo']}}
Pick Up or Delivery Delivery - {{$additionalInfo['DeliveryAddress']}}
Date {{$additionalInfo['CurrentDate']}}
Sizes are Make Sizes
Item Room Location Width Height Product Type Heading Hem Curtain Layout Fabric Control Tracking
Range Colour Attached Lining Type Side Colour Length Track Type Stack Side Track Mounting Bracket Track Colour Return Type Return Sides
{{$itemNo}} {{$location['pLocation']}} {{$location['pWidth']}} {{$location['pHieght']}} Aura Drapery {{$copArr['headingtype']?? ''}} {{$copArr['bottomhemtype']?? ''}} {{$copArr['curtaintype']?? ''}} {{$location['pFabric']?? ''}} {{$location['pColor']?? ''}} No {{$copArr['controltype(c)']?? 'No'}} {{$copArr['controlside(c)']?? ''}} {{$copArr['flickstickcolour']?? ''}} {{$copArr['flicksticklength']?? ''}} {{$copArr['mountingtype']?? ''}} {{$copArr['tracktype']?? ''}} {{$copArr['bunchtype']?? ''}} {{$copArr['fixtype']?? ''}} {{$copArr['position']?? 'Single'}} {{$copArr['trackcolour(c)']?? ''}} {{$copArr['returntype']?? ''}}
Item Bend point 1 Bend point 2 Bend point 3 Additional Hardware Notes
{{$itemNo}} {{$copArr['bendpoint1']?? ''}} - {{$copArr['bend1type']?? ''}} - {{$copArr['bend1size']?? ''}} {{$copArr['bendpoint2']?? ''}} - {{$copArr['bend2type']?? ''}} - {{$copArr['bend2size']?? ''}} {{$copArr['bendpoint3']?? ''}} - {{$copArr['bend3type']?? ''}} - {{$copArr['bend3size']?? ''}} {!! nl2br($hardstring) !!} {{$location['sNotes']}}