<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <link rel="icon" href="{{ asset('favicon.ico') }}">

    <title>Harsi Hoteleria Reports | {{ $PDFName }}</title>
</head>
<body>

    @include('layouts.pdf-style')

    <header>
        <div style="box-sizing: border-box; width: 100%; float: left;">

            <div style="float: left; width: 30%;">
                <img src="data:image/png;base64,<?php echo base64_encode(file_get_contents(base_path($img))); ?>" width="230" height="80"></td>
            </div>

            <div style="float: right; width: 70%;" class="pt-2">
                <div style="width: auto; border-bottom: 2px solid #187fd3; margin-left: 30%;">
                    <h3 style="text-align: center; padding-top: 8px"> {{ $title }}</h3>
                </div>
            </div>

        </div>
    </header>

    <p style="color:#e7e7e7" class="p-0 m-0">`</p>


    <div class="container-fluid">
        <div class="row">
            <div class="col-7 offset-2">
                <div class="card" style="background-color: #fcfcfc;border:2px solid #e7e7e7; border-radius: 14px; text-align: center; padding: 0.5rem 0rem">
                    <h4 class="card-title">{{ $business->business_name }}</h4>

                    @isset($business->business_address)
                        <p class="card-text" style="margin-bottom: 0px">{{ $business->business_address }}</p>
                    @endisset

                    @isset( $business->business_phone )
                        <p class="card-text">{{ $business->business_phone }}</p>
                    @endisset
                </div>
            </div>
        </div>
    </div>

    @yield('content')
</body>

</html>
