-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcombinebilling.tpl
66 lines (55 loc) · 1.63 KB
/
combinebilling.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<style>
.table-responsive{
overflow: visible;
}
.table td{
white-space: unset;
}
</style>
<div class="card">
<div class="card-body">
<form action="combinebilling" method="post">
<div class="table-container">
<div class="table-responsive">
<table class="table mb-0">
<thead>
<tr>
<th>{$Lang.describe}</th>
<th>{$Lang.amount_money}</th>
</tr>
</thead>
<tbody>
{foreach $Combine_billing as $index => $list}
<tr class="table-secondary">
<td>
<input type="hidden" name="ids[{$index}]" value="{$list.id}"/>
{$Lang.bill}#{$list.id}
</td>
<td>¥{$list.total}</td>
</tr>
{foreach $list.items as $item}
<tr>
<td>{$item.description}</td>
<td>¥{$item.amount}</td>
</tr>
{/foreach}
{/foreach}
</tbody>
</table>
</div>
<!-- 表单底部调用开始 -->
<div class="table-footer">
<div class="table-tools">
<button class="btn btn-primary mr-1" type="submit">{$Lang.pay_immediately}</button>
<button class="btn btn-outline-light " type="button" id="rebackd" onClick="rebackd">{$Lang.return}</button>
</div>
</div>
</div>
</form>
</div>
</div>
<script>
$('#rebackd').click(function(){
window.history.go(-1);
})
</script>