forked from TheMaxium69/SolidServ-WHMCS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
usagebillingpricing.tpl
33 lines (33 loc) · 1.68 KB
/
usagebillingpricing.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
<div class="modal fade modal-metric-pricing" tabindex="-1" role="dialog" id="modalMetricPricing-{$metric.systemName}">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">{$metric.displayName} {lang key='metrics.pricing'}</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<p>{$metric.pricingSchema.info}<br/>
{$metric.pricingSchema.detail}
</p>
<table class="table table-sm table-striped">
<tr>
<th class="text-center">{lang key='metrics.startingQuantity'}</th>
<th class="text-center">{lang key='metrics.pricePer'} {if $metric.unitName}{$metric.unitName}{else}{lang key='metrics.unit'}{/if}</th>
</tr>
{foreach $metric.pricing as $pricing}
<tr>
<td>{$pricing.from}</td>
<td>{$pricing.price_per_unit}</td>
</tr>
{/foreach}
</table>
{if $metric.includedQuantity}
<p>{$metric.includedQuantity} {$metric.includedQuantityUnits} {lang key='metrics.includedInBase'}</p>
{/if}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">{lang key='close'}</button>
</div>
</div>
</div>
</div>