-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathmasspay.tpl
77 lines (75 loc) · 1.95 KB
/
masspay.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<div class="page-header">
<h1>{$LANG.masspaytitle} <small>{$LANG.masspayintro}</small></h1>
</div>
<form method="post" action="clientarea.php?action=masspay">
<input type="hidden" name="geninvoice" value="true">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>{$LANG.invoicesdescription}</th>
<th>{$LANG.invoicesamount}</th>
</tr>
</thead>
<tbody>
{foreach from=$invoiceitems key=invid item=invoiceitem}
<tr>
<td colspan="2"><strong>{$LANG.invoicenumber} {$invid}</strong> <input type="hidden" name="invoiceids[]" value="{$invid}"></td>
</tr>
{foreach from=$invoiceitem item=item}
<tr>
<td>{$item.description}</td>
<td>{$item.amount}</td>
</tr>
{/foreach}
{foreachelse}
<tr>
<td colspan="2" class="textcenter">{$LANG.norecordsfound}</td>
</tr>
{/foreach}
</tbody>
<tfoot>
<tr>
<td class="textright">{$LANG.invoicessubtotal}:</td>
<td>{$subtotal}</td>
</tr>
<tr>
{if $tax}
<tr>
<td class="textright">{$LANG.invoicestax}:</td>
<td>{$tax}</td>
</tr>
{/if}
{if $tax2}
<tr>
<td class="textright">{$LANG.invoicestax} 2:</td>
<td>{$tax2}</td>
</tr>
{/if}
{if $credit}
<tr>
<td class="textright">{$LANG.invoicescredit}:</td>
<td>{$credit}</td>
</tr>
{/if}
{if $partialpayments}
<tr>
<td class="textright">{$LANG.invoicespartialpayments}:</td>
<td>{$partialpayments}</td>
</tr>
{/if}
<tr>
<td class="textright">{$LANG.invoicestotaldue}:</td>
<td>{$total}</td>
</tr>
</tfoot>
</table>
<div class="well textcenter">
<h3>{$LANG.orderpaymentmethod}</h3>
<select name="paymentmethod">
{foreach from=$gateways key=num item=gateway}
<option value="{$gateway.sysname}"{if $gateway.sysname eq $defaultgateway} selected="selected"{/if}>{$gateway.name}</option>
{/foreach}
</select>
<div><button class="btn btn-primary btn-large">{$LANG.masspaymakepayment}</button></div>
</div>
</form>