HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/stafa.komma.pro/resources/views/shop/pages/invoice/invoiceShow.blade.php
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<style>
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
    .page-break {
    page-break-after: always;
    }
    .pdf-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 45px;
        font-family: 'Open Sans', sans-serif;
        /*background: #efefef;*/
    }
    img{
    display: block;
    border: none;
}
    .header {
    height: 90px;
        width: 100%;
        text-align: right;
    }
    .header .logo {
    display: block;
    margin-left: auto;
        width: 350px;
        height: 50px;
        text-align: right;
    }
    .header .logo img {
    width: 100%;
}
    .header {
    display: block;
    width: 80px;
        height: 40px;
        margin-top: 5px;
        margin-left: auto;
    }

    .header img{
    width: 100%;
    margin: 0;
}

    .footer{

    }

    .footer div{
    display: inline-block;
    width: 32%;
    text-align: left;
    }
    /*.footer div + div{*/
    /*}*/


    .footer div table{
    border: none;
}

    .footer div table td {
    border: none;
    font-size: 12px;
        line-height: 16px;
        color: #6B7C93;
    }

    .footer div table td.title{
    font-weight: bold;
        padding-right: 10px;
    }

    .footer div p{
    display: block;
    width: 100%;
    margin: 0;
    font-size: 12px;
        line-height: 16px;
        color: #6B7C93;
    }

    .footer div p strong{
    display: inline-block;
}

    .footer .business-info strong{
    width: 60px;
    }

    .main p{
    font-size: 15px;
        line-height: 19px;
        color: #38414D;
    }

    .main .invoice-header{
    font-size: 16px;
        line-height: 21px;
        color: #38414D;
        font-weight: bold;
    }

    .main .invoice-address{
    display: block;
    margin-bottom: 40px;
    }

    .main table{
    width: 100%;
}

    .main table th{
    font-size: 16px;
        line-height: 21px;
        color: #38414D;
    }

    .main table td{
    font-size: 15px;
        line-height: 19px;
        color: #38414D;
    }
    table {
        border: 1px solid black;
        border-bottom: 2px solid black;
        margin-bottom: 50px;
    }

    table th {
        text-align: center;
    }

    table td {
        text-align: center;
    }
</style>


<?php
/** @var App\Komma\Shop\Orders\Models\Order $order */
/** @var \App\Komma\Globalization\RegionInfo $regionInfo */
/** @var string $rootUrl */
?>

<div class="pdf-container">

    <div class="header">
        <div class="logo">
            {{--<img alt="logo" src="{{$rootUrl}}/img/komma_nl.svg"/>--}}
            <img alt="logo" src="https://via.placeholder.com/1000x142?text=See%20Invoice.blade%20to%20remove%20this%20placeholder.php"/>
        </div>
    </div>

    <div class="main">
        <p class="invoice-header">
            <strong>@lang('shop/orders.order_number'): {{$order->order_number}} </strong><br/>
            <strong>@lang('shop/orders.invoice'): {{$order->invoice_number}} </strong><br/>
            <strong>@lang('kms/global.date'): {{$order->created_at->format('d-m-y')}}</strong>
        </p>
        <p class="invoice-address">
            @lang('site/form.form.salutation.options.'.((int) $order->customer->gender).'.short') {{$order->customer->last_name}}<br/>
            {{$order->invoice_street . ' '. $order->invoice_house_number}}<br/>
            {{$order->invoice_postal_code . ' ' . $order->invoice_city}}
        </p>

        @include('shop.partials.invoice.invoiceOrderedProduct', ['orderedProducts' => $order->orderedProducts])
        @include('shop.partials.invoice.invoiceOrderedProductgroups', ['orderedGroups' => $order->orderedGroups])
        @include('shop.partials.invoice.invoiceOrderedProductcomposites', ['orderedProductComposites' => $order->orderedProductComposites])


        <!--Total-->
        <table>
            <tbody>
                <tr>
                    <td><strong>@lang('shop/orders.total_inc_vat')</strong></td>
                    <td>{{ $regionInfo->getCurrencySymbol().' '.$regionInfo->getNumberFormat()->centsToCurrency($order->total_price) }}</td>
                </tr>
                <tr>
                    <td><strong>@lang('shop/taxes.vat') 21%</strong></td>
                    <td>{{ $regionInfo->getCurrencySymbol().' '.$regionInfo->getNumberFormat()->centsToCurrency($order->monetaryVat()) }}</td>
                </tr>
            </tbody>
        </table>

        @if($order->hasBeenPaid())
            <p>@lang('shop/orders.invoice_paid')</p>
        @endif
    </div>

    <div class="footer">
        <div class="address-info">
            <table cellspacing="0">
                <tr>
                    <td class="title">@lang('company.address')</td>
                    <td class="value">{{ config('site.company.address') }}</td>
                </tr>
                <tr>
                    <td class="title">@lang('company.postal_code')
                    <td class="value">{{ config('site.company.postal_code') }}</td>
                </tr>
                <tr>
                    <td class="title">@lang('company.city')
                    <td class="value">{{ config('site.company.city') }}</td>
                </tr>
            </table>
        </div>

        <div class="contact-info">
            <table cellspacing="0">
                <tr>
                    <td class="title">{{ substr(__('site/form.phone.label'), 0, 1) }}</td>
                    <td class="value">{{ config('site.company.phone.display') }}</td>
                </tr>
                <tr>
                    <td class="title">{{ substr(__('site/form.email.label'), 0, 1) }}</td>
                    <td class="value">{{ config('site.company.email') }}</td>
                </tr>
                <tr>
                    <td class="title">{{ substr(__('site/form.website.label'), 0, 1) }}</td>
                    <td class="value">{{ config('site.company.url') }}</td>
                </tr>
            </table>
        </div>

        <div class="business-info">
            <table cellspacing="0">
                <tr>
                    <td class="title">@lang('shop/taxes.chamber_of_commerce')</td>
                    <td class="value">{{ config('site.company.chamber_of_commerce') }}</td>
                </tr>
                <tr>
                    <td class="title">@lang('shop/taxes.vat')</td>
                    <td class="value">{{ config('site.company.vat') }}</td>
                </tr>
                <tr>
                    <td class="title">@lang('shop/transactions.account_reference')</td>
                    <td class="value">{{ config('site.company.iban') }}</td>
                </tr>
            </table>
        </div>
    </div>
</div>