OSB enhancements to date

This commit is contained in:
Deon George
2010-11-30 09:41:08 +11:00
parent 8715a2059b
commit ec6a542bc3
478 changed files with 23423 additions and 9309 deletions

View File

@@ -173,7 +173,7 @@
</tr>
<tr valign="top">
<td style="width: 50%;">{$list->menu_multi($VAR.checkout_allowed_currencies,'checkout_allowed_currencies','currency','name','5','5','form_menu')}</td>
<td style="width: 50%;"><textarea name="checkout_email" cols="40" rows="4">{$VAR.checkout_email_template}</textarea></td>
<td style="width: 50%;"><textarea name="checkout_email_template" cols="40" rows="4">{$VAR.checkout_email_template}</textarea></td>
</tr>
{include file='file:../core/add_tr_submit.tpl'}
</table>

View File

@@ -25,7 +25,7 @@
}
function addDiscount() {
var discount = document.getElementById("discount").value;
document.location='{/literal}{$SSL_URL}{literal}?_page=checkout:checkout&discount='+discount+'&do[]=checkout:adddiscount';
document.location='{/literal}{$SSL_URL}{literal}?_page=checkout:checkout&discount='+discount+'&do[]=discount:add_cart_discount';
}
{/literal}
//-->
@@ -213,7 +213,7 @@
<td style="width: 35%; text-align: right;">{$list->format_currency_num($sub_total, $smarty.const.SESS_CURRENCY)}</td>
</tr>
{foreach from=$discount item=discount}
{if $discount.total > 0}
{if $discounttotal > 0}
<tr>
<td style="width: 65%;">{t}Discount{/t} ({$discount.name})</td>
<td style="width: 35%; text-align: right;"> - {$list->format_currency_num($discount.total, $smarty.const.SESS_CURRENCY)}</td>
@@ -221,10 +221,10 @@
{/if}
{/foreach}
{if $tax != false}
{foreach from=$tax item=tax }
{foreach from=$tax item=amount key=name}
<tr>
<td style="width: 65%;">{$tax.name}</td>
<td style="width: 35%; text-align: right;">{$list->format_currency_num($tax.rate, $smarty.const.SESS_CURRENCY)}</td>
<td style="width: 65%;">{$name}</td>
<td style="width: 35%; text-align: right;">{$list->format_currency_num($amount, $smarty.const.SESS_CURRENCY)}</td>
</tr>
{/foreach}
{/if}