{if $promoerror}
{include file="$template/includes/alert.tpl" type="error" msg=$promoerror textcenter=true}
{/if}
{if $promorecurring}
{include file="$template/includes/alert.tpl" type="info"
msg="{lang key='recurringpromodesc'}"|sprintf2:$promorecurring textcenter=true}
{/if}
{lang key='upgradecurrentconfig'}: {$groupname} - {$productname}{if $domain} ({$domain}){/if}
{lang key='orderdesc'} |
{lang key='orderprice'} |
{foreach $upgrades as $upgrade}
{if $type eq "package"}
{$upgrade.oldproductname} => {$upgrade.newproductname} |
{$upgrade.price} |
{elseif $type eq "configoptions"}
{$upgrade.configname}: {$upgrade.originalvalue} => {$upgrade.newvalue} |
{$upgrade.price} |
{/if}
{/foreach}
{lang key='ordersubtotal'}: |
{$subtotal} |
{if $promodesc}
{$promodesc}: |
{$discount} |
{/if}
{if $taxrate}
{$taxname} @ {$taxrate}%: |
{$tax} |
{/if}
{if $taxrate2}
{$taxname2} @ {$taxrate2}%: |
{$tax2} |
{/if}
{lang key='ordertotalduetoday'}: |
{$total} |
{if $type eq "package"}
{include file="$template/includes/alert.tpl" type="warning" msg="{lang key='upgradeproductlogic'}"|cat:' ('|cat:$upgrade.daysuntilrenewal|cat:' '|cat:"{lang key='days'}"|cat:')' textcenter=true}
{/if}