Файл: whmcs/templates/classic/upgradesummary.tpl
Строк: 181
<p>{$LANG.upgradesummary}</p>
<p>{$LANG.orderproduct}:<strong>
{$groupname} - {$productname}</strong>{if $domain}
({$domain}){/if}</p>
{if $promoerror}
<div
class="errorbox">{$promoerror}</div>
<br
/>
{/if}
<table class="clientareatable"
cellspacing="1">
<tr
class="clientareatableheading"><td
width="55%">{$LANG.orderdesc}</td><td
width="45%">{$LANG.orderprice}</td></tr>
{foreach
key=num item=upgrade from=$upgrades}
{if $type eq
"package"}
<tr
class="clientareatableactive"><td><input
type="hidden" name="pid"
value="{$upgrade.newproductid}" /><input
type="hidden" name="billingcycle"
value="{$upgrade.newproductbillingcycle}"
/>{$upgrade.oldproductname} =>
{$upgrade.newproductname}</td><td
align="center">{$upgrade.price}</td></tr>
{elseif
$type eq "configoptions"}
<tr
class="clientareatableactive"><td>{$upgrade.configname}:
{$upgrade.originalvalue} => {$upgrade.newvalue}</td><td
align="center">{$currencysymbol}{$upgrade.price}
{$currency}</td></tr>
{/if}
{/foreach}
<tr
class="clientareatableheading"><td
align="right">{$LANG.ordersubtotal}:
</td><td
align="center">{$currencysymbol}{$subtotal}
{$currency}</td></tr>
{if $promodesc}
<tr
class="clientareatableheading"><td
align="right">{$promodesc}: </td><td
align="center">{$discount}</td></tr>
{/if}
{if
$taxrate}
<tr class="clientareatableheading"><td
align="right">{$taxname} @ {$taxrate}%:
</td><td
align="center">{$currencysymbol}{$tax}
{$currency}</td></tr>
{/if}
{if $taxrate2}
<tr
class="clientareatableheading"><td
align="right">{$taxname2} @ {$taxrate2}%:
</td><td
align="center">{$currencysymbol}{$tax2}
{$currency}</td></tr>
{/if}
<tr
class="clientareatableheading"><td
align="right">{$LANG.ordertotalduetoday}:
</td><td
align="center">{$currencysymbol}{$total}
{$currency}</td></tr>
</table>
{if $promorecurring}
<br />
<div
class="errorbox">{$LANG.recurringpromodesc|sprintf2:$promorecurring}</div>
{/if}
{if
$type eq "package"}<p
align="center">{$LANG.upgradeproductlogic}
({$upgrade.daysuntilrenewal} {$LANG.days})</p>{/if}
<form
method="post"
action="{$smarty.server.PHP_SELF}">
<input
type="hidden" name="step"
value="2">
<input type="hidden"
name="type" value="{$type}">
<input
type="hidden" name="id" value="{$id}">
{if
$type eq "package"}
<input type="hidden"
name="pid" value="{$upgrades.0.newproductid}"
/>
<input type="hidden" name="billingcycle"
value="{$upgrades.0.newproductbillingcycle}" />
{/if}
{foreach
from=$configoptions key=cid item=value}<input type="hidden"
name="configoption[{$cid}]" value="{$value}"
/>{/foreach}
<p
align="center"><strong>{$LANG.orderpromotioncode}:</strong>
{if $promocode}
{$promocode} - {$promodesc} <input
type="submit" name="removepromo"
value="{$LANG.orderdontusepromo}" class="buttonwarn"
/>
{else}
<input type="text" name="promocode"
size="20" /> <input type="submit"
value="{$LANG.orderpromovalidatebutton}" class="button"
/>
{/if}</p>
</form>
<form method="post"
action="{$smarty.server.PHP_SELF}">
<input
type="hidden" name="step"
value="3">
<input type="hidden"
name="type" value="{$type}">
<input
type="hidden" name="id" value="{$id}">
{if
$type eq "package"}
<input type="hidden"
name="pid" value="{$upgrades.0.newproductid}"
/>
<input type="hidden" name="billingcycle"
value="{$upgrades.0.newproductbillingcycle}" />
{/if}
{foreach
from=$configoptions key=cid item=value}<input type="hidden"
name="configoption[{$cid}]" value="{$value}"
/>{/foreach}
{if $promocode}<input type="hidden"
name="promocode"
value="{$promocode}">{/if}
<p><strong>{$LANG.orderpaymentmethod}</strong></p>
<p>{foreach
key=num item=gateway from=$gateways}<input type="radio"
name="paymentmethod" value="{$gateway.sysname}"
id="pgbtn{$num}"{if $selectedgateway eq $gateway.sysname}
checked{/if}><label
for="pgbtn{$num}">{$gateway.name}</label>
{/foreach}</p>
<p align="center"><input
type="submit" value="{$LANG.ordercontinuebutton}"
class="buttongo" /></p>
</form>