<div class="row">
        <div class="col-lg-12">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h2 class="panel-title">Transaksi Pembayaran</h2>
                </div>
                <div class="panel-body">
                    <?php 
echo form_open('pesan/simpan_trans_final.php');
?>
                    <?php 
echo form_hidden('no_meja', general::enkrip($finalize->no_meja));
?>
                    <?php 
echo form_hidden('no_nota', general::enkrip($finalize->no_nota));
?>
                    <?php 
echo form_hidden('jml_gtotal', $finalize->jml_gtotal);
?>
                    <div class="row">
                        <div class="col-lg-12">
                            <table class="table table-condensed">
                                <tbody>
                                    <tr>
                                        <th colspan="7" style="background-color: #b7b9b6; border-right:  1px solid #b7b9b6;"><i><?php 
echo $finalize->no_nota;
?>
</i></th>
                                    </tr>
                                    <tr>
if (!empty($order_list)) {
    $no = 1;
    $tax_total = 0;
    $omz_total = 0;
    foreach ($order_list as $order) {
        $tax = general::tax($order->jml_bayar);
        $tax_total = $tax_total + $tax;
        $omz_total = $omz_total + $order->jml_bayar;
        ?>
                                <tr>
                                    <td><strong><?php 
        echo $no;
        ?>
. </strong></td>
                                    <td class="text-left"><a href="<?php 
        echo site_url('page=order&act=order_det&id=' . general::enkrip($order->no_nota));
        ?>
"><?php 
        echo $order->no_nota;
        ?>
</a></td>
                                    <td class="text-left"><?php 
        echo $this->tanggalan->tgl_indo($order->tgl);
        ?>
</td>
                                    <td class="text-left"><?php 
        echo $order->nama;
        ?>
</td>
                                    <td class="text-left">Rp. <?php 
        echo number_format($order->jml_bayar, 0, ',', '.');
</h1>
        </div>

        <!-- /.col-lg-12 -->
        <div class="col-lg-6">
            <a href="<?php 
echo base_url();
?>
"><button class="btn btn-primary"><i class="fa fa-fw fa-refresh"></i> Kembali</button></a><br/><br/>
        </div>
        <div class="col-lg-6 text-right">
            <?php 
if ($pesanan->status_order == 'complete') {
    ?>
                <a href="<?php 
    echo base_url('pesan/kasir.php?nota=' . general::enkrip($pesanan->no_nota));
    ?>
"><button class="btn btn-primary"><i class="fa fa-fw fa-shopping-cart"></i> Bayar Pesanan</button></a><br/><br/>
            <?php 
} else {
    ?>
                <!--<label></label>-->
                <button class="btn btn-default" onclick="alert('Status pesanan harus lengkap')"><i class="fa fa-fw fa-shopping-cart"></i> Bayar Pesanan</button><br/><br/>
            <?php 
}
?>
        </div>

        <div class="col-lg-8">
            <div class="panel panel-primary">
                <div class="panel-heading">