@extends('business.layouts.print-layout')

@section('print-content')

    <style>
        li.p-detail-main-sheet__left-image:first-child {
            width: calc(100% - 190px);
            float: left;
        }
        li.p-detail-main-sheet__left-image {
            display: inline-block;
            padding: 8px !important;
        }


        .justify-content-between li {
            display: inline-block;
        }

        .p-detail-main-sheet__left-image {
            width: 100% !important;
        }
    </style>

    <style type="text/css" media="print">
        @page
        {
            size: auto;   /* auto is the initial value */
            margin: 0mm;  /* this affects the margin in the printer settings */
        }
    </style>
    @include('business.objects.components.count-article-print', ['totalArt' => $totalArt ?? ""])
    <div class="p-print">
        <div class="p-detail-main-sheet">
            @foreach($listOfArticle as $item)
                <div class="sheet">
                    @include('business.objects.projects.detail-main-lot-sheet')
                </div>
            @endforeach
        </div>
    </div>
@endsection
