
<?php $this->load->view('site/layout'); ?>
<link href="<?php echo base_url() ?>public/css/style.bundle_front.css"
      rel="stylesheet" type="text/css" />
      <?php $this->load->view('site/navbar'); ?>
<style>
    table tbody{
        float: left;
        direction: ltr;
    }
</style>
<div
    class="kt-content  kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor"
    id="kt_content">

    <!-- begin:: Content Head -->
    <div class="kt-subheader  kt-grid__item" id="kt_subheader">
        <div class="kt-container  kt-container--fluid ">
            <div class="kt-subheader__main">
                <h3 class="kt-subheader__title">
                    <a href="<?php echo base_url() ?>Dashboard/"><?php echo $this->lang->line('dashboard'); ?></a>
                </h3>
                <span class="kt-subheader__separator kt-subheader__separator--v"></span>
                <span class="kt-subheader__desc"><?php echo $this->lang->line('invoices'); ?></span>
            </div>

        </div>
    </div>
</div>

<div class="kt-portlet kt-portlet--mobile">
    <div class="kt-portlet__head kt-portlet__head--lg">
        <div class="kt-portlet__head-label">
            <span class="kt-portlet__head-icon">
                <i class="kt-font-brand flaticon2-line-chart"></i>
            </span>
            <h3 class="kt-portlet__head-title">
                <?php echo $this->lang->line('payment_details'); ?>
            </h3>
        </div> 
    </div>
    <div class="kt-portlet__body">
        <!--<pre style="text-align: left;direction: ltr">-->
         <?php
        $tries = explode('/', $order->payment_details);
        foreach ($tries as $try) {
            if ($try) {
                ?>
                <table class="table table-hover table-responsive table-bordered">
                    <?php
                    $pay_arr = json_decode($try);
                    foreach ($pay_arr as $key => $value) {
                        ?>
                        <tr>
                            <td class="bg-secondary"><?= $key ?></td>
                            <td><?= $value ?></td>
                        </tr>  
                        <?php
                    }
                    ?>
                </table>
            <?php
            }
        }
        ?>
        <!--</pre>-->
    </div>
</div>


<?php $this->load->view('site/footer_2') ?>
