<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<meta name="format-detection" content="telephone=no" />
<title>SURVVPOS</title>
<script src="<?= base_url() ?>assets/front/js/jquery-1.8.3.min.js"></script>
<link href="<?= base_url() ?>assets/front/css/style.css" rel="stylesheet" type="text/css" />
<script src="<?= base_url() ?>assets/front/js/common.js"></script>
</head>

<body> 
<!---->
<div class="placeholder-head"></div>
<div class="head"><a href="javascript:history.back(-1)" class="return"></a>详情</div> 
<div class="line"></div>
<div class="container"> 
	<h2 class="co_title"><?= $consume_info['check_date'] ?><span><?= $consume_info['shop_name'] ?></span></h2>
    <ul class="co_list">
        <?php foreach ($result as $k=>$v) { ?>
    	<li>
        	<span class="block1"><?= $v['desc2'] ?></span>
        	<span class="block2">X<?= number_format($v['qty'],0) ?></span>
        	<span class="block3">￥<?= number_format($v['total_amount'],2) ?></span>
        </li>
        <?php } ?>
    </ul>
   <div class="zong">总计：￥<?= number_format($consume_info['subtotal_amount'],2) ?></div>
    <div class="zong">折扣：-￥<?= number_format($consume_info['pdisc_amount'],2) ?></div>
    <div class="zong">实付：￥<?= number_format($consume_info['total_amount'],2) ?></div>
</div>
<!----> 
</body>
</html>