{extends file="admin-layout.tpl"} {block name="check-permissions"}admin.coupon.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}
{intl l='Expiration date'} {$EXPIRATION_DATE}
{intl l='Usage left'} {if $USAGE_LEFT} {$USAGE_LEFT} {else} 0 {/if}
{$SHORT_DESCRIPTION}
{$DESCRIPTION}
{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}
{intl l='Amount'} {$AMOUNT}
{intl l='Application field'}
    {foreach from=$APPLICATION_CONDITIONS item=rule name=rulesForeach} {if !$smarty.foreach.rulesForeach.first}
  • {intl l='And'}
  • {/if}
  • {$rule nofilter}
  • {/foreach}
{intl l='Actions'} {intl l='Edit'} {intl l='Enabled'}
{/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}