Files
pingan_new/storage/framework/views/ea880137936e7893d9d73b4997ad9df6b621d502.php
2020-08-06 16:42:18 +08:00

105 lines
5.6 KiB
PHP

<?php $__env->startSection('title', '订单列表'); ?>
<?php $__env->startSection('css'); ?>
<link rel="stylesheet" href="<?php echo e(asset('assets/merchant/css/plugins/datapicker/datepicker3.css'), false); ?>" />
<?php $__env->stopSection(); ?>
<?php $__env->startPush('script'); ?>
<script type="text/javascript" src="<?php echo e(asset('assets/merchant/js/plugins/datapicker/bootstrap-datepicker.js'), false); ?>"></script>
<script type="text/javascript">
$("#time-interval .input-daterange").datepicker({
keyboardNavigation: !1,
forceParse: !1,
autoclose: !0,
clearBtn: true,
});
</script>
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="ibox">
<div class="ibox-content">
<div class="row">
<div class="col-sm-12 m-b">
<form action="<?php echo e(route('merchant.coupons'), false); ?>" class="form-inline pull-right" method="get" accept-charset="utf-8">
<div class="input-group">
<div class="form-group">
<input type="text" placeholder="订单编号" name="orderid" class="input-sm form-control" value="<?php echo e(Request::input('orderid'), false); ?>">
</div>
<div class="form-group">
<input type="text" placeholder="优惠券" name="redemptionCode" class="input-sm form-control" value="<?php echo e(Request::input('redemptionCode'), false); ?>">
</div>
<div class="form-group">
<select class="form-control m-b" name="status">
<option value="">状态</option>
<option value="0">未使用</option>
<option value="2">核销成功</option>
<option value="3">核销失败</option>
<option value="4">已分润</option>
</select>
</div>
<div class="form-group" id="time-interval">
<div class="input-daterange input-group">
<input type="text" class="input-sm form-control" placeholder="核销时间" readonly name="start" value="<?php echo e(Request::input('start'), false); ?>" />
<span class="input-group-addon">~</span>
<input type="text" class="input-sm form-control" placeholder="核销时间" readonly name="end" value="<?php echo e(Request::input('end'), false); ?>" />
</div>
</div>
<span class="input-group-btn">
<button type="submit" class="btn btn-sm btn-primary " ><i class="fa fa-check"></i>&nbsp;搜索</button>
</span>
</div>
</form>
</div>
</div>
<div class="table-responsive">
<table class="table table-hover">
<thead>
<tr>
<th width="100">ID</th>
<th>渠道</th>
<th>渠道网点</th>
<th>订单号</th>
<th>优惠券</th>
<th>名称</th>
<th>金额</th>
<th>分润</th>
<th>状态</th>
<th>处理结果</th>
<th>起始时间</th>
<th>到期时间</th>
<th>核销时间</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $coupons; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $coupon): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td> <?php echo e($coupon->id, false); ?> </td>
<td><?php echo e($coupon->user->nickname, false); ?></td>
<td><?php echo e($coupon->outlet ? $coupon->outlet->nickname : 'Id:' . $coupon->outletId, false); ?></td>
<td><?php echo e($coupon->partnerOrderId, false); ?></td>
<td><?php echo e($coupon->redemptionCode, false); ?></td>
<td><?php echo e($coupon->couponName, false); ?></td>
<td><?php echo e($coupon->price, false); ?></td>
<td><?php echo e($coupon->profit, false); ?></td>
<td><?php echo e($coupon->status_text, false); ?></td>
<td><?php echo e($coupon->remark, false); ?></td>
<td><?php echo e($coupon->startTime, false); ?></td>
<td><?php echo e($coupon->endTime, false); ?></td>
<td><?php echo e($coupon->created_at, false); ?></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<div class="text-right">
<?php echo e($coupons->links('Merchant::common.pagination'), false); ?>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('Merchant::layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/wwwroot/pingan/app/Merchant/Resources/views/conpon/index.blade.php ENDPATH**/ ?>