-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmasspay.tpl
More file actions
79 lines (73 loc) · 2.38 KB
/
masspay.tpl
File metadata and controls
79 lines (73 loc) · 2.38 KB
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
78
79
{include file="$template/pageheader.tpl" title=$LANG.masspaytitle desc=$LANG.masspayintro}
<form method="post" action="clientarea.php?action=masspay" class="form-horizontal">
<input type="hidden" name="geninvoice" value="true" />
<div class="table-responsive">
<table class="table table-striped table-framed">
<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="6">{$LANG.norecordsfound}</td>
</tr>
{/foreach}
<tr class="subtotal">
<td style="text-align:right;">{$LANG.invoicessubtotal}:</td>
<td>{$subtotal}</td>
</tr>
{if $tax}
<tr class="tax">
<td style="text-align:right;">{$LANG.invoicestax}:</td>
<td>{$tax}</td>
</tr>{/if}
{if $tax2}
<tr class="tax">
<td style="text-align:right;">{$LANG.invoicestax} 2:</td>
<td>{$tax2}</td>
</tr>
{/if}
{if $credit}
<tr class="credit">
<td style="text-align:right;">{$LANG.invoicescredit}:</td>
<td>{$credit}</td>
</tr>
{/if}
{if $partialpayments}
<tr class="credit">
<td style="text-align:right;">{$LANG.invoicespartialpayments}:</td>
<td>{$partialpayments}</td>
</tr>
{/if}
<tr class="total">
<td style="text-align:right;"><strong>{$LANG.invoicestotaldue}:</strong></td>
<td>{$total}</td>
</tr>
</tbody>
</table>
</div>
<h3>{$LANG.orderpaymentmethod}</h3>
{foreach from=$gateways key=num item=gateway}
<label class="radio inline">
<input type="radio" class="radio inline" name="paymentmethod" value="{$gateway.sysname}"{if $gateway.sysname eq $defaultgateway} checked{/if} /> {$gateway.name}
</label>
{/foreach}
<hr />
<input type="submit" value="{$LANG.masspaymakepayment}" class="btn btn-success btn-large" />
</form>