<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title><?php echo e(gs()->siteName($pageTitle ?? '')); ?></title>
    <!-- favicon -->
    <link rel="shortcut icon" type="image/png" href="<?php echo e(siteFavicon()); ?>">

    <link rel="stylesheet" href="<?php echo e(asset('assets/global/css/pdf.css')); ?>">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

        @font-face {
            font-family: "mono";
            src: url(<?php echo e(asset('asset/pdf_font/RobotoMono-Light.ttf')); ?>) format("opentype");
            font-weight: normal;
            font-style: normal;
        }

        .table>thead {
            vertical-align: bottom;
            background: none;
            color: rgb(56, 56, 56);
            border-top: 1px dashed #838383 !important;
            border-bottom: 1px dashed #838383 !important;
            border-left: none;
            border-right: none;
        }

        table td {
            background: none !important;
        }

        table {
            border: none !important;
            font-family: "mono", monospace;
        }

        table td {
            padding: 8px 10px;
        }

        table tbody {
            border: none !important;
        }

        table tr td.border-top {
            border-top: 1px dashed #858585 !important;
        }

        .devide-two {
            padding-bottom: 5px;
        }

        .devide-two span,
        .devide-two b {
            display: inline-block;
        }

        .devide-two b:first-child {
            min-width: 105px !important;
        }

        .bank-location .bank-address {
            display: inline-block;
            padding-bottom: 10px;
        }

        .account-info .devide-two span:last-child {
            font-family: "mono", monospace;
        }

        .account-address {
            font-family: "mono", monospace;
            display: block !important;
            max-width: 300px;
            word-wrap: break-word;
            line-height: 1.4;
        }

        .statement_box {
            padding: 8px 0;
            margin-top: 20px;
        }

        .left_side {
            float: left;
            width: 50%;
        }

        .right_side {
            float: right;
            width: 45%;
        }

        .logo_box {
            padding-bottom: 15px;
        }

        .logo_box img {
            max-width: 210px;
        }

        b {
            font-weight: 500;
        }

        .transaction-detail {
            max-width: 220px;
            word-wrap: break-word;
        }

        .clearfix::after {
            content: "";
            clear: both;
            display: table;
        }

        .customer-name {
            font-size: 14px;
            font-weight: 600;
            padding-bottom: 8px;
            display: inline-block;
        }
    </style>

    <?php echo $__env->yieldPushContent('style'); ?>
</head>

<body>
    <main>
        <div class="list--row clearfix">
            <div class="left_side">
                <div class="logo_box">
                    <img src="<?php echo e(siteLogo('dark')); ?>" class="logo" alt="Logo">
                </div>
                <div class="bank-location">
                    <span class="bank-address">
                        <?php echo e(__(gs()->site_name)); ?>

                    </span>
                    <div class="devide-two">
                        <b><?php echo app('translator')->get('Email'); ?></b>
                        <span>: <?php echo e(__(gs()->email_from)); ?></span>
                    </div>
                    <div class="devide-two">
                        <b><?php echo app('translator')->get('Phone'); ?></b>
                        <span>: +1 345 743 1465</span>
                    </div>
                    <div class="devide-two">
                        <b><?php echo app('translator')->get('Website'); ?></b>
                        <span>: Caymanbranconational.com</span>
                    </div>
                </div>
            </div>
            <div class="right_side">
                <div class="bank-location account-info">
                    <span class="customer-name">
                        <?php echo e($user->firstname); ?> <?php echo e($user->lastname); ?>

                    </span>
                    <?php
                        $addressParts = [];
                        if ($user->address) $addressParts[] = trim($user->address, '"\'');
                        if ($user->city) $addressParts[] = $user->city;
                        if ($user->state) $addressParts[] = $user->state;
                        if ($user->zip) $addressParts[] = $user->zip;
                        if ($user->country_name) $addressParts[] = $user->country_name;
                        $fullAddress = implode(', ', $addressParts);
                    ?>
                    <span class="bank-address account-address">
                        <?php echo e($fullAddress); ?>

                    </span>
                    <div class="devide-two">
                        <b><?php echo app('translator')->get('Account No'); ?></b>
                        <span>: <?php echo e($user->account_number); ?></span>
                    </div>
                    <div class="devide-two">
                        <b><?php echo app('translator')->get('Email'); ?></b>
                        <span>: <?php echo e($user->email); ?></span>
                    </div>
                    <div class="devide-two">
                        <b><?php echo app('translator')->get('Mobile'); ?></b>
                        <span>: +<?php echo e($user->dial_code); ?> <?php echo e($user->mobile); ?></span>
                    </div>
                    <div class="devide-two">
                        <b><?php echo app('translator')->get('Issue Date'); ?></b>
                        <span>: <?php echo e(showDateTime(now(), 'F d, Y')); ?></span>
                    </div>
                </div>
            </div>
        </div>

        <div class="statement_box">
            <b><?php echo app('translator')->get('STATEMENT OF ACCOUNT FOR THE PERIOD :'); ?> <?php echo e(strtoupper(request()->date)); ?></b>
        </div>

        <div class="body">
            <table class="table table-striped">
                <thead>
                    <tr>
                        <th><?php echo app('translator')->get('DATE'); ?></th>
                        <th><?php echo app('translator')->get('DETAILS'); ?></th>
                        <th><?php echo app('translator')->get('DEBIT'); ?></th>
                        <th><?php echo app('translator')->get('CREDIT'); ?></th>
                        <th><?php echo app('translator')->get('BALANCE'); ?></th>
                    </tr>
                </thead>
                <tbody>
                    <?php $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td>
                                <?php echo e(showDateTime($transaction->created_at, 'd-M-Y')); ?>

                            </td>
                            <td class="transaction-detail">
                                <?php echo e($transaction->details); ?>

                            </td>
                            <td>
                                <?php echo e($transaction->trx_type == '-' ? showAmount($transaction->amount) : '-'); ?>

                            </td>
                            <td>
                                <?php echo e($transaction->trx_type == '+' ? showAmount($transaction->amount) : '-'); ?>

                            </td>
                            <td>
                                <?php echo e(showAmount($transaction->post_balance)); ?>

                            </td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <td></td>
                        <td></td>
                        <td class="border-top">
                            <b><?php echo e(showAmount($minusSumAmount)); ?></b>
                        </td>
                        <td class="border-top">
                            <b><?php echo e(showAmount($plusSumAmount)); ?></b>
                        </td>
                        <td class="border-top">
                            <b><?php echo e(showAmount($transactions->last()->post_balance ?? 0)); ?></b>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </main>

    <footer>
        <div class="d-block text-center">
            <?php echo app('translator')->get('Powered by'); ?> <?php echo e(__(gs()->site_name)); ?>

        </div>
    </footer>
</body>

</html><?php /**PATH /home/topminer/demo1.fancart.sbs/core/resources/views/pdf/statement.blade.php ENDPATH**/ ?>