Ejemplo n.º 1
0
    <div class="row">
        <?php 
$this->view('admin/dashboard/dashboard_menu');
?>
        <div class="col-md-9">
            <?php 
if ($order_record && $order_item) {
    $order_record = $order_record->row();
    $order_item = $order_item->result();
    ?>


                <div class="row" style="background-color: #FFF">
                    <div class="col-md-12">
                        <p><?php 
    echo get_order_invoice_number($order_record->drug_order_id);
    ?>
</p>
                        <p class="text-right"> <a href="<?php 
    echo base_url('dashboard/order/all');
    ?>
" class=""><i class="fa fa-arrow-circle-o-left fa-2x"></i></a></p>

                        <div class="table-responsive">
                            <table class="table table-bordred table-striped table-responsives">
                                <thead>
                                <th><?php 
    echo get_string('dtname');
    ?>
</th>
                                <th><?php 
Ejemplo n.º 2
0
</th>
                        <th><?php 
    echo get_string('details');
    ?>
</th>

                        </thead>
                        <tbody>
                            <?php 
    $i = 0;
    foreach ($record as $row) {
        ?>
                                <tr>

                                    <td><?php 
        echo get_order_invoice_number($row->drug_order_id);
        ?>
</td>


                                    <?php 
        if ($all_order_user[$i] === 0) {
            ?>
                                        <td>Guest</td>
                                        <?php 
        } else {
            ?>
                                        <td><a href="<?php 
            echo base_url('dashboard/user/view/' . $row->user_id);
            ?>
"><?php