@extends('business.layouts.base-noheader')

@section('contents')
<style type="text/css" media="print">
    @page {
        size: A4 landscape;
    }
    

 </style>
<style type="text/css">
.p-print {
    width: 1200px;
    /* border: 1px solid #7A7A7A; */
    padding: 3px 0;
    margin: 0px auto;
}
.sheet {
    text-align:center;
    color: #7A7A7A;
    width: 1123px;
    height: 794px;
    margin: 10px auto;
    border: 1px solid #7A7A7A;
    page-break-after: always;
}

</style>
@foreach($items as $item)
<section class="p-print">
    <div class="sheet">
@if(!empty($item->disp_sheet_file))
<img src="{{$item->disp_sheet_file}}" style="max-height: 794px; height: 100%;">
@else
<img src="{{root('img/noimage2.jpg')}}" style="max-height: 794px; height: 100%;"/>
@endif
    </div>
</section>
@endforeach

@endsection
