@if(count($SupplierPurchase['basePapers']) > 0) @foreach($SupplierPurchase['basePapers'] as $page => $basePapers )

九州クラフト工業

{{ $SupplierPurchase['name'] }} 御中 @if ($SupplierPurchase['dateStart'] == null) {{ date('Y-m-d') }} @elseif ($SupplierPurchase['dateStart'] == $SupplierPurchase['dateEnd']) {{ ($SupplierPurchase['dateStart']) }} @else {{ ($SupplierPurchase['dateStart']) }} ~ {{ ($SupplierPurchase['dateEnd']) }} @endif
@foreach($basePapers as $basePaper ) @if($basePaper['attributes']['Type'] == 'Treatment') @else @endif @endforeach
発注日 原紙名 m 備考 @ 金額 品番/品名 出荷日
@if ($basePaper['purchase_date_d'] == '-') {{ date('m-d') }} @else {{ date('m-d',strtotime($basePaper['purchase_date_d'])) }} @endif {{ $basePaper['attributes']['material'] }} {{ number_format($basePaper['attributes']['size_w']) }} {{ number_format($basePaper['attributes']['size_l']) }} {{ $basePaper['attributes']['size_remark'] }} {{ number_format($basePaper['price']) }} {{ ($basePaper['attributes']['size_unit_price']) }} {{ number_format(floor(($basePaper['attributes']['size_w'] * $basePaper['attributes']['size_l'] * $basePaper['attributes']['size_unit_price']) / 1000)) }} {{ $basePaper['order']['attributes']['Outline']['OrderNumber'] }}
{{ $basePaper['order']['attributes']['Outline']['ProductName'] }}
@if($page == count($SupplierPurchase['basePapers']) - 1) {{ $SupplierPurchase['name'] }} 合計金額 @endif @if($page == count($SupplierPurchase['basePapers']) - 1) {{ number_format($SupplierPurchase['totalPrice']) }} @endif @if(count($SupplierPurchase['basePapers']) >= 2) {{ $page + 1 }} / {{ count($SupplierPurchase['basePapers']) }} @endif
@endforeach @endif