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

    <head>
        <meta charset="utf-8">
        <title>Print Invoice</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="description" content="Delaware Depository Service" />
        <meta name="keywords" content="Courier Delivery & Logistic Company" />
        <meta name="author" content="Viz">
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

        <link href="<?php echo e(asset('assets/invoice/css/bootstrap2.min.css')); ?>" rel="stylesheet" type="text/css" />
        <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" />
        <link href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" />
        <link href="<?php echo e(asset('assets/invoice/css/print-invoice.min.css')); ?>" rel="stylesheet" type="text/css" />

        <style>
            #background {
                position: absolute;
                z-index: 0;
                display: block;
                min-height: 70%;
                min-width: 70%;
            }

            #bg-text {
                color: grey;
                font-size: 36px;
                transform: rotate(300deg);
                -webkit-transform: rotate(300deg);
            }
        </style>
    </head>

    <body style="background-color:teal;" onload="window.print();">

        <div class="wrapper" id="background">
            <p id="bg-text">Certified True Copy</p>

            <section class="invoice">
                <!-- title row -->
                <div class="row">
                    <div class="col-xs-12">
                        <h2 class="page-header">
                            <span>
                                <img src="<?php echo e(asset(config('assets.logo'))); ?>" width="190" height="85"
                                    alt="Company Logo">
                                <img class="pull-right" src="<?php echo e(asset('assets/invoice/images/banner1.png')); ?>"
                                    height="185" alt="Banner">
                                <h3 style="color:red;"><strong>Tracking Number: <?php echo e($shipment->tracking_code); ?></strong>
                                </h3>
                            </span>
                        </h2>
                    </div>
                </div>

                <!-- company info -->
                <div class="row">
                    <div class="col-xs-12">
                        <h2 class="page-header">
                            <center>
                                <strong style="color:green;">
                                    <?php echo e(config('app.name')); ?><br>
                                    Address: <?php echo e(config('contact.address') ?? 'N/A'); ?><br>
                                    Email: <?php echo e(config('contact.email')); ?><br>
                                    Company Website: <?php echo e(parse_url(config('app.url'), PHP_URL_HOST)); ?>

                                </strong>
                            </center>
                        </h2>
                    </div>
                </div>

                <!-- info row -->
                <div class="row invoice-info">
                    <div class="col-sm-4 invoice-col">
                        <strong style="color:blue;">FROM (SENDER)</strong>
                        <address>
                            <h3><strong style="color:green;"><?php echo e($shipment->sender_name); ?></strong></h3>
                            <b>Address:</b> <?php echo e($shipment->sender_address); ?><br>
                            <b>Phone No:</b> <?php echo e($shipment->sender_phone); ?><br>
                            <b>Origin Office:</b> <?php echo e($shipment->shipped_from); ?>

                        </address>
                    </div>

                    <div class="col-sm-4 invoice-col">
                        <strong style="color:blue;">TO (CONSIGNEE)</strong>
                        <address>
                            <h3><strong style="color:green;"><?php echo e($shipment->client_name); ?></strong></h3>
                            <b>Address:</b> <?php echo e($shipment->client_address); ?><br>
                            <b>Phone:</b> <?php echo e($shipment->client_phone); ?><br>
                            <b>Destination Office:</b> <?php echo e($shipment->shipped_to); ?>

                        </address>
                    </div>

                    <div class="col-sm-4 invoice-col">
                        <center>
                            

                            
                            <img src="https://barcode.tec-it.com/barcode.ashx?data=<?php echo e($shipment->tracking_code); ?>&code=Code128&dpi=96"
                                alt="Barcode">

                            
                            

                        </center>
                        <br>
                        <b>Order Status:</b> <span
                            class="<?php echo e($shipment->status->badge()); ?>"><?php echo e($shipment->status->label()); ?></span><br>
                        
                        <b>Est. Delivery Date:</b> <?php echo e(formatDate($shipment->arrival_date)); ?><br>
                        <b>Payment Mode:</b> <small class="label label-danger"><i class="fa fa-money"></i>
                            <?php echo e($shipment->payment_mode); ?></small><br>
                        <b>Mode of Transport:</b> <?php echo e($shipment->mode); ?><br>
                    </div>
                </div>

                <!-- table row -->
                <div class="row">
                    <div class="col-xs-12 table-responsive">
                        <table class="table table-striped">
                            <thead>
                                <tr>
                                    <th>Qty</th>
                                    <th>Type of Shipment</th>
                                    <th>Product</th>
                                    <th>Description</th>
                                    <th>Total Cost</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td><?php echo e($shipment->quantity); ?></td>
                                    <td><?php echo e($shipment->type); ?></td>
                                    <td><?php echo e($shipment->product); ?></td>
                                    <td><?php echo e($shipment->description); ?></td>
                                    <td>
                                        <?php echo e(currency($shipment->currency)); ?><?php echo e(formatAmount($shipment->amount)); ?>

                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>

                <!-- payment row -->
                <div class="row">
                    <div class="col-xs-6">
                        <p class="lead"><strong>Payment Methods:</strong></p>
                        <img src="<?php echo e(asset('assets/invoice/images/securepayment.png')); ?>" alt="Payment Methods">
                    </div>

                    <div class="col-xs-6">
                        <p class="lead"><strong>Official Stamp / <?php echo e(date('l')); ?>, <?php echo e(date('d.M.Y')); ?></strong>
                        </p>
                        <img src="<?php echo e(asset('assets/invoice/images/stamp.png')); ?>" alt="Stamp" height="100">
                    </div>
                </div>
            </section>
        </div>

        <script src="<?php echo e(asset('assets/invoice/js/app.min.js')); ?>"></script>
    </body>

</html>
<?php /**PATH C:\xampp\htdocs\projects\logistics-v4.0\resources\views/pdf/shipment2.blade.php ENDPATH**/ ?>