{extends file="admin-layout.tpl"} {block name="check-resource"}admin.coupon{/block} {block name="check-access"}view{/block} {block name="page-title"}{intl l='Coupon'}{/block} {block name="main-content"}
{loop type="coupon" name="read_coupon" id={$couponId} backend_context="true"}
{if !$IS_ENABLED}
{intl l='This coupon is disabled, you can enable to the bottom of this form.'}
{/if}
{intl l='Title'} {$TITLE}
{if $IS_ENABLED} {intl l="Is enabled"} {else} {intl l="Is disabled"} {/if}
{$TOOLTIP}
{intl l='Amount'} {$AMOUNT}
{intl l='Expiration date'} {$EXPIRATION_DATE} ({$DAY_LEFT_BEFORE_EXPIRATION} {intl l="days left"})
{intl l='Usage left'} {if $USAGE_LEFT == -1} {intl l="Unlimited"} {elseif $USAGE_LEFT} {$USAGE_LEFT} {else} 0 {/if}
{if $IS_CUMULATIVE} {intl l="May be cumulative"} {else} {intl l="Can't be cumulative"} {/if}
{if $IS_REMOVING_POSTAGE} {intl l="Will remove postage"} {else} {intl l="Won't remove postage"} {/if}
{if $IS_AVAILABLE_ON_SPECIAL_OFFERS} {intl l="Will be available on special offers"} {else} {intl l="Won't be available on special offers"} {/if}
{intl l='Application field'}
    {foreach from=$APPLICATION_CONDITIONS item=condition name=conditionsForeach} {if !$smarty.foreach.conditionsForeach.first}
  • {intl l='And'}
  • {/if}
  • {$condition nofilter}
  • {/foreach}
{$SHORT_DESCRIPTION}
{$DESCRIPTION}
{intl l='Edit'}
{/loop}
{include file='includes/confirmation-modal.html' id="enable" message="{intl l='Do you really want to enable this element ?'}"} {/block} {block name="javascript-initialization"} {javascripts file='assets/js/main.js'} {/javascripts} {/block}