Update coupons-edit.tpl
This commit is contained in:
parent
8af46e5e51
commit
883eb1bbee
@ -134,11 +134,11 @@
|
|||||||
|
|
||||||
if (type === 'percent') {
|
if (type === 'percent') {
|
||||||
valueInput.setAttribute('max', '100');
|
valueInput.setAttribute('max', '100');
|
||||||
valueInput.setAttribute('placeholder', 'Enter percentage');
|
valueInput.setAttribute('placeholder', '{Lang::T("Enter percentage")}');
|
||||||
helpText.textContent = '{Lang::T('Value of the discount(percentage, max 100)')}';
|
helpText.textContent = '{Lang::T('Value of the discount(percentage, max 100)')}';
|
||||||
} else {
|
} else {
|
||||||
valueInput.removeAttribute('max');
|
valueInput.removeAttribute('max');
|
||||||
valueInput.setAttribute('placeholder', 'Enter amount');
|
valueInput.setAttribute('placeholder', '{Lang::T("Enter amount")}');
|
||||||
helpText.textContent = '{Lang::T('Value of the discount(amount)')}';
|
helpText.textContent = '{Lang::T('Value of the discount(amount)')}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,4 +146,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
{include file="sections/footer.tpl"}
|
{include file="sections/footer.tpl"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user