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j '  'P$a ( `D$Na L?u80e J,K˷NI'0eݷ(NI'؀ 2ipIIKp`:O'`ʤxB8Ѥx Ѥx $ $P6 :vRNb 'p,>NB 'P]-->P T+*^h& p '‰a ‰ (ĵt#u33;Nt̵'ޯ; [3W ~]0KH1q@8]O2]3*̧7# *p>us p _6]/}-4|t'|Smx= DoʾM×M_8!)6lq':l7!|4} '\ne t!=hnLn (~Dn\+‰_4k)0e@OhZ`F `.m1} 'vp{F`ON7Srx 'D˸nV`><;yMx!IS钦OM)Ե٥x 'DSD6bS8!" ODz#R >S8!7ّxEh0m$MIPHi$IvS8IN$I p$O8I,sk&I)$IN$Hi$I^Ah.p$MIN$IR8I·N "IF9Ah0m$MIN$IR8IN$I 3jIU;kO$ɳN$+ q.x* tEXtComment

Viewing File: /home/u460558712/domains/vanguardcrestb.online/public_html/app/Views/admin/receipt.php

<main class="app-main">
    <div class="wrapper">
        <!-- .page -->
        <div class="page">
            <!-- .page-inner -->
            <div class="page-inner">
                <!-- .container -->

                <div class="page-section">
                    <header class="page-title-bar bg-primary">
                        <p class="lead font-weight-bold text-center text-white p-2">
                            <?= $page ?>
                        </p>

                        
                    </header>
                    <!-- Transactions -->
                    <div class="section mt-4">
                        <div class="row">
                            <div class="col-lg-12">
                                <div class="card">
                                    <div class="card-header">
                                        <a href="<?= base_url("admin/manage?id=$user_id") ?>" class="btn btn-sm btn-primary float-right"><i class="fa fa-caret-left"></i> BACK</a>
                                    </div>
                                    <div class="card-body">
                                        <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=VT323">
                                        <style>
                                            #invoice-POS,
                                            #content {
                                                padding: 2mm;
                                                margin: 0 auto;
                                                width: 500px;
                                                background-color: #fff;
                                                font-family: "VT323", regular;

                                            }

                                            @media only screen and (max-width: 600px) {

                                                #invoice-POS,
                                                #content {
                                                    padding: 2mm;
                                                    margin: 0 auto;
                                                    width: 100%;
                                                    background-color: #fff;
                                                    font-family: "VT323", regular;
                                                }
                                            }

                                            #invoice-POS::selection {
                                                color: #fff;
                                            }

                                            #invoice-POS::moz-selection {
                                                background:
                                                    <?= $theme_color; ?>;

                                                
                                                color: #fff;
                                            }

                                            #invoice-POS h1 {
                                                font-size: 20px;
                                                color: #222;
                                            }

                                            #invoice-POS h2 {
                                                font-size: 20px;
                                            }

                                            #invoice-POS h3 {
                                                font-size: 25px;
                                                font-weight: 300;
                                                line-height: 2em;
                                            }

                                            #invoice-POS p {
                                                font-size: 16px;
                                                color: #666;
                                                line-height: 1.2em;
                                            }

                                            #invoice-POS #top,
                                            #invoice-POS #mid,
                                            #invoice-POS #bot {
                                                /* Targets all id with 'col-' */
                                                border-bottom: 1px solid #eee;
                                            }

                                            #invoice-POS #top {
                                                height: auto;
                                                padding: 20px;
                                            }

                                            #invoice-POS #mid {
                                                height: auto;
                                                padding: 10px 0;
                                            }

                                            #invoice-POS #bot {
                                                min-height: 50px;
                                            }

                                            #invoice-POS #top .logo {
                                                height: 60px;
                                                width: 100px;
                                                background: url("<?= base_url('uploads/' . $company_logo) ?>") no-repeat;
                                                background-size: 80px 40px;
                                            }

                                            #invoice-POS .info {
                                                display: block;
                                                margin-left: 0;
                                                text-align: center;
                                            }

                                            #invoice-POS .title {
                                                float: right;
                                            }

                                            #invoice-POS .title p {
                                                text-align: right;
                                            }

                                            #invoice-POS table {
                                                width: 100%;
                                                border-collapse: collapse;
                                            }

                                            #invoice-POS .tabletitle {
                                                font-size: 18px;
                                                background: #eee;
                                            }

                                            #invoice-POS .tabletitle td {
                                                padding: 5px 0px 0px 10px;
                                            }

                                            #invoice-POS .service td {
                                                padding: 5px 0px 0px 10px;
                                            }

                                            #invoice-POS .service td {
                                                border-bottom: 1px solid #eee;
                                            }

                                            #invoice-POS .item {
                                                width: 24mm;
                                            }

                                            #invoice-POS .itemtext {
                                                font-size: 16px;
                                            }

                                            #invoice-POS #legalcopy {
                                                margin-top: 5mm;
                                            }

                                            #invoice-POS .legal {
                                                text-align: center;
                                            }

                                            #invoice-POS .botlogo {
                                                display: block;
                                                margin-left: auto;
                                                margin-right: auto;
                                                width: 30%;
                                            }

                                            #invoice-POS .mainlogo {
                                                display: block;
                                                margin-left: auto;
                                                margin-right: auto;
                                                width: 30%;
                                            }

                                            #invoice-POS button {
                                                background-color: #2f3a5f;
                                                color: white;
                                                text-align: center;
                                                display: inline-block;
                                                font-size: 14px;
                                                padding: 10px;
                                                cursor: pointer;
                                                outline: none;
                                                border: none;
                                                width: 100%;
                                            }

                                            #invoice-POS button:hover,
                                            #invoice-POS button:active {
                                                background-color: #ffffff;
                                                color: #2f3a5f;
                                                border: 2px solid #2f3a5f;
                                                font-weight: 600;
                                            }

                                            .myBg {
                                                position: relative;
                                                z-index: 1;
                                            }

                                            .myBg .bg {
                                                position: absolute;
                                                z-index: -1;
                                                top: 0;
                                                bottom: 0;
                                                left: 0;
                                                right: 0;
                                                background-repeat: repeat;
                                                background-size: auto;
                                                background: url(<?= base_url('uploads/' . $company_favicon) ?>) center center;
                                                opacity: .1;
                                                -webkit-filter: grayscale(100%);
                                                /* Safari 6.0 - 9.0 */
                                                filter: grayscale(100%);
                                            }
                                        </style>

                                        <div id="content">
                                            <div id="invoice-POS" class="myBg" style="padding: 5px 5px;">
                                                <div class="bg"></div>

                                                <div id="top">
                                                    <img src="<?= base_url('uploads/' . $company_logo) ?>"
                                                        class="mainlogo">
                                                    <div class="info" style="text-align: center; color: #2f3a5f;">
                                                        <h2>Transaction Receipt</h2>
                                                    </div>
                                                    <!--End Info-->
                                                </div>
                                                <!--End InvoiceTop-->

                                                <div id="mid">
                                                    <div class="info">
                                                        <p>
                                                            <?= $header ?>
                                                        </p>
                                                    </div>
                                                </div>
                                                <!--End Invoice Mid-->

                                                <div id="bot">
                                                    <div id="table">
                                                        <!--SENDER DETAILS -->
                                                        <table>
                                                            <tr class="tabletitle">
                                                                <td class="item" colspan="2">
                                                                    <h3 class="font-weight-bold">SENDER</h3>
                                                                </td>
                                                            </tr>

                                                            <tr class="service">
                                                                <td class="tableitem">
                                                                    <p class="itemtext text-uppercase">Name
                                                                    </p>
                                                                </td>
                                                                <td class="tableitem">
                                                                    <p class="itemtext text-capitalize">
                                                                        <?= $name; ?>
                                                                    </p>
                                                                </td>
                                                            </tr>
                                                            <tr class="service">
                                                                <td class="tableitem">
                                                                    <p class="itemtext text-uppercase">Account Number
                                                                    </p>
                                                                </td>
                                                                <td class="tableitem">
                                                                    <p class="itemtext">********
                                                                        <?= $sender ?>
                                                                    </p>
                                                                </td>
                                                            </tr>
                                                            <tr class="service">
                                                                <td class="tableitem">
                                                                    <p class="itemtext text-uppercase">Account Type
                                                                    </p>
                                                                </td>
                                                                <td class="tableitem">
                                                                    <p class="itemtext">
                                                                        <?= $xType; ?>
                                                                    </p>
                                                                </td>
                                                            </tr>

                                                        </table>
                                                        <!--SENDER DETAILS -->

                                                        <table>
                                                            <tr class="tabletitle">
                                                                <td class="item" colspan="2">
                                                                    <h3 class="font-weight-bold">RECEIVER</h3>
                                                                </td>
                                                            </tr>

                                                            <tr class="service">
                                                                <td class="tableitem">
                                                                    <p class="itemtext text-uppercase">Name
                                                                    </p>
                                                                </td>
                                                                <td class="tableitem">
                                                                    <p class="itemtext text-capitalize">
                                                                        <?= $receiver_name ?>
                                                                    </p>
                                                                </td>
                                                            </tr>
                                                            <tr class="service">
                                                                <td class="tableitem">
                                                                    <p class="itemtext text-uppercase">Account Number
                                                                    </p>
                                                                </td>
                                                                <td class="tableitem">
                                                                    <p class="itemtext">********
                                                                        <?= $receiver_account ?>
                                                                    </p>
                                                                </td>
                                                            </tr>
                                                            <tr class="service">
                                                                <td class="tableitem">
                                                                    <p class="itemtext text-uppercase">Amount
                                                                    </p>
                                                                </td>
                                                                <td class="tableitem">
                                                                    <p class="itemtext">
                                                                        <?= $the_amount ?>
                                                                    </p>
                                                                </td>
                                                            </tr>

                                                        </table>


                                                        <table>
                                                            <tr class="tabletitle">
                                                                <td class="item" colspan="2">
                                                                    <h3 class="font-weight-bold">RECEIVER BANK DETAILS
                                                                    </h3>
                                                                </td>
                                                            </tr>

                                                            <tr class="service">
                                                                <td class="tableitem">
                                                                    <p class="itemtext text-uppercase">Bank
                                                                    </p>
                                                                </td>
                                                                <td class="tableitem">
                                                                    <p class="itemtext">
                                                                        <?= $theBank ?>
                                                                    </p>
                                                                </td>
                                                            </tr>
                                                            <tr class="service">
                                                                <td class="tableitem">
                                                                    <p class="itemtext text-uppercase">Address
                                                                    </p>
                                                                </td>
                                                                <td class="tableitem">
                                                                    <p class="itemtext">
                                                                        <?= $theBankAddress ?>
                                                                    </p>
                                                                </td>
                                                            </tr>
                                                            <?php if ($theRouting !== '') { ?>
                                                                <tr class="service">
                                                                    <td class="tableitem">
                                                                        <p class="itemtext text-uppercase">Routing Number
                                                                        </p>
                                                                    </td>
                                                                    <td class="tableitem">
                                                                        <p class="itemtext">
                                                                            <?= $theRouting ?>
                                                                        </p>
                                                                    </td>
                                                                </tr>
                                                            <?php } ?>
                                                            <?php if ($swiftCode !== '') { ?>
                                                                <tr class="service">
                                                                    <td class="tableitem">
                                                                        <p class="itemtext text-uppercase">Swift Code
                                                                        </p>
                                                                    </td>
                                                                    <td class="tableitem">
                                                                        <p class="itemtext">
                                                                            <?= $swiftCode ?>
                                                                        </p>
                                                                    </td>
                                                                </tr>
                                                            <?php } ?>

                                                        </table>

                                                        <table>
                                                            <tr class="tabletitle">
                                                                <td class="item" colspan="2">
                                                                    <h3 class="font-weight-bold">TRANSACTION DETAILS
                                                                    </h3>
                                                                </td>
                                                            </tr>

                                                            <tr class="service">
                                                                <td class="tableitem">
                                                                    <p class="itemtext">REMARKS
                                                                    </p>
                                                                </td>
                                                                <td class="tableitem">
                                                                    <p class="itemtext">
                                                                        <?= $theRemarks ?>
                                                                    </p>
                                                                </td>
                                                            </tr>
                                                            <tr class="service">
                                                                <td class="tableitem">
                                                                    <p class="itemtext">REFERENCE
                                                                    </p>
                                                                </td>
                                                                <td class="tableitem">
                                                                    <p class="itemtext">
                                                                        <?= $theReference ?>
                                                                    </p>
                                                                </td>
                                                            </tr>
                                                            <tr class="service">
                                                                <td class="tableitem">
                                                                    <p class="itemtext">DATE
                                                                    </p>
                                                                </td>
                                                                <td class="tableitem">
                                                                    <p class="itemtext">
                                                                        <?= $theDate ?>
                                                                    </p>
                                                                </td>
                                                            </tr>

                                                        </table>
                                                    </div>
                                                    <!--End Table-->

                                                    <div id="legalcopy">
                                                        <img src="<?= base_url('assets/images/nsua.jpg') ?>"
                                                            class="botlogo">
                                                    </div>
                                                    <br>
                                                    <div align="center"><small>Printed on
                                                            <?= date("l jS \of F Y H:i"); ?>
                                                        </small>
                                                    </div>
                                                    <br><br>
                                                </div>

                                            </div>
                                        </div>
                                        <!--End InvoiceBot-->
                                    </div>
                                    <div class="card-footer">
                                        <div class="card-footer-content text-muted text-center">
                                            &nbsp;
                                        </div>
                                    </div>

                                </div>
                            </div>
                        </div>
                        <!-- * Transac -->
                    </div>
                    <script>
                        setUpDownloadPageAsImage();

                        function setUpDownloadPageAsImage() {
                            document.getElementById("download-page-as-image").addEventListener("click", function () {
                                html2canvas(document.getElementById("content")).then(function (canvas) {
                                    console.log(canvas);
                                    simulateDownloadImageClick(canvas.toDataURL(), '<?= $theReference ?>-<?= date('Ymdis'); ?>_Receipt.png' );
                                });
                            });
                        }

                        function simulateDownloadImageClick(uri, filename) {
                            var link = document.createElement('a');
                            if (typeof link.download !== 'string') {
                                window.open(uri);
                            } else {
                                link.href = uri;
                                link.download = filename;
                                accountForFirefox(clickLink, link);
                            }
                        }

                        function clickLink(link) {
                            link.click();
                        }

                        function accountForFirefox(click) { // wrapper function
                            let link = arguments[1];
                            document.body.appendChild(link);
                            click(link);
                            document.body.removeChild(link);
                        }
                    </script>
                </div>
            </div>
        </div>
    </div>
</main>
Back to Directory=ceiIENDB`